Class: Courier::Models::PreferenceLogsListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::PreferenceLogsListResponse
- Defined in:
- lib/courier/models/preference_logs_list_response.rb,
sig/courier/models/preference_logs_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#items ⇒ Array<Courier::Models::PreferenceChangeLogEntry>
One entry per preference change, newest first.
- #paging ⇒ Courier::Models::Paging
Instance Method Summary collapse
- #initialize(items:, paging:) ⇒ Object constructor
- #to_hash ⇒ {
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/courier/models/preference_logs_list_response.rb', line 18
|
Instance Attribute Details
#items ⇒ Array<Courier::Models::PreferenceChangeLogEntry>
One entry per preference change, newest first.
11 |
# File 'lib/courier/models/preference_logs_list_response.rb', line 11 required :items, -> { Courier::Internal::Type::ArrayOf[Courier::PreferenceChangeLogEntry] } |
#paging ⇒ Courier::Models::Paging
16 |
# File 'lib/courier/models/preference_logs_list_response.rb', line 16 required :paging, -> { Courier::Paging } |
Instance Method Details
#to_hash ⇒ {
19 |
# File 'sig/courier/models/preference_logs_list_response.rbs', line 19
def to_hash: -> {
|