Class: Amocrm::Models::LeadCreateComplexResponse::LeadComplexCreateResponse::Embedded::Lead

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/lead_create_complex_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(leads: nil) ⇒ Object



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# File 'lib/amocrm/models/lead_create_complex_response.rb', line 39

class Lead < Amocrm::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [Integer, nil]
  optional :id, Integer

  # @!attribute company_id
  #
  #   @return [Integer, nil]
  optional :company_id, Integer

  # @!attribute contact_id
  #
  #   @return [Integer, nil]
  optional :contact_id, Integer

  # @!attribute merged
  #
  #   @return [Boolean, nil]
  optional :merged, Amocrm::Internal::Type::Boolean

  # @!attribute request_id
  #
  #   @return [String, nil]
  optional :request_id, String

  # @!method initialize(id: nil, company_id: nil, contact_id: nil, merged: nil, request_id: nil)
  #   @param id [Integer]
  #   @param company_id [Integer]
  #   @param contact_id [Integer]
  #   @param merged [Boolean]
  #   @param request_id [String]
end

Instance Attribute Details

#company_idInteger?

Returns:

  • (Integer, nil)


48
# File 'lib/amocrm/models/lead_create_complex_response.rb', line 48

optional :company_id, Integer

#contact_idInteger?

Returns:

  • (Integer, nil)


53
# File 'lib/amocrm/models/lead_create_complex_response.rb', line 53

optional :contact_id, Integer

#idInteger?

Returns:

  • (Integer, nil)


43
# File 'lib/amocrm/models/lead_create_complex_response.rb', line 43

optional :id, Integer

#mergedBoolean?

Returns:

  • (Boolean, nil)


58
# File 'lib/amocrm/models/lead_create_complex_response.rb', line 58

optional :merged, Amocrm::Internal::Type::Boolean

#request_idString?

Returns:

  • (String, nil)


63
# File 'lib/amocrm/models/lead_create_complex_response.rb', line 63

optional :request_id, String