public class ModifyMediaInfoRequest extends AbstractModel
Constructor and Description |
---|
ModifyMediaInfoRequest() |
ModifyMediaInfoRequest(ModifyMediaInfoRequest 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 |
---|---|
MediaKeyFrameDescItem[] |
getAddKeyFrameDescs()
Get Set of video timestamps to be added.
|
MediaSubtitleInput[] |
getAddSubtitles()
Get Information of multiple subtitles to be added.
|
String[] |
getAddTags()
Get Set of tags to be added.
|
Long |
getClassId()
Get Media file category ID.
|
Long |
getClearKeyFrameDescs()
Get The value `1` indicates to delete all timestamps in the video.
|
Long |
getClearSubtitles()
Get The value `1` indicates to delete all subtitle information of the media file.
|
Long |
getClearTags()
Get The value `1` indicates to delete all tags of the media file.
|
String |
getCoverData()
Get String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the video cover image file (such as .jpeg or .png file).
|
Float[] |
getDeleteKeyFrameDescs()
Get Time offset of the set of video timestamps to be deleted in seconds.
|
String[] |
getDeleteSubtitleIds()
Get Unique IDs of the subtitles to be deleted.
|
String[] |
getDeleteTags()
Get Set of tags to be deleted.
|
String |
getDescription()
Get Media file description, which can contain up to 128 characters.
|
String |
getExpireTime()
Get Media file expiration time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
String |
getFileId()
Get Unique media file ID.
|
String |
getName()
Get Media filename, which can contain up to 64 characters.
|
Long |
getSubAppId()
Get [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
void |
setAddKeyFrameDescs(MediaKeyFrameDescItem[] AddKeyFrameDescs)
Set Set of video timestamps to be added.
|
void |
setAddSubtitles(MediaSubtitleInput[] AddSubtitles)
Set Information of multiple subtitles to be added.
|
void |
setAddTags(String[] AddTags)
Set Set of tags to be added.
|
void |
setClassId(Long ClassId)
Set Media file category ID.
|
void |
setClearKeyFrameDescs(Long ClearKeyFrameDescs)
Set The value `1` indicates to delete all timestamps in the video.
|
void |
setClearSubtitles(Long ClearSubtitles)
Set The value `1` indicates to delete all subtitle information of the media file.
|
void |
setClearTags(Long ClearTags)
Set The value `1` indicates to delete all tags of the media file.
|
void |
setCoverData(String CoverData)
Set String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the video cover image file (such as .jpeg or .png file).
|
void |
setDeleteKeyFrameDescs(Float[] DeleteKeyFrameDescs)
Set Time offset of the set of video timestamps to be deleted in seconds.
|
void |
setDeleteSubtitleIds(String[] DeleteSubtitleIds)
Set Unique IDs of the subtitles to be deleted.
|
void |
setDeleteTags(String[] DeleteTags)
Set Set of tags to be deleted.
|
void |
setDescription(String Description)
Set Media file description, which can contain up to 128 characters.
|
void |
setExpireTime(String ExpireTime)
Set Media file expiration time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setFileId(String FileId)
Set Unique media file ID.
|
void |
setName(String Name)
Set Media filename, which can contain up to 64 characters.
|
void |
setSubAppId(Long SubAppId)
Set [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyMediaInfoRequest()
public ModifyMediaInfoRequest(ModifyMediaInfoRequest source)
public String getFileId()
public void setFileId(String FileId)
FileId
- Unique media file ID.public String getName()
public void setName(String Name)
Name
- Media filename, which can contain up to 64 characters.public String getDescription()
public void setDescription(String Description)
Description
- Media file description, which can contain up to 128 characters.public Long getClassId()
public void setClassId(Long ClassId)
ClassId
- Media file category ID.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime
- Media file expiration time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The value `9999-12-31T23:59:59Z` indicates that the media file never expires. After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted.public String getCoverData()
public void setCoverData(String CoverData)
CoverData
- String generated by [Base64-encoding](https://tools.ietf.org/html/rfc4648) the video cover image file (such as .jpeg or .png file). Only .gif, .jpeg, and .png image formats are supported.public MediaKeyFrameDescItem[] getAddKeyFrameDescs()
public void setAddKeyFrameDescs(MediaKeyFrameDescItem[] AddKeyFrameDescs)
AddKeyFrameDescs
- Set of video timestamps to be added. If a timestamp already exists at an offset time point, it will be overwritten. Up to 100 timestamps can be added to one media file. In the same request, the time offset parameters of `AddKeyFrameDescs` must be different from those of `DeleteKeyFrameDescs`.public Float[] getDeleteKeyFrameDescs()
public void setDeleteKeyFrameDescs(Float[] DeleteKeyFrameDescs)
DeleteKeyFrameDescs
- Time offset of the set of video timestamps to be deleted in seconds. In the same request, the time offset parameters of `AddKeyFrameDescs` must be different from those of `DeleteKeyFrameDescs`.public Long getClearKeyFrameDescs()
public void setClearKeyFrameDescs(Long ClearKeyFrameDescs)
ClearKeyFrameDescs
- The value `1` indicates to delete all timestamps in the video. Other values are meaningless.
In the same request, `ClearKeyFrameDescs` and `AddKeyFrameDescs` cannot be present at the same time.public String[] getAddTags()
public void setAddTags(String[] AddTags)
AddTags
- Set of tags to be added. Up to 16 tags can be added to one media file, and one tag can contain up to 16 characters. In the same request, the parameters of `AddTags` must be different from those of `DeleteTags`.public String[] getDeleteTags()
public void setDeleteTags(String[] DeleteTags)
DeleteTags
- Set of tags to be deleted. In the same request, the parameters of `AddTags` must be different from those of `DeleteTags`.public Long getClearTags()
public void setClearTags(Long ClearTags)
ClearTags
- The value `1` indicates to delete all tags of the media file. Other values are meaningless.
In the same request, `ClearTags` and `AddTags` cannot be present at the same time.public MediaSubtitleInput[] getAddSubtitles()
public void setAddSubtitles(MediaSubtitleInput[] AddSubtitles)
AddSubtitles
- Information of multiple subtitles to be added. A single media file can have up to 16 subtitles. In the same request, the subtitle IDs specified in `AddSubtitles` must be different from those in `DeleteSubtitleIds`.public String[] getDeleteSubtitleIds()
public void setDeleteSubtitleIds(String[] DeleteSubtitleIds)
DeleteSubtitleIds
- Unique IDs of the subtitles to be deleted. In the same request, the subtitle IDs specified in `AddSubtitles` must be different from those in `DeleteSubtitleIds`.public Long getClearSubtitles()
public void setClearSubtitles(Long ClearSubtitles)
ClearSubtitles
- The value `1` indicates to delete all subtitle information of the media file. Other values are meaningless.
`ClearSubtitles` and `AddSubtitles` cannot co-exist in the same request.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.Copyright © 2022. All rights reserved.