7 using System.Collections.Generic;
15 public class AlterRoleRequest : KineticaData
36 public string name {
get;
set; }
58 public string action {
get;
set; }
62 public string _value {
get;
set; }
67 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
105 IDictionary<string, string>
options =
null)
107 this.name =
name ??
"";
108 this.action =
action ??
"";
109 this._value =
_value ??
"";
117 public class AlterRoleResponse : KineticaData
121 public string name {
get;
set; }
124 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
AlterRoleRequest(string name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterRoleRequest object with the specified parameters.
string action
Modification operation to be applied to the role.
string name
Name of the role to be altered.
string name
Value of name.
AlterRoleRequest()
Constructs an AlterRoleRequest object with default parameters.
string _value
The value of the modification, depending on action.
IDictionary< string, string > options
Optional parameters.
const string SET_RESOURCE_GROUP
Sets the resource group for an internal role.
IDictionary< string, string > info
Additional information.
const string SET_COMMENT
Sets the comment for an internal role.