public class CreateScreenshotTaskRequest extends AbstractModel
Constructor and Description |
---|
CreateScreenshotTaskRequest() |
CreateScreenshotTaskRequest(CreateScreenshotTaskRequest 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 |
getAppName()
Get The push path.
|
String |
getDomainName()
Get The push domain.
|
Long |
getEndTime()
Get The task end time, which must be a Unix timestamp and later than `StartTime` and the current time.
|
String |
getExtension()
Get An extension field, which is not defined currently and is empty by default.
|
Long |
getStartTime()
Get The task start time, which must be a Unix timestamp and cannot be later than six days from the current time.
|
String |
getStreamName()
Get The stream name.
|
Long |
getStreamType()
Get The publishing type.
|
Long |
getTemplateId()
Get The ID of the screencapturing template, which is returned by `CreateLiveSnapshotTemplate`.
|
void |
setAppName(String AppName)
Set The push path.
|
void |
setDomainName(String DomainName)
Set The push domain.
|
void |
setEndTime(Long EndTime)
Set The task end time, which must be a Unix timestamp and later than `StartTime` and the current time.
|
void |
setExtension(String Extension)
Set An extension field, which is not defined currently and is empty by default.
|
void |
setStartTime(Long StartTime)
Set The task start time, which must be a Unix timestamp and cannot be later than six days from the current time.
|
void |
setStreamName(String StreamName)
Set The stream name.
|
void |
setStreamType(Long StreamType)
Set The publishing type.
|
void |
setTemplateId(Long TemplateId)
Set The ID of the screencapturing template, which is returned by `CreateLiveSnapshotTemplate`.
|
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 CreateScreenshotTaskRequest()
public CreateScreenshotTaskRequest(CreateScreenshotTaskRequest source)
public String getStreamName()
public void setStreamName(String StreamName)
StreamName
- The stream name.public String getDomainName()
public void setDomainName(String DomainName)
DomainName
- The push domain.public String getAppName()
public void setAppName(String AppName)
AppName
- The push path.public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- The task end time, which must be a Unix timestamp and later than `StartTime` and the current time. The end time and start time cannot be more than 24 hours apart.public Long getTemplateId()
public void setTemplateId(Long TemplateId)
TemplateId
- The ID of the screencapturing template, which is returned by `CreateLiveSnapshotTemplate`. If an incorrect template ID is passed in, the screencapturing task will fail.public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- The task start time, which must be a Unix timestamp and cannot be later than six days from the current time. If you do not specify this parameter, the task will start immediately.public Long getStreamType()
public void setStreamType(Long StreamType)
StreamType
- The publishing type. Valid values:
`0` (default): Live stream
`1`: Mixed streampublic String getExtension()
public void setExtension(String Extension)
Extension
- An extension field, which is not defined currently and is empty by default.Copyright © 2023. All rights reserved.