Sha256: d7f39b317d73e2da678a0ccae6058d683623aff88e045254c5e0bfba20ee75c4

Contents?: true

Size: 1.94 KB

Versions: 2

Compression:

Stored size: 1.94 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 OperationEntity

      include MsRestAzure

      # @return [String] Operation name: {provider}/{resource}/{operation}.
      attr_accessor :name

      # @return [OperationDisplayInfo] The operation supported by Cognitive
      # Services.
      attr_accessor :display

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

      # @return Additional properties.
      attr_accessor :properties


      #
      # Mapper for OperationEntity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    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_entity.rb
azure_mgmt_cognitive_services-0.15.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity.rb