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 
57  public const string SHOW_CONTENTS = "show_contents";
58 
60  public const string NONE = "none";
61 
64  public const string OBJECT_NAMES = "object_names";
65 
68  public const string OBJECT_FILES = "object_files";
69 
83  public const string NO_ERROR_IF_NOT_EXISTS = "no_error_if_not_exists";
84 
85  public const string TRUE = "true";
86  public const string FALSE = "false";
87  } // end struct Options
88 
93  public string backup_name { get; set; } = "";
94 
97  public string datasource_name { get; set; }
98 
157  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
158 
161  public ShowBackupRequest() { }
162 
231  string datasource_name,
232  IDictionary<string, string> options = null)
233  {
234  this.backup_name = backup_name ?? "";
235  this.datasource_name = datasource_name ?? "";
236  this.options = options ?? new Dictionary<string, string>();
237  } // end constructor
238  } // end class ShowBackupRequest
239 
243  public class ShowBackupResponse : KineticaData
244  {
247  public string backup_name { get; set; }
248 
250  public IList<IDictionary<string, string>> backup_description { get; set; } = new List<IDictionary<string, string>>();
251 
254  public IList<IDictionary<string, string>> backup_ids { get; set; } = new List<IDictionary<string, string>>();
255 
265  public IList<IDictionary<string, string>> backup_contents { get; set; } = new List<IDictionary<string, string>>();
266 
269  public IList<IDictionary<string, string>> deleted_backup_ids { get; set; } = new List<IDictionary<string, string>>();
270 
272  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
273  } // end class ShowBackupResponse
274 } // 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
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:161
const string BACKUP_ID
Backup instance ID to show.
Definition: ShowBackup.cs:28
ShowBackupRequest(string backup_name, string datasource_name, IDictionary< string, string > options=null)
Constructs a ShowBackupRequest object with the specified parameters.
Definition: ShowBackup.cs:230