Class: Amocrm::Models::RoleUpdateByIDResponse::Role::Embedded::User
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::RoleUpdateByIDResponse::Role::Embedded::User
- Defined in:
- lib/amocrm/models/role_update_by_id_response.rb,
sig/amocrm/models/role_update_by_id_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(users: nil) ⇒ User
constructor
A new instance of User.
- #to_hash ⇒ { id: Integer }
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(users: nil) ⇒ User
Returns a new instance of User.
57 58 59 60 61 62 63 64 65 |
# File 'lib/amocrm/models/role_update_by_id_response.rb', line 57 class User < Amocrm::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!method initialize(id: nil) # @param id [Integer] end |
Instance Attribute Details
#id ⇒ Integer?
61 |
# File 'lib/amocrm/models/role_update_by_id_response.rb', line 61 optional :id, Integer |
Instance Method Details
#to_hash ⇒ { id: Integer }
89 |
# File 'sig/amocrm/models/role_update_by_id_response.rbs', line 89
def to_hash: -> { id: Integer }
|