Kinetica   C#   API  Version 7.2.3.0
AlterSchema.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 AlterSchemaRequest : KineticaData
18  {
23  public struct Action
24  {
26  public const string ADD_COMMENT = "add_comment";
27 
32  public const string RENAME_SCHEMA = "rename_schema";
33  } // end struct Action
34 
36  public string schema_name { get; set; }
37 
56  public string action { get; set; }
57 
63  public string _value { get; set; }
64 
68  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
69 
72  public AlterSchemaRequest() { }
73 
104  string action,
105  string _value,
106  IDictionary<string, string> options = null)
107  {
108  this.schema_name = schema_name ?? "";
109  this.action = action ?? "";
110  this._value = _value ?? "";
111  this.options = options ?? new Dictionary<string, string>();
112  } // end constructor
113  } // end class AlterSchemaRequest
114 
118  public class AlterSchemaResponse : KineticaData
119  {
122  public string schema_name { get; set; }
123 
125  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
126  } // end class AlterSchemaResponse
127 } // end namespace kinetica
string schema_name
Value of schema_name.
Definition: AlterSchema.cs:122
const string RENAME_SCHEMA
Renames a schema to _value.
Definition: AlterSchema.cs:32
AlterSchemaRequest()
Constructs an AlterSchemaRequest object with default parameters.
Definition: AlterSchema.cs:72
string schema_name
Name of the schema to be altered.
Definition: AlterSchema.cs:36
IDictionary< string, string > options
Optional parameters.
Definition: AlterSchema.cs:68
string action
Modification operation to be applied.
Definition: AlterSchema.cs:56
const string ADD_COMMENT
Adds a comment describing the schema
Definition: AlterSchema.cs:26
AlterSchemaRequest(string schema_name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterSchemaRequest object with the specified parameters.
Definition: AlterSchema.cs:103
IDictionary< string, string > info
Additional information.
Definition: AlterSchema.cs:125
string _value
The value of the modification, depending on action.
Definition: AlterSchema.cs:63