Class SendMessageParams
-
- All Implemented Interfaces:
-
com.courier.core.Params
public final class SendMessageParams implements Params
Send a message to one or more recipients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSendMessageParams.BuilderA builder for SendMessageParams.
public final classSendMessageParams.Bodypublic final classSendMessageParams.MessageThe message property has the following primary top-level properties. They define the destination and content of the message.
-
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>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final SendMessageParams.BuildertoBuilder()final SendMessageParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static SendMessageParams.Builderbuilder()Returns a mutable builder for constructing an instance of SendMessageParams. -
-
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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final SendMessageParams.Builder toBuilder()
-
_body
final SendMessageParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static SendMessageParams.Builder builder()
Returns a mutable builder for constructing an instance of SendMessageParams.
The following fields are required:
.message()
-
-
-
-