7 using System.Collections.Generic;
18 public class RevokePermissionCredentialRequest : KineticaData
24 public struct Permission
37 public string name {
get;
set; }
68 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
107 IDictionary<string, string>
options =
null)
109 this.name =
name ??
"";
119 public class RevokePermissionCredentialResponse : KineticaData
123 public string name {
get;
set; }
136 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
const string CREDENTIAL_ADMIN
Full read/write and administrative access on the credential.
IDictionary< string, string > info
Additional information.
const string CREDENTIAL_READ
Ability to read and use the credential.
IDictionary< string, string > options
Optional parameters.
string name
Value of name.
string credential_name
Name of the credential on which the permission will be revoked.
RevokePermissionCredentialRequest()
Constructs a RevokePermissionCredentialRequest object with default parameters.
string permission
Value of permission.
string name
Name of the user or role from which the permission will be revoked.
RevokePermissionCredentialRequest(string name, string permission, string credential_name, IDictionary< string, string > options=null)
Constructs a RevokePermissionCredentialRequest object with the specified parameters.
string permission
Permission to revoke from the user or role.
string credential_name
Value of credential_name.