Kinetica   C#   API  Version 7.2.3.0
AdminSendAlert.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica
10 {
17  {
21  public struct LogLevel
22  {
23  public const string FATAL = "fatal";
24  public const string ERROR = "error";
25  public const string WARN = "warn";
26  public const string INFO = "info";
27  public const string DEBUG = "debug";
28  } // end struct LogLevel
29 
32  public string message { get; set; } = "";
33 
36  public string label { get; set; } = "";
37 
57  public string log_level { get; set; }
58 
62  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
63 
66  public AdminSendAlertRequest() { }
67 
97  string label,
98  string log_level,
99  IDictionary<string, string> options = null)
100  {
101  this.message = message ?? "";
102  this.label = label ?? "";
103  this.log_level = log_level ?? "";
104  this.options = options ?? new Dictionary<string, string>();
105  } // end constructor
106  } // end class AdminSendAlertRequest
107 
112  {
114  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
115  } // end class AdminSendAlertResponse
116 } // end namespace kinetica
IDictionary< string, string > options
Optional parameters.
AdminSendAlertRequest(string message, string label, string log_level, IDictionary< string, string > options=null)
Constructs an AdminSendAlertRequest object with the specified parameters.
IDictionary< string, string > info
Additional information.
string message
Alert message body.
string log_level
Alert message logging criteria.
A set of results returned by Kinetica.adminSendAlert.
A set of string constants for the parameter log_level.
A set of parameters for Kinetica.adminSendAlert.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string label
Label to add to alert message.
AdminSendAlertRequest()
Constructs an AdminSendAlertRequest object with default parameters.