Class NotificationRuleUpdate
NotificationRuleUpdate
Inheritance
System.Object
NotificationRuleUpdate
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class NotificationRuleUpdate : IEquatable<NotificationRuleUpdate>
Constructors
NotificationRuleUpdate(String, String, Nullable<NotificationRuleUpdate.StatusEnum>)
Initializes a new instance of the NotificationRuleUpdate class.
Declaration
public NotificationRuleUpdate(string name = null, string description = null, NotificationRuleUpdate.StatusEnum? status = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | name. |
System.String | description | description. |
System.Nullable<NotificationRuleUpdate.StatusEnum> | status | status. |
Properties
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
Gets or Sets Status
Declaration
public NotificationRuleUpdate.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NotificationRuleUpdate.StatusEnum> |
Methods
Equals(NotificationRuleUpdate)
Returns true if NotificationRuleUpdate instances are equal
Declaration
public bool Equals(NotificationRuleUpdate input)
Parameters
Type | Name | Description |
---|---|---|
NotificationRuleUpdate | input | Instance of NotificationRuleUpdate 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 |