Class: Azure::ApiManagement::Mgmt::V2016_07_07::Models::OperationResultContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2016_07_07::Models::OperationResultContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_result_contract.rb
Overview
Operation Result.
Instance Attribute Summary collapse
- #error ⇒ ErrorBodyContract
-
#id ⇒ String
Operation result identifier.
-
#result_info ⇒ String
Optional result info.
-
#started ⇒ DateTime
to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
-
#status ⇒ AsyncOperationState
values include: ‘Started’, ‘InProgress’, ‘Succeeded’, ‘Failed’.
-
#updated ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationResultContract class as Ruby Hash.
Instance Attribute Details
#error ⇒ ErrorBodyContract
38 39 40 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 38 def error @error end |
#id ⇒ String
Returns Operation result identifier.
16 17 18 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 16 def id @id end |
#result_info ⇒ String
Returns Optional result info.
35 36 37 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 35 def result_info @result_info end |
#started ⇒ DateTime
to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
26 27 28 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 26 def started @started end |
#status ⇒ AsyncOperationState
values include: ‘Started’, ‘InProgress’, ‘Succeeded’, ‘Failed’
20 21 22 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 20 def status @status end |
#updated ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
32 33 34 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 32 def updated @updated end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationResultContract class as Ruby Hash. This will be used for serialization/deserialization.
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 105 106 107 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_result_contract.rb', line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OperationResultContract', type: { name: 'Composite', class_name: 'OperationResultContract', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'Enum', module: 'AsyncOperationState' } }, started: { client_side_validation: true, required: false, serialized_name: 'started', type: { name: 'DateTime' } }, updated: { client_side_validation: true, required: false, serialized_name: 'updated', type: { name: 'DateTime' } }, result_info: { client_side_validation: true, required: false, serialized_name: 'resultInfo', type: { name: 'String' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'ErrorBodyContract' } } } } } end |