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

com.aliyun.ice20201109.models.ListLiveTranscodeTemplatesResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;

import com.aliyun.tea.*;

public class ListLiveTranscodeTemplatesResponseBody extends TeaModel {
    /**
     * 

The request ID.

* * example: *

3B-0E1A-586A-AC29-742247

*/ @NameInMap("RequestId") public String requestId; /** *

The list of transcoding templates.

*/ @NameInMap("TemplateContentList") public java.util.List templateContentList; /** *

The total number of entries returned.

* * example: *

100

*/ @NameInMap("TotalCount") public Integer totalCount; public static ListLiveTranscodeTemplatesResponseBody build(java.util.Map map) throws Exception { ListLiveTranscodeTemplatesResponseBody self = new ListLiveTranscodeTemplatesResponseBody(); return TeaModel.build(map, self); } public ListLiveTranscodeTemplatesResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ListLiveTranscodeTemplatesResponseBody setTemplateContentList(java.util.List templateContentList) { this.templateContentList = templateContentList; return this; } public java.util.List getTemplateContentList() { return this.templateContentList; } public ListLiveTranscodeTemplatesResponseBody setTotalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Integer getTotalCount() { return this.totalCount; } public static class ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams extends TeaModel { /** *

The audio bitrate.

* * example: *

1000

*/ @NameInMap("Bitrate") public String bitrate; /** *

The number of sound channels.

* * example: *

2

*/ @NameInMap("Channels") public String channels; /** *

The audio codec.

* * example: *

AAC

*/ @NameInMap("Codec") public String codec; /** *

The encoding profile.

* * example: *

aac_low

*/ @NameInMap("Profile") public String profile; /** *

The audio sampling rate.

* * example: *

44100

*/ @NameInMap("Samplerate") public String samplerate; public static ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams build(java.util.Map map) throws Exception { ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams self = new ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams(); return TeaModel.build(map, self); } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams setBitrate(String bitrate) { this.bitrate = bitrate; return this; } public String getBitrate() { return this.bitrate; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams setChannels(String channels) { this.channels = channels; return this; } public String getChannels() { return this.channels; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams setCodec(String codec) { this.codec = codec; return this; } public String getCodec() { return this.codec; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams setProfile(String profile) { this.profile = profile; return this; } public String getProfile() { return this.profile; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams setSamplerate(String samplerate) { this.samplerate = samplerate; return this; } public String getSamplerate() { return this.samplerate; } } public static class ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams extends TeaModel { /** *

The video bitrate.

* * example: *

2500

*/ @NameInMap("Bitrate") public String bitrate; /** *

The encoding format.

* * example: *

264

*/ @NameInMap("Codec") public String codec; /** *

The video frame rate.

* * example: *

30

*/ @NameInMap("Fps") public String fps; /** *

The group of pictures (GOP) of the output video. Unit: frame.

* * example: *

1000

*/ @NameInMap("Gop") public String gop; /** *

The vertical resolution of the video.

* * example: *

1280

*/ @NameInMap("Height") public String height; /** *

The encoding profile.

* * example: *

3

*/ @NameInMap("Profile") public String profile; /** *

The horizontal resolution of the video.

* * example: *

720

*/ @NameInMap("Width") public String width; public static ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams build(java.util.Map map) throws Exception { ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams self = new ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams(); return TeaModel.build(map, self); } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams setBitrate(String bitrate) { this.bitrate = bitrate; return this; } public String getBitrate() { return this.bitrate; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams setCodec(String codec) { this.codec = codec; return this; } public String getCodec() { return this.codec; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams setFps(String fps) { this.fps = fps; return this; } public String getFps() { return this.fps; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams setGop(String gop) { this.gop = gop; return this; } public String getGop() { return this.gop; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams setHeight(String height) { this.height = height; return this; } public String getHeight() { return this.height; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams setProfile(String profile) { this.profile = profile; return this; } public String getProfile() { return this.profile; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams setWidth(String width) { this.width = width; return this; } public String getWidth() { return this.width; } } public static class ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfig extends TeaModel { /** *

The audio parameters.

*/ @NameInMap("AudioParams") public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams audioParams; /** *

The video parameters.

*/ @NameInMap("VideoParams") public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams videoParams; public static ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfig build(java.util.Map map) throws Exception { ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfig self = new ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfig(); return TeaModel.build(map, self); } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfig setAudioParams(ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams audioParams) { this.audioParams = audioParams; return this; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigAudioParams getAudioParams() { return this.audioParams; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfig setVideoParams(ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams videoParams) { this.videoParams = videoParams; return this; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfigVideoParams getVideoParams() { return this.videoParams; } } public static class ListLiveTranscodeTemplatesResponseBodyTemplateContentList extends TeaModel { /** *

The category of the template. Valid values:

* * example: *

system

*/ @NameInMap("Category") public String category; /** *

The time when the job was created.

* * example: *

2022-07-20T03:26:36Z

*/ @NameInMap("CreateTime") public String createTime; /** *

The template name.

* * example: *

my_template

*/ @NameInMap("Name") public String name; /** *

The configuration of the template.

*/ @NameInMap("TemplateConfig") public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfig templateConfig; /** *

The template ID.

* * example: *

9b1571b513cb44f7a1ba6ae561ff46f7

*/ @NameInMap("TemplateId") public String templateId; /** *

The type of the template.

* * example: *

normal

*/ @NameInMap("Type") public String type; public static ListLiveTranscodeTemplatesResponseBodyTemplateContentList build(java.util.Map map) throws Exception { ListLiveTranscodeTemplatesResponseBodyTemplateContentList self = new ListLiveTranscodeTemplatesResponseBodyTemplateContentList(); return TeaModel.build(map, self); } public ListLiveTranscodeTemplatesResponseBodyTemplateContentList setCategory(String category) { this.category = category; return this; } public String getCategory() { return this.category; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentList setCreateTime(String createTime) { this.createTime = createTime; return this; } public String getCreateTime() { return this.createTime; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentList setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentList setTemplateConfig(ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfig templateConfig) { this.templateConfig = templateConfig; return this; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentListTemplateConfig getTemplateConfig() { return this.templateConfig; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentList setTemplateId(String templateId) { this.templateId = templateId; return this; } public String getTemplateId() { return this.templateId; } public ListLiveTranscodeTemplatesResponseBodyTemplateContentList setType(String type) { this.type = type; return this; } public String getType() { return this.type; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy