# 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::ImportExport::Mgmt::V2016_11_01
  module Models
    #
    # A property containing information about the blobs to be exported for an
    # export job. This property is required for export jobs, but must not be
    # specified for import jobs.
    #
    class Export

      include MsRestAzure

      # @return [Array<String>] A collection of blob-path strings.
      attr_accessor :blob_path

      # @return [Array<String>] A collection of blob-prefix strings.
      attr_accessor :blob_path_prefix

      # @return [String] The relative URI to the block blob that contains the
      # list of blob paths or blob path prefixes as defined above, beginning
      # with the container name. If the blob is in root container, the URI must
      # begin with $root.
      attr_accessor :blob_listblob_path


      #
      # Mapper for Export class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Export',
          type: {
            name: 'Composite',
            class_name: 'Export',
            model_properties: {
              blob_path: {
                client_side_validation: true,
                required: false,
                serialized_name: 'blobList.blobPath',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              blob_path_prefix: {
                client_side_validation: true,
                required: false,
                serialized_name: 'blobList.blobPathPrefix',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              blob_listblob_path: {
                client_side_validation: true,
                required: false,
                serialized_name: 'blobListblobPath',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
