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)

    Prefixed group identifier (‘grp_<base64-encoded-uuid>`).

  • created_at (Time, nil)

    Group creation timestamp (ISO 8601, UTC).

  • external_reference_id (String)

    Stable identifier for this group in the integrator’s own system.

  • name (String)

    Human-readable group name.

  • organization_id (String)

    Prefixed organization identifier (‘org_<base64-encoded-uuid>`).

  • updated_at (Time, nil)

    Last-update timestamp (ISO 8601, UTC).



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

Instance Attribute Details

#created_atTime?

Group creation timestamp (ISO 8601, UTC).

Returns:

  • (Time, nil)


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

required :created_at, Time, nil?: true

#external_reference_idString

Stable identifier for this group in the integrator’s own system.

Returns:

  • (String)


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

required :external_reference_id, String

#idString

Prefixed group identifier (‘grp_<base64-encoded-uuid>`).

Returns:

  • (String)


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

required :id, String

#nameString

Human-readable group name.

Returns:

  • (String)


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

required :name, String

#organization_idString

Prefixed organization identifier (‘org_<base64-encoded-uuid>`).

Returns:

  • (String)


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

required :organization_id, String

#updated_atTime?

Last-update timestamp (ISO 8601, UTC).

Returns:

  • (Time, nil)


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

required :updated_at, Time, nil?: true