Class: Amocrm::Models::CustomerUpdateByIDParams::Embedded::Segment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::CustomerUpdateByIDParams::Embedded::Segment
- Defined in:
- lib/amocrm/models/customer_update_by_id_params.rb,
sig/amocrm/models/customer_update_by_id_params.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(segments: nil, tags: nil) ⇒ Segment
constructor
A new instance of Segment.
- #to_hash ⇒ { id: Integer, _links: top }
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(segments: nil, tags: nil) ⇒ Segment
Returns a new instance of Segment.
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 118 class Segment < Amocrm::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!attribute _links # # @return [Object, nil] optional :_links, Amocrm::Internal::Type::Unknown # @!method initialize(id: nil, _links: nil) # @param id [Integer] # @param _links [Object] end |
Instance Attribute Details
#_links ⇒ Object?
127 |
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 127 optional :_links, Amocrm::Internal::Type::Unknown |
#id ⇒ Integer?
122 |
# File 'lib/amocrm/models/customer_update_by_id_params.rb', line 122 optional :id, Integer |
Instance Method Details
#to_hash ⇒ { id: Integer, _links: top }
158 |
# File 'sig/amocrm/models/customer_update_by_id_params.rbs', line 158
def to_hash: -> { id: Integer, _links: top }
|