Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / sdk / go / arvados / log.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 (
8         "time"
9 )
10
11 // Log is an arvados#log record
12 type Log struct {
13         ID              uint64                 `json:"id"`
14         UUID            string                 `json:"uuid"`
15         ObjectUUID      string                 `json:"object_uuid"`
16         ObjectOwnerUUID string                 `json:"object_owner_uuid"`
17         EventType       string                 `json:"event_type"`
18         EventAt         *time.Time             `json:"event"`
19         Properties      map[string]interface{} `json:"properties"`
20         CreatedAt       *time.Time             `json:"created_at"`
21 }
22
23 // LogList is an arvados#logList resource.
24 type LogList struct {
25         Items          []Log `json:"items"`
26         ItemsAvailable int   `json:"items_available"`
27         Offset         int   `json:"offset"`
28         Limit          int   `json:"limit"`
29 }