devopness-sdk-js
Version:
Devopness API JS/TS SDK - Painless essential DevOps to everyone
82 lines (81 loc) • 1.89 kB
TypeScript
/**
* devopness API
* Devopness API - Painless essential DevOps to everyone
*
* The version of the OpenAPI document: latest
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface Commit
*/
export interface Commit {
/**
* The commit comment\'s full hash that uniquely identify it
* @type {string}
* @memberof Commit
*/
hash?: string;
/**
* The commit\'s comment message
* @type {string}
* @memberof Commit
*/
message?: string;
/**
* The date and time when the commit has been submitted
* @type {string}
* @memberof Commit
*/
committed_at?: string;
/**
* The source provider where the commit has been retrieved from
* @type {string}
* @memberof Commit
*/
provider?: CommitProviderEnum;
/**
* The full name of the repository (`owner/repository`) to which the commit belongs to
* @type {string}
* @memberof Commit
*/
repository?: string;
/**
* The name of the branch of which the commit was the head at the time of its retrieval
* @type {string}
* @memberof Commit
*/
branch?: string;
/**
* The direct URL for accessing commit details on the provider\'s web application
* @type {string}
* @memberof Commit
*/
url?: string;
/**
* The e-mail of the commit\'s author
* @type {string}
* @memberof Commit
*/
author_email?: string;
/**
* The name of the commit\'s author
* @type {string}
* @memberof Commit
*/
author_name?: string;
}
/**
* @export
* @enum {string}
*/
export declare enum CommitProviderEnum {
Bitbucket = "bitbucket",
Github = "github",
Gitlab = "gitlab"
}