class Azure::CognitiveServices::Face::V1_0::Models::Makeup

Properties describing present makeups on a given face.

Attributes

eye_makeup[RW]

@return [Boolean] A boolean value describing whether eye makeup is present on a face.

lip_makeup[RW]

@return [Boolean] A boolean value describing whether lip makeup is present on a face.

Private Class Methods

mapper() click to toggle source

Mapper for Makeup class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/1.0/generated/azure_cognitiveservices_face/models/makeup.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Makeup',
    type: {
      name: 'Composite',
      class_name: 'Makeup',
      model_properties: {
        eye_makeup: {
          client_side_validation: true,
          required: false,
          serialized_name: 'eyeMakeup',
          type: {
            name: 'Boolean'
          }
        },
        lip_makeup: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lipMakeup',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end