Class: Azure::Logic::Mgmt::V2015_02_01_preview::Models::WorkflowRun
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Logic::Mgmt::V2015_02_01_preview::Models::WorkflowRun
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#code ⇒ String
Gets the code.
-
#correlation_id ⇒ String
Gets the correlation id.
-
#end_time ⇒ DateTime
Gets the end time.
-
#error ⇒ Object
Gets the error.
-
#name ⇒ String
Gets the workflow run name.
-
#outputs ⇒ Hash{String => WorkflowOutputParameter}
Gets the outputs.
-
#start_time ⇒ DateTime
Gets the start time.
-
#status ⇒ WorkflowStatus
‘NotSpecified’, ‘Paused’, ‘Running’, ‘Waiting’, ‘Succeeded’, ‘Skipped’, ‘Suspended’, ‘Cancelled’, ‘Failed’, ‘Faulted’, ‘TimedOut’, ‘Aborted’.
-
#trigger ⇒ WorkflowRunTrigger
Gets the fired trigger.
-
#type ⇒ String
Gets the workflow run type.
-
#workflow ⇒ ResourceReference
Gets the reference to workflow version.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WorkflowRun class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
Returns Gets the code.
28 29 30 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 28 def code @code end |
#correlation_id ⇒ String
Returns Gets the correlation id.
34 35 36 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 34 def correlation_id @correlation_id end |
#end_time ⇒ DateTime
Returns Gets the end time.
20 21 22 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 20 def end_time @end_time end |
#error ⇒ Object
Returns Gets the error.
31 32 33 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 31 def error @error end |
#name ⇒ String
Returns Gets the workflow run name.
46 47 48 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 46 def name @name end |
#outputs ⇒ Hash{String => WorkflowOutputParameter}
Returns Gets the outputs.
43 44 45 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 43 def outputs @outputs end |
#start_time ⇒ DateTime
Returns Gets the start time.
17 18 19 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 17 def start_time @start_time end |
#status ⇒ WorkflowStatus
‘NotSpecified’, ‘Paused’, ‘Running’, ‘Waiting’, ‘Succeeded’, ‘Skipped’, ‘Suspended’, ‘Cancelled’, ‘Failed’, ‘Faulted’, ‘TimedOut’, ‘Aborted’
25 26 27 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 25 def status @status end |
#trigger ⇒ WorkflowRunTrigger
Returns Gets the fired trigger.
40 41 42 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 40 def trigger @trigger end |
#type ⇒ String
Returns Gets the workflow run type.
49 50 51 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 49 def type @type end |
#workflow ⇒ ResourceReference
Returns Gets the reference to workflow version.
37 38 39 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 37 def workflow @workflow end |
Class Method Details
.mapper ⇒ Object
Mapper for WorkflowRun class as Ruby Hash. This will be used for serialization/deserialization.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/workflow_run.rb', line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WorkflowRun', type: { name: 'Composite', class_name: 'WorkflowRun', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.endTime', type: { name: 'DateTime' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.status', type: { name: 'Enum', module: 'WorkflowStatus' } }, code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.code', type: { name: 'String' } }, error: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.error', type: { name: 'Object' } }, correlation_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.correlationId', type: { name: 'String' } }, workflow: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.workflow', type: { name: 'Composite', class_name: 'ResourceReference' } }, trigger: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.trigger', type: { name: 'Composite', class_name: 'WorkflowRunTrigger' } }, outputs: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outputs', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'WorkflowOutputParameterElementType', type: { name: 'Composite', class_name: 'WorkflowOutputParameter' } } } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end |