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

com.tencentcloudapi.vod.v20180717.models.MediaContentReviewAsrTextSegmentItem Maven / Gradle / Ivy

There is a newer version: 3.0.1034
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.vod.v20180717.models;

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

public class MediaContentReviewAsrTextSegmentItem extends AbstractModel {

    /**
    * Start time offset of suspected segment in seconds.
Note: this field may return null, indicating that no valid values can be obtained.
    */
    @SerializedName("StartTimeOffset")
    @Expose
    private Float StartTimeOffset;

    /**
    * End time offset of suspected segment in seconds.
Note: this field may return null, indicating that no valid values can be obtained.
    */
    @SerializedName("EndTimeOffset")
    @Expose
    private Float EndTimeOffset;

    /**
    * Confidence of suspected segment.
Note: this field may return null, indicating that no valid values can be obtained.
    */
    @SerializedName("Confidence")
    @Expose
    private Float Confidence;

    /**
    * Processing suggestion for the detected suspicious content. Valid values:
  • pass
  • review
  • block
  • */ @SerializedName("Suggestion") @Expose private String Suggestion; /** * List of suspected keywords. Note: this field may return null, indicating that no valid values can be obtained. */ @SerializedName("KeywordSet") @Expose private String [] KeywordSet; /** * Get Start time offset of suspected segment in seconds. Note: this field may return null, indicating that no valid values can be obtained. * @return StartTimeOffset Start time offset of suspected segment in seconds. Note: this field may return null, indicating that no valid values can be obtained. */ public Float getStartTimeOffset() { return this.StartTimeOffset; } /** * Set Start time offset of suspected segment in seconds. Note: this field may return null, indicating that no valid values can be obtained. * @param StartTimeOffset Start time offset of suspected segment in seconds. Note: this field may return null, indicating that no valid values can be obtained. */ public void setStartTimeOffset(Float StartTimeOffset) { this.StartTimeOffset = StartTimeOffset; } /** * Get End time offset of suspected segment in seconds. Note: this field may return null, indicating that no valid values can be obtained. * @return EndTimeOffset End time offset of suspected segment in seconds. Note: this field may return null, indicating that no valid values can be obtained. */ public Float getEndTimeOffset() { return this.EndTimeOffset; } /** * Set End time offset of suspected segment in seconds. Note: this field may return null, indicating that no valid values can be obtained. * @param EndTimeOffset End time offset of suspected segment in seconds. Note: this field may return null, indicating that no valid values can be obtained. */ public void setEndTimeOffset(Float EndTimeOffset) { this.EndTimeOffset = EndTimeOffset; } /** * Get Confidence of suspected segment. Note: this field may return null, indicating that no valid values can be obtained. * @return Confidence Confidence of suspected segment. Note: this field may return null, indicating that no valid values can be obtained. */ public Float getConfidence() { return this.Confidence; } /** * Set Confidence of suspected segment. Note: this field may return null, indicating that no valid values can be obtained. * @param Confidence Confidence of suspected segment. Note: this field may return null, indicating that no valid values can be obtained. */ public void setConfidence(Float Confidence) { this.Confidence = Confidence; } /** * Get Processing suggestion for the detected suspicious content. Valid values:
  • pass
  • review
  • block
  • * @return Suggestion Processing suggestion for the detected suspicious content. Valid values:
  • pass
  • review
  • block
  • */ public String getSuggestion() { return this.Suggestion; } /** * Set Processing suggestion for the detected suspicious content. Valid values:
  • pass
  • review
  • block
  • * @param Suggestion Processing suggestion for the detected suspicious content. Valid values:
  • pass
  • review
  • block
  • */ public void setSuggestion(String Suggestion) { this.Suggestion = Suggestion; } /** * Get List of suspected keywords. Note: this field may return null, indicating that no valid values can be obtained. * @return KeywordSet List of suspected keywords. Note: this field may return null, indicating that no valid values can be obtained. */ public String [] getKeywordSet() { return this.KeywordSet; } /** * Set List of suspected keywords. Note: this field may return null, indicating that no valid values can be obtained. * @param KeywordSet List of suspected keywords. Note: this field may return null, indicating that no valid values can be obtained. */ public void setKeywordSet(String [] KeywordSet) { this.KeywordSet = KeywordSet; } public MediaContentReviewAsrTextSegmentItem() { } /** * 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 MediaContentReviewAsrTextSegmentItem(MediaContentReviewAsrTextSegmentItem 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.Suggestion != null) { this.Suggestion = new String(source.Suggestion); } if (source.KeywordSet != null) { this.KeywordSet = new String[source.KeywordSet.length]; for (int i = 0; i < source.KeywordSet.length; i++) { this.KeywordSet[i] = new String(source.KeywordSet[i]); } } } /** * 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 + "Suggestion", this.Suggestion); this.setParamArraySimple(map, prefix + "KeywordSet.", this.KeywordSet); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy