Class: Azure::Batch::Mgmt::V2019_04_01::Models::Operation
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2019_04_01::Models::Operation
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-01/generated/azure_mgmt_batch/models/operation.rb
Overview
A REST API operation
Instance Attribute Summary collapse
-
#display ⇒ OperationDisplay
The object that describes the operation.
-
#name ⇒ String
provider/resource/operation.
-
#origin ⇒ String
The intended executor of the operation.
-
#properties ⇒ Object
Properties of the operation.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Operation class as Ruby Hash.
Instance Attribute Details
#display ⇒ OperationDisplay
Returns The object that describes the operation.
21 22 23 |
# File 'lib/2019-04-01/generated/azure_mgmt_batch/models/operation.rb', line 21 def display @display end |
#name ⇒ String
provider/resource/operation
18 19 20 |
# File 'lib/2019-04-01/generated/azure_mgmt_batch/models/operation.rb', line 18 def name @name end |
#origin ⇒ String
Returns The intended executor of the operation.
24 25 26 |
# File 'lib/2019-04-01/generated/azure_mgmt_batch/models/operation.rb', line 24 def origin @origin end |
#properties ⇒ Object
Returns Properties of the operation.
27 28 29 |
# File 'lib/2019-04-01/generated/azure_mgmt_batch/models/operation.rb', line 27 def properties @properties end |
Class Method Details
.mapper ⇒ Object
Mapper for Operation 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-04-01/generated/azure_mgmt_batch/models/operation.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Operation', type: { name: 'Composite', class_name: 'Operation', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, display: { client_side_validation: true, required: false, serialized_name: 'display', type: { name: 'Composite', class_name: 'OperationDisplay' } }, origin: { client_side_validation: true, required: false, serialized_name: 'origin', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Object' } } } } } end |