Kinetica   C#   API  Version 7.2.3.1
DropBackup.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 
20 {
24  public struct Options
25  {
39  public const string DRY_RUN = "dry_run";
40 
41  public const string TRUE = "true";
42  public const string FALSE = "false";
43 
58  public const string DELETE_ALL_BACKUPS = "delete_all_backups";
59 
73  public const string NO_ERROR_IF_NOT_EXISTS = "no_error_if_not_exists";
74  } // end struct Options
75 
82  public string backup_name { get; set; }
83 
85  public string datasink_name { get; set; }
86 
144  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
145 
148  public DropBackupRequest() { }
149 
219  string datasink_name,
220  IDictionary<string, string> options = null)
221  {
222  this.backup_name = backup_name ?? "";
223  this.datasink_name = datasink_name ?? "";
224  this.options = options ?? new Dictionary<string, string>();
225  } // end constructor
226 } // end class DropBackupRequest
227 
232 {
235  public string backup_name { get; set; }
236 
238  public IList<string> backup_names { get; set; } = new List<string>();
239 
241  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
242 } // end class DropBackupResponse
A set of string constants for the parameter options.
Definition: DropBackup.cs:24
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
DropBackupRequest(string backup_name, string datasink_name, IDictionary< string, string > options=null)
Constructs a DropBackupRequest object with the specified parameters.
Definition: DropBackup.cs:218
string backup_name
Value of backup_name.
Definition: DropBackup.cs:235
IDictionary< string, string > options
Optional parameters.
Definition: DropBackup.cs:144
IDictionary< string, string > info
Additional information.
Definition: DropBackup.cs:241
const string DELETE_ALL_BACKUPS
Allow multiple backups to be deleted if TRUE and multiple backup names are found matching backup_name...
Definition: DropBackup.cs:58
A set of parameters for Kinetica.dropBackup.
Definition: DropBackup.cs:19
A set of results returned by Kinetica.dropBackup.
Definition: DropBackup.cs:231
const string NO_ERROR_IF_NOT_EXISTS
Whether or not to suppress the error if the specified backup does not exist.
Definition: DropBackup.cs:73
const string DRY_RUN
Whether or not to perform a dry run of a backup deletion.
Definition: DropBackup.cs:39
string backup_name
Name of the backup to be deleted.
Definition: DropBackup.cs:82
DropBackupRequest()
Constructs a DropBackupRequest object with default parameters.
Definition: DropBackup.cs:148
IList< string > backup_names
Names of backups that were deleted.
Definition: DropBackup.cs:238
string datasink_name
Data sink through which the backup is accessible.
Definition: DropBackup.cs:85