Sha256: 99890146e71994245d0457bd922e5198f3f787d5cc2daf93f766d690d94caf58

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 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::Redis::Mgmt::V2017_02_01
  module Models
    #
    # The object that describes the operation.
    #
    class OperationDisplay

      include MsRestAzure

      # @return [String] Friendly name of the resource provider
      attr_accessor :provider

      # @return [String] Operation type: read, write, delete, listKeys/action,
      # etc.
      attr_accessor :operation

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

      # @return [String] Friendly name of the operation
      attr_accessor :description


      #
      # Mapper for OperationDisplay class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'Operation_display',
          type: {
            name: 'Composite',
            class_name: 'OperationDisplay',
            model_properties: {
              provider: {
                required: false,
                serialized_name: 'provider',
                type: {
                  name: 'String'
                }
              },
              operation: {
                required: false,
                serialized_name: 'operation',
                type: {
                  name: 'String'
                }
              },
              resource: {
                required: false,
                serialized_name: 'resource',
                type: {
                  name: 'String'
                }
              },
              description: {
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_redis-0.15.1 lib/2017-02-01/generated/azure_mgmt_redis/models/operation_display.rb
azure_mgmt_redis-0.15.0 lib/2017-02-01/generated/azure_mgmt_redis/models/operation_display.rb