Class MessageBatchErroredResult
-
- All Implemented Interfaces:
public final class MessageBatchErroredResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageBatchErroredResult.BuilderA builder for MessageBatchErroredResult.
-
Method Summary
Modifier and Type Method Description final ErrorResponseerror()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("errored")final JsonField<ErrorResponse>_error()Returns the raw JSON value of error. final Map<String, JsonValue>_additionalProperties()final MessageBatchErroredResult.BuildertoBuilder()final MessageBatchErroredResultvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageBatchErroredResult.Builderbuilder()Returns a mutable builder for constructing an instance of MessageBatchErroredResult. -
-
Method Detail
-
error
final ErrorResponse error()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("errored")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_error
final JsonField<ErrorResponse> _error()
Returns the raw JSON value of error.
Unlike error, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageBatchErroredResult.Builder toBuilder()
-
validate
final MessageBatchErroredResult validate()
-
builder
final static MessageBatchErroredResult.Builder builder()
Returns a mutable builder for constructing an instance of MessageBatchErroredResult.
The following fields are required:
.error()
-
-
-
-