/** * Jira Software Cloud API * Jira Software Cloud REST API documentation * * The version of the OpenAPI document: 1001.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 { InlineResponse2004Author1, InlineResponse2004Reviewers } from './'; /** * Represents a pull request * @export * @interface InlineResponse2004PullRequests */ export interface InlineResponse2004PullRequests { /** * The ID of this entity. Will be used for cross entity linking. Must be unique by entity type within a repository, i.e., only one commit can have ID \'X\' in repository \'Y\'. But adding, e.g., a branch with ID \'X\' to repository \'Y\' is acceptable. Only alphanumeric characters, and \'~.-_\', are allowed. Max length is 1024 characters * @type {string} * @memberof InlineResponse2004PullRequests */ id: string; /** * List of issues keys that this entity is associated with. They must be valid JIRA issue keys. Minimum number of issue keys is 1. Maximum number of issue keys is 100 * @type {Array} * @memberof InlineResponse2004PullRequests */ issueKeys: Array; /** * An ID used to apply an ordering to updates for this entity in the case of out-of-order receipt of update requests. This can be any monotonically increasing number. A suggested implementation is to use epoch millis from the provider system, but other alternatives are valid (e.g. a provider could store a counter against each entity and increment that on each update to Jira). Updates for an entity that are received with an updateSqeuenceId lower than what is currently stored will be ignored. * @type {number} * @memberof InlineResponse2004PullRequests */ updateSequenceId: number; /** * The status of the pull request. In the case of concurrent updates, priority is given in the order OPEN, MERGED, DECLINED, UNKNOWN * @type {string} * @memberof InlineResponse2004PullRequests */ status: InlineResponse2004PullRequestsStatusEnum; /** * Title of the pull request. Max length is 1024 characters * @type {string} * @memberof InlineResponse2004PullRequests */ title: string; /** * * @type {InlineResponse2004Author1} * @memberof InlineResponse2004PullRequests */ author: InlineResponse2004Author1; /** * The number of comments on the pull request * @type {number} * @memberof InlineResponse2004PullRequests */ commentCount: number; /** * The name of the source branch of this PR. Max length is 255 characters * @type {string} * @memberof InlineResponse2004PullRequests */ sourceBranch: string; /** * The url of the source branch of this PR. This is used to match this PR against the branch. Max length is 255 characters * @type {string} * @memberof InlineResponse2004PullRequests */ sourceBranchUrl?: string; /** * The most recent update to this PR. Formatted as a UTC ISO 8601 date time format * @type {string} * @memberof InlineResponse2004PullRequests */ lastUpdate: string; /** * The name of destination branch of this PR. Max length is 255 characters * @type {string} * @memberof InlineResponse2004PullRequests */ destinationBranch?: string; /** * The list of reviewers of this pull request * @type {Array} * @memberof InlineResponse2004PullRequests */ reviewers?: Array; /** * The URL of this pull request. Max length is 1024 characters * @type {string} * @memberof InlineResponse2004PullRequests */ url: string; /** * Shortened identifier for this pull request, used for display. Max length is 255 characters * @type {string} * @memberof InlineResponse2004PullRequests */ displayId: string; } export declare function InlineResponse2004PullRequestsFromJSON(json: any): InlineResponse2004PullRequests; export declare function InlineResponse2004PullRequestsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2004PullRequests; export declare function InlineResponse2004PullRequestsToJSON(value?: InlineResponse2004PullRequests): any; /** * @export * @enum {string} */ export declare enum InlineResponse2004PullRequestsStatusEnum { OPEN = "OPEN", MERGED = "MERGED", DECLINED = "DECLINED", UNKNOWN = "UNKNOWN" }