All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.cognitiveservices.faceapi.implementation.IdentifyResultItemInner Maven / Gradle / Ivy

/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 */

package com.microsoft.azure.cognitiveservices.faceapi.implementation;

import java.util.UUID;
import java.util.List;
import com.microsoft.azure.cognitiveservices.faceapi.IdentifyResultCandidate;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Response body for identify face operation.
 */
public class IdentifyResultItemInner {
    /**
     * faceId of the query face.
     */
    @JsonProperty(value = "faceId", required = true)
    private UUID faceId;

    /**
     * The candidates property.
     */
    @JsonProperty(value = "candidates", required = true)
    private List candidates;

    /**
     * Get the faceId value.
     *
     * @return the faceId value
     */
    public UUID faceId() {
        return this.faceId;
    }

    /**
     * Set the faceId value.
     *
     * @param faceId the faceId value to set
     * @return the IdentifyResultItemInner object itself.
     */
    public IdentifyResultItemInner withFaceId(UUID faceId) {
        this.faceId = faceId;
        return this;
    }

    /**
     * Get the candidates value.
     *
     * @return the candidates value
     */
    public List candidates() {
        return this.candidates;
    }

    /**
     * Set the candidates value.
     *
     * @param candidates the candidates value to set
     * @return the IdentifyResultItemInner object itself.
     */
    public IdentifyResultItemInner withCandidates(List candidates) {
        this.candidates = candidates;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy