2018-07-05 10:50:56 +00:00
|
|
|
package types
|
|
|
|
|
2018-10-21 12:53:12 +00:00
|
|
|
//Users
|
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"`
|
2018-10-16 09:02:04 +00:00
|
|
|
Language string `json:"language,omitempty"`
|
|
|
|
|
|
|
|
StorageLocation string `json:"storageLocation,omitempty"`
|
|
|
|
LastLogin int64 `json:"lastLogin,omitempty"`
|
|
|
|
Backend string `json:"backend,omitempty"`
|
|
|
|
Subadmin []interface{} `json:"subadmin,omitempty"`
|
|
|
|
Locale string `json:"locale,omitempty"`
|
2018-07-05 10:50:56 +00:00
|
|
|
}
|