Package com.dropbox.core.v2.riviera
Class GetMarkdownAsyncError
java.lang.Object
com.dropbox.core.v2.riviera.GetMarkdownAsyncError
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ErrorCodeprotected final MarkdownConversionApiV2Error -
Constructor Summary
ConstructorsConstructorDescriptionNoneGetMarkdownAsyncError(ErrorCode errorCode, MarkdownConversionApiV2Error errorDetails) UsenewBuilder()to create instances of this class without specifying values for all optional fields. -
Method Summary
-
Field Details
-
errorCode
-
errorDetails
-
-
Constructor Details
-
GetMarkdownAsyncError
public GetMarkdownAsyncError(@Nonnull ErrorCode errorCode, @Nullable MarkdownConversionApiV2Error errorDetails) UsenewBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
errorCode- Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
GetMarkdownAsyncError
public GetMarkdownAsyncError()NoneThe default values for unset fields will be used.
-
-
Method Details
-
getErrorCode
- Returns:
- value for this field, or
nullif not present. Defaults to ErrorCode.UNKNOWN_ERROR.
-
getErrorDetails
- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-