Package com.courier.models.send
Class SendMessageParams.Body
-
- All Implemented Interfaces:
public final class SendMessageParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSendMessageParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final SendMessageParams.Messagemessage()The message property has the following primary top-level properties. final JsonField<SendMessageParams.Message>_message()Returns the raw JSON value of message. final Map<String, JsonValue>_additionalProperties()final SendMessageParams.Body.BuildertoBuilder()final SendMessageParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SendMessageParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
message
final SendMessageParams.Message message()
The message property has the following primary top-level properties. They define the destination and content of the message.
-
_message
final JsonField<SendMessageParams.Message> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SendMessageParams.Body.Builder toBuilder()
-
validate
final SendMessageParams.Body validate()
-
builder
final static SendMessageParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.message()
-
-
-
-