Class SlackChannelData
-
- All Implemented Interfaces:
public final class SlackChannelDataSlack channel data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSlackChannelData.BuilderA builder for SlackChannelData.
public final classSlackChannelData.ConnectionA Slack connection, either an access token or an incoming webhook
public final classSlackChannelData.TokenA Slack connection token.
-
Method Summary
Modifier and Type Method Description final List<SlackChannelData.Connection>connections()List of Slack channel connections. final Optional<SlackChannelData.Token>token()A Slack connection token. final JsonField<List<SlackChannelData.Connection>>_connections()Returns the raw JSON value of connections. final JsonField<SlackChannelData.Token>_token()Returns the raw JSON value of token. final Map<String, JsonValue>_additionalProperties()final SlackChannelData.BuildertoBuilder()final SlackChannelDatavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SlackChannelData.Builderbuilder()Returns a mutable builder for constructing an instance of SlackChannelData. -
-
Method Detail
-
connections
final List<SlackChannelData.Connection> connections()
List of Slack channel connections.
-
token
final Optional<SlackChannelData.Token> token()
A Slack connection token.
-
_connections
final JsonField<List<SlackChannelData.Connection>> _connections()
Returns the raw JSON value of connections.
Unlike connections, this method doesn't throw if the JSON field has an unexpected type.
-
_token
final JsonField<SlackChannelData.Token> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SlackChannelData.Builder toBuilder()
-
validate
final SlackChannelData validate()
-
builder
final static SlackChannelData.Builder builder()
Returns a mutable builder for constructing an instance of SlackChannelData.
The following fields are required:
.connections()
-
-
-
-