mirror of
https://gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
synced 2024-11-25 09:46:24 +00:00
29 lines
935 B
Go
29 lines
935 B
Go
package types
|
|
|
|
//Users
|
|
type User struct {
|
|
Enabled bool `json:"enabled"`
|
|
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,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"`
|
|
}
|