Class: Amocrm::Models::UnsortedLeadAcceptResponse::UnsortedAcceptResponse

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

Defined Under Namespace

Modules: Category Classes: Embedded

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/unsorted_lead_accept_response.rb', line 40

Instance Attribute Details

#_embedded ⇒ Amocrm::Models::UnsortedLeadAcceptResponse::UnsortedAcceptResponse::Embedded?



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

optional :_embedded, -> { Amocrm::Models::UnsortedLeadAcceptResponse::UnsortedAcceptResponse::Embedded }

#category ⇒ Symbol, ...



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

optional :category,
enum: -> { Amocrm::Models::UnsortedLeadAcceptResponse::UnsortedAcceptResponse::Category }

#created_at ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


28
# File 'lib/amocrm/models/unsorted_lead_accept_response.rb', line 28

optional :created_at, Integer

#pipeline_id ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


33
# File 'lib/amocrm/models/unsorted_lead_accept_response.rb', line 33

optional :pipeline_id, Integer

#uid ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


38
# File 'lib/amocrm/models/unsorted_lead_accept_response.rb', line 38

optional :uid, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


52
# File 'sig/amocrm/models/unsorted_lead_accept_response.rbs', line 52

def to_hash: -> {