/* * 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. # Authorization **JWT-Auth:** Main authorization method, used for most of the requests. Needs `Authorization: Bearer `-header to authenticate successfully. **BasicAuth:** Only used when requesting tasks via caldav. * * 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 ModelsLinkSharing struct { // A unix timestamp when this list was shared. You cannot change this value. Created int32 `json:"created,omitempty"` // The public id to get this shared list Hash string `json:"hash,omitempty"` // The ID of the shared thing Id int32 `json:"id,omitempty"` // The right this list is shared with. 0 = Read only, 1 = Read & Write, 2 = Admin. See the docs for more details. Right int32 `json:"right,omitempty"` // The user who shared this list SharedBy *ModelsUser `json:"shared_by,omitempty"` // The kind of this link. 0 = undefined, 1 = without password, 2 = with password (currently not implemented). SharingType int32 `json:"sharing_type,omitempty"` // A unix timestamp when this share was last updated. You cannot change this value. Updated int32 `json:"updated,omitempty"` }