Class: Knockapi::Models::ListSchedulesResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::ListSchedulesResponse
- Defined in:
- lib/knockapi/models/list_schedules_response.rb,
sig/knockapi/models/list_schedules_response.rbs
Instance Attribute Summary collapse
-
#entries ⇒ Array<Knockapi::Models::Schedule>
A list of schedules.
-
#page_info ⇒ Knockapi::Models::PageInfo
Pagination information for a list of resources.
Instance Method Summary collapse
-
#initialize(entries:, page_info:) ⇒ Object
constructor
A response containing a list of schedules.
- #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(entries:, page_info:) ⇒ Object
A response containing a list of schedules.
|
|
# File 'lib/knockapi/models/list_schedules_response.rb', line 18
|
Instance Attribute Details
#entries ⇒ Array<Knockapi::Models::Schedule>
A list of schedules.
10 |
# File 'lib/knockapi/models/list_schedules_response.rb', line 10 required :entries, -> { Knockapi::Internal::Type::ArrayOf[Knockapi::Schedule] } |
#page_info ⇒ Knockapi::Models::PageInfo
Pagination information for a list of resources.
16 |
# File 'lib/knockapi/models/list_schedules_response.rb', line 16 required :page_info, -> { Knockapi::PageInfo } |
Instance Method Details
#to_hash ⇒ {
16 |
# File 'sig/knockapi/models/list_schedules_response.rbs', line 16
def to_hash: -> {
|