Class: Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb
Overview
The workflow run.
Instance Attribute Summary collapse
-
#code ⇒ String
Gets the code.
-
#correlation ⇒ Correlation
The run correlation.
-
#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.
-
#response ⇒ WorkflowRunTrigger
Gets the response of the flow run.
-
#start_time ⇒ DateTime
Gets the start time.
-
#status ⇒ WorkflowStatus
‘NotSpecified’, ‘Paused’, ‘Running’, ‘Waiting’, ‘Succeeded’, ‘Skipped’, ‘Suspended’, ‘Cancelled’, ‘Failed’, ‘Faulted’, ‘TimedOut’, ‘Aborted’, ‘Ignored’.
-
#trigger ⇒ WorkflowRunTrigger
Gets the fired trigger.
-
#type ⇒ String
Gets the workflow run type.
-
#wait_end_time ⇒ DateTime
Gets the wait end time.
-
#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.
31 32 33 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 31 def code @code end |
#correlation ⇒ Correlation
Returns The run correlation.
40 41 42 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 40 def correlation @correlation end |
#correlation_id ⇒ String
Returns Gets the correlation id.
37 38 39 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 37 def correlation_id @correlation_id end |
#end_time ⇒ DateTime
Returns Gets the end time.
22 23 24 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 22 def end_time @end_time end |
#error ⇒ Object
Returns Gets the error.
34 35 36 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 34 def error @error end |
#name ⇒ String
Returns Gets the workflow run name.
55 56 57 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 55 def name @name end |
#outputs ⇒ Hash{String => WorkflowOutputParameter}
Returns Gets the outputs.
49 50 51 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 49 def outputs @outputs end |
#response ⇒ WorkflowRunTrigger
Returns Gets the response of the flow run.
52 53 54 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 52 def response @response end |
#start_time ⇒ DateTime
Returns Gets the start time.
19 20 21 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 19 def start_time @start_time end |
#status ⇒ WorkflowStatus
‘NotSpecified’, ‘Paused’, ‘Running’, ‘Waiting’, ‘Succeeded’, ‘Skipped’, ‘Suspended’, ‘Cancelled’, ‘Failed’, ‘Faulted’, ‘TimedOut’, ‘Aborted’, ‘Ignored’
28 29 30 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 28 def status @status end |
#trigger ⇒ WorkflowRunTrigger
Returns Gets the fired trigger.
46 47 48 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 46 def trigger @trigger end |
#type ⇒ String
Returns Gets the workflow run type.
58 59 60 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 58 def type @type end |
#wait_end_time ⇒ DateTime
Returns Gets the wait end time.
16 17 18 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 16 def wait_end_time @wait_end_time end |
#workflow ⇒ ResourceReference
Returns Gets the reference to workflow version.
43 44 45 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 43 def workflow @workflow end |
Class Method Details
.mapper ⇒ Object
Mapper for WorkflowRun class as Ruby Hash. This will be used for serialization/deserialization.
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 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/workflow_run.rb', line 65 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, read_only: true, serialized_name: 'id', type: { name: 'String' } }, wait_end_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.waitEndTime', type: { name: 'DateTime' } }, 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' } }, correlation: { client_side_validation: true, required: false, serialized_name: 'properties.correlation', type: { name: 'Composite', class_name: 'Correlation' } }, 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' } } } }, response: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.response', type: { name: 'Composite', class_name: 'WorkflowRunTrigger' } }, 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 |