# 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::CognitiveServices::Face::V1_0
  module Models
    #
    # Large person group object.
    #
    class LargePersonGroup < MetaDataContract

      include MsRestAzure

      # @return [String] LargePersonGroupId of the target large person groups
      attr_accessor :large_person_group_id


      #
      # Mapper for LargePersonGroup class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'LargePersonGroup',
          type: {
            name: 'Composite',
            class_name: 'LargePersonGroup',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                constraints: {
                  MaxLength: 128
                },
                type: {
                  name: 'String'
                }
              },
              user_data: {
                client_side_validation: true,
                required: false,
                serialized_name: 'userData',
                constraints: {
                  MaxLength: 16384
                },
                type: {
                  name: 'String'
                }
              },
              recognition_model: {
                client_side_validation: true,
                required: false,
                serialized_name: 'recognitionModel',
                default_value: 'recognition_01',
                type: {
                  name: 'String'
                }
              },
              large_person_group_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'largePersonGroupId',
                constraints: {
                  MaxLength: 64,
                  Pattern: '^[a-z0-9-_]+$'
                },
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
