# 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::Web::Mgmt::V2020_09_01
  module Models
    #
    # Model object.
    #
    #
    class SiteAuthSettingsV2 < ProxyOnlyResource

      include MsRestAzure

      # @return [AuthPlatform]
      attr_accessor :platform

      # @return [GlobalValidation]
      attr_accessor :global_validation

      # @return [IdentityProviders]
      attr_accessor :identity_providers

      # @return [Login]
      attr_accessor :login

      # @return [HttpSettings]
      attr_accessor :http_settings


      #
      # Mapper for SiteAuthSettingsV2 class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SiteAuthSettingsV2',
          type: {
            name: 'Composite',
            class_name: 'SiteAuthSettingsV2',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              kind: {
                client_side_validation: true,
                required: false,
                serialized_name: 'kind',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              system_data: {
                client_side_validation: true,
                required: false,
                serialized_name: 'systemData',
                type: {
                  name: 'Composite',
                  class_name: 'SystemData'
                }
              },
              platform: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.platform',
                type: {
                  name: 'Composite',
                  class_name: 'AuthPlatform'
                }
              },
              global_validation: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.globalValidation',
                type: {
                  name: 'Composite',
                  class_name: 'GlobalValidation'
                }
              },
              identity_providers: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.identityProviders',
                type: {
                  name: 'Composite',
                  class_name: 'IdentityProviders'
                }
              },
              login: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.login',
                type: {
                  name: 'Composite',
                  class_name: 'Login'
                }
              },
              http_settings: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.httpSettings',
                type: {
                  name: 'Composite',
                  class_name: 'HttpSettings'
                }
              }
            }
          }
        }
      end
    end
  end
end
