Kinetica   C#   API  Version 7.2.3.0
CreateRole.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  {
20  public struct Options
21  {
24  public const string RESOURCE_GROUP = "resource_group";
25  } // end struct Options
26 
31  public string name { get; set; }
32 
43  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
44 
47  public CreateRoleRequest() { }
48 
66  public CreateRoleRequest( string name,
67  IDictionary<string, string> options = null)
68  {
69  this.name = name ?? "";
70  this.options = options ?? new Dictionary<string, string>();
71  } // end constructor
72  } // end class CreateRoleRequest
73 
78  {
81  public string name { get; set; }
82 
84  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
85  } // end class CreateRoleResponse
86 } // end namespace kinetica
const string RESOURCE_GROUP
Name of an existing resource group to associate with this user
Definition: CreateRole.cs:24
IDictionary< string, string > info
Additional information.
Definition: CreateRole.cs:84
CreateRoleRequest()
Constructs a CreateRoleRequest object with default parameters.
Definition: CreateRole.cs:47
A set of string constants for the parameter options.
Definition: CreateRole.cs:20
A set of results returned by Kinetica.createRole.
Definition: CreateRole.cs:77
IDictionary< string, string > options
Optional parameters.
Definition: CreateRole.cs:43
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string name
Value of name.
Definition: CreateRole.cs:81
CreateRoleRequest(string name, IDictionary< string, string > options=null)
Constructs a CreateRoleRequest object with the specified parameters.
Definition: CreateRole.cs:66
A set of parameters for Kinetica.createRole.
Definition: CreateRole.cs:15
string name
Name of the role to be created.
Definition: CreateRole.cs:31