public class SlackNotificationEndpoint extends NotificationEndpoint
NotificationEndpointBase.StatusEnum| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_TOKEN |
static String |
SERIALIZED_NAME_URL |
SERIALIZED_NAME_CREATED_AT, SERIALIZED_NAME_DESCRIPTION, SERIALIZED_NAME_ID, SERIALIZED_NAME_LABELS, SERIALIZED_NAME_LINKS, SERIALIZED_NAME_NAME, SERIALIZED_NAME_ORG_I_D, SERIALIZED_NAME_STATUS, SERIALIZED_NAME_TYPE, SERIALIZED_NAME_UPDATED_AT, SERIALIZED_NAME_USER_I_D| Constructor and Description |
|---|
SlackNotificationEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getToken()
Specifies the API token string.
|
String |
getUrl()
Specifies the URL of the Slack endpoint.
|
int |
hashCode() |
void |
setToken(String token) |
void |
setUrl(String url) |
SlackNotificationEndpoint |
token(String token) |
String |
toString() |
SlackNotificationEndpoint |
url(String url) |
addLabelsItem, description, getCreatedAt, getDescription, getId, getLabels, getLinks, getName, getOrgID, getStatus, getType, getUpdatedAt, getUserID, id, labels, links, name, orgID, setDescription, setId, setLabels, setLinks, setName, setOrgID, setStatus, setType, setUserID, status, type, userIDpublic static final String SERIALIZED_NAME_URL
public static final String SERIALIZED_NAME_TOKEN
public SlackNotificationEndpoint url(String url)
public String getUrl()
public void setUrl(String url)
public SlackNotificationEndpoint token(String token)
public String getToken()
public void setToken(String token)
public boolean equals(Object o)
equals in class NotificationEndpointpublic int hashCode()
hashCode in class NotificationEndpointpublic String toString()
toString in class NotificationEndpointCopyright © 2018–2023 InfluxData, Inc.. All rights reserved.