Kinetica   C#   API  Version 7.2.3.0
RevokePermissionSystem.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 {
16  public class RevokePermissionSystemRequest : KineticaData
17  {
22  public struct Permission
23  {
26  public const string SYSTEM_ADMIN = "system_admin";
27 
30  public const string SYSTEM_USER_ADMIN = "system_user_admin";
31 
33  public const string SYSTEM_WRITE = "system_write";
34 
36  public const string SYSTEM_READ = "system_read";
37 
39  public const string SYSTEM_SEND_ALERT = "system_send_alert";
40  } // end struct Permission
41 
45  public string name { get; set; }
46 
81  public string permission { get; set; }
82 
86  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
87 
91 
136  string permission,
137  IDictionary<string, string> options = null)
138  {
139  this.name = name ?? "";
140  this.permission = permission ?? "";
141  this.options = options ?? new Dictionary<string, string>();
142  } // end constructor
143  } // end class RevokePermissionSystemRequest
144 
148  public class RevokePermissionSystemResponse : KineticaData
149  {
152  public string name { get; set; }
153 
157  public string permission { get; set; }
158 
160  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
161  } // end class RevokePermissionSystemResponse
162 } // end namespace kinetica
RevokePermissionSystemRequest()
Constructs a RevokePermissionSystemRequest object with default parameters.
RevokePermissionSystemRequest(string name, string permission, IDictionary< string, string > options=null)
Constructs a RevokePermissionSystemRequest object with the specified parameters.
IDictionary< string, string > options
Optional parameters.
IDictionary< string, string > info
Additional information.
const string SYSTEM_READ
Read-only access to all tables.
string permission
Permission to revoke from the user or role.
const string SYSTEM_USER_ADMIN
Access to administer users and roles that do not have system_admin permission.
const string SYSTEM_ADMIN
Full access to all data and system functions.
const string SYSTEM_WRITE
Read and write access to all tables.
string name
Name of the user or role from which the permission will be revoked.