Class: Conductor::Http::Models::SaveScheduleRequest
- Defined in:
- lib/conductor/http/models/workflow_schedule.rb
Overview
Workflow schedule definition
Constant Summary collapse
- SWAGGER_TYPES =
{ name: 'String', cron_expression: 'String', start_workflow_request: 'StartWorkflowRequest', paused: 'Boolean', run_catchup_schedule_instances: 'Boolean', schedule_start_time: 'Integer', schedule_end_time: 'Integer', created_by: 'String', updated_by: 'String' }.freeze
- ATTRIBUTE_MAP =
{ name: :name, cron_expression: :cronExpression, start_workflow_request: :startWorkflowRequest, paused: :paused, run_catchup_schedule_instances: :runCatchupScheduleInstances, schedule_start_time: :scheduleStartTime, schedule_end_time: :scheduleEndTime, created_by: :createdBy, updated_by: :updatedBy }.freeze
Instance Attribute Summary collapse
-
#created_by ⇒ Object
Returns the value of attribute created_by.
-
#cron_expression ⇒ Object
Returns the value of attribute cron_expression.
-
#name ⇒ Object
Returns the value of attribute name.
-
#paused ⇒ Object
Returns the value of attribute paused.
-
#run_catchup_schedule_instances ⇒ Object
Returns the value of attribute run_catchup_schedule_instances.
-
#schedule_end_time ⇒ Object
Returns the value of attribute schedule_end_time.
-
#schedule_start_time ⇒ Object
Returns the value of attribute schedule_start_time.
-
#start_workflow_request ⇒ Object
Returns the value of attribute start_workflow_request.
-
#updated_by ⇒ Object
Returns the value of attribute updated_by.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ SaveScheduleRequest
constructor
A new instance of SaveScheduleRequest.
Methods inherited from BaseModel
attribute_map, deserialize_model, deserialize_value, find_model_class, from_hash, from_json, parse_datetime, swagger_types, #to_h, #to_json
Constructor Details
#initialize(params = {}) ⇒ SaveScheduleRequest
Returns a new instance of SaveScheduleRequest.
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 36 def initialize(params = {}) @name = params[:name] @cron_expression = params[:cron_expression] @start_workflow_request = params[:start_workflow_request] @paused = params.fetch(:paused, false) @run_catchup_schedule_instances = params.fetch(:run_catchup_schedule_instances, false) @schedule_start_time = params[:schedule_start_time] @schedule_end_time = params[:schedule_end_time] @created_by = params[:created_by] @updated_by = params[:updated_by] end |
Instance Attribute Details
#created_by ⇒ Object
Returns the value of attribute created_by.
32 33 34 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 32 def created_by @created_by end |
#cron_expression ⇒ Object
Returns the value of attribute cron_expression.
32 33 34 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 32 def cron_expression @cron_expression end |
#name ⇒ Object
Returns the value of attribute name.
32 33 34 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 32 def name @name end |
#paused ⇒ Object
Returns the value of attribute paused.
32 33 34 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 32 def paused @paused end |
#run_catchup_schedule_instances ⇒ Object
Returns the value of attribute run_catchup_schedule_instances.
32 33 34 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 32 def run_catchup_schedule_instances @run_catchup_schedule_instances end |
#schedule_end_time ⇒ Object
Returns the value of attribute schedule_end_time.
32 33 34 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 32 def schedule_end_time @schedule_end_time end |
#schedule_start_time ⇒ Object
Returns the value of attribute schedule_start_time.
32 33 34 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 32 def schedule_start_time @schedule_start_time end |
#start_workflow_request ⇒ Object
Returns the value of attribute start_workflow_request.
32 33 34 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 32 def start_workflow_request @start_workflow_request end |
#updated_by ⇒ Object
Returns the value of attribute updated_by.
32 33 34 |
# File 'lib/conductor/http/models/workflow_schedule.rb', line 32 def updated_by @updated_by end |