public class TelegramNotificationRuleBase extends NotificationRule
Modifier and Type | Class and Description |
---|---|
static class |
TelegramNotificationRuleBase.ParseModeEnum
Parse mode of the message text per https://core.telegram.org/bots/api#formatting-options .
|
static class |
TelegramNotificationRuleBase.TypeEnum
The discriminator between other types of notification rules is \"telegram\".
|
NotificationRuleBase.LastRunStatusEnum
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_DISABLE_WEB_PAGE_PREVIEW |
static String |
SERIALIZED_NAME_MESSAGE_TEMPLATE |
static String |
SERIALIZED_NAME_PARSE_MODE |
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 |
---|
TelegramNotificationRuleBase() |
Modifier and Type | Method and Description |
---|---|
TelegramNotificationRuleBase |
disableWebPagePreview(Boolean disableWebPagePreview) |
boolean |
equals(Object o) |
Boolean |
getDisableWebPagePreview()
Disables preview of web links in the sent messages when \"true\".
|
String |
getMessageTemplate()
The message template as a flux interpolated string.
|
TelegramNotificationRuleBase.ParseModeEnum |
getParseMode()
Parse mode of the message text per https://core.telegram.org/bots/api#formatting-options .
|
TelegramNotificationRuleBase.TypeEnum |
getType()
The discriminator between other types of notification rules is \"telegram\".
|
int |
hashCode() |
TelegramNotificationRuleBase |
messageTemplate(String messageTemplate) |
TelegramNotificationRuleBase |
parseMode(TelegramNotificationRuleBase.ParseModeEnum parseMode) |
void |
setDisableWebPagePreview(Boolean disableWebPagePreview) |
void |
setMessageTemplate(String messageTemplate) |
void |
setParseMode(TelegramNotificationRuleBase.ParseModeEnum parseMode) |
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, taskID
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_MESSAGE_TEMPLATE
public static final String SERIALIZED_NAME_PARSE_MODE
public static final String SERIALIZED_NAME_DISABLE_WEB_PAGE_PREVIEW
public TelegramNotificationRuleBase.TypeEnum getType()
public TelegramNotificationRuleBase messageTemplate(String messageTemplate)
public String getMessageTemplate()
public void setMessageTemplate(String messageTemplate)
public TelegramNotificationRuleBase parseMode(TelegramNotificationRuleBase.ParseModeEnum parseMode)
public TelegramNotificationRuleBase.ParseModeEnum getParseMode()
public void setParseMode(TelegramNotificationRuleBase.ParseModeEnum parseMode)
public TelegramNotificationRuleBase disableWebPagePreview(Boolean disableWebPagePreview)
public Boolean getDisableWebPagePreview()
public void setDisableWebPagePreview(Boolean disableWebPagePreview)
public boolean equals(Object o)
equals
in class NotificationRule
public int hashCode()
hashCode
in class NotificationRule
public String toString()
toString
in class NotificationRule
Copyright © 2018–2022 InfluxData, Inc.. All rights reserved.