Package com.courier.models.messages
Class MessageListResponse
-
- All Implemented Interfaces:
public final class MessageListResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageListResponse.BuilderA builder for MessageListResponse.
-
Method Summary
Modifier and Type Method Description final Pagingpaging()Paging information for the result set. final List<MessageDetails>results()An array of messages with their details. final JsonField<Paging>_paging()Returns the raw JSON value of paging. final JsonField<List<MessageDetails>>_results()Returns the raw JSON value of results. final Map<String, JsonValue>_additionalProperties()final MessageListResponse.BuildertoBuilder()final MessageListResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageListResponse.Builderbuilder()Returns a mutable builder for constructing an instance of MessageListResponse. -
-
Method Detail
-
results
final List<MessageDetails> results()
An array of messages with their details.
-
_paging
final JsonField<Paging> _paging()
Returns the raw JSON value of paging.
Unlike paging, this method doesn't throw if the JSON field has an unexpected type.
-
_results
final JsonField<List<MessageDetails>> _results()
Returns the raw JSON value of results.
Unlike results, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageListResponse.Builder toBuilder()
-
validate
final MessageListResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static MessageListResponse.Builder builder()
Returns a mutable builder for constructing an instance of MessageListResponse.
The following fields are required:
.paging() .results()
-
-
-
-