/** * 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. */ /** * * @export * @interface SharePermissionInputBean */ export interface SharePermissionInputBean { /** * The ID of the project role to share the filter with. Set `type` to `projectRole` and the `projectId` for the project that the role is in. * @type {string} * @memberof SharePermissionInputBean */ projectRoleId?: string; /** * The name of the group to share the filter with. Set `type` to `group`. * @type {string} * @memberof SharePermissionInputBean */ groupname?: string; /** * The type of the share permission.Specify the type as follows: * `group` Share with a group. Specify `groupname` as well. * `project` Share with a project. Specify `projectId` as well. * `projectRole` Share with a project role in a project. Specify `projectId` and `projectRoleId` as well. * `global` Share globally, including anonymous users. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set. * `authenticated` Share with all logged-in users. This shows as `loggedin` in the response. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set. * @type {string} * @memberof SharePermissionInputBean */ type: SharePermissionInputBeanTypeEnum; /** * The ID of the project to share the filter with. Set `type` to `project`. * @type {string} * @memberof SharePermissionInputBean */ projectId?: string; } export declare function SharePermissionInputBeanFromJSON(json: any): SharePermissionInputBean; export declare function SharePermissionInputBeanFromJSONTyped(json: any, ignoreDiscriminator: boolean): SharePermissionInputBean; export declare function SharePermissionInputBeanToJSON(value?: SharePermissionInputBean): any; /** * @export * @enum {string} */ export declare enum SharePermissionInputBeanTypeEnum { Project = "project", Group = "group", ProjectRole = "projectRole", Global = "global", Authenticated = "authenticated" }