Kinetica   C#   API  Version 7.2.3.0
ShowBackup.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 {
19  public class ShowBackupRequest : KineticaData
20  {
24  public struct Options
25  {
30  public const string BACKUP_ID = "backup_id";
31 
58  public const string BACKUP_TYPE = "backup_type";
59 
61  public const string ALL = "all";
62 
64  public const string FULL = "full";
65 
67  public const string INCREMENTAL = "incremental";
68 
70  public const string DIFFERENTIAL = "differential";
71 
97  public const string SHOW_CONTENTS = "show_contents";
98 
100  public const string NONE = "none";
101 
104  public const string OBJECT_NAMES = "object_names";
105 
108  public const string OBJECT_FILES = "object_files";
109 
123  public const string NO_ERROR_IF_NOT_EXISTS = "no_error_if_not_exists";
124 
125  public const string TRUE = "true";
126  public const string FALSE = "false";
127  } // end struct Options
128 
133  public string backup_name { get; set; } = "";
134 
137  public string datasource_name { get; set; }
138 
231  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
232 
235  public ShowBackupRequest() { }
236 
339  string datasource_name,
340  IDictionary<string, string> options = null)
341  {
342  this.backup_name = backup_name ?? "";
343  this.datasource_name = datasource_name ?? "";
344  this.options = options ?? new Dictionary<string, string>();
345  } // end constructor
346  } // end class ShowBackupRequest
347 
351  public class ShowBackupResponse : KineticaData
352  {
355  public string backup_name { get; set; }
356 
358  public IList<IDictionary<string, string>> backup_description { get; set; } = new List<IDictionary<string, string>>();
359 
362  public IList<IDictionary<string, string>> backup_ids { get; set; } = new List<IDictionary<string, string>>();
363 
373  public IList<IDictionary<string, string>> backup_contents { get; set; } = new List<IDictionary<string, string>>();
374 
377  public IList<IDictionary<string, string>> deleted_backup_ids { get; set; } = new List<IDictionary<string, string>>();
378 
380  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
381  } // end class ShowBackupResponse
382 } // end namespace kinetica
const string NONE
No backup contents
Definition: ShowBackup.cs:54
const string OBJECT_FILES
Object names and files
Definition: ShowBackup.cs:60
const string SHOW_CONTENTS
Shows the contents of the specified backup_id.
Definition: ShowBackup.cs:51
const string BACKUP_TYPE
Show backups by type.
Definition: ShowBackup.cs:58
IList< IDictionary< string, string > > deleted_backup_ids
Backup instances that have been deleted from this backup object
Definition: ShowBackup.cs:247
IDictionary< string, string > options
Optional parameters.
Definition: ShowBackup.cs:146
string backup_name
Value of backup_name.
Definition: ShowBackup.cs:234
IList< IDictionary< string, string > > backup_description
Backup description
Definition: ShowBackup.cs:237
string backup_name
Name of the backup object.
Definition: ShowBackup.cs:85
string datasource_name
Datasource where backup is located.
Definition: ShowBackup.cs:88
const string OBJECT_NAMES
Object names only
Definition: ShowBackup.cs:57
IList< IDictionary< string, string > > backup_contents
Backup contents
Definition: ShowBackup.cs:243
const string NO_ERROR_IF_NOT_EXISTS
If FALSE will return an error if the provided backup_name does not exist.
Definition: ShowBackup.cs:76
IList< IDictionary< string, string > > backup_ids
Backup instances in this backup
Definition: ShowBackup.cs:240
IDictionary< string, string > info
Additional information.
Definition: ShowBackup.cs:250
ShowBackupRequest()
Constructs a ShowBackupRequest object with default parameters.
Definition: ShowBackup.cs:235
const string BACKUP_ID
Backup instance ID to show.
Definition: ShowBackup.cs:28
const string DIFFERENTIAL
Show differential backups only.
Definition: ShowBackup.cs:70
const string ALL
Show all backup types.
Definition: ShowBackup.cs:61
const string INCREMENTAL
Show incremental backups only.
Definition: ShowBackup.cs:67
const string FULL
Show full backups only.
Definition: ShowBackup.cs:64
ShowBackupRequest(string backup_name, string datasource_name, IDictionary< string, string > options=null)
Constructs a ShowBackupRequest object with the specified parameters.
Definition: ShowBackup.cs:338