2018-07-05 10:50:56 +00:00
|
|
|
package types
|
|
|
|
|
2018-07-30 08:18:54 +00:00
|
|
|
//User
|
2018-07-05 10:50:56 +00:00
|
|
|
type User struct {
|
2018-07-24 18:26:12 +00:00
|
|
|
Enabled bool `json:"enabled"`
|
2018-07-05 10:50:56 +00:00
|
|
|
ID string `json:"id"`
|
|
|
|
Quota struct {
|
|
|
|
Free int64 `json:"free"`
|
|
|
|
Used int `json:"used"`
|
|
|
|
Total int64 `json:"total"`
|
|
|
|
Relative float64 `json:"relative"`
|
|
|
|
Quota int `json:"quota"`
|
|
|
|
} `json:"quota"`
|
|
|
|
Email string `json:"email"`
|
|
|
|
Displayname string `json:"displayname"`
|
|
|
|
Phone string `json:"phone"`
|
|
|
|
Address string `json:"address"`
|
|
|
|
Website string `json:"website"`
|
|
|
|
Twitter string `json:"twitter"`
|
|
|
|
Groups []string `json:"groups"`
|
|
|
|
Language string `json:"language"`
|
|
|
|
}
|