
com.microsoft.azure.cognitiveservices.vision.faceapi.models.VerifyFaceToFaceRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cognitiveservices-faceapi Show documentation
Show all versions of azure-cognitiveservices-faceapi Show documentation
This package contains Microsoft Cognitive Service Face API SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.vision.faceapi.models;
import java.util.UUID;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Request body for verify operation.
*/
public class VerifyFaceToFaceRequest {
/**
* FaceId of the first face, comes from Face - Detect.
*/
@JsonProperty(value = "faceId1", required = true)
private UUID faceId1;
/**
* FaceId of the second face, comes from Face - Detect.
*/
@JsonProperty(value = "faceId2", required = true)
private UUID faceId2;
/**
* Get the faceId1 value.
*
* @return the faceId1 value
*/
public UUID faceId1() {
return this.faceId1;
}
/**
* Set the faceId1 value.
*
* @param faceId1 the faceId1 value to set
* @return the VerifyFaceToFaceRequest object itself.
*/
public VerifyFaceToFaceRequest withFaceId1(UUID faceId1) {
this.faceId1 = faceId1;
return this;
}
/**
* Get the faceId2 value.
*
* @return the faceId2 value
*/
public UUID faceId2() {
return this.faceId2;
}
/**
* Set the faceId2 value.
*
* @param faceId2 the faceId2 value to set
* @return the VerifyFaceToFaceRequest object itself.
*/
public VerifyFaceToFaceRequest withFaceId2(UUID faceId2) {
this.faceId2 = faceId2;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy