Kinetica   C#   API  Version 7.2.3.1
GrantPermissionDirectory.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 
18 {
23  public struct Permission
24  {
27  public const string DIRECTORY_READ = "directory_read";
28 
33  public const string DIRECTORY_WRITE = "directory_write";
34  } // end struct Permission
35 
39  public string name { get; set; }
40 
59  public string permission { get; set; }
60 
65  public string directory_name { get; set; }
66 
70  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
71 
75 
105  string permission,
106  string directory_name,
107  IDictionary<string, string> options = null)
108  {
109  this.name = name ?? "";
110  this.permission = permission ?? "";
111  this.directory_name = directory_name ?? "";
112  this.options = options ?? new Dictionary<string, string>();
113  } // end constructor
114 } // end class GrantPermissionDirectoryRequest
115 
120 {
123  public string name { get; set; }
124 
128  public string permission { get; set; }
129 
133  public string directory_name { get; set; }
134 
136  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
137 } // end class GrantPermissionDirectoryResponse
string permission
Permission to grant to the user or role.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of results returned by Kinetica.grantPermissionDirectory.
A set of string constants for the parameter permission.
const string DIRECTORY_WRITE
Access to upload files to, or delete files from, the directory.
string directory_name
Value of directory_name.
IDictionary< string, string > info
Additional information.
const string DIRECTORY_READ
For files in the directory, access to list files, download files, or use files in server side functio...
string name
Name of the user or role to which the permission will be granted.
GrantPermissionDirectoryRequest(string name, string permission, string directory_name, IDictionary< string, string > options=null)
Constructs a GrantPermissionDirectoryRequest object with the specified parameters.
GrantPermissionDirectoryRequest()
Constructs a GrantPermissionDirectoryRequest object with default parameters.
IDictionary< string, string > options
Optional parameters.
string directory_name
Name of the KiFS directory to which the permission grants access.
A set of parameters for Kinetica.grantPermissionDirectory.