# 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::ServiceFabric::V6_2_0_9
  module Models
    #
    # Describes the parameters for Azure blob store used for storing and
    # enumerating backups.
    #
    class AzureBlobBackupStorageDescription < BackupStorageDescription

      include MsRestAzure


      def initialize
        @StorageKind = "AzureBlobStore"
      end

      attr_accessor :StorageKind

      # @return [String] The connection string to connect to the Azure blob
      # store.
      attr_accessor :connection_string

      # @return [String] The name of the container in the blob store to store
      # and enumerate backups from.
      attr_accessor :container_name


      #
      # Mapper for AzureBlobBackupStorageDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AzureBlobStore',
          type: {
            name: 'Composite',
            class_name: 'AzureBlobBackupStorageDescription',
            model_properties: {
              friendly_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FriendlyName',
                type: {
                  name: 'String'
                }
              },
              StorageKind: {
                client_side_validation: true,
                required: true,
                serialized_name: 'StorageKind',
                type: {
                  name: 'String'
                }
              },
              connection_string: {
                client_side_validation: true,
                required: true,
                serialized_name: 'ConnectionString',
                type: {
                  name: 'String'
                }
              },
              container_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'ContainerName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
