/* tslint:disable */ /* eslint-disable */ /** * Gitea API. * This documentation describes the Gitea API. * * OpenAPI spec version: 1.15.0+dev-49-gaee5ef005 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ /** * UpdateFileOptions options for updating files Note: `author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used) * @export * @interface UpdateFileOptions */ export interface UpdateFileOptions { /** * * @type {Identity} * @memberof UpdateFileOptions */ author?: any; /** * branch (optional) to base this file from. if not given, the default branch is used * @type {string} * @memberof UpdateFileOptions */ branch?: any; /** * * @type {Identity} * @memberof UpdateFileOptions */ committer?: any; /** * content must be base64 encoded * @type {string} * @memberof UpdateFileOptions */ content: any; /** * * @type {CommitDateOptions} * @memberof UpdateFileOptions */ dates?: any; /** * from_path (optional) is the path of the original file which will be moved/renamed to the path in the URL * @type {string} * @memberof UpdateFileOptions */ from_path?: any; /** * message (optional) for the commit of this file. if not supplied, a default message will be used * @type {string} * @memberof UpdateFileOptions */ message?: any; /** * new_branch (optional) will make a new branch from `branch` before creating the file * @type {string} * @memberof UpdateFileOptions */ new_branch?: any; /** * sha is the SHA for the file that already exists * @type {string} * @memberof UpdateFileOptions */ sha: any; /** * Add a Signed-off-by trailer by the committer at the end of the commit log message. * @type {boolean} * @memberof UpdateFileOptions */ signoff?: any; }