/** * 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 { InlineResponse2004LastCommit } from './'; /** * Represents a branch in the version control system * @export * @interface InlineResponse2004Branches */ export interface InlineResponse2004Branches { /** * 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 InlineResponse2004Branches */ 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 InlineResponse2004Branches */ 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 InlineResponse2004Branches */ updateSequenceId: number; /** * The name of the branch. Max length is 255 characters * @type {string} * @memberof InlineResponse2004Branches */ name: string; /** * * @type {InlineResponse2004LastCommit} * @memberof InlineResponse2004Branches */ lastCommit: InlineResponse2004LastCommit; /** * The URL of the page for creating a pull request from this branch. Max length is 1024 characters * @type {string} * @memberof InlineResponse2004Branches */ createPullRequestUrl?: string; /** * The URL of the branch. Max length is 1024 characters * @type {string} * @memberof InlineResponse2004Branches */ url: string; } export declare function InlineResponse2004BranchesFromJSON(json: any): InlineResponse2004Branches; export declare function InlineResponse2004BranchesFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2004Branches; export declare function InlineResponse2004BranchesToJSON(value?: InlineResponse2004Branches): any;