30 lines
1.3 KiB
Go
30 lines
1.3 KiB
Go
/*
|
|
* Vikunja API
|
|
*
|
|
* This is the documentation for the [Vikunja](http://vikunja.io) API. Vikunja is a cross-plattform Todo-application with a lot of features, such as sharing lists with users or teams. <!-- ReDoc-Inject: <security-definitions> --> # Authorization **JWT-Auth:** Main authorization method, used for most of the requests. Needs `Authorization: Bearer <jwt-token>`-header to authenticate successfully. **BasicAuth:** Only used when requesting tasks via caldav. <!-- ReDoc-Inject: <security-definitions> -->
|
|
*
|
|
* API version: 0.8+21-854fde1e4c
|
|
* Contact: hello@vikunja.io
|
|
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
*/
|
|
|
|
package swagger
|
|
|
|
type ModelsNamespaceUser struct {
|
|
|
|
// A unix timestamp when this relation was created. You cannot change this value.
|
|
Created int32 `json:"created,omitempty"`
|
|
|
|
// The unique, numeric id of this namespace <-> user relation.
|
|
Id int32 `json:"id,omitempty"`
|
|
|
|
// The right this user has. 0 = Read only, 1 = Read & Write, 2 = Admin. See the docs for more details.
|
|
Right int32 `json:"right,omitempty"`
|
|
|
|
// A unix timestamp when this relation was last updated. You cannot change this value.
|
|
Updated int32 `json:"updated,omitempty"`
|
|
|
|
// The username.
|
|
UserID string `json:"userID,omitempty"`
|
|
}
|