Class: Amocrm::Models::UnsortedLeadAcceptResponse::UnsortedAcceptResponse::Embedded::Company

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

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(companies: nil, contacts: nil, leads: nil) ⇒ Object



72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/amocrm/models/unsorted_lead_accept_response.rb', line 72

class Company < 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

Returns:

  • (Object, nil)


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

optional :_links, Amocrm::Internal::Type::Unknown

#idInteger?

Returns:

  • (Integer, nil)


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

optional :id, Integer