Sha256: a5bfa72d630c846ab8529ef0d52fedb17de0a446bcca27e0db37200b5bc65671

Contents?: true

Size: 1.5 KB

Versions: 4

Compression:

Stored size: 1.5 KB

Contents

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

module Azure::ARM::Redis
  module Models
    #
    # Parameters for redis import operation.
    #
    class ImportRDBParameters

      include MsRestAzure

      # @return [String] File format.
      attr_accessor :format

      # @return [Array<String>] files to import
      attr_accessor :files


      #
      # Mapper for ImportRDBParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ImportRDBParameters',
          type: {
            name: 'Composite',
            class_name: 'ImportRDBParameters',
            model_properties: {
              format: {
                required: false,
                serialized_name: 'format',
                type: {
                  name: 'String'
                }
              },
              files: {
                required: true,
                serialized_name: 'files',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_redis-0.7.0 lib/generated/azure_mgmt_redis/models/import_rdbparameters.rb
azure_mgmt_redis-0.6.0 lib/generated/azure_mgmt_redis/models/import_rdbparameters.rb
azure_mgmt_redis-0.5.0 lib/generated/azure_mgmt_redis/models/import_rdbparameters.rb
azure_mgmt_redis-0.4.0 lib/generated/azure_mgmt_redis/models/import_rdbparameters.rb