Class: Amocrm::Models::AccountGetResponse::AccountInfo::Embedded

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

Overview

See Also:

Defined Under Namespace

Classes: AmojoRights, DatetimeSettings, TaskType, UsersGroup

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, code: nil, color: nil, icon_id: nil, name: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • code (String) (defaults to: nil)
  • color (String) (defaults to: nil)
  • icon_id (Integer) (defaults to: nil)
  • name (String) (defaults to: nil)


# File 'lib/amocrm/models/account_get_response.rb', line 197

Instance Attribute Details

#amojo_rightsAmocrm::Models::AccountGetResponse::AccountInfo::Embedded::AmojoRights?



177
# File 'lib/amocrm/models/account_get_response.rb', line 177

optional :amojo_rights, -> { Amocrm::Models::AccountGetResponse::AccountInfo::Embedded::AmojoRights }

#datetime_settingsAmocrm::Models::AccountGetResponse::AccountInfo::Embedded::DatetimeSettings?



182
183
# File 'lib/amocrm/models/account_get_response.rb', line 182

optional :datetime_settings,
-> { Amocrm::Models::AccountGetResponse::AccountInfo::Embedded::DatetimeSettings }

#task_typesArray<Amocrm::Models::AccountGetResponse::AccountInfo::Embedded::TaskType>?



188
189
# File 'lib/amocrm/models/account_get_response.rb', line 188

optional :task_types,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::AccountGetResponse::AccountInfo::Embedded::TaskType] }

#users_groupsArray<Amocrm::Models::AccountGetResponse::AccountInfo::Embedded::UsersGroup>?



194
195
# File 'lib/amocrm/models/account_get_response.rb', line 194

optional :users_groups,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::AccountGetResponse::AccountInfo::Embedded::UsersGroup] }