Class SlackListChannelsPageResponse.Builder
-
- All Implemented Interfaces:
public final class SlackListChannelsPageResponse.BuilderA builder for SlackListChannelsPageResponse.
-
-
Method Summary
-
-
Method Detail
-
nextCursor
final SlackListChannelsPageResponse.Builder nextCursor(String nextCursor)
Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection.
-
nextCursor
final SlackListChannelsPageResponse.Builder nextCursor(Optional<String> nextCursor)
Alias for calling Builder.nextCursor with
nextCursor.orElse(null).
-
nextCursor
final SlackListChannelsPageResponse.Builder nextCursor(JsonField<String> nextCursor)
Sets Builder.nextCursor to an arbitrary JSON value.
You should usually call Builder.nextCursor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
slackChannels
final SlackListChannelsPageResponse.Builder slackChannels(List<SlackListChannelsResponse> slackChannels)
List of Slack channels.
-
slackChannels
final SlackListChannelsPageResponse.Builder slackChannels(JsonField<List<SlackListChannelsResponse>> slackChannels)
Sets Builder.slackChannels to an arbitrary JSON value.
You should usually call Builder.slackChannels with a well-typed
List<SlackListChannelsResponse>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addSlackChannel
final SlackListChannelsPageResponse.Builder addSlackChannel(SlackListChannelsResponse slackChannel)
Adds a single SlackListChannelsResponse to slackChannels.
-
additionalProperties
final SlackListChannelsPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SlackListChannelsPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SlackListChannelsPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SlackListChannelsPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SlackListChannelsPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SlackListChannelsPageResponse build()
Returns an immutable instance of SlackListChannelsPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.nextCursor() .slackChannels()
-
-
-
-