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

com.tencentcloudapi.ims.v20201229.models.LibResult Maven / Gradle / Ivy

There is a newer version: 3.1.1093
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.ims.v20201229.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class LibResult extends AbstractModel{

    /**
    * 该字段表示模型的场景识别结果,默认取值为Similar。
    */
    @SerializedName("Scene")
    @Expose
    private String Scene;

    /**
    * 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 */ @SerializedName("Suggestion") @Expose private String Suggestion; /** * 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 */ @SerializedName("Label") @Expose private String Label; /** * 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("SubLabel") @Expose private String SubLabel; /** * 该字段用于返回图片检索模型识别的分值,取值为**0-100**,表示该审核图片**与库中样本的相似分值**,得分越高,代表当前内容越有可能命中相似图库内的样本。 */ @SerializedName("Score") @Expose private Long Score; /** * 该字段用于返回黑白库比对结果的详细信息,如:序号、库名称、恶意标签等信息;详细返回信息敬请参考对应数据结构([LibDetail](https://cloud.tencent.com/document/product/1125/53274#LibDetail))的描述文档 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("Details") @Expose private LibDetail [] Details; /** * Get 该字段表示模型的场景识别结果,默认取值为Similar。 * @return Scene 该字段表示模型的场景识别结果,默认取值为Similar。 */ public String getScene() { return this.Scene; } /** * Set 该字段表示模型的场景识别结果,默认取值为Similar。 * @param Scene 该字段表示模型的场景识别结果,默认取值为Similar。 */ public void setScene(String Scene) { this.Scene = Scene; } /** * Get 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 * @return Suggestion 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 */ public String getSuggestion() { return this.Suggestion; } /** * Set 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 * @param Suggestion 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过 */ public void setSuggestion(String Suggestion) { this.Suggestion = Suggestion; } /** * Get 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 * @return Label 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 */ public String getLabel() { return this.Label; } /** * Set 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 * @param Label 该字段用于返回检测结果所对应的恶意标签。
返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。 */ public void setLabel(String Label) { this.Label = Label; } /** * Get 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。 注意:此字段可能返回 null,表示取不到有效值。 * @return SubLabel 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。 注意:此字段可能返回 null,表示取不到有效值。 */ public String getSubLabel() { return this.SubLabel; } /** * Set 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。 注意:此字段可能返回 null,表示取不到有效值。 * @param SubLabel 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setSubLabel(String SubLabel) { this.SubLabel = SubLabel; } /** * Get 该字段用于返回图片检索模型识别的分值,取值为**0-100**,表示该审核图片**与库中样本的相似分值**,得分越高,代表当前内容越有可能命中相似图库内的样本。 * @return Score 该字段用于返回图片检索模型识别的分值,取值为**0-100**,表示该审核图片**与库中样本的相似分值**,得分越高,代表当前内容越有可能命中相似图库内的样本。 */ public Long getScore() { return this.Score; } /** * Set 该字段用于返回图片检索模型识别的分值,取值为**0-100**,表示该审核图片**与库中样本的相似分值**,得分越高,代表当前内容越有可能命中相似图库内的样本。 * @param Score 该字段用于返回图片检索模型识别的分值,取值为**0-100**,表示该审核图片**与库中样本的相似分值**,得分越高,代表当前内容越有可能命中相似图库内的样本。 */ public void setScore(Long Score) { this.Score = Score; } /** * Get 该字段用于返回黑白库比对结果的详细信息,如:序号、库名称、恶意标签等信息;详细返回信息敬请参考对应数据结构([LibDetail](https://cloud.tencent.com/document/product/1125/53274#LibDetail))的描述文档 注意:此字段可能返回 null,表示取不到有效值。 * @return Details 该字段用于返回黑白库比对结果的详细信息,如:序号、库名称、恶意标签等信息;详细返回信息敬请参考对应数据结构([LibDetail](https://cloud.tencent.com/document/product/1125/53274#LibDetail))的描述文档 注意:此字段可能返回 null,表示取不到有效值。 */ public LibDetail [] getDetails() { return this.Details; } /** * Set 该字段用于返回黑白库比对结果的详细信息,如:序号、库名称、恶意标签等信息;详细返回信息敬请参考对应数据结构([LibDetail](https://cloud.tencent.com/document/product/1125/53274#LibDetail))的描述文档 注意:此字段可能返回 null,表示取不到有效值。 * @param Details 该字段用于返回黑白库比对结果的详细信息,如:序号、库名称、恶意标签等信息;详细返回信息敬请参考对应数据结构([LibDetail](https://cloud.tencent.com/document/product/1125/53274#LibDetail))的描述文档 注意:此字段可能返回 null,表示取不到有效值。 */ public void setDetails(LibDetail [] Details) { this.Details = Details; } public LibResult() { } /** * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, * and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. */ public LibResult(LibResult source) { if (source.Scene != null) { this.Scene = new String(source.Scene); } if (source.Suggestion != null) { this.Suggestion = new String(source.Suggestion); } if (source.Label != null) { this.Label = new String(source.Label); } if (source.SubLabel != null) { this.SubLabel = new String(source.SubLabel); } if (source.Score != null) { this.Score = new Long(source.Score); } if (source.Details != null) { this.Details = new LibDetail[source.Details.length]; for (int i = 0; i < source.Details.length; i++) { this.Details[i] = new LibDetail(source.Details[i]); } } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Scene", this.Scene); this.setParamSimple(map, prefix + "Suggestion", this.Suggestion); this.setParamSimple(map, prefix + "Label", this.Label); this.setParamSimple(map, prefix + "SubLabel", this.SubLabel); this.setParamSimple(map, prefix + "Score", this.Score); this.setParamArrayObj(map, prefix + "Details.", this.Details); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy