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

com.tencentcloudapi.vod.v20180717.models.AsrFullTextConfigureInfo 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 AsrFullTextConfigureInfo extends AbstractModel{

    /**
    * Switch of full speech recognition task. Valid values:
  • ON: enables intelligent full speech recognition task;
  • OFF: disables intelligent full speech recognition task.
  • */ @SerializedName("Switch") @Expose private String Switch; /** * The formats of the subtitle files generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • */ @SerializedName("SubtitleFormats") @Expose private String [] SubtitleFormats; /** * The format of the subtitle file generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • Note: This parameter has been deprecated. Please use `SubtitleFormats` instead. */ @SerializedName("SubtitleFormat") @Expose private String SubtitleFormat; /** * Get Switch of full speech recognition task. Valid values:
  • ON: enables intelligent full speech recognition task;
  • OFF: disables intelligent full speech recognition task.
  • * @return Switch Switch of full speech recognition task. Valid values:
  • ON: enables intelligent full speech recognition task;
  • OFF: disables intelligent full speech recognition task.
  • */ public String getSwitch() { return this.Switch; } /** * Set Switch of full speech recognition task. Valid values:
  • ON: enables intelligent full speech recognition task;
  • OFF: disables intelligent full speech recognition task.
  • * @param Switch Switch of full speech recognition task. Valid values:
  • ON: enables intelligent full speech recognition task;
  • OFF: disables intelligent full speech recognition task.
  • */ public void setSwitch(String Switch) { this.Switch = Switch; } /** * Get The formats of the subtitle files generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • * @return SubtitleFormats The formats of the subtitle files generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • */ public String [] getSubtitleFormats() { return this.SubtitleFormats; } /** * Set The formats of the subtitle files generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • * @param SubtitleFormats The formats of the subtitle files generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • */ public void setSubtitleFormats(String [] SubtitleFormats) { this.SubtitleFormats = SubtitleFormats; } /** * Get The format of the subtitle file generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • Note: This parameter has been deprecated. Please use `SubtitleFormats` instead. * @return SubtitleFormat The format of the subtitle file generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • Note: This parameter has been deprecated. Please use `SubtitleFormats` instead. */ public String getSubtitleFormat() { return this.SubtitleFormat; } /** * Set The format of the subtitle file generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • Note: This parameter has been deprecated. Please use `SubtitleFormats` instead. * @param SubtitleFormat The format of the subtitle file generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
  • vtt
  • srt
  • Note: This parameter has been deprecated. Please use `SubtitleFormats` instead. */ public void setSubtitleFormat(String SubtitleFormat) { this.SubtitleFormat = SubtitleFormat; } public AsrFullTextConfigureInfo() { } /** * 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 AsrFullTextConfigureInfo(AsrFullTextConfigureInfo source) { if (source.Switch != null) { this.Switch = new String(source.Switch); } if (source.SubtitleFormats != null) { this.SubtitleFormats = new String[source.SubtitleFormats.length]; for (int i = 0; i < source.SubtitleFormats.length; i++) { this.SubtitleFormats[i] = new String(source.SubtitleFormats[i]); } } if (source.SubtitleFormat != null) { this.SubtitleFormat = new String(source.SubtitleFormat); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Switch", this.Switch); this.setParamArraySimple(map, prefix + "SubtitleFormats.", this.SubtitleFormats); this.setParamSimple(map, prefix + "SubtitleFormat", this.SubtitleFormat); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy