Package com.influxdb.client.domain
Class TelegramNotificationRuleBase
java.lang.Object
com.influxdb.client.domain.NotificationRuleBase
com.influxdb.client.domain.NotificationRuleDiscriminator
com.influxdb.client.domain.NotificationRule
com.influxdb.client.domain.TelegramNotificationRuleBase
- Direct Known Subclasses:
TelegramNotificationRule
TelegramNotificationRuleBase
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumParse mode of the message text per https://core.telegram.org/bots/api#formatting-options .static enumThe discriminator between other types of notification rules is \"telegram\".Nested classes/interfaces inherited from class com.influxdb.client.domain.NotificationRuleBase
NotificationRuleBase.LastRunStatusEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.influxdb.client.domain.NotificationRuleBase
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisableWebPagePreview(Boolean disableWebPagePreview) booleanDisables preview of web links in the sent messages when \"true\".The message template as a flux interpolated string.Parse mode of the message text per https://core.telegram.org/bots/api#formatting-options .getType()The discriminator between other types of notification rules is \"telegram\".inthashCode()messageTemplate(String messageTemplate) voidsetDisableWebPagePreview(Boolean disableWebPagePreview) voidsetMessageTemplate(String messageTemplate) voidtoString()Methods inherited from class com.influxdb.client.domain.NotificationRuleBase
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
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_MESSAGE_TEMPLATE
- See Also:
-
SERIALIZED_NAME_PARSE_MODE
- See Also:
-
SERIALIZED_NAME_DISABLE_WEB_PAGE_PREVIEW
- See Also:
-
-
Constructor Details
-
TelegramNotificationRuleBase
public TelegramNotificationRuleBase()
-
-
Method Details
-
getType
The discriminator between other types of notification rules is \"telegram\".- Returns:
- type
-
messageTemplate
-
getMessageTemplate
The message template as a flux interpolated string.- Returns:
- messageTemplate
-
setMessageTemplate
-
parseMode
-
getParseMode
Parse mode of the message text per https://core.telegram.org/bots/api#formatting-options . Defaults to \"MarkdownV2\" .- Returns:
- parseMode
-
setParseMode
-
disableWebPagePreview
-
getDisableWebPagePreview
Disables preview of web links in the sent messages when \"true\". Defaults to \"false\" .- Returns:
- disableWebPagePreview
-
setDisableWebPagePreview
-
equals
- Overrides:
equalsin classNotificationRule
-
hashCode
public int hashCode()- Overrides:
hashCodein classNotificationRule
-
toString
- Overrides:
toStringin classNotificationRule
-