public class RebuildMediaTargetInfo extends AbstractModel
skipSign
Constructor and Description |
---|
RebuildMediaTargetInfo() |
RebuildMediaTargetInfo(RebuildMediaTargetInfo source)
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.
|
Modifier and Type | Method and Description |
---|---|
RebuildMediaTargetAudioStream |
getAudioStream()
Get The output audio parameters.
|
Long |
getClassId()
Get The ID of the file’s category.
|
String |
getContainer()
Get The output container format.
|
String |
getDescription()
Get The description (up to 128 characters).
|
String |
getExpireTime()
Get The expiration time of the output file, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
|
String |
getMediaName()
Get The filename.
|
Long |
getRemoveAudio()
Get Whether to remove audio data.
|
Long |
getRemoveVideo()
Get Whether to remove video data.
|
RebuildMediaTargetVideoStream |
getVideoStream()
Get The output video parameters.
|
void |
setAudioStream(RebuildMediaTargetAudioStream AudioStream)
Set The output audio parameters.
|
void |
setClassId(Long ClassId)
Set The ID of the file’s category.
|
void |
setContainer(String Container)
Set The output container format.
|
void |
setDescription(String Description)
Set The description (up to 128 characters).
|
void |
setExpireTime(String ExpireTime)
Set The expiration time of the output file, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
|
void |
setMediaName(String MediaName)
Set The filename.
|
void |
setRemoveAudio(Long RemoveAudio)
Set Whether to remove audio data.
|
void |
setRemoveVideo(Long RemoveVideo)
Set Whether to remove video data.
|
void |
setVideoStream(RebuildMediaTargetVideoStream VideoStream)
Set The output video parameters.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RebuildMediaTargetInfo()
public RebuildMediaTargetInfo(RebuildMediaTargetInfo source)
public String getMediaName()
public void setMediaName(String MediaName)
MediaName
- The filename. This parameter can contain up to 64 characters, and will be generated by the system if it is left empty.public String getDescription()
public void setDescription(String Description)
Description
- The description (up to 128 characters). If you do not specify this, the description will be empty.public Long getClassId()
public void setClassId(Long ClassId)
ClassId
- The ID of the file’s category. You can use the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API to create a category and get the category ID.
public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime
- The expiration time of the output file, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=). The file will be deleted after the specified expiration time. By default, the file will never expire.public String getContainer()
public void setContainer(String Container)
Container
- The output container format. Valid values: `mp4` (default), `flv`, `hls`.public RebuildMediaTargetVideoStream getVideoStream()
public void setVideoStream(RebuildMediaTargetVideoStream VideoStream)
VideoStream
- The output video parameters.public RebuildMediaTargetAudioStream getAudioStream()
public void setAudioStream(RebuildMediaTargetAudioStream AudioStream)
AudioStream
- The output audio parameters.public Long getRemoveVideo()
public void setRemoveVideo(Long RemoveVideo)
RemoveVideo
- Whether to remove video data. Valid values:
public Long getRemoveAudio()
public void setRemoveAudio(Long RemoveAudio)
RemoveAudio
- Whether to remove audio data. Valid values:
Copyright © 2023. All rights reserved.