Class: Amocrm::Models::ContactUpdateParams::Body::Embedded::Tag
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(tags: nil) ⇒ Object
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
# File 'lib/amocrm/models/contact_update_params.rb', line 131
class Tag < Amocrm::Internal::Type::BaseModel
optional :id, Integer
optional :color, String
optional :name, String
end
|
Instance Attribute Details
#color ⇒ String?
140
|
# File 'lib/amocrm/models/contact_update_params.rb', line 140
optional :color, String
|
#id ⇒ Integer?
135
|
# File 'lib/amocrm/models/contact_update_params.rb', line 135
optional :id, Integer
|
#name ⇒ String?
145
|
# File 'lib/amocrm/models/contact_update_params.rb', line 145
optional :name, String
|
Instance Method Details
#to_hash ⇒ { id: Integer, color: String, name: String }
166
|
# File 'sig/amocrm/models/contact_update_params.rbs', line 166
def to_hash: -> { id: Integer, color: String, name: String }
|