public class ParseNotificationResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
ParseNotificationResponse() |
ParseNotificationResponse(ParseNotificationResponse 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 |
---|---|
EditMediaTask |
getEditMediaTaskEvent()
Get The information of a video editing task.
|
String |
getEventType()
Get The event type.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
ScheduleTask |
getScheduleTaskEvent()
Get The information of a scheme.
|
String |
getSessionContext()
Get The source context which is used to pass through the user request information.
|
String |
getSessionId()
Get The ID used for deduplication.
|
String |
getSign()
Get Event notification security signature.
|
Long |
getTimestamp()
Get - The expiration time (Unix timestamp) of the notification's signature.
|
WorkflowTask |
getWorkflowTaskEvent()
Get The information of a video processing task.
|
void |
setEditMediaTaskEvent(EditMediaTask EditMediaTaskEvent)
Set The information of a video editing task.
|
void |
setEventType(String EventType)
Set The event type.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setScheduleTaskEvent(ScheduleTask ScheduleTaskEvent)
Set The information of a scheme.
|
void |
setSessionContext(String SessionContext)
Set The source context which is used to pass through the user request information.
|
void |
setSessionId(String SessionId)
Set The ID used for deduplication.
|
void |
setSign(String Sign)
Set Event notification security signature.
|
void |
setTimestamp(Long Timestamp)
Set - The expiration time (Unix timestamp) of the notification's signature.
|
void |
setWorkflowTaskEvent(WorkflowTask WorkflowTaskEvent)
Set The information of a video processing task.
|
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 ParseNotificationResponse()
public ParseNotificationResponse(ParseNotificationResponse source)
public String getEventType()
public void setEventType(String EventType)
EventType
- The event type. Valid values:
public WorkflowTask getWorkflowTaskEvent()
public void setWorkflowTaskEvent(WorkflowTask WorkflowTaskEvent)
WorkflowTaskEvent
- The information of a video processing task. Information will be returned only if `EventType` is `WorkflowTask`.
Note: This field may return null, indicating that no valid values can be obtained.public EditMediaTask getEditMediaTaskEvent()
public void setEditMediaTaskEvent(EditMediaTask EditMediaTaskEvent)
EditMediaTaskEvent
- The information of a video editing task. Information will be returned only if `EventType` is `EditMediaTask`.
Note: This field may return null, indicating that no valid values can be obtained.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.public ScheduleTask getScheduleTaskEvent()
public void setScheduleTaskEvent(ScheduleTask ScheduleTaskEvent)
ScheduleTaskEvent
- The information of a scheme. Information will be returned only if `EventType` is `ScheduleTask`.
Note: This field may return null, indicating that no valid values can be obtained.public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- - The expiration time (Unix timestamp) of the notification's signature.
- By default, notifications sent by MPS expire after 10 minutes. If the expiration time specified has elapsed, a notification will be considered invalid. This can prevent replay attacks.
- The format of this parameter is a decimal Unix timestamp, i.e., the number of seconds that have elapsed since 00:00 (UTC/GMT time) on January 1, 1970.public String getSign()
public void setSign(String Sign)
Sign
- Event notification security signature. Sign = MD5 (Timestamp + NotifyKey). Note: Media Processing Service concatenates Timestamp and NotifyKey from TaskNotifyConfig as a string and calculates the Sign value through MD5. This value is included in the notification message. Your backend server can verify whether the Sign is correct using the same algorithm, to confirm whether the message is indeed from the Media Processing Service backend.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.