This repository has been archived on 2020-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
gitea-sdk/model_transfer_repo_option.go
jolheiser 22f1357770
Update master
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-02 14:18:39 -06:00

18 lines
497 B
Go

/*
* Gitea API.
*
* This documentation describes the Gitea API.
*
* API version: 1.1.1
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package gitea
// TransferRepoOption options when transfer a repository's ownership
type TransferRepoOption struct {
NewOwner string `json:"new_owner"`
// ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.
TeamIds []int64 `json:"team_ids,omitempty"`
}