Kinetica   C#   API  Version 7.2.3.0
InsertSymbol.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 {
26  {
31  public struct SymbolFormat
32  {
33  public const string SVG = "svg";
34  public const string SVG_PATH = "svg_path";
35  } // end struct SymbolFormat
36 
40  public struct Options
41  {
49  public const string COLOR = "color";
50  } // end struct Options
51 
55  public string symbol_id { get; set; }
56 
68  public string symbol_format { get; set; }
69 
77  public byte[] symbol_data { get; set; }
78 
92  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
93 
96  public InsertSymbolRequest() { }
97 
136  string symbol_format,
137  byte[] symbol_data,
138  IDictionary<string, string> options = null)
139  {
140  this.symbol_id = symbol_id ?? "";
141  this.symbol_format = symbol_format ?? "";
142  this.symbol_data = symbol_data ?? new byte[] { };
143  this.options = options ?? new Dictionary<string, string>();
144  } // end constructor
145  } // end class InsertSymbolRequest
146 
151  {
154  public string symbol_id { get; set; }
155 
157  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
158  } // end class InsertSymbolResponse
159 } // end namespace kinetica
A set of results returned by Kinetica.insertSymbol.
const string COLOR
If symbol_format is 'svg' this is ignored.
Definition: InsertSymbol.cs:49
A set of string constants for the parameter options.
Definition: InsertSymbol.cs:40
InsertSymbolRequest(string symbol_id, string symbol_format, byte[] symbol_data, IDictionary< string, string > options=null)
Constructs an InsertSymbolRequest object with the specified parameters.
string symbol_id
The id of the symbol being added.
Definition: InsertSymbol.cs:55
InsertSymbolRequest()
Constructs an InsertSymbolRequest object with default parameters.
Definition: InsertSymbol.cs:96
IDictionary< string, string > options
Optional parameters.
Definition: InsertSymbol.cs:92
string symbol_format
Specifies the symbol format.
Definition: InsertSymbol.cs:68
byte [] symbol_data
The actual symbol data.
Definition: InsertSymbol.cs:77
string symbol_id
Value of symbol_id.
A set of parameters for Kinetica.insertSymbol.
Definition: InsertSymbol.cs:25
IDictionary< string, string > info
Additional information.
A set of string constants for the parameter symbol_format.
Definition: InsertSymbol.cs:31
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14