Kinetica   C#   API  Version 7.2.3.1
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 
30  public const string SET_RESOURCE_GROUP = "set_resource_group";
31  } // end struct Action
32 
35  public string name { get; set; }
36 
54  public string action { get; set; }
55 
58  public string _value { get; set; }
59 
63  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
64 
67  public AlterRoleRequest() { }
68 
95  public AlterRoleRequest( string name,
96  string action,
97  string _value,
98  IDictionary<string, string> options = null)
99  {
100  this.name = name ?? "";
101  this.action = action ?? "";
102  this._value = _value ?? "";
103  this.options = options ?? new Dictionary<string, string>();
104  } // end constructor
105 } // end class AlterRoleRequest
106 
111 {
114  public string name { get; set; }
115 
117  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
118 } // end class AlterRoleResponse
const string SET_RESOURCE_GROUP
Sets the resource group for an internal role.
Definition: AlterRole.cs:30
A set of parameters for Kinetica.alterRole.
Definition: AlterRole.cs:15
IDictionary< string, string > options
Optional parameters.
Definition: AlterRole.cs:63
A set of results returned by Kinetica.alterRole.
Definition: AlterRole.cs:110
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
AlterRoleRequest()
Constructs an AlterRoleRequest object with default parameters.
Definition: AlterRole.cs:67
const string SET_COMMENT
Sets the comment for an internal role.
Definition: AlterRole.cs:24
string action
Modification operation to be applied to the role.
Definition: AlterRole.cs:54
string _value
The value of the modification, depending on action.
Definition: AlterRole.cs:58
string name
Value of name.
Definition: AlterRole.cs:114
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:95
string name
Name of the role to be altered.
Definition: AlterRole.cs:35
IDictionary< string, string > info
Additional information.
Definition: AlterRole.cs:117