Class: Azure::ARM::CognitiveServices::Models::OperationEntity
- Inherits:
-
Object
- Object
- Azure::ARM::CognitiveServices::Models::OperationEntity
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_cognitive_services/models/operation_entity.rb
Overview
The operation supported by Cognitive Services.
Instance Attribute Summary collapse
-
#display ⇒ OperationDisplayInfo
Services.
-
#name ⇒ String
Operation name: provider/resource/operation.
-
#origin ⇒ String
The origin of the operation.
-
#properties ⇒ Object
Additional properties.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationEntity class as Ruby Hash.
Instance Attribute Details
#display ⇒ OperationDisplayInfo
Services.
21 22 23 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_entity.rb', line 21 def display @display end |
#name ⇒ String
Returns Operation name: provider/resource/operation.
17 18 19 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_entity.rb', line 17 def name @name end |
#origin ⇒ String
Returns The origin of the operation.
24 25 26 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_entity.rb', line 24 def origin @origin end |
#properties ⇒ Object
Returns Additional properties.
27 28 29 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_entity.rb', line 27 def properties @properties end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationEntity 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 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/operation_entity.rb', line 34 def self.mapper() { required: false, serialized_name: 'OperationEntity', type: { name: 'Composite', class_name: 'OperationEntity', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, display: { required: false, serialized_name: 'display', type: { name: 'Composite', class_name: 'OperationDisplayInfo' } }, origin: { required: false, serialized_name: 'origin', type: { name: 'String' } }, properties: { required: false, serialized_name: 'properties', type: { name: 'Object' } } } } } end |