-
Notifications
You must be signed in to change notification settings - Fork 14
/
account.go
38 lines (26 loc) · 1.17 KB
/
account.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
/*
* 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 Account struct {
Type_ string `json:"type"`
Links *AccountLinks `json:"links,omitempty"`
Username string `json:"username,omitempty"`
// Account name defined by the owner. Should be used instead of the \"username\" field. Note that \"nickname\" cannot be used in place of \"username\" in URLs and queries, as \"nickname\" is not guaranteed to be unique.
Nickname string `json:"nickname,omitempty"`
// The status of the account. Currently the only possible value is \"active\", but more values may be added in the future.
AccountStatus string `json:"account_status,omitempty"`
DisplayName string `json:"display_name,omitempty"`
Website string `json:"website,omitempty"`
CreatedOn time.Time `json:"created_on,omitempty"`
Uuid string `json:"uuid,omitempty"`
}