Class: Amocrm::Models::CatalogElementUpdateByIDResponse::CatalogElementUpdateResponse::Embedded::Element::CustomFieldsValue

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

Defined Under Namespace

Classes: Value

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 ⇒ Object



219
# File 'sig/amocrm/models/catalog_element_update_by_id_response.rbs', line 219

def initialize: (

Instance Attribute Details

#field_code ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


172
# File 'lib/amocrm/models/catalog_element_update_by_id_response.rb', line 172

optional :field_code, String

#field_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


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

optional :field_id, Integer

#field_name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :field_name, String

#field_type ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


187
# File 'lib/amocrm/models/catalog_element_update_by_id_response.rb', line 187

optional :field_type, String

#values ⇒ Array<Amocrm::Models::CatalogElementUpdateByIDResponse::CatalogElementUpdateResponse::Embedded::Element::CustomFieldsValue::Value>



162
163
164
165
166
167
# File 'lib/amocrm/models/catalog_element_update_by_id_response.rb', line 162

required :values,
-> do
  Amocrm::Internal::Type::ArrayOf[
    Amocrm::Models::CatalogElementUpdateByIDResponse::CatalogElementUpdateResponse::Embedded::Element::CustomFieldsValue::Value
  ]
end

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


227
# File 'sig/amocrm/models/catalog_element_update_by_id_response.rbs', line 227

def to_hash: -> {