Class: Amocrm::Models::UserGetByIDResponse::User::Embedded

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/user_get_by_id_response.rb

Overview

See Also:

Defined Under Namespace

Classes: Group, Role

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: nil, name: nil, uuid: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • name (String) (defaults to: nil)
  • uuid (String) (defaults to: nil)


# File 'lib/amocrm/models/user_get_by_id_response.rb', line 116

Instance Attribute Details

#groupsArray<Amocrm::Models::UserGetByIDResponse::User::Embedded::Group>?



87
88
# File 'lib/amocrm/models/user_get_by_id_response.rb', line 87

optional :groups,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::UserGetByIDResponse::User::Embedded::Group] }

#rolesArray<Amocrm::Models::UserGetByIDResponse::User::Embedded::Role>?



93
94
# File 'lib/amocrm/models/user_get_by_id_response.rb', line 93

optional :roles,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::UserGetByIDResponse::User::Embedded::Role] }