1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: Apache-2.0
9 // Link is an arvados#link record
11 UUID string `json:"uuid,omitempty"`
12 Etag string `json:"etag"`
13 Href string `json:"href"`
14 OwnerUUID string `json:"owner_uuid"`
15 Name string `json:"name"`
16 LinkClass string `json:"link_class"`
17 CreatedAt time.Time `json:"created_at"`
18 ModifiedAt time.Time `json:"modified_at"`
19 ModifiedByClientUUID string `json:"modified_by_client_uuid"`
20 ModifiedByUserUUID string `json:"modified_by_user_uuid"`
21 HeadUUID string `json:"head_uuid"`
22 HeadKind string `json:"head_kind"`
23 TailUUID string `json:"tail_uuid"`
24 TailKind string `json:"tail_kind"`
25 Properties map[string]interface{} `json:"properties"`
28 // LinkList is an arvados#linkList resource.
29 type LinkList struct {
30 Items []Link `json:"items"`
31 ItemsAvailable int `json:"items_available"`
32 Offset int `json:"offset"`
33 Limit int `json:"limit"`