Package com.courier.models
Class MessageContext
-
- All Implemented Interfaces:
public final class MessageContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageContext.BuilderA builder for MessageContext.
-
Method Summary
Modifier and Type Method Description final Optional<String>tenantId()Tenant id used to load brand/default preferences/context. final JsonField<String>_tenantId()Returns the raw JSON value of tenantId. final Map<String, JsonValue>_additionalProperties()final MessageContext.BuildertoBuilder()final MessageContextvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageContext.Builderbuilder()Returns a mutable builder for constructing an instance of MessageContext. -
-
Method Detail
-
tenantId
final Optional<String> tenantId()
Tenant id used to load brand/default preferences/context.
-
_tenantId
final JsonField<String> _tenantId()
Returns the raw JSON value of tenantId.
Unlike tenantId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageContext.Builder toBuilder()
-
validate
final MessageContext validate()
-
builder
final static MessageContext.Builder builder()
Returns a mutable builder for constructing an instance of MessageContext.
-
-
-
-