Kinetica   C#   API  Version 7.2.3.1
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 namespace kinetica;
10 
19 {
24  public struct Permission
25  {
28  public const string CREDENTIAL_ADMIN = "credential_admin";
29 
31  public const string CREDENTIAL_READ = "credential_read";
32  } // end struct Permission
33 
37  public string name { get; set; }
38 
56  public string permission { get; set; }
57 
62  public string credential_name { get; set; }
63 
67  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
68 
72 
101  string permission,
102  string credential_name,
103  IDictionary<string, string> options = null)
104  {
105  this.name = name ?? "";
106  this.permission = permission ?? "";
107  this.credential_name = credential_name ?? "";
108  this.options = options ?? new Dictionary<string, string>();
109  } // end constructor
110 } // end class RevokePermissionCredentialRequest
111 
116 {
119  public string name { get; set; }
120 
124  public string permission { get; set; }
125 
129  public string credential_name { get; set; }
130 
132  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
133 } // end class RevokePermissionCredentialResponse
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
string credential_name
Value of credential_name.
A set of parameters for Kinetica.revokePermissionCredential.
RevokePermissionCredentialRequest()
Constructs a RevokePermissionCredentialRequest object with default parameters.
string name
Name of the user or role from which the permission will be revoked.
const string CREDENTIAL_ADMIN
Full read/write and administrative access on the credential.
const string CREDENTIAL_READ
Ability to read and use the credential.
A set of string constants for the parameter permission.
string credential_name
Name of the credential on which the permission will be revoked.
A set of results returned by Kinetica.revokePermissionCredential.
IDictionary< string, string > options
Optional parameters.
string permission
Permission to revoke from the user or role.
IDictionary< string, string > info
Additional information.