Class TransactionalSendResponse
-
- All Implemented Interfaces:
public final class TransactionalSendResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
TransactionalSendResponse.Builder
A builder for TransactionalSendResponse.
public final class
TransactionalSendResponse.Variables
The variables to be replaced in the template.
-
Method Summary
Modifier and Type Method Description final String
id()
The message identifier. final OffsetDateTime
createdAt()
The message creation date. final OffsetDateTime
expiresAt()
The message expiration date. final String
templateId()
The template identifier. final String
to()
The recipient's phone number. final TransactionalSendResponse.Variables
variables()
The variables to be replaced in the template. final Optional<String>
callbackUrl()
The callback URL. final Optional<String>
correlationId()
A unique, user-defined identifier that will be included in webhook events. final Optional<String>
from()
The Sender ID. final JsonField<String>
_id()
Returns the raw JSON value of id. final JsonField<OffsetDateTime>
_createdAt()
Returns the raw JSON value of createdAt. final JsonField<OffsetDateTime>
_expiresAt()
Returns the raw JSON value of expiresAt. final JsonField<String>
_templateId()
Returns the raw JSON value of templateId. final JsonField<String>
_to()
Returns the raw JSON value of to. final JsonField<TransactionalSendResponse.Variables>
_variables()
Returns the raw JSON value of variables. final JsonField<String>
_callbackUrl()
Returns the raw JSON value of callbackUrl. final JsonField<String>
_correlationId()
Returns the raw JSON value of correlationId. final JsonField<String>
_from()
Returns the raw JSON value of from. final Map<String, JsonValue>
_additionalProperties()
final TransactionalSendResponse.Builder
toBuilder()
final TransactionalSendResponse
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static TransactionalSendResponse.Builder
builder()
Returns a mutable builder for constructing an instance of TransactionalSendResponse. -
-
Method Detail
-
createdAt
final OffsetDateTime createdAt()
The message creation date.
-
expiresAt
final OffsetDateTime expiresAt()
The message expiration date.
-
templateId
final String templateId()
The template identifier.
-
variables
final TransactionalSendResponse.Variables variables()
The variables to be replaced in the template.
-
callbackUrl
final Optional<String> callbackUrl()
The callback URL.
-
correlationId
final Optional<String> correlationId()
A unique, user-defined identifier that will be included in webhook events.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_expiresAt
final JsonField<OffsetDateTime> _expiresAt()
Returns the raw JSON value of expiresAt.
Unlike expiresAt, this method doesn't throw if the JSON field has an unexpected type.
-
_templateId
final JsonField<String> _templateId()
Returns the raw JSON value of templateId.
Unlike templateId, this method doesn't throw if the JSON field has an unexpected type.
-
_to
final JsonField<String> _to()
Returns the raw JSON value of to.
Unlike to, this method doesn't throw if the JSON field has an unexpected type.
-
_variables
final JsonField<TransactionalSendResponse.Variables> _variables()
Returns the raw JSON value of variables.
Unlike variables, this method doesn't throw if the JSON field has an unexpected type.
-
_callbackUrl
final JsonField<String> _callbackUrl()
Returns the raw JSON value of callbackUrl.
Unlike callbackUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_correlationId
final JsonField<String> _correlationId()
Returns the raw JSON value of correlationId.
Unlike correlationId, this method doesn't throw if the JSON field has an unexpected type.
-
_from
final JsonField<String> _from()
Returns the raw JSON value of from.
Unlike from, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TransactionalSendResponse.Builder toBuilder()
-
validate
final TransactionalSendResponse validate()
-
builder
final static TransactionalSendResponse.Builder builder()
Returns a mutable builder for constructing an instance of TransactionalSendResponse.
The following fields are required:
.id() .createdAt() .expiresAt() .templateId() .to() .variables()
-
-
-
-