# 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 connector partition scope.
    #
    class PartitionScope

      include MsRestAzure

      # @return [Boolean] Indicates if the partition scope is default or not.
      attr_accessor :is_default

      # @return [Array<String>] The in-scope object classes.
      attr_accessor :object_classes

      # @return [Array<String>] The list of containers included.
      attr_accessor :containers_included

      # @return [Array<String>] The list of containers excluded.
      attr_accessor :containers_excluded


      #
      # Mapper for PartitionScope class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionScope',
          type: {
            name: 'Composite',
            class_name: 'PartitionScope',
            model_properties: {
              is_default: {
                client_side_validation: true,
                required: false,
                serialized_name: 'isDefault',
                type: {
                  name: 'Boolean'
                }
              },
              object_classes: {
                client_side_validation: true,
                required: false,
                serialized_name: 'objectClasses',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              containers_included: {
                client_side_validation: true,
                required: false,
                serialized_name: 'containersIncluded',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              containers_excluded: {
                client_side_validation: true,
                required: false,
                serialized_name: 'containersExcluded',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
