Package com.courier.models.tenants
Class PostTenantTemplatePublishRequest
-
- All Implemented Interfaces:
public final class PostTenantTemplatePublishRequestRequest body for publishing a tenant template version
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPostTenantTemplatePublishRequest.BuilderA builder for PostTenantTemplatePublishRequest.
-
Method Summary
Modifier and Type Method Description final Optional<String>version()The version of the template to publish (e.g., "v1", "v2", "latest"). final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final PostTenantTemplatePublishRequest.BuildertoBuilder()final PostTenantTemplatePublishRequestvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PostTenantTemplatePublishRequest.Builderbuilder()Returns a mutable builder for constructing an instance of PostTenantTemplatePublishRequest. -
-
Method Detail
-
version
final Optional<String> version()
The version of the template to publish (e.g., "v1", "v2", "latest"). If not provided, defaults to "latest".
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PostTenantTemplatePublishRequest.Builder toBuilder()
-
validate
final PostTenantTemplatePublishRequest validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static PostTenantTemplatePublishRequest.Builder builder()
Returns a mutable builder for constructing an instance of PostTenantTemplatePublishRequest.
-
-
-
-