/** * The Confluence Cloud REST API * This document describes the REST API and resources provided by Confluence. The REST APIs are for developers who want to integrate Confluence into their application and for administrators who want to script interactions with the Confluence server.Confluence\'s REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The response format is JSON. Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE. Because the REST API is based on open standards, you can use any web development language to access the API. * * The version of the OpenAPI document: 1.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. */ import { OperationCheckResult, SpacePermissionSubjects } from './'; /** * This object represents the permissions for a space. Permissions consist of at least one operation object with an accompanying subjects object. The following combinations of `operation` and `targetType` values are valid for the `operation` object: - \'create\': \'page\', \'blogpost\', \'comment\', \'attachment\' - \'read\': \'space\' - \'delete\': \'page\', \'blogpost\', \'comment\', \'attachment\' - \'export\': \'space\' - \'administer\': \'space\' * @export * @interface SpacePermission */ export interface SpacePermission { /** * * @type {SpacePermissionSubjects} * @memberof SpacePermission */ subjects: SpacePermissionSubjects; /** * * @type {OperationCheckResult} * @memberof SpacePermission */ operation: OperationCheckResult; /** * Grant anonymous users permission to use the operation. * @type {boolean} * @memberof SpacePermission */ anonymousAccess: boolean; /** * Grants access to unlicensed users from JIRA Service Desk when used with the \'read space\' operation. * @type {boolean} * @memberof SpacePermission */ unlicensedAccess: boolean; } export declare function SpacePermissionFromJSON(json: any): SpacePermission; export declare function SpacePermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpacePermission; export declare function SpacePermissionToJSON(value?: SpacePermission): any;