Kinetica   C#   API  Version 7.2.3.0
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 
86  public string datasink_name { get; set; }
87 
145  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
146 
149  public DropBackupRequest() { }
150 
220  string datasink_name,
221  IDictionary<string, string> options = null)
222  {
223  this.backup_name = backup_name ?? "";
224  this.datasink_name = datasink_name ?? "";
225  this.options = options ?? new Dictionary<string, string>();
226  } // end constructor
227  } // end class DropBackupRequest
228 
233  {
236  public string backup_name { get; set; }
237 
239  public IList<string> backup_names { get; set; } = new List<string>();
240 
242  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
243  } // end class DropBackupResponse
244 } // end namespace kinetica
IDictionary< string, string > info
Additional information.
Definition: DropBackup.cs:242
string datasink_name
Data sink through which the backup is accessible.
Definition: DropBackup.cs:86
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
IList< string > backup_names
Names of backups that were deleted.
Definition: DropBackup.cs:239
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
DropBackupRequest()
Constructs a DropBackupRequest object with default parameters.
Definition: DropBackup.cs:149
string backup_name
Value of backup_name.
Definition: DropBackup.cs:236
IDictionary< string, string > options
Optional parameters.
Definition: DropBackup.cs:145
A set of string constants for the parameter options.
Definition: DropBackup.cs:24
A set of parameters for Kinetica.dropBackup.
Definition: DropBackup.cs:19
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of results returned by Kinetica.dropBackup.
Definition: DropBackup.cs:232
DropBackupRequest(string backup_name, string datasink_name, IDictionary< string, string > options=null)
Constructs a DropBackupRequest object with the specified parameters.
Definition: DropBackup.cs:219
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