# 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::ContentModerator::V1_0
  module Models
    #
    # Coordinates to the found face.
    #
    class Face

      include MsRestAzure

      # @return [Integer] The bottom coordinate.
      attr_accessor :bottom

      # @return [Integer] The left coordinate.
      attr_accessor :left

      # @return [Integer] The right coordinate.
      attr_accessor :right

      # @return [Integer] The top coordinate.
      attr_accessor :top


      #
      # Mapper for Face class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Face',
          type: {
            name: 'Composite',
            class_name: 'Face',
            model_properties: {
              bottom: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Bottom',
                type: {
                  name: 'Number'
                }
              },
              left: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Left',
                type: {
                  name: 'Number'
                }
              },
              right: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Right',
                type: {
                  name: 'Number'
                }
              },
              top: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Top',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
