Package com.courier.models
Class SendToSlackChannel
-
- All Implemented Interfaces:
public final class SendToSlackChannel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSendToSlackChannel.BuilderA builder for SendToSlackChannel.
-
Method Summary
Modifier and Type Method Description final StringaccessToken()final Stringchannel()final JsonField<String>_accessToken()Returns the raw JSON value of accessToken. final JsonField<String>_channel()Returns the raw JSON value of channel. final Map<String, JsonValue>_additionalProperties()final SendToSlackChannel.BuildertoBuilder()final SendToSlackChannelvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SendToSlackChannel.Builderbuilder()Returns a mutable builder for constructing an instance of SendToSlackChannel. -
-
Method Detail
-
accessToken
final String accessToken()
-
_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.
-
_channel
final JsonField<String> _channel()
Returns the raw JSON value of channel.
Unlike channel, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SendToSlackChannel.Builder toBuilder()
-
validate
final SendToSlackChannel validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static SendToSlackChannel.Builder builder()
Returns a mutable builder for constructing an instance of SendToSlackChannel.
The following fields are required:
.accessToken() .channel()
-
-
-
-