Class: Knockapi::Models::ScheduleUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::ScheduleUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/knockapi/models/schedule_update_params.rb
Overview
Instance Attribute Summary collapse
-
#actor ⇒ String, ...
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
-
#data ⇒ Hash{Symbol=>Object}?
An optional map of data to pass into the workflow execution.
-
#ending_at ⇒ Time?
The ending date and time for the schedule.
-
#repeats ⇒ Array<Knockapi::Models::ScheduleRepeatRule>?
The repeat rule for the schedule.
-
#schedule_ids ⇒ Array<String>
A list of schedule IDs.
-
#scheduled_at ⇒ Time?
The starting date and time for the schedule.
-
#tenant ⇒ String, ...
An request to set a tenant inline.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(schedule_ids:, actor: nil, data: nil, ending_at: nil, repeats: nil, scheduled_at: nil, tenant: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ScheduleUpdateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(schedule_ids:, actor: nil, data: nil, ending_at: nil, repeats: nil, scheduled_at: nil, tenant: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Knockapi::Models::ScheduleUpdateParams for more details.
|
|
# File 'lib/knockapi/models/schedule_update_params.rb', line 56
|
Instance Attribute Details
#actor ⇒ String, ...
A reference to a recipient, either a user identifier (string) or an object reference (ID, collection).
21 |
# File 'lib/knockapi/models/schedule_update_params.rb', line 21 optional :actor, union: -> { Knockapi::RecipientReference }, nil?: true |
#data ⇒ Hash{Symbol=>Object}?
An optional map of data to pass into the workflow execution. There is a 10MB limit on the size of the full ‘data` payload. Any individual string value greater than 1024 bytes in length will be [truncated](/developer-tools/api-logs#log-truncation) in your logs.
30 |
# File 'lib/knockapi/models/schedule_update_params.rb', line 30 optional :data, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown], nil?: true |
#ending_at ⇒ Time?
The ending date and time for the schedule.
36 |
# File 'lib/knockapi/models/schedule_update_params.rb', line 36 optional :ending_at, Time, nil?: true |
#repeats ⇒ Array<Knockapi::Models::ScheduleRepeatRule>?
The repeat rule for the schedule.
42 |
# File 'lib/knockapi/models/schedule_update_params.rb', line 42 optional :repeats, -> { Knockapi::Internal::Type::ArrayOf[Knockapi::ScheduleRepeatRule] } |
#schedule_ids ⇒ Array<String>
A list of schedule IDs.
14 |
# File 'lib/knockapi/models/schedule_update_params.rb', line 14 required :schedule_ids, Knockapi::Internal::Type::ArrayOf[String] |
#scheduled_at ⇒ Time?
The starting date and time for the schedule.
48 |
# File 'lib/knockapi/models/schedule_update_params.rb', line 48 optional :scheduled_at, Time, nil?: true |
#tenant ⇒ String, ...
An request to set a tenant inline.
54 |
# File 'lib/knockapi/models/schedule_update_params.rb', line 54 optional :tenant, union: -> { Knockapi::InlineTenantRequest }, nil?: true |