Class AutomationTemplate
-
- All Implemented Interfaces:
public final class AutomationTemplate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAutomationTemplate.BuilderA builder for AutomationTemplate.
public final classAutomationTemplate.VersionThe version of the template published or drafted.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique identifier of the automation template. final Stringname()The name of the automation template. final AutomationTemplate.Versionversion()The version of the template published or drafted. final Optional<OffsetDateTime>createdAt()ISO 8601 timestamp when the template was created. final Optional<OffsetDateTime>updatedAt()ISO 8601 timestamp when the template was last updated. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<AutomationTemplate.Version>_version()Returns the raw JSON value of version. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final Map<String, JsonValue>_additionalProperties()final AutomationTemplate.BuildertoBuilder()final AutomationTemplatevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AutomationTemplate.Builderbuilder()Returns a mutable builder for constructing an instance of AutomationTemplate. -
-
Method Detail
-
version
final AutomationTemplate.Version version()
The version of the template published or drafted.
-
createdAt
final Optional<OffsetDateTime> createdAt()
ISO 8601 timestamp when the template was created.
-
updatedAt
final Optional<OffsetDateTime> updatedAt()
ISO 8601 timestamp when the template was last updated.
-
_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.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<AutomationTemplate.Version> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AutomationTemplate.Builder toBuilder()
-
validate
final AutomationTemplate validate()
-
builder
final static AutomationTemplate.Builder builder()
Returns a mutable builder for constructing an instance of AutomationTemplate.
The following fields are required:
.id() .name() .version()
-
-
-
-