Package so.prelude.sdk.models
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()
The message identifier. final JsonField<OffsetDateTime>
_createdAt()
The message creation date. final JsonField<OffsetDateTime>
_expiresAt()
The message expiration date. final JsonField<String>
_templateId()
The template identifier. final JsonField<String>
_to()
The recipient's phone number. final JsonField<TransactionalSendResponse.Variables>
_variables()
The variables to be replaced in the template. final JsonField<String>
_callbackUrl()
The callback URL. final JsonField<String>
_correlationId()
A unique, user-defined identifier that will be included in webhook events. final JsonField<String>
_from()
The Sender ID. final Map<String, JsonValue>
_additionalProperties()
final TransactionalSendResponse
validate()
final TransactionalSendResponse.Builder
toBuilder()
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.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
The message creation date.
-
_expiresAt
final JsonField<OffsetDateTime> _expiresAt()
The message expiration date.
-
_templateId
final JsonField<String> _templateId()
The template identifier.
-
_variables
final JsonField<TransactionalSendResponse.Variables> _variables()
The variables to be replaced in the template.
-
_callbackUrl
final JsonField<String> _callbackUrl()
The callback URL.
-
_correlationId
final JsonField<String> _correlationId()
A unique, user-defined identifier that will be included in webhook events.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final TransactionalSendResponse validate()
-
toBuilder
final TransactionalSendResponse.Builder toBuilder()
-
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()
-
-
-
-