# 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::DataLakeStore::Mgmt::V2016_11_01
  module Models
    #
    # The parameters used to create a new trusted identity provider while
    # creating a new Data Lake Store account.
    #
    class CreateTrustedIdProviderWithAccountParameters

      include MsRestAzure

      # @return [String] The unique name of the trusted identity provider to
      # create.
      attr_accessor :name

      # @return [String] The URL of this trusted identity provider.
      attr_accessor :id_provider


      #
      # Mapper for CreateTrustedIdProviderWithAccountParameters class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CreateTrustedIdProviderWithAccountParameters',
          type: {
            name: 'Composite',
            class_name: 'CreateTrustedIdProviderWithAccountParameters',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              id_provider: {
                client_side_validation: true,
                required: true,
                serialized_name: 'properties.idProvider',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
