Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
RevokePermissionTable.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 
10 
11 namespace kinetica
12 {
13 
18  {
19 
25  public struct Permission
26  {
27 
30  public const string TABLE_ADMIN = "table_admin";
31 
33  public const string TABLE_INSERT = "table_insert";
34 
36  public const string TABLE_UPDATE = "table_update";
37 
39  public const string TABLE_DELETE = "table_delete";
40 
42  public const string TABLE_READ = "table_read";
43  } // end struct Permission
44 
45 
48  public string name { get; set; }
49 
53  public string permission { get; set; }
54 
57  public string table_name { get; set; }
58 
60  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
61 
62 
66 
83  string permission,
84  string table_name,
85  IDictionary<string, string> options)
86  {
87  this.name = name ?? "";
88  this.permission = permission ?? "";
89  this.table_name = table_name ?? "";
90  this.options = options ?? new Dictionary<string, string>();
91  } // end constructor
92 
93  } // end class RevokePermissionTableRequest
94 
95 
96 
100  {
101 
104  public string name { get; set; }
105 
108  public string permission { get; set; }
109 
112  public string table_name { get; set; }
113 
114  } // end class RevokePermissionTableResponse
115 
116 
117 
118 
119 } // end namespace kinetica
const string TABLE_READ
Read access to the table.
const string TABLE_INSERT
Insert access to the table.
RevokePermissionTableRequest()
Constructs a RevokePermissionTableRequest object with default parameters.
RevokePermissionTableRequest(string name, string permission, string table_name, IDictionary< string, string > options)
Constructs a RevokePermissionTableRequest object with the specified parameters.
A set of results returned by /revoke/permission/table.
string permission
Permission to revoke from the user or role.
const string TABLE_DELETE
Delete access to the table.
const string TABLE_UPDATE
Update access to the table.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
Permission to revoke from the user or role.
const string TABLE_ADMIN
Full read/write and administrative access to the table.
string table_name
Name of the table to which the permission grants access.
IDictionary< string, string > options
Optional parameters.
string name
Name of the user or role from which the permission will be revoked.
A set of parameters for /revoke/permission/table.