/** * 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 { FilterSubscription, SharePermission, User } from './'; /** * Details of a filter identified as part of a search. * @export * @interface FoundFilter */ export interface FoundFilter { /** * A URL to view the filter results in Jira, using the ID of the filter. For example, *https://your-domain.atlassian.net/issues/?filter=10100*. * @type {string} * @memberof FoundFilter */ readonly viewUrl?: string; /** * Indicates whether the filter is selected as a favorite by any users, not including the filter owner. * @type {boolean} * @memberof FoundFilter */ readonly favourite?: boolean; /** * The users that are subscribed to the filter. * @type {Array} * @memberof FoundFilter */ readonly subscriptions?: Array; /** * The URL of the filter. * @type {string} * @memberof FoundFilter */ readonly self?: string; /** * A URL to view the filter results in Jira, using the [Search for issues using JQL](#api-rest-api-3-filter-search-get) operation with the filter\'s JQL string to return the filter results. For example, *https://your-domain.atlassian.net/rest/api/3/search?jql=project+%3D+SSP+AND+issuetype+%3D+Bug*. * @type {string} * @memberof FoundFilter */ readonly searchUrl?: string; /** * The user who owns the filter. This is defaulted to the creator of the filter, however Jira administrators can change the owner of a shared filter in the admin settings. * @type {User} * @memberof FoundFilter */ readonly owner?: User; /** * The count of how many users have selected this filter as a favorite, including the filter owner. * @type {number} * @memberof FoundFilter */ readonly favouritedCount?: number; /** * The JQL query for the filter. For example, *project = SSP AND issuetype = Bug*. * @type {string} * @memberof FoundFilter */ readonly jql?: string; /** * The unique identifier for the filter. * @type {string} * @memberof FoundFilter */ readonly id?: string; /** * A description of the filter. * @type {string} * @memberof FoundFilter */ description?: string; /** * The groups and projects that the filter is shared with. This can be specified when updating a filter, but not when creating a filter. * @type {Array} * @memberof FoundFilter */ sharePermissions?: Array; /** * The name of the filter. Must be unique. * @type {string} * @memberof FoundFilter */ name: string; } export declare function FoundFilterFromJSON(json: any): FoundFilter; export declare function FoundFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): FoundFilter; export declare function FoundFilterToJSON(value?: FoundFilter): any;