Sha256: bbef5222b03f37b80d3ceef5c9de75a258eab29591d128acca999cebab763297

Contents?: true

Size: 1.97 KB

Versions: 2

Compression:

Stored size: 1.97 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::CognitiveServices::Mgmt::V2017_04_18
  module Models
    #
    # The operation supported by Cognitive Services.
    #
    class OperationDisplayInfo

      include MsRestAzure

      # @return [String] The description of the operation.
      attr_accessor :description

      # @return [String] The action that users can perform, based on their
      # permission level.
      attr_accessor :operation

      # @return [String] Service provider: Microsoft Cognitive Services.
      attr_accessor :provider

      # @return [String] Resource on which the operation is performed.
      attr_accessor :resource


      #
      # Mapper for OperationDisplayInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_cognitive_services-0.15.1 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb
azure_mgmt_cognitive_services-0.15.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb