Package com.courier.models
Class SlackRecipient
-
- All Implemented Interfaces:
public final class SlackRecipientSend via Slack (channel, email, or user_id)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSlackRecipient.BuilderA builder for SlackRecipient.
-
Method Summary
Modifier and Type Method Description final Slackslack()final JsonField<Slack>_slack()Returns the raw JSON value of slack. final Map<String, JsonValue>_additionalProperties()final SlackRecipient.BuildertoBuilder()final SlackRecipientvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SlackRecipient.Builderbuilder()Returns a mutable builder for constructing an instance of SlackRecipient. -
-
Method Detail
-
_slack
final JsonField<Slack> _slack()
Returns the raw JSON value of slack.
Unlike slack, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SlackRecipient.Builder toBuilder()
-
validate
final SlackRecipient 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 SlackRecipient.Builder builder()
Returns a mutable builder for constructing an instance of SlackRecipient.
The following fields are required:
.slack()
-
-
-
-