21 lines
492 B
Go
21 lines
492 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
|
|
|
|
// CreateKeyOption options when creating a key
|
|
type CreateKeyOption struct {
|
|
// An armored SSH key to add
|
|
Key string `json:"key"`
|
|
// Describe if the key has only read access or read/write
|
|
ReadOnly bool `json:"read_only,omitempty"`
|
|
// Title of the key to add
|
|
Title string `json:"title"`
|
|
}
|