Sha256: 32fdad5cd9d106a07a3473a235cc7133b75c839d5dc0c3bf99b7b8fef48f0421

Contents?: true

Size: 1.65 KB

Versions: 4

Compression:

Stored size: 1.65 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::StorageCache::Mgmt::V2020_03_01
  module Models
    #
    # REST API operation description: see
    # https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation
    #
    class ApiOperation

      include MsRestAzure

      # @return [ApiOperationDisplay] The object that represents the operation.
      attr_accessor :display

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


      #
      # Mapper for ApiOperation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApiOperation',
          type: {
            name: 'Composite',
            class_name: 'ApiOperation',
            model_properties: {
              display: {
                client_side_validation: true,
                required: false,
                serialized_name: 'display',
                type: {
                  name: 'Composite',
                  class_name: 'ApiOperationDisplay'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_storagecache-0.19.1 lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation.rb
azure_mgmt_storagecache-0.19.0 lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation.rb
azure_mgmt_storagecache-0.18.1 lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation.rb
azure_mgmt_storagecache-0.18.0 lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation.rb