30 lines
1.2 KiB
Go
30 lines
1.2 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 ModelsTaskRelation struct {
|
|
|
|
// A unix timestamp when this label was created. You cannot change this value.
|
|
Created int32 `json:"created,omitempty"`
|
|
|
|
// The user who created this relation
|
|
CreatedBy *ModelsUser `json:"created_by,omitempty"`
|
|
|
|
// The ID of the other task, the task which is being related.
|
|
OtherTaskId int32 `json:"other_task_id,omitempty"`
|
|
|
|
// The kind of the relation.
|
|
RelationKind string `json:"relation_kind,omitempty"`
|
|
|
|
// The ID of the \"base\" task, the task which has a relation to another.
|
|
TaskId int32 `json:"task_id,omitempty"`
|
|
}
|