15848: Fix incorrect order in federation query response.
[arvados.git] / sdk / go / arvados / specimen.go
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: Apache-2.0
4
5 package arvados
6
7 import "time"
8
9 type Specimen struct {
10         UUID       string                 `json:"uuid"`
11         OwnerUUID  string                 `json:"owner_uuid"`
12         CreatedAt  *time.Time             `json:"created_at"`
13         ModifiedAt *time.Time             `json:"modified_at"`
14         Properties map[string]interface{} `json:"properties"`
15 }
16
17 type SpecimenList struct {
18         Items          []Specimen `json:"items"`
19         ItemsAvailable int        `json:"items_available"`
20         Offset         int        `json:"offset"`
21         Limit          int        `json:"limit"`
22 }