Class: Amocrm::Models::CompanyUpdateByIDResponse::CompanyUpdateResponse::Embedded::Company

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



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/amocrm/models/company_update_by_id_response.rb', line 39

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

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

  # @!method initialize(id: nil, _links: nil, updated_at: nil)
  #   @param id [Integer]
  #   @param _links [Object]
  #   @param updated_at [Integer]
end

Instance Attribute Details

Returns:

  • (Object, nil)


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

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

#idInteger?

Returns:

  • (Integer, nil)


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

optional :id, Integer

#updated_atInteger?

Returns:

  • (Integer, nil)


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

optional :updated_at, Integer