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 {
17  {
21  public struct Options
22  {
35  public const string DRY_RUN = "dry_run";
36 
37  public const string FALSE = "false";
38  public const string TRUE = "true";
39 
54  public const string DELETE_ALL_BACKUPS = "delete_all_backups";
55 
70  public const string NO_ERROR_IF_NOT_EXISTS = "no_error_if_not_exists";
71  } // end struct Options
72 
76  public string backup_name { get; set; }
77 
79  public string datasink_name { get; set; }
80 
138  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
139 
142  public DropBackupRequest() { }
143 
211  string datasink_name,
212  IDictionary<string, string> options = null)
213  {
214  this.backup_name = backup_name ?? "";
215  this.datasink_name = datasink_name ?? "";
216  this.options = options ?? new Dictionary<string, string>();
217  } // end constructor
218  } // end class DropBackupRequest
219 
224  {
227  public string backup_name { get; set; }
228 
230  public IList<string> backup_names { get; set; } = new List<string>();
231 
233  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
234  } // end class DropBackupResponse
235 } // end namespace kinetica
IDictionary< string, string > info
Additional information.
Definition: DropBackup.cs:233
string datasink_name
Datasink where backup is stored.
Definition: DropBackup.cs:79
const string DRY_RUN
Dry run of drop backup.
Definition: DropBackup.cs:35
string backup_name
Name of the backup object to be deleted.
Definition: DropBackup.cs:76
IList< string > backup_names
Backups that were deleted.
Definition: DropBackup.cs:230
const string DELETE_ALL_BACKUPS
All multiple backups to be deleted if TRUE and multiple backup names were found matching prefix of ba...
Definition: DropBackup.cs:54
DropBackupRequest()
Constructs a DropBackupRequest object with default parameters.
Definition: DropBackup.cs:142
string backup_name
Value of backup_name.
Definition: DropBackup.cs:227
IDictionary< string, string > options
Optional parameters.
Definition: DropBackup.cs:138
A set of string constants for the parameter options.
Definition: DropBackup.cs:21
A set of parameters for Kinetica.dropBackup.
Definition: DropBackup.cs:16
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of results returned by Kinetica.dropBackup.
Definition: DropBackup.cs:223
DropBackupRequest(string backup_name, string datasink_name, IDictionary< string, string > options=null)
Constructs a DropBackupRequest object with the specified parameters.
Definition: DropBackup.cs:210
const string NO_ERROR_IF_NOT_EXISTS
If FALSE will return an error if the provided backup_name does not exist.
Definition: DropBackup.cs:70