Kinetica   C#   API  Version 7.2.3.0
AlterTableMonitor.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  public class AlterTableMonitorRequest : KineticaData
18  {
23  public struct MonitorUpdatesMap
24  {
32  public const string SCHEMA_NAME = "schema_name";
33 
38  public const string MAX_CONSECUTIVE_FAILURES = "max_consecutive_failures";
39 
54  public const string NOTIFICATIONS = "notifications";
55 
56  public const string RESUME = "resume";
57  public const string SUSPEND = "suspend";
58  } // end struct MonitorUpdatesMap
59 
63  public string topic_id { get; set; }
64 
108  public IDictionary<string, string> monitor_updates_map { get; set; } = new Dictionary<string, string>();
109 
113  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
114 
118 
171  IDictionary<string, string> monitor_updates_map,
172  IDictionary<string, string> options = null)
173  {
174  this.topic_id = topic_id ?? "";
175  this.monitor_updates_map = monitor_updates_map ?? new Dictionary<string, string>();
176  this.options = options ?? new Dictionary<string, string>();
177  } // end constructor
178  } // end class AlterTableMonitorRequest
179 
183  public class AlterTableMonitorResponse : KineticaData
184  {
187  public string topic_id { get; set; }
188 
190  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
191  } // end class AlterTableMonitorResponse
192 } // end namespace kinetica
string topic_id
Value of topic_id.
IDictionary< string, string > monitor_updates_map
Map containing the properties of the table monitor to be updated.
string topic_id
The topic ID returned by Kinetica.createTableMonitor.
IDictionary< string, string > info
Additional information.
IDictionary< string, string > options
Optional parameters.
const string MAX_CONSECUTIVE_FAILURES
Updates the maximum number of consecutive failures before suspending the stream.
AlterTableMonitorRequest(string topic_id, IDictionary< string, string > monitor_updates_map, IDictionary< string, string > options=null)
Constructs an AlterTableMonitorRequest object with the specified parameters.
const string SCHEMA_NAME
Updates the schema name.
AlterTableMonitorRequest()
Constructs an AlterTableMonitorRequest object with default parameters.
const string NOTIFICATIONS
Updates the state of the monitor.