Class: Amocrm::Models::CustomerUpdateParams::Body::Embedded

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

Overview

See Also:

  • Amocrm::Models::CustomerUpdateParams::Body#_embedded

Defined Under Namespace

Classes: Segment, Tag

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, _links: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • _links (Object) (defaults to: nil)


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

Instance Attribute Details

#segments ⇒ Array<Amocrm::Models::CustomerUpdateParams::Body::Embedded::Segment>?

Parameters:

  • value (::Array[Amocrm::CustomerUpdateParams::Body::Embedded::Segment], nil)

Returns:



114
115
116
117
118
# File 'lib/amocrm/models/customer_update_params.rb', line 114

optional :segments,
-> {
  Amocrm::Internal::Type::ArrayOf[Amocrm::CustomerUpdateParams::Body::Embedded::Segment]
},
nil?: true

#tags ⇒ Array<Amocrm::Models::CustomerUpdateParams::Body::Embedded::Tag>?

Parameters:

  • value (::Array[Amocrm::CustomerUpdateParams::Body::Embedded::Tag], nil)

Returns:



123
124
125
# File 'lib/amocrm/models/customer_update_params.rb', line 123

optional :tags,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::CustomerUpdateParams::Body::Embedded::Tag] },
nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


154
# File 'sig/amocrm/models/customer_update_params.rbs', line 154

def to_hash: -> {