Class: Azure::ARM::Web::Models::Operation
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::Operation
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/operation.rb
Overview
Operation.
Instance Attribute Summary collapse
-
#created_time ⇒ DateTime
Time when operation has started.
-
#errors ⇒ Array<ErrorEntity>
Any errors associate with the operation.
-
#expiration_time ⇒ DateTime
Time when operation will expire.
-
#geo_master_operation_id ⇒ String
Applicable only for stamp operation ids.
-
#id ⇒ String
Operation ID.
-
#modified_time ⇒ DateTime
Time when operation has been updated.
-
#name ⇒ String
Operation name.
-
#status ⇒ OperationStatus
values include: ‘InProgress’, ‘Failed’, ‘Succeeded’, ‘TimedOut’, ‘Created’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Operation class as Ruby Hash.
Instance Attribute Details
#created_time ⇒ DateTime
Returns Time when operation has started.
31 32 33 |
# File 'lib/generated/azure_mgmt_web/models/operation.rb', line 31 def created_time @created_time end |
#errors ⇒ Array<ErrorEntity>
Returns Any errors associate with the operation.
28 29 30 |
# File 'lib/generated/azure_mgmt_web/models/operation.rb', line 28 def errors @errors end |
#expiration_time ⇒ DateTime
Returns Time when operation will expire.
37 38 39 |
# File 'lib/generated/azure_mgmt_web/models/operation.rb', line 37 def expiration_time @expiration_time end |
#geo_master_operation_id ⇒ String
Returns Applicable only for stamp operation ids.
40 41 42 |
# File 'lib/generated/azure_mgmt_web/models/operation.rb', line 40 def geo_master_operation_id @geo_master_operation_id end |
#id ⇒ String
Returns Operation ID.
17 18 19 |
# File 'lib/generated/azure_mgmt_web/models/operation.rb', line 17 def id @id end |
#modified_time ⇒ DateTime
Returns Time when operation has been updated.
34 35 36 |
# File 'lib/generated/azure_mgmt_web/models/operation.rb', line 34 def modified_time @modified_time end |
#name ⇒ String
Returns Operation name.
20 21 22 |
# File 'lib/generated/azure_mgmt_web/models/operation.rb', line 20 def name @name end |
#status ⇒ OperationStatus
values include: ‘InProgress’, ‘Failed’, ‘Succeeded’, ‘TimedOut’, ‘Created’
25 26 27 |
# File 'lib/generated/azure_mgmt_web/models/operation.rb', line 25 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for Operation class as Ruby Hash. This will be used for serialization/deserialization.
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 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/generated/azure_mgmt_web/models/operation.rb', line 47 def self.mapper() { required: false, serialized_name: 'Operation', type: { name: 'Composite', class_name: 'Operation', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, status: { required: false, serialized_name: 'status', type: { name: 'Enum', module: 'OperationStatus' } }, errors: { required: false, serialized_name: 'errors', type: { name: 'Sequence', element: { required: false, serialized_name: 'ErrorEntityElementType', type: { name: 'Composite', class_name: 'ErrorEntity' } } } }, created_time: { required: false, serialized_name: 'createdTime', type: { name: 'DateTime' } }, modified_time: { required: false, serialized_name: 'modifiedTime', type: { name: 'DateTime' } }, expiration_time: { required: false, serialized_name: 'expirationTime', type: { name: 'DateTime' } }, geo_master_operation_id: { required: false, serialized_name: 'geoMasterOperationId', type: { name: 'String' } } } } } end |