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