/** * 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. */ /** * * @export * @interface UserRoleCreate */ export interface UserRoleCreate { /** * the role that will be assigned (accepts either the role id or the role key) * @type {string} * @memberof UserRoleCreate */ role: string; /** * the tenant the role is associated with (accepts either the tenant id or the tenant key) * @type {string} * @memberof UserRoleCreate */ tenant?: string; /** * the resource instance the role is associated with (accepts either the resource instance id or key using this format resource_type:resource_instance) * @type {string} * @memberof UserRoleCreate */ resource_instance?: string; }