# 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
    #
    # Azure Active Directory metadata used for secured connection to cluster.
    #
    class AadMetadata

      include MsRestAzure

      # @return [String] The AAD authority url.
      attr_accessor :authority

      # @return [String] The AAD client application Id.
      attr_accessor :client

      # @return [String] The AAD cluster application Id.
      attr_accessor :cluster

      # @return [String] The AAD login url.
      attr_accessor :login

      # @return [String] The client application redirect address.
      attr_accessor :redirect

      # @return [String] The AAD tenant Id.
      attr_accessor :tenant


      #
      # Mapper for AadMetadata class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AadMetadata',
          type: {
            name: 'Composite',
            class_name: 'AadMetadata',
            model_properties: {
              authority: {
                client_side_validation: true,
                required: false,
                serialized_name: 'authority',
                type: {
                  name: 'String'
                }
              },
              client: {
                client_side_validation: true,
                required: false,
                serialized_name: 'client',
                type: {
                  name: 'String'
                }
              },
              cluster: {
                client_side_validation: true,
                required: false,
                serialized_name: 'cluster',
                type: {
                  name: 'String'
                }
              },
              login: {
                client_side_validation: true,
                required: false,
                serialized_name: 'login',
                type: {
                  name: 'String'
                }
              },
              redirect: {
                client_side_validation: true,
                required: false,
                serialized_name: 'redirect',
                type: {
                  name: 'String'
                }
              },
              tenant: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tenant',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
