Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::OperationStatus
- Inherits:
-
Object
- Object
- Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::OperationStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb
Overview
Operation status.
Instance Attribute Summary collapse
-
#end_time ⇒ DateTime
ISO-8601.
-
#error ⇒ OperationStatusError
operation.
-
#id ⇒ String
ID of the operation.
-
#name ⇒ String
Name of the operation.
-
#properties ⇒ OperationStatusExtendedInfo
with this operation.
-
#start_time ⇒ DateTime
ISO-8601.
-
#status ⇒ OperationStatusValues
include: ‘Invalid’, ‘InProgress’, ‘Succeeded’, ‘Failed’, ‘Canceled’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationStatus class as Ruby Hash.
Instance Attribute Details
#end_time ⇒ DateTime
ISO-8601.
35 36 37 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb', line 35 def end_time @end_time end |
#error ⇒ OperationStatusError
operation.
39 40 41 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb', line 39 def error @error end |
#id ⇒ String
Returns ID of the operation.
20 21 22 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb', line 20 def id @id end |
#name ⇒ String
Returns Name of the operation.
23 24 25 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb', line 23 def name @name end |
#properties ⇒ OperationStatusExtendedInfo
with this operation.
43 44 45 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb', line 43 def properties @properties end |
#start_time ⇒ DateTime
ISO-8601.
31 32 33 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb', line 31 def start_time @start_time end |
#status ⇒ OperationStatusValues
include: ‘Invalid’, ‘InProgress’, ‘Succeeded’, ‘Failed’, ‘Canceled’
27 28 29 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb', line 27 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationStatus class as Ruby Hash. This will be used for serialization/deserialization.
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 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb', line 50 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' } }, status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'Enum', module: 'OperationStatusValues' } }, 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' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'OperationStatusError' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Composite', polymorphic_discriminator: 'objectType', uber_parent: 'OperationStatusExtendedInfo', class_name: 'OperationStatusExtendedInfo' } } } } } end |