Class SlackCheckAuthResponse.Connection
-
- All Implemented Interfaces:
public final class SlackCheckAuthResponse.ConnectionA Slack connection object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSlackCheckAuthResponse.Connection.BuilderA builder for Connection.
-
Method Summary
Modifier and Type Method Description final Booleanok()Whether the Slack connection is valid. final Optional<String>reason()The reason for the Slack connection if it is not valid. final JsonField<Boolean>_ok()Returns the raw JSON value of ok. final JsonField<String>_reason()Returns the raw JSON value of reason. final Map<String, JsonValue>_additionalProperties()final SlackCheckAuthResponse.Connection.BuildertoBuilder()final SlackCheckAuthResponse.Connectionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SlackCheckAuthResponse.Connection.Builderbuilder()Returns a mutable builder for constructing an instance of Connection. -
-
Method Detail
-
_ok
final JsonField<Boolean> _ok()
Returns the raw JSON value of ok.
Unlike ok, this method doesn't throw if the JSON field has an unexpected type.
-
_reason
final JsonField<String> _reason()
Returns the raw JSON value of reason.
Unlike reason, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SlackCheckAuthResponse.Connection.Builder toBuilder()
-
validate
final SlackCheckAuthResponse.Connection validate()
-
builder
final static SlackCheckAuthResponse.Connection.Builder builder()
Returns a mutable builder for constructing an instance of Connection.
The following fields are required:
.ok()
-
-
-
-