public class SimpleHlsClipRequest extends AbstractModel
| 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 |
|---|---|
Float |
getEndTimeOffset()
Get End offset time of clipping in seconds.
|
Long |
getIsPersistence()
Get Whether to store the video clip persistently.
|
Float |
getStartTimeOffset()
Get Start offset time of clipping in seconds.
|
Long |
getSubAppId()
Get [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
String |
getUrl()
Get URL of the HLS video in VOD that needs to be clipped.
|
void |
setEndTimeOffset(Float EndTimeOffset)
Set End offset time of clipping in seconds.
|
void |
setIsPersistence(Long IsPersistence)
Set Whether to store the video clip persistently.
|
void |
setStartTimeOffset(Float StartTimeOffset)
Set Start offset time of clipping in seconds.
|
void |
setSubAppId(Long SubAppId)
Set [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic 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 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 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 © 2021. All rights reserved.