Kinetica   C#   API  Version 7.2.3.0
AlterRole.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 {
16  {
21  public struct Action
22  {
24  public const string SET_COMMENT = "set_comment";
25 
31  public const string SET_RESOURCE_GROUP = "set_resource_group";
32  } // end struct Action
33 
36  public string name { get; set; }
37 
58  public string action { get; set; }
59 
62  public string _value { get; set; }
63 
67  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
68 
71  public AlterRoleRequest() { }
72 
102  public AlterRoleRequest( string name,
103  string action,
104  string _value,
105  IDictionary<string, string> options = null)
106  {
107  this.name = name ?? "";
108  this.action = action ?? "";
109  this._value = _value ?? "";
110  this.options = options ?? new Dictionary<string, string>();
111  } // end constructor
112  } // end class AlterRoleRequest
113 
118  {
121  public string name { get; set; }
122 
124  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
125  } // end class AlterRoleResponse
126 } // end namespace kinetica
string action
Modification operation to be applied to the role.
Definition: AlterRole.cs:58
string name
Name of the role to be altered.
Definition: AlterRole.cs:36
A set of string constants for the parameter action.
Definition: AlterRole.cs:21
AlterRoleRequest(string name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterRoleRequest object with the specified parameters.
Definition: AlterRole.cs:102
A set of results returned by Kinetica.alterRole.
Definition: AlterRole.cs:117
A set of parameters for Kinetica.alterRole.
Definition: AlterRole.cs:15
string _value
The value of the modification, depending on action.
Definition: AlterRole.cs:62
const string SET_COMMENT
Sets the comment for an internal role.
Definition: AlterRole.cs:24
AlterRoleRequest()
Constructs an AlterRoleRequest object with default parameters.
Definition: AlterRole.cs:71
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > info
Additional information.
Definition: AlterRole.cs:124
IDictionary< string, string > options
Optional parameters.
Definition: AlterRole.cs:67
string name
Value of name.
Definition: AlterRole.cs:121
const string SET_RESOURCE_GROUP
Sets the resource group for an internal role.
Definition: AlterRole.cs:31