public class SimpleHlsClipRequest extends AbstractModel
Constructor and Description |
---|
SimpleHlsClipRequest() |
Modifier and Type | Method and Description |
---|---|
Float |
getEndTimeOffset()
Get End offset time of clipping in seconds.
|
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 |
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, toJsonString
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 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 © 2020. All rights reserved.