Class: Amocrm::Models::CustomerSegmentGetByIDResponse::CustomerSegment

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

Defined Under Namespace

Classes: CustomFieldsValue

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



48
# File 'sig/amocrm/models/customer_segment_get_by_id_response.rbs', line 48

def initialize: (

Instance Attribute Details

#color ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


22
# File 'lib/amocrm/models/customer_segment_get_by_id_response.rb', line 22

optional :color, String

#created_at ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


27
# File 'lib/amocrm/models/customer_segment_get_by_id_response.rb', line 27

optional :created_at, Integer

#custom_fields_values ⇒ Array<Amocrm::Models::CustomerSegmentGetByIDResponse::CustomerSegment::CustomFieldsValue>?



32
33
34
# File 'lib/amocrm/models/customer_segment_get_by_id_response.rb', line 32

optional :custom_fields_values,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::CustomerSegmentGetByIDResponse::CustomerSegment::CustomFieldsValue] },
nil?: true

#customers_count ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


39
# File 'lib/amocrm/models/customer_segment_get_by_id_response.rb', line 39

optional :customers_count, Integer

#id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


17
# File 'lib/amocrm/models/customer_segment_get_by_id_response.rb', line 17

optional :id, Integer

#name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


44
# File 'lib/amocrm/models/customer_segment_get_by_id_response.rb', line 44

optional :name, String

#updated_at ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


49
# File 'lib/amocrm/models/customer_segment_get_by_id_response.rb', line 49

optional :updated_at, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


58
# File 'sig/amocrm/models/customer_segment_get_by_id_response.rbs', line 58

def to_hash: -> {