Class: Retab::WorkflowExportPayloadRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::WorkflowExportPayloadRequest
- Defined in:
- lib/retab/workflow_runs/workflow_export_payload_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ workflow_id: :workflow_id, block_id: :block_id, export_source: :export_source, selected_run_ids: :selected_run_ids, selected_doc_types: :selected_doc_types, status: :status, exclude_status: :exclude_status, from_date: :from_date, to_date: :to_date, trigger_types: :trigger_types, preferred_columns: :preferred_columns, delimiter: :delimiter, line_delimiter: :line_delimiter, quote: :quote }.freeze
Instance Attribute Summary collapse
-
#block_id ⇒ Object
Returns the value of attribute block_id.
-
#delimiter ⇒ Object
Returns the value of attribute delimiter.
-
#exclude_status ⇒ Object
Returns the value of attribute exclude_status.
-
#export_source ⇒ Object
Returns the value of attribute export_source.
-
#from_date ⇒ Object
Returns the value of attribute from_date.
-
#line_delimiter ⇒ Object
Returns the value of attribute line_delimiter.
-
#preferred_columns ⇒ Object
Returns the value of attribute preferred_columns.
-
#quote ⇒ Object
Returns the value of attribute quote.
-
#selected_doc_types ⇒ Object
Returns the value of attribute selected_doc_types.
-
#selected_run_ids ⇒ Object
Returns the value of attribute selected_run_ids.
-
#status ⇒ Object
Returns the value of attribute status.
-
#to_date ⇒ Object
Returns the value of attribute to_date.
-
#trigger_types ⇒ Object
Returns the value of attribute trigger_types.
-
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ WorkflowExportPayloadRequest
constructor
A new instance of WorkflowExportPayloadRequest.
Methods inherited from Types::BaseModel
#inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ WorkflowExportPayloadRequest
Returns a new instance of WorkflowExportPayloadRequest.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 41 def initialize(json) hash = self.class.normalize(json) @workflow_id = hash[:workflow_id] @block_id = hash[:block_id] @export_source = hash[:export_source] @selected_run_ids = (hash[:selected_run_ids] || []) @selected_doc_types = (hash[:selected_doc_types] || []) @status = hash[:status] @exclude_status = hash[:exclude_status] @from_date = hash[:from_date] @to_date = hash[:to_date] @trigger_types = (hash[:trigger_types] || []) @preferred_columns = (hash[:preferred_columns] || []) @delimiter = hash[:delimiter] @line_delimiter = hash[:line_delimiter] @quote = hash[:quote] end |
Instance Attribute Details
#block_id ⇒ Object
Returns the value of attribute block_id.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def block_id @block_id end |
#delimiter ⇒ Object
Returns the value of attribute delimiter.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def delimiter @delimiter end |
#exclude_status ⇒ Object
Returns the value of attribute exclude_status.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def exclude_status @exclude_status end |
#export_source ⇒ Object
Returns the value of attribute export_source.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def export_source @export_source end |
#from_date ⇒ Object
Returns the value of attribute from_date.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def from_date @from_date end |
#line_delimiter ⇒ Object
Returns the value of attribute line_delimiter.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def line_delimiter @line_delimiter end |
#preferred_columns ⇒ Object
Returns the value of attribute preferred_columns.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def preferred_columns @preferred_columns end |
#quote ⇒ Object
Returns the value of attribute quote.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def quote @quote end |
#selected_doc_types ⇒ Object
Returns the value of attribute selected_doc_types.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def selected_doc_types @selected_doc_types end |
#selected_run_ids ⇒ Object
Returns the value of attribute selected_run_ids.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def selected_run_ids @selected_run_ids end |
#status ⇒ Object
Returns the value of attribute status.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def status @status end |
#to_date ⇒ Object
Returns the value of attribute to_date.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def to_date @to_date end |
#trigger_types ⇒ Object
Returns the value of attribute trigger_types.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def trigger_types @trigger_types end |
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
25 26 27 |
# File 'lib/retab/workflow_runs/workflow_export_payload_request.rb', line 25 def workflow_id @workflow_id end |