Class: Azure::Labservices::Mgmt::V2018_10_15::Models::LatestOperationResult
- Inherits:
-
Object
- Object
- Azure::Labservices::Mgmt::V2018_10_15::Models::LatestOperationResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-15/generated/azure_mgmt_labservices/models/latest_operation_result.rb
Overview
Details of the status of an operation.
Instance Attribute Summary collapse
-
#error_code ⇒ String
Error code on failure.
-
#error_message ⇒ String
The error message.
-
#http_method ⇒ String
The HttpMethod - PUT/POST/DELETE for the operation.
-
#operation_url ⇒ String
The URL to use to check long-running operation status.
-
#request_uri ⇒ String
Request URI of the operation.
-
#status ⇒ String
The current status of the operation.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LatestOperationResult class as Ruby Hash.
Instance Attribute Details
#error_code ⇒ String
Returns Error code on failure.
19 20 21 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/latest_operation_result.rb', line 19 def error_code @error_code end |
#error_message ⇒ String
Returns The error message.
22 23 24 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/latest_operation_result.rb', line 22 def @error_message end |
#http_method ⇒ String
Returns The HttpMethod - PUT/POST/DELETE for the operation.
28 29 30 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/latest_operation_result.rb', line 28 def http_method @http_method end |
#operation_url ⇒ String
Returns The URL to use to check long-running operation status.
31 32 33 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/latest_operation_result.rb', line 31 def operation_url @operation_url end |
#request_uri ⇒ String
Returns Request URI of the operation.
25 26 27 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/latest_operation_result.rb', line 25 def request_uri @request_uri end |
#status ⇒ String
Returns The current status of the operation.
16 17 18 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/latest_operation_result.rb', line 16 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for LatestOperationResult 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 100 101 102 103 104 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/latest_operation_result.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LatestOperationResult', type: { name: 'Composite', class_name: 'LatestOperationResult', model_properties: { status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'status', type: { name: 'String' } }, error_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'errorCode', type: { name: 'String' } }, error_message: { client_side_validation: true, required: false, read_only: true, serialized_name: 'errorMessage', type: { name: 'String' } }, request_uri: { client_side_validation: true, required: false, read_only: true, serialized_name: 'requestUri', type: { name: 'String' } }, http_method: { client_side_validation: true, required: false, read_only: true, serialized_name: 'httpMethod', type: { name: 'String' } }, operation_url: { client_side_validation: true, required: false, read_only: true, serialized_name: 'operationUrl', type: { name: 'String' } } } } } end |