public class Notification extends AbstractModel
header, skipSign
Constructor and Description |
---|
Notification() |
Notification(Notification 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[] |
getEvents()
Get 发生事件
|
String |
getURL()
Get webhook的网址
|
void |
setEvents(String[] Events)
Set 发生事件
|
void |
setURL(String URL)
Set webhook的网址
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Notification()
public Notification(Notification source)
public String[] getEvents()
public void setEvents(String[] Events)
Events
- 发生事件public String getURL()
public void setURL(String URL)
URL
- webhook的网址Copyright © 2024. All rights reserved.