Class MessageListResponse.Builder
-
- All Implemented Interfaces:
public final class MessageListResponse.BuilderA builder for MessageListResponse.
-
-
Method Summary
-
-
Method Detail
-
paging
final MessageListResponse.Builder paging(Paging paging)
Paging information for the result set.
-
paging
final MessageListResponse.Builder paging(JsonField<Paging> paging)
Sets Builder.paging to an arbitrary JSON value.
You should usually call Builder.paging with a well-typed Paging value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
results
final MessageListResponse.Builder results(List<MessageDetails> results)
An array of messages with their details.
-
results
final MessageListResponse.Builder results(JsonField<List<MessageDetails>> results)
Sets Builder.results to an arbitrary JSON value.
You should usually call Builder.results with a well-typed
List<MessageDetails>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addResult
final MessageListResponse.Builder addResult(MessageDetails result)
Adds a single MessageDetails to results.
-
additionalProperties
final MessageListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageListResponse build()
Returns an immutable instance of MessageListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.paging() .results()
-
-
-
-