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_gpg_key.go
jolheiser fc382e2e9d
Initial generation
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-01-10 20:43:26 -06:00

31 lines
1.0 KiB
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
import (
"time"
)
// GPGKey a user GPG key to sign commit and tag in repository
type GpgKey struct {
CanCertify bool `json:"can_certify,omitempty"`
CanEncryptComms bool `json:"can_encrypt_comms,omitempty"`
CanEncryptStorage bool `json:"can_encrypt_storage,omitempty"`
CanSign bool `json:"can_sign,omitempty"`
CreatedAt time.Time `json:"created_at,omitempty"`
Emails []GpgKeyEmail `json:"emails,omitempty"`
ExpiresAt time.Time `json:"expires_at,omitempty"`
Id int64 `json:"id,omitempty"`
KeyId string `json:"key_id,omitempty"`
PrimaryKeyId string `json:"primary_key_id,omitempty"`
PublicKey string `json:"public_key,omitempty"`
Subkeys []GpgKey `json:"subkeys,omitempty"`
}