/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { PermissionHolder } from './'; /** * Details about a permission granted to a user or group. * @export * @interface PermissionGrant */ export interface PermissionGrant { /** * The ID of the permission granted details. * @type {number} * @memberof PermissionGrant */ readonly id?: number; /** * The URL of the permission granted details. * @type {string} * @memberof PermissionGrant */ readonly self?: string; /** * The user or group being granted the permission. It consists of a `type` and a type-dependent `parameter`. See [Holder object](#holder-object) in *Get all permission schemes* for more information. * @type {PermissionHolder} * @memberof PermissionGrant */ holder?: PermissionHolder; /** * The permission to grant. This permission can be one of the built-in permissions or a custom permission added by an app. See [Built-in permissions](#built-in-permissions) in *Get all permission schemes* for more information about the built-in permissions. See the [project permission](https://developer.atlassian.com/cloud/jira/platform/modules/project-permission/) and [global permission](https://developer.atlassian.com/cloud/jira/platform/modules/global-permission/) module documentation for more information about custom permissions. * @type {string} * @memberof PermissionGrant */ permission?: string; } export declare function PermissionGrantFromJSON(json: any): PermissionGrant; export declare function PermissionGrantFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionGrant; export declare function PermissionGrantToJSON(value?: PermissionGrant): any;