Class: VitableConnect::Models::Group

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/vitable_connect/models/group.rb

Overview

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:, external_reference_id:, name:, organization_id:, updated_at:) ⇒ Object

Parameters:

  • id (String)
  • created_at (Time, nil)
  • external_reference_id (String)
  • name (String)
  • organization_id (String)
  • updated_at (Time, nil)


# File 'lib/vitable_connect/models/group.rb', line 37

Instance Attribute Details

#created_atTime?

Returns:

  • (Time, nil)


15
# File 'lib/vitable_connect/models/group.rb', line 15

required :created_at, Time, nil?: true

#external_reference_idString

Returns:

  • (String)


20
# File 'lib/vitable_connect/models/group.rb', line 20

required :external_reference_id, String

#idString

Returns:

  • (String)


10
# File 'lib/vitable_connect/models/group.rb', line 10

required :id, String

#nameString

Returns:

  • (String)


25
# File 'lib/vitable_connect/models/group.rb', line 25

required :name, String

#organization_idString

Returns:

  • (String)


30
# File 'lib/vitable_connect/models/group.rb', line 30

required :organization_id, String

#updated_atTime?

Returns:

  • (Time, nil)


35
# File 'lib/vitable_connect/models/group.rb', line 35

required :updated_at, Time, nil?: true