/** * 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 './'; /** * The most recent commit on this branch, used to display the date of the latest activity for this branch * @export * @interface InlineResponse2004LastCommit */ export interface InlineResponse2004LastCommit { /** * 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 InlineResponse2004LastCommit */ 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 InlineResponse2004LastCommit */ 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 InlineResponse2004LastCommit */ updateSequenceId: number; /** * The hash of the commit. Max length is 255 characters * @type {string} * @memberof InlineResponse2004LastCommit */ hash: string; /** * The set of flags for this commit * @type {Array} * @memberof InlineResponse2004LastCommit */ flags?: Array; /** * The commit message. Max length is 1024 characters * @type {string} * @memberof InlineResponse2004LastCommit */ message: string; /** * * @type {InlineResponse2004Author} * @memberof InlineResponse2004LastCommit */ author: InlineResponse2004Author; /** * The total number of files added, removed, or modified by this commit * @type {number} * @memberof InlineResponse2004LastCommit */ fileCount: number; /** * The URL of this commit. Max length is 1024 characters * @type {string} * @memberof InlineResponse2004LastCommit */ 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 InlineResponse2004LastCommit */ files?: Array; /** * The author timestamp of this commit. Formatted as a UTC ISO 8601 date time format * @type {string} * @memberof InlineResponse2004LastCommit */ authorTimestamp: string; /** * Shortened identifier for this commit, used for display. Max length is 255 characters * @type {string} * @memberof InlineResponse2004LastCommit */ displayId: string; } export declare function InlineResponse2004LastCommitFromJSON(json: any): InlineResponse2004LastCommit; export declare function InlineResponse2004LastCommitFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2004LastCommit; export declare function InlineResponse2004LastCommitToJSON(value?: InlineResponse2004LastCommit): any; /** * @export * @enum {string} */ export declare enum InlineResponse2004LastCommitFlagsEnum { MERGECOMMIT = "MERGE_COMMIT" }