Class SlackNotificationEndpoint
SlackNotificationEndpoint
Inheritance
Implements
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class SlackNotificationEndpoint : NotificationEndpoint, IEquatable<NotificationEndpointDiscriminator>, IEquatable<NotificationEndpoint>, IEquatable<SlackNotificationEndpoint>
Constructors
SlackNotificationEndpoint()
Initializes a new instance of the Slack
Declaration
protected SlackNotificationEndpoint()
SlackNotificationEndpoint(String, String, String, String, String, String, String, Nullable<NotificationEndpointBase.StatusEnum>, List<Label>, NotificationEndpointBaseLinks, NotificationEndpointType)
Initializes a new instance of the Slack
Declaration
public SlackNotificationEndpoint(string url = null, string token = null, string id = null, string orgID = null, string userID = null, string description = null, string name = null, NotificationEndpointBase.StatusEnum? status = null, List<Label> labels = null, NotificationEndpointBaseLinks links = null, NotificationEndpointType type = default(NotificationEndpointType))
Parameters
Type | Name | Description |
---|---|---|
System. |
url | Specifies the URL of the Slack endpoint. Specify either |
System. |
token | Specifies the API token string. Specify either |
System. |
id | |
System. |
orgID | |
System. |
userID | |
System. |
description | |
System. |
name | |
System. |
status | |
List<Label> | labels | |
Notification |
links | |
Notification |
type |
Properties
Token
Specifies the API token string. Specify either URL
or Token
.
Declaration
public string Token { get; set; }
Property Value
Type | Description |
---|---|
System. |
Specifies the API token string. Specify either |
Url
Specifies the URL of the Slack endpoint. Specify either URL
or Token
.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System. |
Specifies the URL of the Slack endpoint. Specify either |
Methods
Equals(SlackNotificationEndpoint)
Returns true if SlackNotificationEndpoint instances are equal
Declaration
public bool Equals(SlackNotificationEndpoint input)
Parameters
Type | Name | Description |
---|---|---|
Slack |
input | Instance of SlackNotificationEndpoint to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Object to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |