Class: Azure::Postgresql::Mgmt::V2017_12_01::Models::Operation
- Inherits:
-
Object
- Object
- Azure::Postgresql::Mgmt::V2017_12_01::Models::Operation
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation.rb
Overview
REST API operation definition.
Instance Attribute Summary collapse
-
#display ⇒ OperationDisplay
particular operation or action.
-
#name ⇒ String
particular object.
-
#origin ⇒ OperationOrigin
Possible values include: 'NotSpecified', 'user', 'system'.
-
#properties ⇒ Object
Additional descriptions for the operation.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Operation class as Ruby Hash.
Instance Attribute Details
#display ⇒ OperationDisplay
particular operation or action.
21 22 23 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation.rb', line 21 def display @display end |
#name ⇒ String
particular object.
17 18 19 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation.rb', line 17 def name @name end |
#origin ⇒ OperationOrigin
Possible values include: 'NotSpecified', 'user', 'system'
25 26 27 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation.rb', line 25 def origin @origin end |
#properties ⇒ Object
Returns Additional descriptions for the operation.
28 29 30 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation.rb', line 28 def properties @properties end |
Class Method Details
.mapper ⇒ Object
Mapper for Operation class as Ruby Hash. This will be used for serialization/deserialization.
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 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/operation.rb', line 35 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, read_only: true, serialized_name: 'name', type: { name: 'String' } }, display: { client_side_validation: true, required: false, read_only: true, serialized_name: 'display', type: { name: 'Composite', class_name: 'OperationDisplay' } }, origin: { client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } } } } } end |