com.tencentcloudapi.vod.v20180717.models.RebuildMediaTaskInput 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class RebuildMediaTaskInput extends AbstractModel {
/**
* The file ID.
*/
@SerializedName("FileId")
@Expose
private String FileId;
/**
* The start offset (seconds). If you do not specify this, the segment will start from the beginning of the video.
*/
@SerializedName("StartTimeOffset")
@Expose
private Float StartTimeOffset;
/**
* The end offset (seconds). If you do not specify this, the segment will end at the end of the video.
*/
@SerializedName("EndTimeOffset")
@Expose
private Float EndTimeOffset;
/**
* The ID of the remaster template.
*/
@SerializedName("Definition")
@Expose
private Long Definition;
/**
* The video quality remastering parameters.
*/
@SerializedName("RepairInfo")
@Expose
private RepairInfo RepairInfo;
/**
* The smart frame interpolation parameters.
*/
@SerializedName("VideoFrameInterpolationInfo")
@Expose
private VideoFrameInterpolationInfo VideoFrameInterpolationInfo;
/**
* The super resolution parameters.
*/
@SerializedName("SuperResolutionInfo")
@Expose
private SuperResolutionInfo SuperResolutionInfo;
/**
* The high dynamic range (HDR) parameters.
*/
@SerializedName("HDRInfo")
@Expose
private HDRInfo HDRInfo;
/**
* The image noise removal parameters.
*/
@SerializedName("VideoDenoiseInfo")
@Expose
private VideoDenoiseInfo VideoDenoiseInfo;
/**
* The noise removal parameters.
*/
@SerializedName("AudioDenoiseInfo")
@Expose
private AudioDenoiseInfo AudioDenoiseInfo;
/**
* The color enhancement parameters.
*/
@SerializedName("ColorInfo")
@Expose
private ColorEnhanceInfo ColorInfo;
/**
* The detail enhancement parameters.
*/
@SerializedName("SharpInfo")
@Expose
private SharpEnhanceInfo SharpInfo;
/**
* The face enhancement parameters.
*/
@SerializedName("FaceInfo")
@Expose
private FaceEnhanceInfo FaceInfo;
/**
* The low-light enhancement parameters.
*/
@SerializedName("LowLightInfo")
@Expose
private LowLightEnhanceInfo LowLightInfo;
/**
* The banding removal parameters.
*/
@SerializedName("ScratchRepairInfo")
@Expose
private ScratchRepairInfo ScratchRepairInfo;
/**
* The artifact removal (smoothing) parameters.
*/
@SerializedName("ArtifactRepairInfo")
@Expose
private ArtifactRepairInfo ArtifactRepairInfo;
/**
* The output parameters of the file.
*/
@SerializedName("TargetInfo")
@Expose
private RebuildMediaTargetInfo TargetInfo;
/**
* Get The file ID.
* @return FileId The file ID.
*/
public String getFileId() {
return this.FileId;
}
/**
* Set The file ID.
* @param FileId The file ID.
*/
public void setFileId(String FileId) {
this.FileId = FileId;
}
/**
* Get The start offset (seconds). If you do not specify this, the segment will start from the beginning of the video.
* @return StartTimeOffset The start offset (seconds). If you do not specify this, the segment will start from the beginning of the video.
*/
public Float getStartTimeOffset() {
return this.StartTimeOffset;
}
/**
* Set The start offset (seconds). If you do not specify this, the segment will start from the beginning of the video.
* @param StartTimeOffset The start offset (seconds). If you do not specify this, the segment will start from the beginning of the video.
*/
public void setStartTimeOffset(Float StartTimeOffset) {
this.StartTimeOffset = StartTimeOffset;
}
/**
* Get The end offset (seconds). If you do not specify this, the segment will end at the end of the video.
* @return EndTimeOffset The end offset (seconds). If you do not specify this, the segment will end at the end of the video.
*/
public Float getEndTimeOffset() {
return this.EndTimeOffset;
}
/**
* Set The end offset (seconds). If you do not specify this, the segment will end at the end of the video.
* @param EndTimeOffset The end offset (seconds). If you do not specify this, the segment will end at the end of the video.
*/
public void setEndTimeOffset(Float EndTimeOffset) {
this.EndTimeOffset = EndTimeOffset;
}
/**
* Get The ID of the remaster template.
* @return Definition The ID of the remaster template.
*/
public Long getDefinition() {
return this.Definition;
}
/**
* Set The ID of the remaster template.
* @param Definition The ID of the remaster template.
*/
public void setDefinition(Long Definition) {
this.Definition = Definition;
}
/**
* Get The video quality remastering parameters.
* @return RepairInfo The video quality remastering parameters.
*/
public RepairInfo getRepairInfo() {
return this.RepairInfo;
}
/**
* Set The video quality remastering parameters.
* @param RepairInfo The video quality remastering parameters.
*/
public void setRepairInfo(RepairInfo RepairInfo) {
this.RepairInfo = RepairInfo;
}
/**
* Get The smart frame interpolation parameters.
* @return VideoFrameInterpolationInfo The smart frame interpolation parameters.
*/
public VideoFrameInterpolationInfo getVideoFrameInterpolationInfo() {
return this.VideoFrameInterpolationInfo;
}
/**
* Set The smart frame interpolation parameters.
* @param VideoFrameInterpolationInfo The smart frame interpolation parameters.
*/
public void setVideoFrameInterpolationInfo(VideoFrameInterpolationInfo VideoFrameInterpolationInfo) {
this.VideoFrameInterpolationInfo = VideoFrameInterpolationInfo;
}
/**
* Get The super resolution parameters.
* @return SuperResolutionInfo The super resolution parameters.
*/
public SuperResolutionInfo getSuperResolutionInfo() {
return this.SuperResolutionInfo;
}
/**
* Set The super resolution parameters.
* @param SuperResolutionInfo The super resolution parameters.
*/
public void setSuperResolutionInfo(SuperResolutionInfo SuperResolutionInfo) {
this.SuperResolutionInfo = SuperResolutionInfo;
}
/**
* Get The high dynamic range (HDR) parameters.
* @return HDRInfo The high dynamic range (HDR) parameters.
*/
public HDRInfo getHDRInfo() {
return this.HDRInfo;
}
/**
* Set The high dynamic range (HDR) parameters.
* @param HDRInfo The high dynamic range (HDR) parameters.
*/
public void setHDRInfo(HDRInfo HDRInfo) {
this.HDRInfo = HDRInfo;
}
/**
* Get The image noise removal parameters.
* @return VideoDenoiseInfo The image noise removal parameters.
*/
public VideoDenoiseInfo getVideoDenoiseInfo() {
return this.VideoDenoiseInfo;
}
/**
* Set The image noise removal parameters.
* @param VideoDenoiseInfo The image noise removal parameters.
*/
public void setVideoDenoiseInfo(VideoDenoiseInfo VideoDenoiseInfo) {
this.VideoDenoiseInfo = VideoDenoiseInfo;
}
/**
* Get The noise removal parameters.
* @return AudioDenoiseInfo The noise removal parameters.
*/
public AudioDenoiseInfo getAudioDenoiseInfo() {
return this.AudioDenoiseInfo;
}
/**
* Set The noise removal parameters.
* @param AudioDenoiseInfo The noise removal parameters.
*/
public void setAudioDenoiseInfo(AudioDenoiseInfo AudioDenoiseInfo) {
this.AudioDenoiseInfo = AudioDenoiseInfo;
}
/**
* Get The color enhancement parameters.
* @return ColorInfo The color enhancement parameters.
*/
public ColorEnhanceInfo getColorInfo() {
return this.ColorInfo;
}
/**
* Set The color enhancement parameters.
* @param ColorInfo The color enhancement parameters.
*/
public void setColorInfo(ColorEnhanceInfo ColorInfo) {
this.ColorInfo = ColorInfo;
}
/**
* Get The detail enhancement parameters.
* @return SharpInfo The detail enhancement parameters.
*/
public SharpEnhanceInfo getSharpInfo() {
return this.SharpInfo;
}
/**
* Set The detail enhancement parameters.
* @param SharpInfo The detail enhancement parameters.
*/
public void setSharpInfo(SharpEnhanceInfo SharpInfo) {
this.SharpInfo = SharpInfo;
}
/**
* Get The face enhancement parameters.
* @return FaceInfo The face enhancement parameters.
*/
public FaceEnhanceInfo getFaceInfo() {
return this.FaceInfo;
}
/**
* Set The face enhancement parameters.
* @param FaceInfo The face enhancement parameters.
*/
public void setFaceInfo(FaceEnhanceInfo FaceInfo) {
this.FaceInfo = FaceInfo;
}
/**
* Get The low-light enhancement parameters.
* @return LowLightInfo The low-light enhancement parameters.
*/
public LowLightEnhanceInfo getLowLightInfo() {
return this.LowLightInfo;
}
/**
* Set The low-light enhancement parameters.
* @param LowLightInfo The low-light enhancement parameters.
*/
public void setLowLightInfo(LowLightEnhanceInfo LowLightInfo) {
this.LowLightInfo = LowLightInfo;
}
/**
* Get The banding removal parameters.
* @return ScratchRepairInfo The banding removal parameters.
*/
public ScratchRepairInfo getScratchRepairInfo() {
return this.ScratchRepairInfo;
}
/**
* Set The banding removal parameters.
* @param ScratchRepairInfo The banding removal parameters.
*/
public void setScratchRepairInfo(ScratchRepairInfo ScratchRepairInfo) {
this.ScratchRepairInfo = ScratchRepairInfo;
}
/**
* Get The artifact removal (smoothing) parameters.
* @return ArtifactRepairInfo The artifact removal (smoothing) parameters.
*/
public ArtifactRepairInfo getArtifactRepairInfo() {
return this.ArtifactRepairInfo;
}
/**
* Set The artifact removal (smoothing) parameters.
* @param ArtifactRepairInfo The artifact removal (smoothing) parameters.
*/
public void setArtifactRepairInfo(ArtifactRepairInfo ArtifactRepairInfo) {
this.ArtifactRepairInfo = ArtifactRepairInfo;
}
/**
* Get The output parameters of the file.
* @return TargetInfo The output parameters of the file.
*/
public RebuildMediaTargetInfo getTargetInfo() {
return this.TargetInfo;
}
/**
* Set The output parameters of the file.
* @param TargetInfo The output parameters of the file.
*/
public void setTargetInfo(RebuildMediaTargetInfo TargetInfo) {
this.TargetInfo = TargetInfo;
}
public RebuildMediaTaskInput() {
}
/**
* 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 RebuildMediaTaskInput(RebuildMediaTaskInput source) {
if (source.FileId != null) {
this.FileId = new String(source.FileId);
}
if (source.StartTimeOffset != null) {
this.StartTimeOffset = new Float(source.StartTimeOffset);
}
if (source.EndTimeOffset != null) {
this.EndTimeOffset = new Float(source.EndTimeOffset);
}
if (source.Definition != null) {
this.Definition = new Long(source.Definition);
}
if (source.RepairInfo != null) {
this.RepairInfo = new RepairInfo(source.RepairInfo);
}
if (source.VideoFrameInterpolationInfo != null) {
this.VideoFrameInterpolationInfo = new VideoFrameInterpolationInfo(source.VideoFrameInterpolationInfo);
}
if (source.SuperResolutionInfo != null) {
this.SuperResolutionInfo = new SuperResolutionInfo(source.SuperResolutionInfo);
}
if (source.HDRInfo != null) {
this.HDRInfo = new HDRInfo(source.HDRInfo);
}
if (source.VideoDenoiseInfo != null) {
this.VideoDenoiseInfo = new VideoDenoiseInfo(source.VideoDenoiseInfo);
}
if (source.AudioDenoiseInfo != null) {
this.AudioDenoiseInfo = new AudioDenoiseInfo(source.AudioDenoiseInfo);
}
if (source.ColorInfo != null) {
this.ColorInfo = new ColorEnhanceInfo(source.ColorInfo);
}
if (source.SharpInfo != null) {
this.SharpInfo = new SharpEnhanceInfo(source.SharpInfo);
}
if (source.FaceInfo != null) {
this.FaceInfo = new FaceEnhanceInfo(source.FaceInfo);
}
if (source.LowLightInfo != null) {
this.LowLightInfo = new LowLightEnhanceInfo(source.LowLightInfo);
}
if (source.ScratchRepairInfo != null) {
this.ScratchRepairInfo = new ScratchRepairInfo(source.ScratchRepairInfo);
}
if (source.ArtifactRepairInfo != null) {
this.ArtifactRepairInfo = new ArtifactRepairInfo(source.ArtifactRepairInfo);
}
if (source.TargetInfo != null) {
this.TargetInfo = new RebuildMediaTargetInfo(source.TargetInfo);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "FileId", this.FileId);
this.setParamSimple(map, prefix + "StartTimeOffset", this.StartTimeOffset);
this.setParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset);
this.setParamSimple(map, prefix + "Definition", this.Definition);
this.setParamObj(map, prefix + "RepairInfo.", this.RepairInfo);
this.setParamObj(map, prefix + "VideoFrameInterpolationInfo.", this.VideoFrameInterpolationInfo);
this.setParamObj(map, prefix + "SuperResolutionInfo.", this.SuperResolutionInfo);
this.setParamObj(map, prefix + "HDRInfo.", this.HDRInfo);
this.setParamObj(map, prefix + "VideoDenoiseInfo.", this.VideoDenoiseInfo);
this.setParamObj(map, prefix + "AudioDenoiseInfo.", this.AudioDenoiseInfo);
this.setParamObj(map, prefix + "ColorInfo.", this.ColorInfo);
this.setParamObj(map, prefix + "SharpInfo.", this.SharpInfo);
this.setParamObj(map, prefix + "FaceInfo.", this.FaceInfo);
this.setParamObj(map, prefix + "LowLightInfo.", this.LowLightInfo);
this.setParamObj(map, prefix + "ScratchRepairInfo.", this.ScratchRepairInfo);
this.setParamObj(map, prefix + "ArtifactRepairInfo.", this.ArtifactRepairInfo);
this.setParamObj(map, prefix + "TargetInfo.", this.TargetInfo);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy