Package com.courier.models.tenants
Class PutTenantTemplateResponse
-
- All Implemented Interfaces:
public final class PutTenantTemplateResponseResponse from creating or updating a tenant notification template
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPutTenantTemplateResponse.BuilderA builder for PutTenantTemplateResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()The template ID final Stringversion()The version of the saved template final Optional<String>publishedAt()The timestamp when the template was published. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_version()Returns the raw JSON value of version. final JsonField<String>_publishedAt()Returns the raw JSON value of publishedAt. final Map<String, JsonValue>_additionalProperties()final PutTenantTemplateResponse.BuildertoBuilder()final PutTenantTemplateResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PutTenantTemplateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of PutTenantTemplateResponse. -
-
Method Detail
-
publishedAt
final Optional<String> publishedAt()
The timestamp when the template was published. Only present if the template was published as part of this request.
-
_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.
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_publishedAt
final JsonField<String> _publishedAt()
Returns the raw JSON value of publishedAt.
Unlike publishedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PutTenantTemplateResponse.Builder toBuilder()
-
validate
final PutTenantTemplateResponse validate()
-
builder
final static PutTenantTemplateResponse.Builder builder()
Returns a mutable builder for constructing an instance of PutTenantTemplateResponse.
The following fields are required:
.id() .version()
-
-
-
-