Package com.courier.models.tenants
Class PostTenantTemplatePublishResponse
-
- All Implemented Interfaces:
public final class PostTenantTemplatePublishResponseResponse from publishing a tenant template
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPostTenantTemplatePublishResponse.BuilderA builder for PostTenantTemplatePublishResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()The template ID final StringpublishedAt()The timestamp when the template was published final Stringversion()The published version of the template final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_publishedAt()Returns the raw JSON value of publishedAt. final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final PostTenantTemplatePublishResponse.BuildertoBuilder()final PostTenantTemplatePublishResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PostTenantTemplatePublishResponse.Builderbuilder()Returns a mutable builder for constructing an instance of PostTenantTemplatePublishResponse. -
-
Method Detail
-
publishedAt
final String publishedAt()
The timestamp when the template was published
-
_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.
-
_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.
-
_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 PostTenantTemplatePublishResponse.Builder toBuilder()
-
validate
final PostTenantTemplatePublishResponse validate()
-
builder
final static PostTenantTemplatePublishResponse.Builder builder()
Returns a mutable builder for constructing an instance of PostTenantTemplatePublishResponse.
The following fields are required:
.id() .publishedAt() .version()
-
-
-
-