
com.tencentcloudapi.vm.v20201229.models.ImageResult Maven / Gradle / Ivy
/*
* 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.vm.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 ImageResult extends AbstractModel{
/**
* 违规标志
0 未命中
1 命中
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("HitFlag")
@Expose
private Long HitFlag;
/**
* 命中的标签
Porn 色情
Sexy 性感
Illegal 违法
Abuse 谩骂
Ad 广告
以及其他令人反感、不安全或不适宜的内容类型。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Label")
@Expose
private String Label;
/**
* 审核建议,可选值:
Pass 通过,
Review 建议人审,
Block 确认违规
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Suggestion")
@Expose
private String Suggestion;
/**
* 得分
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Score")
@Expose
private Long Score;
/**
* 画面截帧图片结果集
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Results")
@Expose
private ImageResultResult [] Results;
/**
* 图片URL地址
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Url")
@Expose
private String Url;
/**
* 附加字段
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Extra")
@Expose
private String Extra;
/**
* Get 违规标志
0 未命中
1 命中
注意:此字段可能返回 null,表示取不到有效值。
* @return HitFlag 违规标志
0 未命中
1 命中
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getHitFlag() {
return this.HitFlag;
}
/**
* Set 违规标志
0 未命中
1 命中
注意:此字段可能返回 null,表示取不到有效值。
* @param HitFlag 违规标志
0 未命中
1 命中
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setHitFlag(Long HitFlag) {
this.HitFlag = HitFlag;
}
/**
* Get 命中的标签
Porn 色情
Sexy 性感
Illegal 违法
Abuse 谩骂
Ad 广告
以及其他令人反感、不安全或不适宜的内容类型。
注意:此字段可能返回 null,表示取不到有效值。
* @return Label 命中的标签
Porn 色情
Sexy 性感
Illegal 违法
Abuse 谩骂
Ad 广告
以及其他令人反感、不安全或不适宜的内容类型。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getLabel() {
return this.Label;
}
/**
* Set 命中的标签
Porn 色情
Sexy 性感
Illegal 违法
Abuse 谩骂
Ad 广告
以及其他令人反感、不安全或不适宜的内容类型。
注意:此字段可能返回 null,表示取不到有效值。
* @param Label 命中的标签
Porn 色情
Sexy 性感
Illegal 违法
Abuse 谩骂
Ad 广告
以及其他令人反感、不安全或不适宜的内容类型。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setLabel(String Label) {
this.Label = Label;
}
/**
* Get 审核建议,可选值:
Pass 通过,
Review 建议人审,
Block 确认违规
注意:此字段可能返回 null,表示取不到有效值。
* @return Suggestion 审核建议,可选值:
Pass 通过,
Review 建议人审,
Block 确认违规
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getSuggestion() {
return this.Suggestion;
}
/**
* Set 审核建议,可选值:
Pass 通过,
Review 建议人审,
Block 确认违规
注意:此字段可能返回 null,表示取不到有效值。
* @param Suggestion 审核建议,可选值:
Pass 通过,
Review 建议人审,
Block 确认违规
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setSuggestion(String Suggestion) {
this.Suggestion = Suggestion;
}
/**
* Get 得分
注意:此字段可能返回 null,表示取不到有效值。
* @return Score 得分
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getScore() {
return this.Score;
}
/**
* Set 得分
注意:此字段可能返回 null,表示取不到有效值。
* @param Score 得分
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setScore(Long Score) {
this.Score = Score;
}
/**
* Get 画面截帧图片结果集
注意:此字段可能返回 null,表示取不到有效值。
* @return Results 画面截帧图片结果集
注意:此字段可能返回 null,表示取不到有效值。
*/
public ImageResultResult [] getResults() {
return this.Results;
}
/**
* Set 画面截帧图片结果集
注意:此字段可能返回 null,表示取不到有效值。
* @param Results 画面截帧图片结果集
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setResults(ImageResultResult [] Results) {
this.Results = Results;
}
/**
* Get 图片URL地址
注意:此字段可能返回 null,表示取不到有效值。
* @return Url 图片URL地址
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getUrl() {
return this.Url;
}
/**
* Set 图片URL地址
注意:此字段可能返回 null,表示取不到有效值。
* @param Url 图片URL地址
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setUrl(String Url) {
this.Url = Url;
}
/**
* Get 附加字段
注意:此字段可能返回 null,表示取不到有效值。
* @return Extra 附加字段
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getExtra() {
return this.Extra;
}
/**
* Set 附加字段
注意:此字段可能返回 null,表示取不到有效值。
* @param Extra 附加字段
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setExtra(String Extra) {
this.Extra = Extra;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "HitFlag", this.HitFlag);
this.setParamSimple(map, prefix + "Label", this.Label);
this.setParamSimple(map, prefix + "Suggestion", this.Suggestion);
this.setParamSimple(map, prefix + "Score", this.Score);
this.setParamArrayObj(map, prefix + "Results.", this.Results);
this.setParamSimple(map, prefix + "Url", this.Url);
this.setParamSimple(map, prefix + "Extra", this.Extra);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy