Class NotificationEndpointBase
NotificationEndpointBase
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class NotificationEndpointBase : IEquatable<NotificationEndpointBase>
Constructors
NotificationEndpointBase()
Initializes a new instance of the NotificationEndpointBase class.
Declaration
protected NotificationEndpointBase()
NotificationEndpointBase(String, String, String, String, String, Nullable<NotificationEndpointBase.StatusEnum>, List<Label>, NotificationEndpointBaseLinks, NotificationEndpointType)
Initializes a new instance of the NotificationEndpointBase class.
Declaration
public NotificationEndpointBase(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 = (NotificationEndpointType)0)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | id. |
System.String | orgID | orgID. |
System.String | userID | userID. |
System.String | description | An optional description of the notification endpoint.. |
System.String | name | name (required). |
System.Nullable<NotificationEndpointBase.StatusEnum> | status | The status of the endpoint. (default to StatusEnum.Active). |
List<Label> | labels | labels. |
NotificationEndpointBaseLinks | links | links. |
NotificationEndpointType | type | type (required). |
Properties
CreatedAt
Gets or Sets CreatedAt
Declaration
public DateTime? CreatedAt { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Description
An optional description of the notification endpoint.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | An optional description of the notification endpoint. |
Id
Gets or Sets Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Labels
Gets or Sets Labels
Declaration
public List<Label> Labels { get; set; }
Property Value
Type | Description |
---|---|
List<Label> |
Links
Gets or Sets Links
Declaration
public NotificationEndpointBaseLinks Links { get; set; }
Property Value
Type | Description |
---|---|
NotificationEndpointBaseLinks |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrgID
Gets or Sets OrgID
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
The status of the endpoint.
Declaration
public NotificationEndpointBase.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NotificationEndpointBase.StatusEnum> | The status of the endpoint. |
Type
Gets or Sets Type
Declaration
public NotificationEndpointType Type { get; set; }
Property Value
Type | Description |
---|---|
NotificationEndpointType |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
public DateTime? UpdatedAt { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
UserID
Gets or Sets UserID
Declaration
public string UserID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(NotificationEndpointBase)
Returns true if NotificationEndpointBase instances are equal
Declaration
public bool Equals(NotificationEndpointBase input)
Parameters
Type | Name | Description |
---|---|---|
NotificationEndpointBase | input | Instance of NotificationEndpointBase to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |