/** * OpenAPI definition * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { RelationBlockRead } from './RelationBlockRead.js'; import type { RoleRead } from './RoleRead.js'; import type { AttributeBlockRead } from './AttributeBlockRead.js'; import type { ActionBlockRead } from './ActionBlockRead.js'; /** * * @export * @interface ResourceRead */ export interface ResourceRead { /** * * @type {string} * @memberof ResourceRead */ id?: string; /** * * @type {string} * @memberof ResourceRead */ key?: string; /** * * @type {string} * @memberof ResourceRead */ name?: string; /** * * @type {string} * @memberof ResourceRead */ description?: string; /** * * @type {string} * @memberof ResourceRead */ urn?: string; /** * * @type {string} * @memberof ResourceRead */ organizationId?: string; /** * * @type {string} * @memberof ResourceRead */ projectId?: string; /** * * @type {string} * @memberof ResourceRead */ environmentId?: string; /** * * @type {string} * @memberof ResourceRead */ createdAt?: string; /** * * @type {string} * @memberof ResourceRead */ updatedAt?: string; /** * * @type {{ [key: string]: ActionBlockRead; }} * @memberof ResourceRead */ actions?: { [key: string]: ActionBlockRead; }; /** * * @type {{ [key: string]: AttributeBlockRead; }} * @memberof ResourceRead */ attributes?: { [key: string]: AttributeBlockRead; }; /** * * @type {{ [key: string]: RoleRead; }} * @memberof ResourceRead */ roles?: { [key: string]: RoleRead; }; /** * * @type {{ [key: string]: RelationBlockRead; }} * @memberof ResourceRead */ relations?: { [key: string]: RelationBlockRead; }; } /** * Check if a given object implements the ResourceRead interface. */ export declare function instanceOfResourceRead(value: object): value is ResourceRead; export declare function ResourceReadFromJSON(json: any): ResourceRead; export declare function ResourceReadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceRead; export declare function ResourceReadToJSON(json: any): ResourceRead; export declare function ResourceReadToJSONTyped(value?: ResourceRead | null, ignoreDiscriminator?: boolean): any;