Class: Sentdm::Models::UserListResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::UserListResponse::Data
- Defined in:
- lib/sentdm/models/user_list_response.rb,
sig/sentdm/models/user_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#users ⇒ Array<Sentdm::Models::UserResponse>?
List of users in the organization.
Instance Method Summary collapse
-
#initialize(users: nil) ⇒ Data
constructor
List of users response.
- #to_hash ⇒ { users: ::Array[Sentdm::UserResponse] }
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) ⇒ Data
List of users response
|
|
# File 'lib/sentdm/models/user_list_response.rb', line 50
|
Instance Attribute Details
#users ⇒ Array<Sentdm::Models::UserResponse>?
List of users in the organization
48 |
# File 'lib/sentdm/models/user_list_response.rb', line 48 optional :users, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::UserResponse] } |
Instance Method Details
#to_hash ⇒ { users: ::Array[Sentdm::UserResponse] }
49 |
# File 'sig/sentdm/models/user_list_response.rbs', line 49
def to_hash: -> { users: ::Array[Sentdm::UserResponse] }
|