7 using System.Collections.Generic;
12 public class AlterGraphRequest : KineticaData
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";
29 public const string SERVER_ID =
"server_id";
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>();
37 public AlterGraphRequest() { }
39 public AlterGraphRequest(
string graph_name,
42 IDictionary<string, string> options =
null)
44 this.graph_name = graph_name ??
"";
45 this.action = action ??
"";
46 this.action_arg = action_arg ??
"";
47 this.options = options ??
new Dictionary<string, string>();
53 public class AlterGraphResponse : KineticaData
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>();