/**
 * 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.List;
import java.util.UUID;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * An array of face groups based on face similarity.
 */
public class GroupResult {
    /**
     * A partition of the original faces based on face similarity. Groups are
     * ranked by number of faces.
     */
    @JsonProperty(value = "groups", required = true)
    private List<List<UUID>> groups;

    /**
     * Face ids array of faces that cannot find any similar faces from original
     * faces.
     */
    @JsonProperty(value = "messyGroup")
    private List<UUID> messyGroup;

    /**
     * Get the groups value.
     *
     * @return the groups value
     */
    public List<List<UUID>> groups() {
        return this.groups;
    }

    /**
     * Set the groups value.
     *
     * @param groups the groups value to set
     * @return the GroupResult object itself.
     */
    public GroupResult withGroups(List<List<UUID>> groups) {
        this.groups = groups;
        return this;
    }

    /**
     * Get the messyGroup value.
     *
     * @return the messyGroup value
     */
    public List<UUID> messyGroup() {
        return this.messyGroup;
    }

    /**
     * Set the messyGroup value.
     *
     * @param messyGroup the messyGroup value to set
     * @return the GroupResult object itself.
     */
    public GroupResult withMessyGroup(List<UUID> messyGroup) {
        this.messyGroup = messyGroup;
        return this;
    }

}
