# 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
    #
    # Properties describing occlusions on a given face.
    #
    class Occlusion

      include MsRestAzure

      # @return [Boolean] A boolean value indicating whether forehead is
      # occluded.
      attr_accessor :forehead_occluded

      # @return [Boolean] A boolean value indicating whether eyes are occluded.
      attr_accessor :eye_occluded

      # @return [Boolean] A boolean value indicating whether the mouth is
      # occluded.
      attr_accessor :mouth_occluded


      #
      # Mapper for Occlusion class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Occlusion',
          type: {
            name: 'Composite',
            class_name: 'Occlusion',
            model_properties: {
              forehead_occluded: {
                client_side_validation: true,
                required: false,
                serialized_name: 'foreheadOccluded',
                type: {
                  name: 'Boolean'
                }
              },
              eye_occluded: {
                client_side_validation: true,
                required: false,
                serialized_name: 'eyeOccluded',
                type: {
                  name: 'Boolean'
                }
              },
              mouth_occluded: {
                client_side_validation: true,
                required: false,
                serialized_name: 'mouthOccluded',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end
