-
Notifications
You must be signed in to change notification settings - Fork 14
/
deploy_key.go
39 lines (27 loc) · 967 Bytes
/
deploy_key.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Bitbucket API
*
* Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
*
* API version: 2.0
* Contact: [email protected]
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package bitbucket
import (
"time"
)
type DeployKey struct {
Type_ string `json:"type"`
// The deploy key value.
Key string `json:"key,omitempty"`
Repository *Repository `json:"repository,omitempty"`
// The comment parsed from the deploy key (if present)
Comment string `json:"comment,omitempty"`
// The user-defined label for the deploy key
Label string `json:"label,omitempty"`
AddedOn time.Time `json:"added_on,omitempty"`
LastUsed time.Time `json:"last_used,omitempty"`
Links *VersionLinks `json:"links,omitempty"`
Owner *Account `json:"owner,omitempty"`
}