Class PagerDutyNotificationRuleBase
PagerDutyNotificationRuleBase
Inheritance
System.Object
PagerDutyNotificationRuleBase
Implements
IEquatable<NotificationRuleDiscriminator>
IEquatable<NotificationRule>
IEquatable<PagerDutyNotificationRuleBase>
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class PagerDutyNotificationRuleBase : NotificationRule, IEquatable<NotificationRuleDiscriminator>, IEquatable<NotificationRule>, IEquatable<PagerDutyNotificationRuleBase>
Constructors
PagerDutyNotificationRuleBase()
Initializes a new instance of the PagerDutyNotificationRuleBase class.
Declaration
protected PagerDutyNotificationRuleBase()
PagerDutyNotificationRuleBase(PagerDutyNotificationRuleBase.TypeEnum, String, String, String, String, TaskStatusType, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, List<TagRule>, String, List<StatusRule>, List<Label>, NotificationRuleBaseLinks)
Initializes a new instance of the PagerDutyNotificationRuleBase class.
Declaration
public PagerDutyNotificationRuleBase(PagerDutyNotificationRuleBase.TypeEnum type = default(PagerDutyNotificationRuleBase.TypeEnum), string messageTemplate = null, string endpointID = null, string orgID = null, string taskID = null, TaskStatusType status = (TaskStatusType)0, string name = null, string sleepUntil = null, string every = null, string offset = null, string runbookLink = null, int? limitEvery = null, int? limit = null, List<TagRule> tagRules = null, string description = null, List<StatusRule> statusRules = null, List<Label> labels = null, NotificationRuleBaseLinks links = null)
Parameters
Type | Name | Description |
---|---|---|
PagerDutyNotificationRuleBase.TypeEnum | type | type (required) (default to TypeEnum.Pagerduty). |
System.String | messageTemplate | messageTemplate (required). |
System.String | endpointID | |
System.String | orgID | |
System.String | taskID | |
TaskStatusType | status | |
System.String | name | |
System.String | sleepUntil | |
System.String | every | |
System.String | offset | |
System.String | runbookLink | |
System.Nullable<System.Int32> | limitEvery | |
System.Nullable<System.Int32> | limit | |
List<TagRule> | tagRules | |
System.String | description | |
List<StatusRule> | statusRules | |
List<Label> | labels | |
NotificationRuleBaseLinks | links |
Properties
MessageTemplate
Gets or Sets MessageTemplate
Declaration
public string MessageTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or Sets Type
Declaration
public PagerDutyNotificationRuleBase.TypeEnum Type { get; set; }
Property Value
Type | Description |
---|---|
PagerDutyNotificationRuleBase.TypeEnum |
Methods
Equals(PagerDutyNotificationRuleBase)
Returns true if PagerDutyNotificationRuleBase instances are equal
Declaration
public bool Equals(PagerDutyNotificationRuleBase input)
Parameters
Type | Name | Description |
---|---|---|
PagerDutyNotificationRuleBase | input | Instance of PagerDutyNotificationRuleBase 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<>