Kinetica   C#   API  Version 7.2.3.1
AdminOffline.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 
18 {
23  public struct Offline
24  {
25  public const string TRUE = "true";
26  public const string FALSE = "false";
27  } // end struct Offline
28 
32  public struct Options
33  {
44  public const string FLUSH_TO_DISK = "flush_to_disk";
45 
46  public const string TRUE = "true";
47  public const string FALSE = "false";
48  } // end struct Options
49 
60  public bool offline { get; set; }
61 
80  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
81 
84  public AdminOfflineRequest() { }
85 
118  IDictionary<string, string> options = null)
119  {
120  this.offline = offline;
121  this.options = options ?? new Dictionary<string, string>();
122  } // end constructor
123 } // end class AdminOfflineRequest
124 
129 {
132  public bool is_offline { get; set; }
133 
135  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
136 } // end class AdminOfflineResponse
A set of parameters for Kinetica.adminOffline.
Definition: AdminOffline.cs:17
bool offline
Set to true if desired state is offline.
Definition: AdminOffline.cs:60
bool is_offline
Returns true if the system is offline, or false otherwise.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > options
Optional parameters.
Definition: AdminOffline.cs:80
A set of string constants for the parameter options.
Definition: AdminOffline.cs:32
AdminOfflineRequest(bool offline, IDictionary< string, string > options=null)
Constructs an AdminOfflineRequest object with the specified parameters.
A set of results returned by Kinetica.adminOffline.
A set of string constants for the parameter offline.
Definition: AdminOffline.cs:23
IDictionary< string, string > info
Additional information.
AdminOfflineRequest()
Constructs an AdminOfflineRequest object with default parameters.
Definition: AdminOffline.cs:84
const string FLUSH_TO_DISK
Flush to disk when going offline.
Definition: AdminOffline.cs:44