Kinetica   C#   API  Version 7.2.3.0
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 
57  public string permission { get; set; }
58 
63  public string credential_name { get; set; }
64 
68  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
69 
73 
105  string permission,
106  string credential_name,
107  IDictionary<string, string> options = null)
108  {
109  this.name = name ?? "";
110  this.permission = permission ?? "";
111  this.credential_name = credential_name ?? "";
112  this.options = options ?? new Dictionary<string, string>();
113  } // end constructor
114  } // end class RevokePermissionCredentialRequest
115 
120  {
123  public string name { get; set; }
124 
128  public string permission { get; set; }
129 
133  public string credential_name { get; set; }
134 
136  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
137  } // end class RevokePermissionCredentialResponse
138 } // 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.
IDictionary< string, string > options
Optional parameters.
const string CREDENTIAL_ADMIN
Full read/write and administrative access on 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.
IDictionary< string, string > info
Additional information.
A set of results returned by Kinetica.revokePermissionCredential.
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