/** * 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 { JqlQueryClauseOperand, JqlQueryClauseTimePredicate, JqlQueryField } from './'; /** * A clause that asserts a previous value of a field. For example, `status WAS \"Resolved\" BY currentUser() BEFORE \"2019/02/02\"`. See [WAS](https://confluence.atlassian.com/x/dgiiLQ#Advancedsearching-operatorsreference-WASWAS) for more information about the WAS operator. * @export * @interface FieldWasClause */ export interface FieldWasClause { /** * The operator between the field and operand. * @type {string} * @memberof FieldWasClause */ operator: FieldWasClauseOperatorEnum; /** * * @type {JqlQueryField} * @memberof FieldWasClause */ field: JqlQueryField; /** * The list of time predicates. * @type {Array} * @memberof FieldWasClause */ predicates: Array; /** * * @type {JqlQueryClauseOperand} * @memberof FieldWasClause */ operand: JqlQueryClauseOperand; } export declare function FieldWasClauseFromJSON(json: any): FieldWasClause; export declare function FieldWasClauseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FieldWasClause; export declare function FieldWasClauseToJSON(value?: FieldWasClause): any; /** * @export * @enum {string} */ export declare enum FieldWasClauseOperatorEnum { Was = "was", WasIn = "was in", WasNotIn = "was not in", WasNot = "was not" }