Class: Courier::Models::AutomationRunListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::AutomationRunListResponse
- Defined in:
- lib/courier/models/automation_run_list_response.rb,
sig/courier/models/automation_run_list_response.rbs
Instance Attribute Summary collapse
-
#next_cursor ⇒ String?
Pass back as
cursorto fetch the next page. - #runs ⇒ Array<Courier::Models::AutomationRunListItem>
Instance Method Summary collapse
-
#initialize(runs:, next_cursor: nil) ⇒ Object
constructor
A page of Automation runs.
- #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(runs:, next_cursor: nil) ⇒ Object
A page of Automation runs.
|
|
# File 'lib/courier/models/automation_run_list_response.rb', line 17
|
Instance Attribute Details
#next_cursor ⇒ String?
Pass back as cursor to fetch the next page. Absent on the last page.
15 |
# File 'lib/courier/models/automation_run_list_response.rb', line 15 optional :next_cursor, String |
#runs ⇒ Array<Courier::Models::AutomationRunListItem>
9 |
# File 'lib/courier/models/automation_run_list_response.rb', line 9 required :runs, -> { Courier::Internal::Type::ArrayOf[Courier::AutomationRunListItem] } |
Instance Method Details
#to_hash ⇒ {
18 |
# File 'sig/courier/models/automation_run_list_response.rbs', line 18
def to_hash: -> {
|