forked from TomTucka/go-circleci-v2
/
model_checkout_key_1.go
25 lines (24 loc) · 1.01 KB
/
model_checkout_key_1.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
* CircleCI API
*
* This describes the resources that make up the CircleCI API v2. API v2 is currently in Preview. Additional documentation for this API can be found in the [API Preview Docs](https://github.com/CircleCI-Public/api-preview-docs/tree/master/docs). Breaking changes to the API will be announced in the [Breaking Changes log](https://github.com/CircleCI-Public/api-preview-docs/blob/master/docs/breaking.md).
*
* API version: v2
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package circleci
import (
"time"
)
type CheckoutKey1 struct {
// A public SSH key.
PublicKey string `json:"public-key"`
// The type of checkout key. This may be either `deploy-key` or `github-user-key`.
Type_ string `json:"type"`
// An SSH key fingerprint.
Fingerprint string `json:"fingerprint"`
// A boolean value that indicates if this key is preferred.
Preferred bool `json:"preferred"`
// The date and time the checkout key was created.
CreatedAt time.Time `json:"created-at"`
}