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