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

com.tencentcloudapi.vod.v20180717.models.MediaContentReviewSegmentItem 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.vod.v20180717.models;

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

public class MediaContentReviewSegmentItem extends AbstractModel{

    /**
    * 嫌疑片段起始的偏移时间,单位:秒。
    */
    @SerializedName("StartTimeOffset")
    @Expose
    private Float StartTimeOffset;

    /**
    * 嫌疑片段结束的偏移时间,单位:秒。
    */
    @SerializedName("EndTimeOffset")
    @Expose
    private Float EndTimeOffset;

    /**
    * 嫌疑片段涉黄分数。
    */
    @SerializedName("Confidence")
    @Expose
    private Float Confidence;

    /**
    * 嫌疑片段鉴黄结果标签。
    */
    @SerializedName("Label")
    @Expose
    private String Label;

    /**
    * 嫌疑片段鉴黄结果建议,取值范围:
  • pass。
  • review。
  • block。
  • */ @SerializedName("Suggestion") @Expose private String Suggestion; /** * 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。 */ @SerializedName("Url") @Expose private String Url; /** * 该字段已废弃,请使用 PicUrlExpireTime。 */ @SerializedName("PicUrlExpireTimeStamp") @Expose private Long PicUrlExpireTimeStamp; /** * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 */ @SerializedName("PicUrlExpireTime") @Expose private String PicUrlExpireTime; /** * Get 嫌疑片段起始的偏移时间,单位:秒。 * @return StartTimeOffset 嫌疑片段起始的偏移时间,单位:秒。 */ public Float getStartTimeOffset() { return this.StartTimeOffset; } /** * Set 嫌疑片段起始的偏移时间,单位:秒。 * @param StartTimeOffset 嫌疑片段起始的偏移时间,单位:秒。 */ public void setStartTimeOffset(Float StartTimeOffset) { this.StartTimeOffset = StartTimeOffset; } /** * Get 嫌疑片段结束的偏移时间,单位:秒。 * @return EndTimeOffset 嫌疑片段结束的偏移时间,单位:秒。 */ public Float getEndTimeOffset() { return this.EndTimeOffset; } /** * Set 嫌疑片段结束的偏移时间,单位:秒。 * @param EndTimeOffset 嫌疑片段结束的偏移时间,单位:秒。 */ public void setEndTimeOffset(Float EndTimeOffset) { this.EndTimeOffset = EndTimeOffset; } /** * Get 嫌疑片段涉黄分数。 * @return Confidence 嫌疑片段涉黄分数。 */ public Float getConfidence() { return this.Confidence; } /** * Set 嫌疑片段涉黄分数。 * @param Confidence 嫌疑片段涉黄分数。 */ public void setConfidence(Float Confidence) { this.Confidence = Confidence; } /** * Get 嫌疑片段鉴黄结果标签。 * @return Label 嫌疑片段鉴黄结果标签。 */ public String getLabel() { return this.Label; } /** * Set 嫌疑片段鉴黄结果标签。 * @param Label 嫌疑片段鉴黄结果标签。 */ public void setLabel(String Label) { this.Label = Label; } /** * Get 嫌疑片段鉴黄结果建议,取值范围:
  • pass。
  • review。
  • block。
  • * @return Suggestion 嫌疑片段鉴黄结果建议,取值范围:
  • pass。
  • review。
  • block。
  • */ public String getSuggestion() { return this.Suggestion; } /** * Set 嫌疑片段鉴黄结果建议,取值范围:
  • pass。
  • review。
  • block。
  • * @param Suggestion 嫌疑片段鉴黄结果建议,取值范围:
  • pass。
  • review。
  • block。
  • */ public void setSuggestion(String Suggestion) { this.Suggestion = Suggestion; } /** * Get 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。 * @return Url 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。 */ public String getUrl() { return this.Url; } /** * Set 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。 * @param Url 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。 */ public void setUrl(String Url) { this.Url = Url; } /** * Get 该字段已废弃,请使用 PicUrlExpireTime。 * @return PicUrlExpireTimeStamp 该字段已废弃,请使用 PicUrlExpireTime。 */ public Long getPicUrlExpireTimeStamp() { return this.PicUrlExpireTimeStamp; } /** * Set 该字段已废弃,请使用 PicUrlExpireTime。 * @param PicUrlExpireTimeStamp 该字段已废弃,请使用 PicUrlExpireTime。 */ public void setPicUrlExpireTimeStamp(Long PicUrlExpireTimeStamp) { this.PicUrlExpireTimeStamp = PicUrlExpireTimeStamp; } /** * Get 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 * @return PicUrlExpireTime 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 */ public String getPicUrlExpireTime() { return this.PicUrlExpireTime; } /** * Set 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 * @param PicUrlExpireTime 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 */ public void setPicUrlExpireTime(String PicUrlExpireTime) { this.PicUrlExpireTime = PicUrlExpireTime; } public MediaContentReviewSegmentItem() { } /** * 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 MediaContentReviewSegmentItem(MediaContentReviewSegmentItem source) { if (source.StartTimeOffset != null) { this.StartTimeOffset = new Float(source.StartTimeOffset); } if (source.EndTimeOffset != null) { this.EndTimeOffset = new Float(source.EndTimeOffset); } if (source.Confidence != null) { this.Confidence = new Float(source.Confidence); } if (source.Label != null) { this.Label = new String(source.Label); } if (source.Suggestion != null) { this.Suggestion = new String(source.Suggestion); } if (source.Url != null) { this.Url = new String(source.Url); } if (source.PicUrlExpireTimeStamp != null) { this.PicUrlExpireTimeStamp = new Long(source.PicUrlExpireTimeStamp); } if (source.PicUrlExpireTime != null) { this.PicUrlExpireTime = new String(source.PicUrlExpireTime); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "StartTimeOffset", this.StartTimeOffset); this.setParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset); this.setParamSimple(map, prefix + "Confidence", this.Confidence); this.setParamSimple(map, prefix + "Label", this.Label); this.setParamSimple(map, prefix + "Suggestion", this.Suggestion); this.setParamSimple(map, prefix + "Url", this.Url); this.setParamSimple(map, prefix + "PicUrlExpireTimeStamp", this.PicUrlExpireTimeStamp); this.setParamSimple(map, prefix + "PicUrlExpireTime", this.PicUrlExpireTime); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy