/* * InfluxDB OSS API Service * * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using OpenAPIDateConverter = InfluxDB.Client.Api.Client.OpenAPIDateConverter; namespace InfluxDB.Client.Api.Domain { /// /// NotificationEndpointBase /// [DataContract] public partial class NotificationEndpointBase : IEquatable { /// /// The status of the endpoint. /// /// The status of the endpoint. [JsonConverter(typeof(StringEnumConverter))] public enum StatusEnum { /// /// Enum Active for value: active /// [EnumMember(Value = "active")] Active = 1, /// /// Enum Inactive for value: inactive /// [EnumMember(Value = "inactive")] Inactive = 2 } /// /// The status of the endpoint. /// /// The status of the endpoint. [DataMember(Name = "status", EmitDefaultValue = false)] public StatusEnum? Status { get; set; } /// /// Gets or Sets Type /// [DataMember(Name = "type", EmitDefaultValue = false)] public NotificationEndpointType Type { get; set; } /// /// Initializes a new instance of the class. /// [JsonConstructorAttribute] protected NotificationEndpointBase() { } /// /// Initializes a new instance of the class. /// /// id. /// orgID. /// userID. /// An optional description of the notification endpoint.. /// name (required). /// The status of the endpoint. (default to StatusEnum.Active). /// labels. /// links. /// type (required). public NotificationEndpointBase(string id = default, string orgID = default, string userID = default, string description = default, string name = default, StatusEnum? status = StatusEnum.Active, List