public class CreateLiveTimeShiftTemplateRequest extends AbstractModel
Constructor and Description |
---|
CreateLiveTimeShiftTemplateRequest() |
CreateLiveTimeShiftTemplateRequest(CreateLiveTimeShiftTemplateRequest 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 |
getArea()
Get The region.
|
String |
getDescription()
Get The template description.
|
Long |
getDuration()
Get The time shifting duration.
|
Long |
getItemDuration()
Get The segment size.
|
Boolean |
getRemoveWatermark()
Get Whether to remove watermarks.
|
String |
getTemplateName()
Get The template name.
|
Long[] |
getTranscodeTemplateIds()
Get The transcoding template IDs.
|
void |
setArea(String Area)
Set The region.
|
void |
setDescription(String Description)
Set The template description.
|
void |
setDuration(Long Duration)
Set The time shifting duration.
|
void |
setItemDuration(Long ItemDuration)
Set The segment size.
|
void |
setRemoveWatermark(Boolean RemoveWatermark)
Set Whether to remove watermarks.
|
void |
setTemplateName(String TemplateName)
Set The template name.
|
void |
setTranscodeTemplateIds(Long[] TranscodeTemplateIds)
Set The transcoding template IDs.
|
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 CreateLiveTimeShiftTemplateRequest()
public CreateLiveTimeShiftTemplateRequest(CreateLiveTimeShiftTemplateRequest source)
public String getTemplateName()
public void setTemplateName(String TemplateName)
TemplateName
- The template name.
Maximum length: 255 bytes.
Only letters, numbers, underscores, and hyphens are supported.public Long getDuration()
public void setDuration(Long Duration)
Duration
- The time shifting duration.
Unit: Second.public String getDescription()
public void setDescription(String Description)
Description
- The template description.
Only letters, numbers, underscores, and hyphens are supported.public String getArea()
public void setArea(String Area)
Area
- The region.
`Mainland`: The Chinese mainland.
`Overseas`: Outside the Chinese mainland.
Default value: `Mainland`.public Long getItemDuration()
public void setItemDuration(Long ItemDuration)
ItemDuration
- The segment size.
Value range: 3-10.
Unit: Second.
Default value: 5public Boolean getRemoveWatermark()
public void setRemoveWatermark(Boolean RemoveWatermark)
RemoveWatermark
- Whether to remove watermarks.
If you pass in `true`, the original stream will be recorded.
Default value: `false`.public Long[] getTranscodeTemplateIds()
public void setTranscodeTemplateIds(Long[] TranscodeTemplateIds)
TranscodeTemplateIds
- The transcoding template IDs.
This API works only if `RemoveWatermark` is `false`.Copyright © 2023. All rights reserved.