1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: Apache-2.0
9 // Trait is an arvados#trait record
11 UUID string `json:"uuid"`
12 Etag string `json:"etag"`
13 OwnerUUID string `json:"owner_uuid"`
14 CreatedAt time.Time `json:"created_at"`
15 ModifiedByClientUUID string `json:"modified_by_client_uuid"`
16 ModifiedByUserUUID string `json:"modified_by_user_uuid"`
17 ModifiedAt time.Time `json:"modified_at"`
18 Name string `json:"name"`
19 Properties map[string]interface{} `json:"properties"`
20 UpdatedAt time.Time `json:"updated_at"`
21 WritableBy []string `json:"writable_by,omitempty"`
24 func (g Trait) resourceName() string {