/** * 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 { InlineResponse2004Author, InlineResponse2004Files } from './'; /** * Represents a commit in the version control system * @export * @interface InlineResponse2004Commits */ export interface InlineResponse2004Commits { /** * 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 InlineResponse2004Commits */ 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 InlineResponse2004Commits */ 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 InlineResponse2004Commits */ updateSequenceId: number; /** * The hash of the commit. Max length is 255 characters * @type {string} * @memberof InlineResponse2004Commits */ hash: string; /** * The set of flags for this commit * @type {Array} * @memberof InlineResponse2004Commits */ flags?: Array; /** * The commit message. Max length is 1024 characters * @type {string} * @memberof InlineResponse2004Commits */ message: string; /** * * @type {InlineResponse2004Author} * @memberof InlineResponse2004Commits */ author: InlineResponse2004Author; /** * The total number of files added, removed, or modified by this commit * @type {number} * @memberof InlineResponse2004Commits */ fileCount: number; /** * The URL of this commit. Max length is 1024 characters * @type {string} * @memberof InlineResponse2004Commits */ url: string; /** * List of file changes. Max number of files is 10. Currently, only the first 5 files are shown (sorted by path) in the UI. This UI behavior may change without notice * @type {Array} * @memberof InlineResponse2004Commits */ files?: Array; /** * The author timestamp of this commit. Formatted as a UTC ISO 8601 date time format * @type {string} * @memberof InlineResponse2004Commits */ authorTimestamp: string; /** * Shortened identifier for this commit, used for display. Max length is 255 characters * @type {string} * @memberof InlineResponse2004Commits */ displayId: string; } export declare function InlineResponse2004CommitsFromJSON(json: any): InlineResponse2004Commits; export declare function InlineResponse2004CommitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2004Commits; export declare function InlineResponse2004CommitsToJSON(value?: InlineResponse2004Commits): any; /** * @export * @enum {string} */ export declare enum InlineResponse2004CommitsFlagsEnum { MERGECOMMIT = "MERGE_COMMIT" }