Package com.influxdb.client.domain
Class TelegramNotificationEndpoint
java.lang.Object
com.influxdb.client.domain.NotificationEndpointBase
com.influxdb.client.domain.NotificationEndpointDiscriminator
com.influxdb.client.domain.NotificationEndpoint
com.influxdb.client.domain.TelegramNotificationEndpoint
TelegramNotificationEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class com.influxdb.client.domain.NotificationEndpointBase
NotificationEndpointBase.StatusEnum
-
Field Summary
Fields inherited from class com.influxdb.client.domain.NotificationEndpointBase
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
ID of the telegram channel, a chat_id in https://core.telegram.org/bots/api#sendmessage .getToken()
Specifies the Telegram bot token.int
hashCode()
void
setChannel
(String channel) void
toString()
Methods inherited from class com.influxdb.client.domain.NotificationEndpointBase
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, userID
-
Field Details
-
SERIALIZED_NAME_TOKEN
- See Also:
-
SERIALIZED_NAME_CHANNEL
- See Also:
-
-
Constructor Details
-
TelegramNotificationEndpoint
public TelegramNotificationEndpoint()
-
-
Method Details
-
token
-
getToken
Specifies the Telegram bot token. See https://core.telegram.org/bots#creating-a-new-bot .- Returns:
- token
-
setToken
-
channel
-
getChannel
ID of the telegram channel, a chat_id in https://core.telegram.org/bots/api#sendmessage .- Returns:
- channel
-
setChannel
-
equals
- Overrides:
equals
in classNotificationEndpoint
-
hashCode
public int hashCode()- Overrides:
hashCode
in classNotificationEndpoint
-
toString
- Overrides:
toString
in classNotificationEndpoint
-