Class: Azure::AnalysisServices::Mgmt::V2016_05_16::Models::OperationStatus

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-05-16/generated/azure_mgmt_analysis_services/models/operation_status.rb

Overview

The status of operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#end_timeString

Returns The end time of the operation.

Returns:

  • (String)

    The end time of the operation.



25
26
27
# File 'lib/2016-05-16/generated/azure_mgmt_analysis_services/models/operation_status.rb', line 25

def end_time
  @end_time
end

#errorErrorResponse

Returns The error detail of the operation if any.

Returns:



31
32
33
# File 'lib/2016-05-16/generated/azure_mgmt_analysis_services/models/operation_status.rb', line 31

def error
  @error
end

#idString

Returns The operation Id.

Returns:

  • (String)

    The operation Id.



16
17
18
# File 'lib/2016-05-16/generated/azure_mgmt_analysis_services/models/operation_status.rb', line 16

def id
  @id
end

#nameString

Returns The operation name.

Returns:

  • (String)

    The operation name.



19
20
21
# File 'lib/2016-05-16/generated/azure_mgmt_analysis_services/models/operation_status.rb', line 19

def name
  @name
end

#start_timeString

Returns The start time of the operation.

Returns:

  • (String)

    The start time of the operation.



22
23
24
# File 'lib/2016-05-16/generated/azure_mgmt_analysis_services/models/operation_status.rb', line 22

def start_time
  @start_time
end

#statusString

Returns The status of the operation.

Returns:

  • (String)

    The status of the operation.



28
29
30
# File 'lib/2016-05-16/generated/azure_mgmt_analysis_services/models/operation_status.rb', line 28

def status
  @status
end

Class Method Details

.mapperObject

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



38
39
40
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
# File 'lib/2016-05-16/generated/azure_mgmt_analysis_services/models/operation_status.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationStatus',
    type: {
      name: 'Composite',
      class_name: 'OperationStatus',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'startTime',
          type: {
            name: 'String'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endTime',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ErrorResponse'
          }
        }
      }
    }
  }
end