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

com.aiwiown.face.response.FaceSetRemoveResponse Maven / Gradle / Ivy

There is a newer version: 3.0.9
Show newest version
package com.aiwiown.face.response;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.FailureDetail;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;

import java.util.List;

/**
 * @ClassName : FaceSetRemoveResponse
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-03-14 13:22
 */
public class FaceSetRemoveResponse extends ApiResponse {

    private static final long serialVersionUID = 5991032165239647737L;
    /**
     * 用户自定义的FaceSet标识,如果未定义则返回值为空
     */
    @ApiField("outer_id")
    private String outerId;
    /**
     * 成功从FaceSet中移除的face_token数量
     */
    @ApiField("face_removed")
    private Integer faceRemoved;
    /**
     * 操作完成后FaceSet中的face_token数量
     */
    @ApiField("face_count")
    private String faceCount;

    /**
     * 无法从FaceSet中移除的face_token以及原因
     * face_token:人脸标识
     * reason:不能被移除的原因,包括 INVALID_FACE_TOKEN 人脸标识不存在
     */
    @ApiListField("failure_detail")
    private List failureDetail;

    public String getOuterId() {
        return outerId;
    }

    public void setOuterId(String outerId) {
        this.outerId = outerId;
    }

    public Integer getFaceRemoved() {
        return faceRemoved;
    }

    public void setFaceRemoved(Integer faceRemoved) {
        this.faceRemoved = faceRemoved;
    }

    public String getFaceCount() {
        return faceCount;
    }

    public void setFaceCount(String faceCount) {
        this.faceCount = faceCount;
    }

    public List getFailureDetail() {
        return failureDetail;
    }

    public void setFailureDetail(List failureDetail) {
        this.failureDetail = failureDetail;
    }
}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy