Class InviteListPageResponse.Builder
-
- All Implemented Interfaces:
public final class InviteListPageResponse.BuilderA builder for InviteListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final InviteListPageResponse.Builder data(List<BetaOrganizationInvite> data)
-
data
final InviteListPageResponse.Builder data(JsonField<List<BetaOrganizationInvite>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<BetaOrganizationInvite>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
firstId
final InviteListPageResponse.Builder firstId(String firstId)
First ID in the
datalist. Can be used as thebefore_idfor the previous page.
-
firstId
final InviteListPageResponse.Builder firstId(Optional<String> firstId)
Alias for calling Builder.firstId with
firstId.orElse(null).
-
firstId
final InviteListPageResponse.Builder firstId(JsonField<String> firstId)
Sets Builder.firstId to an arbitrary JSON value.
You should usually call Builder.firstId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasMore
final InviteListPageResponse.Builder hasMore(Boolean hasMore)
Indicates if there are more results in the requested page direction.
-
hasMore
final InviteListPageResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
lastId
final InviteListPageResponse.Builder lastId(String lastId)
Last ID in the
datalist. Can be used as theafter_idfor the next page.
-
lastId
final InviteListPageResponse.Builder lastId(Optional<String> lastId)
Alias for calling Builder.lastId with
lastId.orElse(null).
-
lastId
final InviteListPageResponse.Builder lastId(JsonField<String> lastId)
Sets Builder.lastId to an arbitrary JSON value.
You should usually call Builder.lastId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InviteListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addData
final InviteListPageResponse.Builder addData(BetaOrganizationInvite data)
Adds a single BetaOrganizationInvite to Builder.data.
-
putAdditionalProperty
final InviteListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InviteListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InviteListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InviteListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InviteListPageResponse build()
Returns an immutable instance of InviteListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .firstId() .hasMore() .lastId()
-
-
-
-