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 {
17  public class ShowBackupRequest : KineticaData
18  {
22  public struct Options
23  {
28  public const string BACKUP_ID = "backup_id";
29 
51  public const string SHOW_CONTENTS = "show_contents";
52 
54  public const string NONE = "none";
55 
57  public const string OBJECT_NAMES = "object_names";
58 
60  public const string OBJECT_FILES = "object_files";
61 
76  public const string NO_ERROR_IF_NOT_EXISTS = "no_error_if_not_exists";
77 
78  public const string TRUE = "true";
79  public const string FALSE = "false";
80  } // end struct Options
81 
85  public string backup_name { get; set; } = "";
86 
88  public string datasource_name { get; set; }
89 
146  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
147 
150  public ShowBackupRequest() { }
151 
218  string datasource_name,
219  IDictionary<string, string> options = null)
220  {
221  this.backup_name = backup_name ?? "";
222  this.datasource_name = datasource_name ?? "";
223  this.options = options ?? new Dictionary<string, string>();
224  } // end constructor
225  } // end class ShowBackupRequest
226 
230  public class ShowBackupResponse : KineticaData
231  {
234  public string backup_name { get; set; }
235 
237  public IList<IDictionary<string, string>> backup_description { get; set; } = new List<IDictionary<string, string>>();
238 
240  public IList<IDictionary<string, string>> backup_ids { get; set; } = new List<IDictionary<string, string>>();
241 
243  public IList<IDictionary<string, string>> backup_contents { get; set; } = new List<IDictionary<string, string>>();
244 
247  public IList<IDictionary<string, string>> deleted_backup_ids { get; set; } = new List<IDictionary<string, string>>();
248 
250  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
251  } // end class ShowBackupResponse
252 } // 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:150
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:217