public class MediaBasicInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
MediaBasicInfo() |
MediaBasicInfo(MediaBasicInfo 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 |
---|---|
String |
getCategory()
Get File type:
Video: video file
Audio: audio file
Image: image file
|
Long |
getClassId()
Get Category ID of media file.
|
String |
getClassName()
Get Category name of media file.
|
String |
getClassPath()
Get Category path to media file separated by "-", such as "new first-level category - new second-level category".
|
String |
getCoverUrl()
Get Cover image address of media file.
|
String |
getCreateTime()
Get Creation time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
String |
getDescription()
Get Media file description.
|
String |
getExpireTime()
Get Expiration time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
String |
getMediaUrl()
Get URL of source media file.
|
String |
getName()
Get Media filename.
|
MediaSourceData |
getSourceInfo()
Get Source information of media file.
|
String |
getStatus()
Get File status: Normal: normal, Forbidden: banned.
|
String |
getStorageClass()
Get Storage class of a media file:
STANDARD
STANDARD_IA
ARCHIVE
DEEP_ARCHIVE
|
String |
getStorageRegion()
Get Regions where media files are stored, such as `ap-chongqing`.
|
String[] |
getTagSet()
Get Tag information of media file.
|
String |
getType()
Get Media file container, such as mp4 and flv.
|
String |
getUpdateTime()
Get Last update time of media file (by an operation that triggers updating of media file information such as modifying video attributes or initiating video processing) in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
String |
getVid()
Get Unique ID of an LVB recording file.
|
void |
setCategory(String Category)
Set File type:
Video: video file
Audio: audio file
Image: image file
|
void |
setClassId(Long ClassId)
Set Category ID of media file.
|
void |
setClassName(String ClassName)
Set Category name of media file.
|
void |
setClassPath(String ClassPath)
Set Category path to media file separated by "-", such as "new first-level category - new second-level category".
|
void |
setCoverUrl(String CoverUrl)
Set Cover image address of media file.
|
void |
setCreateTime(String CreateTime)
Set Creation time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setDescription(String Description)
Set Media file description.
|
void |
setExpireTime(String ExpireTime)
Set Expiration time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setMediaUrl(String MediaUrl)
Set URL of source media file.
|
void |
setName(String Name)
Set Media filename.
|
void |
setSourceInfo(MediaSourceData SourceInfo)
Set Source information of media file.
|
void |
setStatus(String Status)
Set File status: Normal: normal, Forbidden: banned.
|
void |
setStorageClass(String StorageClass)
Set Storage class of a media file:
STANDARD
STANDARD_IA
ARCHIVE
DEEP_ARCHIVE
|
void |
setStorageRegion(String StorageRegion)
Set Regions where media files are stored, such as `ap-chongqing`.
|
void |
setTagSet(String[] TagSet)
Set Tag information of media file.
|
void |
setType(String Type)
Set Media file container, such as mp4 and flv.
|
void |
setUpdateTime(String UpdateTime)
Set Last update time of media file (by an operation that triggers updating of media file information such as modifying video attributes or initiating video processing) in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setVid(String Vid)
Set Unique ID of an LVB recording file.
|
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 MediaBasicInfo()
public MediaBasicInfo(MediaBasicInfo source)
public String getName()
public void setName(String Name)
Name
- Media filename.
Note: this field may return null, indicating that no valid values can be obtained.public String getDescription()
public void setDescription(String Description)
Description
- Media file description.
Note: this field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
Note: this field may return null, indicating that no valid values can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Last update time of media file (by an operation that triggers updating of media file information such as modifying video attributes or initiating video processing) in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
Note: this field may return null, indicating that no valid values can be obtained.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime
- Expiration time of media file in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. `9999-12-31T23:59:59Z` means "never expire".
Note: this field may return null, indicating that no valid values can be obtained.public Long getClassId()
public void setClassId(Long ClassId)
ClassId
- Category ID of media file.
Note: this field may return null, indicating that no valid values can be obtained.public String getClassName()
public void setClassName(String ClassName)
ClassName
- Category name of media file.
Note: this field may return null, indicating that no valid values can be obtained.public String getClassPath()
public void setClassPath(String ClassPath)
ClassPath
- Category path to media file separated by "-", such as "new first-level category - new second-level category".
Note: this field may return null, indicating that no valid values can be obtained.public String getCoverUrl()
public void setCoverUrl(String CoverUrl)
CoverUrl
- Cover image address of media file.
Note: this field may return null, indicating that no valid values can be obtained.public String getType()
public void setType(String Type)
Type
- Media file container, such as mp4 and flv.
Note: this field may return null, indicating that no valid values can be obtained.public String getMediaUrl()
public void setMediaUrl(String MediaUrl)
MediaUrl
- URL of source media file.
Note: this field may return null, indicating that no valid values can be obtained.public MediaSourceData getSourceInfo()
public void setSourceInfo(MediaSourceData SourceInfo)
SourceInfo
- Source information of media file.
Note: this field may return null, indicating that no valid values can be obtained.public String getStorageRegion()
public void setStorageRegion(String StorageRegion)
StorageRegion
- Regions where media files are stored, such as `ap-chongqing`. For more regions, see [Storage Region](https://intl.cloud.tencent.com/document/product/266/9760).public String[] getTagSet()
public void setTagSet(String[] TagSet)
TagSet
- Tag information of media file.
Note: this field may return null, indicating that no valid values can be obtained.public String getVid()
public void setVid(String Vid)
Vid
- Unique ID of an LVB recording file.public String getCategory()
public void setCategory(String Category)
Category
- File type:
public String getStatus()
public void setStatus(String Status)
Status
- File status: Normal: normal, Forbidden: banned.public String getStorageClass()
public void setStorageClass(String StorageClass)
StorageClass
- Storage class of a media file:
Copyright © 2024. All rights reserved.