Class: Amocrm::Models::CatalogElementCreateParams::Body::CustomFieldsValue
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::CatalogElementCreateParams::Body::CustomFieldsValue
- Defined in:
- lib/amocrm/models/catalog_element_create_params.rb
Defined Under Namespace
Classes: Value
Instance Attribute Summary collapse
- #field_code ⇒ String?
- #field_id ⇒ Integer?
- #field_name ⇒ String?
- #field_type ⇒ String?
- #values ⇒ Array<Amocrm::Models::CatalogElementCreateParams::Body::CustomFieldsValue::Value>
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(name:, custom_fields_values: nil, request_id: nil) ⇒ Object
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 47 class CustomFieldsValue < Amocrm::Internal::Type::BaseModel # @!attribute values # # @return [Array<Amocrm::Models::CatalogElementCreateParams::Body::CustomFieldsValue::Value>] required :values, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::CatalogElementCreateParams::Body::CustomFieldsValue::Value] } # @!attribute field_code # # @return [String, nil] optional :field_code, String # @!attribute field_id # # @return [Integer, nil] optional :field_id, Integer # @!attribute field_name # # @return [String, nil] optional :field_name, String # @!attribute field_type # # @return [String, nil] optional :field_type, String # @!method initialize(values:, field_code: nil, field_id: nil, field_name: nil, field_type: nil) # @param values [Array<Amocrm::Models::CatalogElementCreateParams::Body::CustomFieldsValue::Value>] # @param field_code [String] # @param field_id [Integer] # @param field_name [String] # @param field_type [String] class Value < Amocrm::Internal::Type::BaseModel # @!attribute value # # @return [Object] required :value, Amocrm::Internal::Type::Unknown # @!attribute enum_code # # @return [String, nil] optional :enum_code, String # @!attribute enum_id # # @return [Integer, nil] optional :enum_id, Integer # @!method initialize(value:, enum_code: nil, enum_id: nil) # @param value [Object] # @param enum_code [String] # @param enum_id [Integer] end end |
Instance Attribute Details
#field_code ⇒ String?
57 |
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 57 optional :field_code, String |
#field_id ⇒ Integer?
62 |
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 62 optional :field_id, Integer |
#field_name ⇒ String?
67 |
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 67 optional :field_name, String |
#field_type ⇒ String?
72 |
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 72 optional :field_type, String |
#values ⇒ Array<Amocrm::Models::CatalogElementCreateParams::Body::CustomFieldsValue::Value>
51 52 |
# File 'lib/amocrm/models/catalog_element_create_params.rb', line 51 required :values, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::CatalogElementCreateParams::Body::CustomFieldsValue::Value] } |