Package com.courier.models.tenants
Class PutTenantTemplateRequest
-
- All Implemented Interfaces:
public final class PutTenantTemplateRequestRequest body for creating or updating a tenant notification template
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPutTenantTemplateRequest.BuilderA builder for PutTenantTemplateRequest.
-
Method Summary
Modifier and Type Method Description final TenantTemplateInputtemplate()Template configuration for creating or updating a tenant notification template final Optional<Boolean>published()Whether to publish the template immediately after saving. final JsonField<TenantTemplateInput>_template()Returns the raw JSON value of template. final JsonField<Boolean>_published()Returns the raw JSON value of published. final Map<String, JsonValue>_additionalProperties()final PutTenantTemplateRequest.BuildertoBuilder()final PutTenantTemplateRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PutTenantTemplateRequest.Builderbuilder()Returns a mutable builder for constructing an instance of PutTenantTemplateRequest. -
-
Method Detail
-
template
final TenantTemplateInput template()
Template configuration for creating or updating a tenant notification template
-
published
final Optional<Boolean> published()
Whether to publish the template immediately after saving. When true, the template becomes the active/published version. When false (default), the template is saved as a draft.
-
_template
final JsonField<TenantTemplateInput> _template()
Returns the raw JSON value of template.
Unlike template, this method doesn't throw if the JSON field has an unexpected type.
-
_published
final JsonField<Boolean> _published()
Returns the raw JSON value of published.
Unlike published, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PutTenantTemplateRequest.Builder toBuilder()
-
validate
final PutTenantTemplateRequest validate()
-
builder
final static PutTenantTemplateRequest.Builder builder()
Returns a mutable builder for constructing an instance of PutTenantTemplateRequest.
The following fields are required:
.template()
-
-
-
-