Class SlackListChannelsResponse.Builder
-
- All Implemented Interfaces:
public final class SlackListChannelsResponse.BuilderA builder for SlackListChannelsResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final SlackListChannelsResponse.Builder id(String id)
A Slack channel ID from the Slack provider.
-
id
final SlackListChannelsResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
contextTeamId
final SlackListChannelsResponse.Builder contextTeamId(String contextTeamId)
The team ID that the Slack channel belongs to.
-
contextTeamId
final SlackListChannelsResponse.Builder contextTeamId(JsonField<String> contextTeamId)
Sets Builder.contextTeamId to an arbitrary JSON value.
You should usually call Builder.contextTeamId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isIm
final SlackListChannelsResponse.Builder isIm(Boolean isIm)
Whether the Slack channel is an IM channel.
-
isIm
final SlackListChannelsResponse.Builder isIm(JsonField<Boolean> isIm)
Sets Builder.isIm to an arbitrary JSON value.
You should usually call Builder.isIm with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isPrivate
final SlackListChannelsResponse.Builder isPrivate(Boolean isPrivate)
Whether the Slack channel is private.
-
isPrivate
final SlackListChannelsResponse.Builder isPrivate(JsonField<Boolean> isPrivate)
Sets Builder.isPrivate to an arbitrary JSON value.
You should usually call Builder.isPrivate with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final SlackListChannelsResponse.Builder name(String name)
Slack channel name.
-
name
final SlackListChannelsResponse.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name 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 SlackListChannelsResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SlackListChannelsResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SlackListChannelsResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SlackListChannelsResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SlackListChannelsResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SlackListChannelsResponse build()
Returns an immutable instance of SlackListChannelsResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .contextTeamId() .isIm() .isPrivate() .name()
-
-
-
-