Class: Azure::Logic::Mgmt::V2018_07_01_preview::Models::OperationResultProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result_properties.rb

Overview

The run operation result properties.

Direct Known Subclasses

OperationResult

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#codeString

Returns The workflow scope repetition code.

Returns:

  • (String)

    The workflow scope repetition code.



31
32
33
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result_properties.rb', line 31

def code
  @code
end

#correlationRunActionCorrelation

Returns The correlation properties.

Returns:



22
23
24
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result_properties.rb', line 22

def correlation
  @correlation
end

#end_timeDateTime

Returns The end time of the workflow scope repetition.

Returns:

  • (DateTime)

    The end time of the workflow scope repetition.



19
20
21
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result_properties.rb', line 19

def end_time
  @end_time
end

#errorObject

Returns:



34
35
36
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result_properties.rb', line 34

def error
  @error
end

#start_timeDateTime

Returns The start time of the workflow scope repetition.

Returns:

  • (DateTime)

    The start time of the workflow scope repetition.



16
17
18
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result_properties.rb', line 16

def start_time
  @start_time
end

#statusWorkflowStatus

Possible values include: ‘NotSpecified’, ‘Paused’, ‘Running’, ‘Waiting’, ‘Succeeded’, ‘Skipped’, ‘Suspended’, ‘Cancelled’, ‘Failed’, ‘Faulted’, ‘TimedOut’, ‘Aborted’, ‘Ignored’

Returns:



28
29
30
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result_properties.rb', line 28

def status
  @status
end

Class Method Details

.mapperObject

Mapper for OperationResultProperties class as Ruby Hash. This will be used for serialization/deserialization.



41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/operation_result_properties.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationResultProperties',
    type: {
      name: 'Composite',
      class_name: 'OperationResultProperties',
      model_properties: {
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        correlation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'correlation',
          type: {
            name: 'Composite',
            class_name: 'RunActionCorrelation'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end