Class SlackChannelData.Connection.SlackTokenConnection
-
- All Implemented Interfaces:
public final class SlackChannelData.Connection.SlackTokenConnectionA Slack connection token.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSlackChannelData.Connection.SlackTokenConnection.BuilderA builder for SlackTokenConnection.
-
Method Summary
Modifier and Type Method Description final Optional<String>accessToken()A Slack access token. final Optional<String>channelId()A Slack channel ID from the Slack provider. final Optional<String>userId()A Slack user ID from the Slack provider. final JsonField<String>_accessToken()Returns the raw JSON value of accessToken. final JsonField<String>_channelId()Returns the raw JSON value of channelId. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final SlackChannelData.Connection.SlackTokenConnection.BuildertoBuilder()final SlackChannelData.Connection.SlackTokenConnectionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SlackChannelData.Connection.SlackTokenConnection.Builderbuilder()Returns a mutable builder for constructing an instance of SlackTokenConnection. -
-
Method Detail
-
accessToken
final Optional<String> accessToken()
A Slack access token.
-
_accessToken
final JsonField<String> _accessToken()
Returns the raw JSON value of accessToken.
Unlike accessToken, this method doesn't throw if the JSON field has an unexpected type.
-
_channelId
final JsonField<String> _channelId()
Returns the raw JSON value of channelId.
Unlike channelId, this method doesn't throw if the JSON field has an unexpected type.
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SlackChannelData.Connection.SlackTokenConnection.Builder toBuilder()
-
validate
final SlackChannelData.Connection.SlackTokenConnection validate()
-
builder
final static SlackChannelData.Connection.SlackTokenConnection.Builder builder()
Returns a mutable builder for constructing an instance of SlackTokenConnection.
-
-
-
-