Class: Trycourier::Models::Users::PreferenceRetrieveResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Trycourier::Models::Users::PreferenceRetrieveResponse
- Defined in:
- lib/trycourier/models/users/preference_retrieve_response.rb
Overview
Instance Attribute Summary collapse
-
#items ⇒ Array<Trycourier::Models::Users::TopicPreference>
The Preferences associated with the user_id.
-
#paging ⇒ Trycourier::Models::Paging
Deprecated - Paging not implemented on this endpoint.
Instance Method Summary collapse
- #initialize(items: , paging: ) ⇒ Object constructor
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(items: , paging: ) ⇒ Object
|
|
# File 'lib/trycourier/models/users/preference_retrieve_response.rb', line 20
|
Instance Attribute Details
#items ⇒ Array<Trycourier::Models::Users::TopicPreference>
The Preferences associated with the user_id.
12 |
# File 'lib/trycourier/models/users/preference_retrieve_response.rb', line 12 required :items, -> { Trycourier::Internal::Type::ArrayOf[Trycourier::Users::TopicPreference] } |
#paging ⇒ Trycourier::Models::Paging
Deprecated - Paging not implemented on this endpoint
18 |
# File 'lib/trycourier/models/users/preference_retrieve_response.rb', line 18 required :paging, -> { Trycourier::Paging } |