Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
RevokePermissionCredential.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 
23  {
24 
43  public struct Permission
44  {
45 
48  public const string CREDENTIAL_ADMIN = "credential_admin";
49 
51  public const string CREDENTIAL_READ = "credential_read";
52  } // end struct Permission
53 
54 
57  public string name { get; set; }
58 
75  public string permission { get; set; }
76 
80  public string credential_name { get; set; }
81 
84  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
85 
86 
90 
121  string permission,
122  string credential_name,
123  IDictionary<string, string> options = null)
124  {
125  this.name = name ?? "";
126  this.permission = permission ?? "";
127  this.credential_name = credential_name ?? "";
128  this.options = options ?? new Dictionary<string, string>();
129  } // end constructor
130 
131  } // end class RevokePermissionCredentialRequest
132 
133 
134 
139  {
140 
143  public string name { get; set; }
144 
147  public string permission { get; set; }
148 
152  public string credential_name { get; set; }
153 
155  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
156 
157  } // end class RevokePermissionCredentialResponse
158 
159 
160 
161 
162 } // end namespace kinetica
string name
Name of the user or role from which the permission will be revoked.
const string CREDENTIAL_READ
Ability to read and use the credential.
A set of parameters for Kinetica.revokePermissionCredential(string,string,string,IDictionary{string, string}).
IDictionary< string, string > options
Optional parameters.
const string CREDENTIAL_ADMIN
Full read/write and administrative access on the credential.
string credential_name
Name of the credential on which the permission will be revoked.
IDictionary< string, string > info
Additional information.
A set of results returned by Kinetica.revokePermissionCredential(string,string,string,IDictionary{string, string}).
RevokePermissionCredentialRequest()
Constructs a RevokePermissionCredentialRequest object with default parameters.
string permission
Permission to revoke from the user or role.
RevokePermissionCredentialRequest(string name, string permission, string credential_name, IDictionary< string, string > options=null)
Constructs a RevokePermissionCredentialRequest object with the specified parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14