Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
10 
11 namespace kinetica
12 {
13 
21  {
22 
41  public struct Permission
42  {
43 
45  public const string ADMIN = "admin";
46 
48  public const string CONNECT = "connect";
49  } // end struct Permission
50 
51 
54  public string name { get; set; }
55 
72  public string permission { get; set; }
73 
77  public string datasource_name { get; set; }
78 
81  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
82 
83 
87 
117  string permission,
118  string datasource_name,
119  IDictionary<string, string> options = null)
120  {
121  this.name = name ?? "";
122  this.permission = permission ?? "";
123  this.datasource_name = datasource_name ?? "";
124  this.options = options ?? new Dictionary<string, string>();
125  } // end constructor
126 
127  } // end class RevokePermissionDatasourceRequest
128 
129 
130 
135  {
136 
139  public string name { get; set; }
140 
143  public string permission { get; set; }
144 
148  public string datasource_name { get; set; }
149 
151  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
152 
153  } // end class RevokePermissionDatasourceResponse
154 
155 
156 
157 
158 } // 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.
Permission to revoke from the user or role Supported values: ADMIN: Admin access on the given data so...
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(string,string,string,IDictionary{string, string}).
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 Supported values: ADMIN: Admin access on the given data so...
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(string,string,string,IDictionary{string, string}).