Kinetica   C#   API  Version 7.2.3.0
RevokePermissionDatasource.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 {
18  {
23  public struct Permission
24  {
26  public const string ADMIN = "admin";
27 
29  public const string CONNECT = "connect";
30  } // end struct Permission
31 
35  public string name { get; set; }
36 
51  public string permission { get; set; }
52 
57  public string datasource_name { get; set; }
58 
62  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
63 
67 
95  string permission,
96  string datasource_name,
97  IDictionary<string, string> options = null)
98  {
99  this.name = name ?? "";
100  this.permission = permission ?? "";
101  this.datasource_name = datasource_name ?? "";
102  this.options = options ?? new Dictionary<string, string>();
103  } // end constructor
104  } // end class RevokePermissionDatasourceRequest
105 
110  {
113  public string name { get; set; }
114 
118  public string permission { get; set; }
119 
123  public string datasource_name { get; set; }
124 
126  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
127  } // end class RevokePermissionDatasourceResponse
128 } // end namespace kinetica
const string CONNECT
Connect access on the given data source
string datasource_name
Name of the data source on which the permission will be revoked.
A set of string constants for the parameter permission.
RevokePermissionDatasourceRequest(string name, string permission, string datasource_name, IDictionary< string, string > options=null)
Constructs a RevokePermissionDatasourceRequest object with the specified parameters.
A set of parameters for Kinetica.revokePermissionDatasource.
const string ADMIN
Admin access on the given data source
IDictionary< string, string > info
Additional information.
string permission
Permission to revoke from the user or role.
string name
Name of the user or role from which the permission will be revoked.
IDictionary< string, string > options
Optional parameters.
RevokePermissionDatasourceRequest()
Constructs a RevokePermissionDatasourceRequest object with default parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of results returned by Kinetica.revokePermissionDatasource.