Kinetica   C#   API  Version 7.2.3.1
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 
25 {
30  public struct SymbolFormat
31  {
32  public const string SVG = "svg";
33  public const string SVG_PATH = "svg_path";
34  } // end struct SymbolFormat
35 
39  public struct Options
40  {
48  public const string COLOR = "color";
49  } // end struct Options
50 
54  public string symbol_id { get; set; }
55 
66  public string symbol_format { get; set; }
67 
75  public byte[] symbol_data { get; set; }
76 
90  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
91 
94  public InsertSymbolRequest() { }
95 
132  string symbol_format,
133  byte[] symbol_data,
134  IDictionary<string, string> options = null)
135  {
136  this.symbol_id = symbol_id ?? "";
137  this.symbol_format = symbol_format ?? "";
138  this.symbol_data = symbol_data ?? new byte[] { };
139  this.options = options ?? new Dictionary<string, string>();
140  } // end constructor
141 } // end class InsertSymbolRequest
142 
147 {
150  public string symbol_id { get; set; }
151 
153  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
154 } // end class InsertSymbolResponse
byte [] symbol_data
The actual symbol data.
Definition: InsertSymbol.cs:75
A set of results returned by Kinetica.insertSymbol.
A set of parameters for Kinetica.insertSymbol.
Definition: InsertSymbol.cs:24
A set of string constants for the parameter symbol_format.
Definition: InsertSymbol.cs:30
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of string constants for the parameter options.
Definition: InsertSymbol.cs:39
IDictionary< string, string > info
Additional information.
string symbol_id
Value of symbol_id.
string symbol_format
Specifies the symbol format.
Definition: InsertSymbol.cs:66
const string COLOR
If symbol_format is 'svg' this is ignored.
Definition: InsertSymbol.cs:48
InsertSymbolRequest()
Constructs an InsertSymbolRequest object with default parameters.
Definition: InsertSymbol.cs:94
IDictionary< string, string > options
Optional parameters.
Definition: InsertSymbol.cs:90
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:54