# 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::ADHybridHealthService::Mgmt::V2014_01_01
  module Models
    #
    # The global configuration settings.
    #
    class GlobalConfiguration

      include MsRestAzure

      # @return [Integer] The version for the global configuration.
      attr_accessor :version

      # @return [String] The schema for the configuration.
      attr_accessor :schema_xml

      # @return [Boolean] Indicates if password sync is enabled or not.
      attr_accessor :password_sync_enabled

      # @return [Integer] The number of saved password events.
      attr_accessor :num_saved_pwd_event

      # @return [Array<Item>] The list of additional feature sets.
      attr_accessor :feature_set


      #
      # Mapper for GlobalConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'GlobalConfiguration',
          type: {
            name: 'Composite',
            class_name: 'GlobalConfiguration',
            model_properties: {
              version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'version',
                type: {
                  name: 'Number'
                }
              },
              schema_xml: {
                client_side_validation: true,
                required: false,
                serialized_name: 'schemaXml',
                type: {
                  name: 'String'
                }
              },
              password_sync_enabled: {
                client_side_validation: true,
                required: false,
                serialized_name: 'passwordSyncEnabled',
                type: {
                  name: 'Boolean'
                }
              },
              num_saved_pwd_event: {
                client_side_validation: true,
                required: false,
                serialized_name: 'numSavedPwdEvent',
                type: {
                  name: 'Number'
                }
              },
              feature_set: {
                client_side_validation: true,
                required: false,
                serialized_name: 'featureSet',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ItemElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'Item'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
