![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.live.v20180801.models.TranscodeTotalInfo 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.live.v20180801.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 TranscodeTotalInfo extends AbstractModel {
/**
* Usage time (Beijing time)
Example: 2019-03-01 00:00:00
*/
@SerializedName("Time")
@Expose
private String Time;
/**
* Transcoding duration in minutes
*/
@SerializedName("Duration")
@Expose
private Long Duration;
/**
* Codec, with modules
Examples:
`liveprocessor_H264`: live transcoding-H264
`liveprocessor_H265`: live transcoding-H265
`topspeed_H264`: top speed codec-H264
`topspeed_H265`: top speed codec-H265
*/
@SerializedName("ModuleCodec")
@Expose
private String ModuleCodec;
/**
* Resolution
Example: 540*480
*/
@SerializedName("Resolution")
@Expose
private String Resolution;
/**
* Get Usage time (Beijing time)
Example: 2019-03-01 00:00:00
* @return Time Usage time (Beijing time)
Example: 2019-03-01 00:00:00
*/
public String getTime() {
return this.Time;
}
/**
* Set Usage time (Beijing time)
Example: 2019-03-01 00:00:00
* @param Time Usage time (Beijing time)
Example: 2019-03-01 00:00:00
*/
public void setTime(String Time) {
this.Time = Time;
}
/**
* Get Transcoding duration in minutes
* @return Duration Transcoding duration in minutes
*/
public Long getDuration() {
return this.Duration;
}
/**
* Set Transcoding duration in minutes
* @param Duration Transcoding duration in minutes
*/
public void setDuration(Long Duration) {
this.Duration = Duration;
}
/**
* Get Codec, with modules
Examples:
`liveprocessor_H264`: live transcoding-H264
`liveprocessor_H265`: live transcoding-H265
`topspeed_H264`: top speed codec-H264
`topspeed_H265`: top speed codec-H265
* @return ModuleCodec Codec, with modules
Examples:
`liveprocessor_H264`: live transcoding-H264
`liveprocessor_H265`: live transcoding-H265
`topspeed_H264`: top speed codec-H264
`topspeed_H265`: top speed codec-H265
*/
public String getModuleCodec() {
return this.ModuleCodec;
}
/**
* Set Codec, with modules
Examples:
`liveprocessor_H264`: live transcoding-H264
`liveprocessor_H265`: live transcoding-H265
`topspeed_H264`: top speed codec-H264
`topspeed_H265`: top speed codec-H265
* @param ModuleCodec Codec, with modules
Examples:
`liveprocessor_H264`: live transcoding-H264
`liveprocessor_H265`: live transcoding-H265
`topspeed_H264`: top speed codec-H264
`topspeed_H265`: top speed codec-H265
*/
public void setModuleCodec(String ModuleCodec) {
this.ModuleCodec = ModuleCodec;
}
/**
* Get Resolution
Example: 540*480
* @return Resolution Resolution
Example: 540*480
*/
public String getResolution() {
return this.Resolution;
}
/**
* Set Resolution
Example: 540*480
* @param Resolution Resolution
Example: 540*480
*/
public void setResolution(String Resolution) {
this.Resolution = Resolution;
}
public TranscodeTotalInfo() {
}
/**
* 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 TranscodeTotalInfo(TranscodeTotalInfo source) {
if (source.Time != null) {
this.Time = new String(source.Time);
}
if (source.Duration != null) {
this.Duration = new Long(source.Duration);
}
if (source.ModuleCodec != null) {
this.ModuleCodec = new String(source.ModuleCodec);
}
if (source.Resolution != null) {
this.Resolution = new String(source.Resolution);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Time", this.Time);
this.setParamSimple(map, prefix + "Duration", this.Duration);
this.setParamSimple(map, prefix + "ModuleCodec", this.ModuleCodec);
this.setParamSimple(map, prefix + "Resolution", this.Resolution);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy