Package com.courier.models.send
Class SendMessageParams.Message.Delay
-
- All Implemented Interfaces:
public final class SendMessageParams.Message.Delay
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSendMessageParams.Message.Delay.BuilderA builder for Delay.
-
Method Summary
Modifier and Type Method Description final Optional<Long>duration()The duration of the delay in milliseconds. final Optional<String>timezone()IANA timezone identifier (e.g., "America/Los_Angeles", "UTC"). final Optional<String>until()ISO 8601 timestamp or opening_hours-like format. final JsonField<Long>_duration()Returns the raw JSON value of duration. final JsonField<String>_timezone()Returns the raw JSON value of timezone. final JsonField<String>_until()Returns the raw JSON value of until. final Map<String, JsonValue>_additionalProperties()final SendMessageParams.Message.Delay.BuildertoBuilder()final SendMessageParams.Message.Delayvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SendMessageParams.Message.Delay.Builderbuilder()Returns a mutable builder for constructing an instance of Delay. -
-
Method Detail
-
timezone
final Optional<String> timezone()
IANA timezone identifier (e.g., "America/Los_Angeles", "UTC"). Used when resolving opening hours expressions. Takes precedence over user profile timezone settings.
-
_duration
final JsonField<Long> _duration()
Returns the raw JSON value of duration.
Unlike duration, this method doesn't throw if the JSON field has an unexpected type.
-
_timezone
final JsonField<String> _timezone()
Returns the raw JSON value of timezone.
Unlike timezone, this method doesn't throw if the JSON field has an unexpected type.
-
_until
final JsonField<String> _until()
Returns the raw JSON value of until.
Unlike until, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SendMessageParams.Message.Delay.Builder toBuilder()
-
validate
final SendMessageParams.Message.Delay validate()
-
builder
final static SendMessageParams.Message.Delay.Builder builder()
Returns a mutable builder for constructing an instance of Delay.
-
-
-
-