class Azure::CognitiveServices::Face::V1_0::Models::PersistedFace
PersonFace object.
Attributes
persisted_face_id[RW]
@return The persistedFaceId of the target face, which is persisted and will not expire. Different from faceId created by Face
- Detect and will expire in 24 hours after the detection call.
user_data[RW]
@return [String] User-provided data attached to the face. The size limit is 1KB.
Private Class Methods
mapper()
click to toggle source
Mapper for PersistedFace
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_face/models/persisted_face.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PersistedFace', type: { name: 'Composite', class_name: 'PersistedFace', model_properties: { persisted_face_id: { client_side_validation: true, required: true, serialized_name: 'persistedFaceId', type: { name: 'String' } }, user_data: { client_side_validation: true, required: false, serialized_name: 'userData', constraints: { MaxLength: 1024 }, type: { name: 'String' } } } } } end