Kinetica   C#   API  Version 7.2.3.0
AlterGraph.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 {
12  public class AlterGraphRequest : KineticaData
13  {
14  public struct Action
15  {
16  public const string ADD_TABLE_MONITOR = "add_table_monitor";
17  public const string RESET_CLIENT = "reset_client";
18  public const string RESET_SERVER = "reset_server";
19  public const string CANCEL_TASK = "cancel_task";
20  public const string ALTER_LOGGER = "alter_logger";
21  public const string DELETE_ALL = "delete_all";
22  public const string STATUS = "status";
23  public const string COLLECT_GRAPHS = "collect_graphs";
24  public const string RESTORE_GRAPHS = "restore_graphs";
25  } // end struct Action
26 
27  public struct Options
28  {
29  public const string SERVER_ID = "server_id";
30  } // end struct Options
31 
32  public string graph_name { get; set; }
33  public string action { get; set; }
34  public string action_arg { get; set; }
35  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
36 
37  public AlterGraphRequest() { }
38 
39  public AlterGraphRequest( string graph_name,
40  string action,
41  string action_arg,
42  IDictionary<string, string> options = null)
43  {
44  this.graph_name = graph_name ?? "";
45  this.action = action ?? "";
46  this.action_arg = action_arg ?? "";
47  this.options = options ?? new Dictionary<string, string>();
48  } // end constructor
49  } // end class AlterGraphRequest
51 
53  public class AlterGraphResponse : KineticaData
54  {
55  public string action { get; set; }
56  public string action_arg { get; set; }
57  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
58  } // end class AlterGraphResponse
60 } // end namespace kinetica