Class: Trycourier::Models::BaseTemplateTenantAssociation

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/trycourier/models/base_template_tenant_association.rb

Direct Known Subclasses

Tenants::TemplateListResponse::Item

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id: , created_at: , published_at: , updated_at: , version: ) ⇒ Object

Parameters:

  • id (String) (defaults to: )

    The template’s id

  • created_at (String) (defaults to: )

    The timestamp at which the template was created

  • published_at (String) (defaults to: )

    The timestamp at which the template was published

  • updated_at (String) (defaults to: )

    The timestamp at which the template was last updated

  • version (String) (defaults to: )

    The version of the template



# File 'lib/trycourier/models/base_template_tenant_association.rb', line 36

Instance Attribute Details

#created_atString

The timestamp at which the template was created

Returns:

  • (String)


16
# File 'lib/trycourier/models/base_template_tenant_association.rb', line 16

required :created_at, String

#idString

The template’s id

Returns:

  • (String)


10
# File 'lib/trycourier/models/base_template_tenant_association.rb', line 10

required :id, String

#published_atString

The timestamp at which the template was published

Returns:

  • (String)


22
# File 'lib/trycourier/models/base_template_tenant_association.rb', line 22

required :published_at, String

#updated_atString

The timestamp at which the template was last updated

Returns:

  • (String)


28
# File 'lib/trycourier/models/base_template_tenant_association.rb', line 28

required :updated_at, String

#versionString

The version of the template

Returns:

  • (String)


34
# File 'lib/trycourier/models/base_template_tenant_association.rb', line 34

required :version, String