![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.vod.v20180717.models.FastEditMediaRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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 FastEditMediaRequest extends AbstractModel {
/**
* Input media file information. Support for up to 100 media inputs.
*/
@SerializedName("FileInfos")
@Expose
private FastEditMediaFileInfo [] FileInfos;
/**
* ClipMode is used to indicate whether to include this segment when the clipping time point falls in the middle of a TS segment. There are two values:StartInclusiveEndInclusive: When the clip start time point and end time point fall in the middle of a segment, this segment will be included; StartInclusiveEndExclusive: When the starting time point falls in the middle of a segment, the segment will be included; when the end time point falls in the middle of a segment, the segment will not be included. If not specified, the default is StartInclusiveEndInclusive.
*/
@SerializedName("ClipMode")
@Expose
private String ClipMode;
/**
* VOD [Application](/document/product/266/14574) ID. Customers who activate VOD services from December 25, 2023, if they access resources in VOD applications (whether it is a default application or a newly created application), must fill in this field as the application ID.
*/
@SerializedName("SubAppId")
@Expose
private Long SubAppId;
/**
* Get Input media file information. Support for up to 100 media inputs.
* @return FileInfos Input media file information. Support for up to 100 media inputs.
*/
public FastEditMediaFileInfo [] getFileInfos() {
return this.FileInfos;
}
/**
* Set Input media file information. Support for up to 100 media inputs.
* @param FileInfos Input media file information. Support for up to 100 media inputs.
*/
public void setFileInfos(FastEditMediaFileInfo [] FileInfos) {
this.FileInfos = FileInfos;
}
/**
* Get ClipMode is used to indicate whether to include this segment when the clipping time point falls in the middle of a TS segment. There are two values:StartInclusiveEndInclusive: When the clip start time point and end time point fall in the middle of a segment, this segment will be included; StartInclusiveEndExclusive: When the starting time point falls in the middle of a segment, the segment will be included; when the end time point falls in the middle of a segment, the segment will not be included. If not specified, the default is StartInclusiveEndInclusive.
* @return ClipMode ClipMode is used to indicate whether to include this segment when the clipping time point falls in the middle of a TS segment. There are two values:StartInclusiveEndInclusive: When the clip start time point and end time point fall in the middle of a segment, this segment will be included; StartInclusiveEndExclusive: When the starting time point falls in the middle of a segment, the segment will be included; when the end time point falls in the middle of a segment, the segment will not be included. If not specified, the default is StartInclusiveEndInclusive.
*/
public String getClipMode() {
return this.ClipMode;
}
/**
* Set ClipMode is used to indicate whether to include this segment when the clipping time point falls in the middle of a TS segment. There are two values:StartInclusiveEndInclusive: When the clip start time point and end time point fall in the middle of a segment, this segment will be included; StartInclusiveEndExclusive: When the starting time point falls in the middle of a segment, the segment will be included; when the end time point falls in the middle of a segment, the segment will not be included. If not specified, the default is StartInclusiveEndInclusive.
* @param ClipMode ClipMode is used to indicate whether to include this segment when the clipping time point falls in the middle of a TS segment. There are two values:StartInclusiveEndInclusive: When the clip start time point and end time point fall in the middle of a segment, this segment will be included; StartInclusiveEndExclusive: When the starting time point falls in the middle of a segment, the segment will be included; when the end time point falls in the middle of a segment, the segment will not be included. If not specified, the default is StartInclusiveEndInclusive.
*/
public void setClipMode(String ClipMode) {
this.ClipMode = ClipMode;
}
/**
* Get VOD [Application](/document/product/266/14574) ID. Customers who activate VOD services from December 25, 2023, if they access resources in VOD applications (whether it is a default application or a newly created application), must fill in this field as the application ID.
* @return SubAppId VOD [Application](/document/product/266/14574) ID. Customers who activate VOD services from December 25, 2023, if they access resources in VOD applications (whether it is a default application or a newly created application), must fill in this field as the application ID.
*/
public Long getSubAppId() {
return this.SubAppId;
}
/**
* Set VOD [Application](/document/product/266/14574) ID. Customers who activate VOD services from December 25, 2023, if they access resources in VOD applications (whether it is a default application or a newly created application), must fill in this field as the application ID.
* @param SubAppId VOD [Application](/document/product/266/14574) ID. Customers who activate VOD services from December 25, 2023, if they access resources in VOD applications (whether it is a default application or a newly created application), must fill in this field as the application ID.
*/
public void setSubAppId(Long SubAppId) {
this.SubAppId = SubAppId;
}
public FastEditMediaRequest() {
}
/**
* 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 FastEditMediaRequest(FastEditMediaRequest source) {
if (source.FileInfos != null) {
this.FileInfos = new FastEditMediaFileInfo[source.FileInfos.length];
for (int i = 0; i < source.FileInfos.length; i++) {
this.FileInfos[i] = new FastEditMediaFileInfo(source.FileInfos[i]);
}
}
if (source.ClipMode != null) {
this.ClipMode = new String(source.ClipMode);
}
if (source.SubAppId != null) {
this.SubAppId = new Long(source.SubAppId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamArrayObj(map, prefix + "FileInfos.", this.FileInfos);
this.setParamSimple(map, prefix + "ClipMode", this.ClipMode);
this.setParamSimple(map, prefix + "SubAppId", this.SubAppId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy