class Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity
The operation supported by Cognitive Services.
Attributes
display[RW]
@return [OperationDisplayInfo] The operation supported by Cognitive Services.
name[RW]
@return [String] Operation name: {provider}/{resource}/{operation}.
origin[RW]
@return [String] The origin of the operation.
properties[RW]
@return Additional properties.
Private Class Methods
mapper()
click to toggle source
Mapper for OperationEntity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OperationEntity', type: { name: 'Composite', class_name: 'OperationEntity', 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: 'OperationDisplayInfo' } }, 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