public class SlackNotificationRuleBase extends NotificationRule
| Modifier and Type | Class and Description |
|---|---|
static class |
SlackNotificationRuleBase.TypeEnum
Gets or Sets type
|
NotificationRuleBase.LastRunStatusEnum| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CHANNEL |
static String |
SERIALIZED_NAME_MESSAGE_TEMPLATE |
static String |
SERIALIZED_NAME_TYPE |
SERIALIZED_NAME_CREATED_AT, SERIALIZED_NAME_DESCRIPTION, SERIALIZED_NAME_ENDPOINT_I_D, SERIALIZED_NAME_EVERY, SERIALIZED_NAME_ID, SERIALIZED_NAME_LABELS, SERIALIZED_NAME_LAST_RUN_ERROR, SERIALIZED_NAME_LAST_RUN_STATUS, SERIALIZED_NAME_LATEST_COMPLETED, SERIALIZED_NAME_LIMIT, SERIALIZED_NAME_LIMIT_EVERY, SERIALIZED_NAME_LINKS, SERIALIZED_NAME_NAME, SERIALIZED_NAME_OFFSET, SERIALIZED_NAME_ORG_I_D, SERIALIZED_NAME_OWNER_I_D, SERIALIZED_NAME_RUNBOOK_LINK, SERIALIZED_NAME_SLEEP_UNTIL, SERIALIZED_NAME_STATUS, SERIALIZED_NAME_STATUS_RULES, SERIALIZED_NAME_TAG_RULES, SERIALIZED_NAME_TASK_I_D, SERIALIZED_NAME_UPDATED_AT| Constructor and Description |
|---|
SlackNotificationRuleBase() |
| Modifier and Type | Method and Description |
|---|---|
SlackNotificationRuleBase |
channel(String channel) |
boolean |
equals(Object o) |
String |
getChannel()
Get channel
|
String |
getMessageTemplate()
Get messageTemplate
|
SlackNotificationRuleBase.TypeEnum |
getType()
Get type
|
int |
hashCode() |
SlackNotificationRuleBase |
messageTemplate(String messageTemplate) |
void |
setChannel(String channel) |
void |
setMessageTemplate(String messageTemplate) |
String |
toString() |
addLabelsItem, addStatusRulesItem, addTagRulesItem, description, endpointID, every, getCreatedAt, getDescription, getEndpointID, getEvery, getId, getLabels, getLastRunError, getLastRunStatus, getLatestCompleted, getLimit, getLimitEvery, getLinks, getName, getOffset, getOrgID, getOwnerID, getRunbookLink, getSleepUntil, getStatus, getStatusRules, getTagRules, getTaskID, getUpdatedAt, labels, limit, limitEvery, links, name, offset, orgID, runbookLink, setDescription, setEndpointID, setEvery, setLabels, setLimit, setLimitEvery, setLinks, setName, setOffset, setOrgID, setRunbookLink, setSleepUntil, setStatus, setStatusRules, setTagRules, setTaskID, sleepUntil, status, statusRules, tagRules, taskIDpublic static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_CHANNEL
public static final String SERIALIZED_NAME_MESSAGE_TEMPLATE
public SlackNotificationRuleBase.TypeEnum getType()
public SlackNotificationRuleBase channel(String channel)
public String getChannel()
public void setChannel(String channel)
public SlackNotificationRuleBase messageTemplate(String messageTemplate)
public String getMessageTemplate()
public void setMessageTemplate(String messageTemplate)
public boolean equals(Object o)
equals in class NotificationRulepublic int hashCode()
hashCode in class NotificationRulepublic String toString()
toString in class NotificationRuleCopyright © 2018–2023 InfluxData, Inc.. All rights reserved.