public class SimpleHlsClipRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
SimpleHlsClipRequest() |
SimpleHlsClipRequest(SimpleHlsClipRequest 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 The ID of the media file's category.
|
Float |
getEndTimeOffset()
Get End offset time of clipping in seconds.
|
String |
getExpireTime()
Get The expiration time of the video clip that is to be saved, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
Long |
getIsPersistence()
Get Whether to store the video clip persistently.
|
String |
getProcedure()
Get The task flow to execute on the video clipped for persistent storage.
|
String |
getSessionContext()
Get The session context, which is used to pass through user request information.
|
String |
getSourceContext()
Get The source context, which is used to pass through user request information.
|
Float |
getStartTimeOffset()
Get Start offset time of clipping in seconds.
|
Long |
getSubAppId()
Get The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID.
|
String |
getUrl()
Get URL of the HLS video in VOD that needs to be clipped.
|
void |
setClassId(Long ClassId)
Set The ID of the media file's category.
|
void |
setEndTimeOffset(Float EndTimeOffset)
Set End offset time of clipping in seconds.
|
void |
setExpireTime(String ExpireTime)
Set The expiration time of the video clip that is to be saved, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setIsPersistence(Long IsPersistence)
Set Whether to store the video clip persistently.
|
void |
setProcedure(String Procedure)
Set The task flow to execute on the video clipped for persistent storage.
|
void |
setSessionContext(String SessionContext)
Set The session context, which is used to pass through user request information.
|
void |
setSourceContext(String SourceContext)
Set The source context, which is used to pass through user request information.
|
void |
setStartTimeOffset(Float StartTimeOffset)
Set Start offset time of clipping in seconds.
|
void |
setSubAppId(Long SubAppId)
Set The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID.
|
void |
setUrl(String Url)
Set URL of the HLS video in VOD that needs to be clipped.
|
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 SimpleHlsClipRequest()
public SimpleHlsClipRequest(SimpleHlsClipRequest source)
public String getUrl()
public void setUrl(String Url)
Url
- URL of the HLS video in VOD that needs to be clipped.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.public Float getStartTimeOffset()
public void setStartTimeOffset(Float StartTimeOffset)
StartTimeOffset
- Start offset time of clipping in seconds. Default value: 0, which means to clip from the beginning of the video. A negative number indicates how many seconds from the end of the video clipping will start at. For example, -10 means that clipping will start at the 10th second from the end.public Float getEndTimeOffset()
public void setEndTimeOffset(Float EndTimeOffset)
EndTimeOffset
- End offset time of clipping in seconds. Default value: 0, which means to clip till the end of the video. A negative number indicates how many seconds from the end of the video clipping will end. For example, -10 means that clipping will end at the 10th second from the end.public Long getIsPersistence()
public void setIsPersistence(Long IsPersistence)
IsPersistence
- Whether to store the video clip persistently. 0: no (default), 1: yes.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime
- The expiration time of the video clip that is to be saved, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). `9999-12-31T23:59:59Z` is the default value, which means the video clip will never expire. After expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. This parameter is valid only if `IsPersistence` is 1.public String getProcedure()
public void setProcedure(String Procedure)
Procedure
- The task flow to execute on the video clipped for persistent storage. For details, see [Upload from Server](https://intl.cloud.tencent.com/document/product/266/33912). This parameter is valid only if `IsPersistence` is 1.public Long getClassId()
public void setClassId(Long ClassId)
ClassId
- The ID of the media 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 getSourceContext()
public void setSourceContext(String SourceContext)
SourceContext
- The source context, which is used to pass through user request information. The [NewFileUpload](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 250 characters and is valid only if `IsPersistence` is `1`.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The session context, which is used to pass through user request information. If the `Procedure` parameter is specified, the [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 1,000 characters and is valid only if `IsPersistence` is `1`.Copyright © 2024. All rights reserved.