# 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
    #
    # SSIS package execution credential.
    #
    class SSISExecutionCredential

      include MsRestAzure

      # @return Domain for windows authentication.
      attr_accessor :domain

      # @return UseName for windows authentication.
      attr_accessor :user_name

      # @return [SecureString] Password for windows authentication.
      attr_accessor :password


      #
      # Mapper for SSISExecutionCredential class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SSISExecutionCredential',
          type: {
            name: 'Composite',
            class_name: 'SSISExecutionCredential',
            model_properties: {
              domain: {
                client_side_validation: true,
                required: true,
                serialized_name: 'domain',
                type: {
                  name: 'Object'
                }
              },
              user_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'userName',
                type: {
                  name: 'Object'
                }
              },
              password: {
                client_side_validation: true,
                required: true,
                serialized_name: 'password',
                type: {
                  name: 'Composite',
                  class_name: 'SecureString'
                }
              }
            }
          }
        }
      end
    end
  end
end
