Class: Azure::DataShare::Mgmt::V2019_11_01::Models::OperationResponse
- Inherits:
-
Object
- Object
- Azure::DataShare::Mgmt::V2019_11_01::Models::OperationResponse
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_response.rb
Overview
Response for long running operation
Instance Attribute Summary collapse
-
#end_time ⇒ DateTime
Start time.
-
#error ⇒ DataShareErrorInfo
The error property when status is failed.
-
#start_time ⇒ DateTime
Start time.
-
#status ⇒ Status
Possible values include: ‘Accepted’, ‘InProgress’, ‘TransientFailure’, ‘Succeeded’, ‘Failed’, ‘Canceled’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationResponse class as Ruby Hash.
Instance Attribute Details
#end_time ⇒ DateTime
Returns start time.
16 17 18 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_response.rb', line 16 def end_time @end_time end |
#error ⇒ DataShareErrorInfo
Returns The error property when status is failed.
19 20 21 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_response.rb', line 19 def error @error end |
#start_time ⇒ DateTime
Returns start time.
22 23 24 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_response.rb', line 22 def start_time @start_time end |
#status ⇒ Status
Possible values include: ‘Accepted’, ‘InProgress’, ‘TransientFailure’, ‘Succeeded’, ‘Failed’, ‘Canceled’
27 28 29 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_response.rb', line 27 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationResponse class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 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 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/operation_response.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OperationResponse', type: { name: 'Composite', class_name: 'OperationResponse', model_properties: { end_time: { client_side_validation: true, required: false, serialized_name: 'endTime', type: { name: 'DateTime' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'DataShareErrorInfo' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'startTime', type: { name: 'DateTime' } }, status: { client_side_validation: true, required: true, serialized_name: 'status', type: { name: 'String' } } } } } end |