-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathrole-update.ts
More file actions
61 lines (59 loc) · 1.61 KB
/
role-update.ts
File metadata and controls
61 lines (59 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* tslint:disable */
/* eslint-disable */
/**
* Permit.io API
* Authorization as a service
*
* The version of the OpenAPI document: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import { GrantedTo1 } from './granted-to1';
/**
*
* @export
* @interface RoleUpdate
*/
export interface RoleUpdate {
/**
* The name of the role
* @type {string}
* @memberof RoleUpdate
*/
name?: string;
/**
* optional description string explaining what this role represents, or what permissions are granted to it.
* @type {string}
* @memberof RoleUpdate
*/
description?: string;
/**
* list of action keys that define what actions this resource role is permitted to do
* @type {Array<string>}
* @memberof RoleUpdate
*/
permissions?: Array<string>;
/**
* optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only \'equals\' operator
* @type {object}
* @memberof RoleUpdate
*/
attributes?: object;
/**
* list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.
* @type {Array<string>}
* @memberof RoleUpdate
*/
extends?: Array<string>;
/**
*
* @type {GrantedTo1}
* @memberof RoleUpdate
*/
granted_to?: GrantedTo1;
}