com.tencentcloudapi.tiw.v20190919.models.CreateVideoGenerationTaskRequest 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.tiw.v20190919.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 CreateVideoGenerationTaskRequest extends AbstractModel {
/**
* ID of the recording task.
*/
@SerializedName("OnlineRecordTaskId")
@Expose
private String OnlineRecordTaskId;
/**
* SdkAppId of the whiteboard application.
*/
@SerializedName("SdkAppId")
@Expose
private Long SdkAppId;
/**
* Whiteboard parameters of the recording video generation task, such as the width and height of the whiteboard.
This parameter conflicts with the Whiteboard parameter in the API for starting a recording task. If the two Whiteboard parameters are both specified, the Whiteboard parameter in this API takes priority for recording video generation. If the Whiteboard parameter in this API is not specified, the Whiteboard parameter specified in the API for starting a recording task is used for recording video generation.
*/
@SerializedName("Whiteboard")
@Expose
private Whiteboard Whiteboard;
/**
* Video splicing parameters.
This parameter conflicts with the Concat parameter in the API for starting a recording task. If the two Concat parameters are both specified, the Concat parameter in this API takes priority for video splicing. If the Concat parameter in this API is not specified, the Concat parameter specified in the API for starting a recording task is used for video splicing.
*/
@SerializedName("Concat")
@Expose
private Concat Concat;
/**
* Video stream mixing parameters.
This parameter conflicts with the MixStream parameter in the API for starting a recording task. If the two MixStream parameters are both specified, the MixStream parameter in this API takes priority for video stream mixing. If the MixStream parameter in this API is not specified, the MixStream parameter specified in the API for starting a recording task is used for video stream mixing.
*/
@SerializedName("MixStream")
@Expose
private MixStream MixStream;
/**
* A group of video generation parameters. It specifies the streams to be generated, whether to disable audio recording for a stream, and whether to record only low-resolution videos, etc.
This parameter conflicts with the RecordControl parameter in the API for starting a recording task. If the two RecordControl parameters are both specified, the RecordControl parameter in this API takes priority for video generation control. If the RecordControl parameter in this API is not specified, the RecordControl parameter specified in the API for starting a recording task is used for video generation control.
*/
@SerializedName("RecordControl")
@Expose
private RecordControl RecordControl;
/**
* Internal parameter.
*/
@SerializedName("ExtraData")
@Expose
private String ExtraData;
/**
* Get ID of the recording task.
* @return OnlineRecordTaskId ID of the recording task.
*/
public String getOnlineRecordTaskId() {
return this.OnlineRecordTaskId;
}
/**
* Set ID of the recording task.
* @param OnlineRecordTaskId ID of the recording task.
*/
public void setOnlineRecordTaskId(String OnlineRecordTaskId) {
this.OnlineRecordTaskId = OnlineRecordTaskId;
}
/**
* Get SdkAppId of the whiteboard application.
* @return SdkAppId SdkAppId of the whiteboard application.
*/
public Long getSdkAppId() {
return this.SdkAppId;
}
/**
* Set SdkAppId of the whiteboard application.
* @param SdkAppId SdkAppId of the whiteboard application.
*/
public void setSdkAppId(Long SdkAppId) {
this.SdkAppId = SdkAppId;
}
/**
* Get Whiteboard parameters of the recording video generation task, such as the width and height of the whiteboard.
This parameter conflicts with the Whiteboard parameter in the API for starting a recording task. If the two Whiteboard parameters are both specified, the Whiteboard parameter in this API takes priority for recording video generation. If the Whiteboard parameter in this API is not specified, the Whiteboard parameter specified in the API for starting a recording task is used for recording video generation.
* @return Whiteboard Whiteboard parameters of the recording video generation task, such as the width and height of the whiteboard.
This parameter conflicts with the Whiteboard parameter in the API for starting a recording task. If the two Whiteboard parameters are both specified, the Whiteboard parameter in this API takes priority for recording video generation. If the Whiteboard parameter in this API is not specified, the Whiteboard parameter specified in the API for starting a recording task is used for recording video generation.
*/
public Whiteboard getWhiteboard() {
return this.Whiteboard;
}
/**
* Set Whiteboard parameters of the recording video generation task, such as the width and height of the whiteboard.
This parameter conflicts with the Whiteboard parameter in the API for starting a recording task. If the two Whiteboard parameters are both specified, the Whiteboard parameter in this API takes priority for recording video generation. If the Whiteboard parameter in this API is not specified, the Whiteboard parameter specified in the API for starting a recording task is used for recording video generation.
* @param Whiteboard Whiteboard parameters of the recording video generation task, such as the width and height of the whiteboard.
This parameter conflicts with the Whiteboard parameter in the API for starting a recording task. If the two Whiteboard parameters are both specified, the Whiteboard parameter in this API takes priority for recording video generation. If the Whiteboard parameter in this API is not specified, the Whiteboard parameter specified in the API for starting a recording task is used for recording video generation.
*/
public void setWhiteboard(Whiteboard Whiteboard) {
this.Whiteboard = Whiteboard;
}
/**
* Get Video splicing parameters.
This parameter conflicts with the Concat parameter in the API for starting a recording task. If the two Concat parameters are both specified, the Concat parameter in this API takes priority for video splicing. If the Concat parameter in this API is not specified, the Concat parameter specified in the API for starting a recording task is used for video splicing.
* @return Concat Video splicing parameters.
This parameter conflicts with the Concat parameter in the API for starting a recording task. If the two Concat parameters are both specified, the Concat parameter in this API takes priority for video splicing. If the Concat parameter in this API is not specified, the Concat parameter specified in the API for starting a recording task is used for video splicing.
*/
public Concat getConcat() {
return this.Concat;
}
/**
* Set Video splicing parameters.
This parameter conflicts with the Concat parameter in the API for starting a recording task. If the two Concat parameters are both specified, the Concat parameter in this API takes priority for video splicing. If the Concat parameter in this API is not specified, the Concat parameter specified in the API for starting a recording task is used for video splicing.
* @param Concat Video splicing parameters.
This parameter conflicts with the Concat parameter in the API for starting a recording task. If the two Concat parameters are both specified, the Concat parameter in this API takes priority for video splicing. If the Concat parameter in this API is not specified, the Concat parameter specified in the API for starting a recording task is used for video splicing.
*/
public void setConcat(Concat Concat) {
this.Concat = Concat;
}
/**
* Get Video stream mixing parameters.
This parameter conflicts with the MixStream parameter in the API for starting a recording task. If the two MixStream parameters are both specified, the MixStream parameter in this API takes priority for video stream mixing. If the MixStream parameter in this API is not specified, the MixStream parameter specified in the API for starting a recording task is used for video stream mixing.
* @return MixStream Video stream mixing parameters.
This parameter conflicts with the MixStream parameter in the API for starting a recording task. If the two MixStream parameters are both specified, the MixStream parameter in this API takes priority for video stream mixing. If the MixStream parameter in this API is not specified, the MixStream parameter specified in the API for starting a recording task is used for video stream mixing.
*/
public MixStream getMixStream() {
return this.MixStream;
}
/**
* Set Video stream mixing parameters.
This parameter conflicts with the MixStream parameter in the API for starting a recording task. If the two MixStream parameters are both specified, the MixStream parameter in this API takes priority for video stream mixing. If the MixStream parameter in this API is not specified, the MixStream parameter specified in the API for starting a recording task is used for video stream mixing.
* @param MixStream Video stream mixing parameters.
This parameter conflicts with the MixStream parameter in the API for starting a recording task. If the two MixStream parameters are both specified, the MixStream parameter in this API takes priority for video stream mixing. If the MixStream parameter in this API is not specified, the MixStream parameter specified in the API for starting a recording task is used for video stream mixing.
*/
public void setMixStream(MixStream MixStream) {
this.MixStream = MixStream;
}
/**
* Get A group of video generation parameters. It specifies the streams to be generated, whether to disable audio recording for a stream, and whether to record only low-resolution videos, etc.
This parameter conflicts with the RecordControl parameter in the API for starting a recording task. If the two RecordControl parameters are both specified, the RecordControl parameter in this API takes priority for video generation control. If the RecordControl parameter in this API is not specified, the RecordControl parameter specified in the API for starting a recording task is used for video generation control.
* @return RecordControl A group of video generation parameters. It specifies the streams to be generated, whether to disable audio recording for a stream, and whether to record only low-resolution videos, etc.
This parameter conflicts with the RecordControl parameter in the API for starting a recording task. If the two RecordControl parameters are both specified, the RecordControl parameter in this API takes priority for video generation control. If the RecordControl parameter in this API is not specified, the RecordControl parameter specified in the API for starting a recording task is used for video generation control.
*/
public RecordControl getRecordControl() {
return this.RecordControl;
}
/**
* Set A group of video generation parameters. It specifies the streams to be generated, whether to disable audio recording for a stream, and whether to record only low-resolution videos, etc.
This parameter conflicts with the RecordControl parameter in the API for starting a recording task. If the two RecordControl parameters are both specified, the RecordControl parameter in this API takes priority for video generation control. If the RecordControl parameter in this API is not specified, the RecordControl parameter specified in the API for starting a recording task is used for video generation control.
* @param RecordControl A group of video generation parameters. It specifies the streams to be generated, whether to disable audio recording for a stream, and whether to record only low-resolution videos, etc.
This parameter conflicts with the RecordControl parameter in the API for starting a recording task. If the two RecordControl parameters are both specified, the RecordControl parameter in this API takes priority for video generation control. If the RecordControl parameter in this API is not specified, the RecordControl parameter specified in the API for starting a recording task is used for video generation control.
*/
public void setRecordControl(RecordControl RecordControl) {
this.RecordControl = RecordControl;
}
/**
* Get Internal parameter.
* @return ExtraData Internal parameter.
*/
public String getExtraData() {
return this.ExtraData;
}
/**
* Set Internal parameter.
* @param ExtraData Internal parameter.
*/
public void setExtraData(String ExtraData) {
this.ExtraData = ExtraData;
}
public CreateVideoGenerationTaskRequest() {
}
/**
* 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 CreateVideoGenerationTaskRequest(CreateVideoGenerationTaskRequest source) {
if (source.OnlineRecordTaskId != null) {
this.OnlineRecordTaskId = new String(source.OnlineRecordTaskId);
}
if (source.SdkAppId != null) {
this.SdkAppId = new Long(source.SdkAppId);
}
if (source.Whiteboard != null) {
this.Whiteboard = new Whiteboard(source.Whiteboard);
}
if (source.Concat != null) {
this.Concat = new Concat(source.Concat);
}
if (source.MixStream != null) {
this.MixStream = new MixStream(source.MixStream);
}
if (source.RecordControl != null) {
this.RecordControl = new RecordControl(source.RecordControl);
}
if (source.ExtraData != null) {
this.ExtraData = new String(source.ExtraData);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "OnlineRecordTaskId", this.OnlineRecordTaskId);
this.setParamSimple(map, prefix + "SdkAppId", this.SdkAppId);
this.setParamObj(map, prefix + "Whiteboard.", this.Whiteboard);
this.setParamObj(map, prefix + "Concat.", this.Concat);
this.setParamObj(map, prefix + "MixStream.", this.MixStream);
this.setParamObj(map, prefix + "RecordControl.", this.RecordControl);
this.setParamSimple(map, prefix + "ExtraData", this.ExtraData);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy