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

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

Defined Under Namespace

Modules: CustomersMode Classes: Embedded, InvoicesSettings

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/account_get_response.rb', line 144

Instance Attribute Details

#_embedded ⇒ Amocrm::Models::AccountGetResponse::AccountInfo::Embedded?



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

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

Parameters:

  • (top)

Returns:

  • (Object, nil)


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

optional :_links, Amocrm::Internal::Type::Unknown

#amojo_id ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :amojo_id, String

#contact_name_display_order ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :contact_name_display_order, Integer

#country ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :country, String

#created_at ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :created_at, Integer

#created_by ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :created_by, Integer

#currency ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :currency, String

#currency_symbol ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :currency_symbol, String

#current_user_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :current_user_id, Integer

#customers_mode ⇒ Symbol, ...



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

optional :customers_mode, union: -> { Amocrm::Models::AccountGetResponse::AccountInfo::CustomersMode }

#drive_url ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :drive_url, String

#id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :id, Integer

#invoices_settings ⇒ Amocrm::Models::AccountGetResponse::AccountInfo::InvoicesSettings?



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

optional :invoices_settings, -> { Amocrm::Models::AccountGetResponse::AccountInfo::InvoicesSettings }

#is_api_filter_enabled ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

optional :is_api_filter_enabled, Amocrm::Internal::Type::Boolean

#is_helpbot_enabled ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

optional :is_helpbot_enabled, Amocrm::Internal::Type::Boolean

#is_loss_reason_enabled ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

optional :is_loss_reason_enabled, Amocrm::Internal::Type::Boolean

#is_technical_account ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

optional :is_technical_account, Amocrm::Internal::Type::Boolean

#is_unsorted_on ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

optional :is_unsorted_on, Amocrm::Internal::Type::Boolean

#mobile_feature_version ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :mobile_feature_version, Integer

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :name, String

#subdomain ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :subdomain, String

#updated_at ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :updated_at, Integer

#updated_by ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :updated_by, Integer

#uuid ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :uuid, String

#version ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :version, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


180
# File 'sig/amocrm/models/account_get_response.rbs', line 180

def to_hash: -> {