# 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::DataFactory::Mgmt::V2017_09_01_preview
  module Models
    #
    # Azure ML WebService Input/Output file
    #
    class AzureMLWebServiceFile

      include MsRestAzure

      # @return The relative file path, including container name, in the Azure
      # Blob Storage specified by the LinkedService. Type: string (or
      # Expression with resultType string).
      attr_accessor :file_path

      # @return [LinkedServiceReference] Reference to an Azure Storage
      # LinkedService, where Azure ML WebService Input/Output file located.
      attr_accessor :linked_service_name


      #
      # Mapper for AzureMLWebServiceFile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AzureMLWebServiceFile',
          type: {
            name: 'Composite',
            class_name: 'AzureMLWebServiceFile',
            model_properties: {
              file_path: {
                client_side_validation: true,
                required: true,
                serialized_name: 'filePath',
                type: {
                  name: 'Object'
                }
              },
              linked_service_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'linkedServiceName',
                default_value: {},
                type: {
                  name: 'Composite',
                  class_name: 'LinkedServiceReference'
                }
              }
            }
          }
        }
      end
    end
  end
end
