Sha256: 843cb3e9e732b35a99480a8ed070a5c251104bfaf8ad75c8193ec93cd04caf2a

Contents?: true

Size: 1.45 KB

Versions: 6

Compression:

Stored size: 1.45 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_10_01
  module Models
    #
    # REST API operation
    #
    class Operation

      include MsRestAzure

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

      # @return [OperationDisplay] The object that describes the operation.
      attr_accessor :display


      #
      # Mapper for Operation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Operation',
          type: {
            name: 'Composite',
            class_name: 'Operation',
            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: 'OperationDisplay'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_redis-0.17.4 lib/2017-10-01/generated/azure_mgmt_redis/models/operation.rb
azure_mgmt_redis-0.17.3 lib/2017-10-01/generated/azure_mgmt_redis/models/operation.rb
azure_mgmt_redis-0.17.2 lib/2017-10-01/generated/azure_mgmt_redis/models/operation.rb
azure_mgmt_redis-0.17.1 lib/2017-10-01/generated/azure_mgmt_redis/models/operation.rb
azure_mgmt_redis-0.17.0 lib/2017-10-01/generated/azure_mgmt_redis/models/operation.rb
azure_mgmt_redis-0.16.0 lib/2017-10-01/generated/azure_mgmt_redis/models/operation.rb