public class SplitMediaOutputConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
SplitMediaOutputConfig() |
SplitMediaOutputConfig(SplitMediaOutputConfig 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 |
---|---|
Long |
getClassId()
Get Category ID, which is used to categorize the media file for management.
|
String |
getExpireTime()
Get Expiration time of an output file.
|
String |
getMediaName()
Get Name of an output file.
|
String |
getType()
Get Output file format.
|
void |
setClassId(Long ClassId)
Set Category ID, which is used to categorize the media file for management.
|
void |
setExpireTime(String ExpireTime)
Set Expiration time of an output file.
|
void |
setMediaName(String MediaName)
Set Name of an output file.
|
void |
setType(String Type)
Set Output file format.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SplitMediaOutputConfig()
public SplitMediaOutputConfig(SplitMediaOutputConfig source)
public String getMediaName()
public void setMediaName(String MediaName)
MediaName
- Name of an output file. This parameter can contain up to 64 characters, and will be generated by the system if it is left empty.public String getType()
public void setType(String Type)
Type
- Output file format. Valid values: mp4 (default), hls.public Long getClassId()
public void setClassId(Long ClassId)
ClassId
- Category ID, which is used to categorize the media file for management. You can use [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
- Expiration time of an output file. After passing the expiration time, the file will be deleted. There is no expiration time set for a file by default. The time is in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).Copyright © 2024. All rights reserved.