Class PagerDutyNotificationEndpoint
PagerDutyNotificationEndpoint
Inheritance
System.Object
PagerDutyNotificationEndpoint
Implements
IEquatable<NotificationEndpointDiscriminator>
IEquatable<NotificationEndpoint>
IEquatable<PagerDutyNotificationEndpoint>
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class PagerDutyNotificationEndpoint : NotificationEndpoint, IEquatable<NotificationEndpointDiscriminator>, IEquatable<NotificationEndpoint>, IEquatable<PagerDutyNotificationEndpoint>
Constructors
PagerDutyNotificationEndpoint()
Initializes a new instance of the PagerDutyNotificationEndpoint class.
Declaration
protected PagerDutyNotificationEndpoint()
PagerDutyNotificationEndpoint(String, String, String, String, String, String, String, Nullable<NotificationEndpointBase.StatusEnum>, List<Label>, NotificationEndpointBaseLinks, NotificationEndpointType)
Initializes a new instance of the PagerDutyNotificationEndpoint class.
Declaration
public PagerDutyNotificationEndpoint(string clientURL = null, string routingKey = 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.String | clientURL | clientURL. |
System.String | routingKey | routingKey (required). |
System.String | id | |
System.String | orgID | |
System.String | userID | |
System.String | description | |
System.String | name | |
System.Nullable<NotificationEndpointBase.StatusEnum> | status | |
List<Label> | labels | |
NotificationEndpointBaseLinks | links | |
NotificationEndpointType | type |
Properties
ClientURL
Gets or Sets ClientURL
Declaration
public string ClientURL { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RoutingKey
Gets or Sets RoutingKey
Declaration
public string RoutingKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(PagerDutyNotificationEndpoint)
Returns true if PagerDutyNotificationEndpoint instances are equal
Declaration
public bool Equals(PagerDutyNotificationEndpoint input)
Parameters
Type | Name | Description |
---|---|---|
PagerDutyNotificationEndpoint | input | Instance of PagerDutyNotificationEndpoint 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 |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System.String | 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 | String presentation of the object |
Overrides
Implements
IEquatable<>
IEquatable<>
IEquatable<>