21700: Install Bundler system-wide in Rails postinst
[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              int64                  `json:"id"`
14         UUID            string                 `json:"uuid"`
15         OwnerUUID       string                 `json:"owner_uuid"`
16         ObjectUUID      string                 `json:"object_uuid"`
17         ObjectOwnerUUID string                 `json:"object_owner_uuid"`
18         EventType       string                 `json:"event_type"`
19         EventAt         time.Time              `json:"event"`
20         Summary         string                 `json:"summary"`
21         Properties      map[string]interface{} `json:"properties"`
22         CreatedAt       time.Time              `json:"created_at"`
23         ModifiedAt      time.Time              `json:"modified_at"`
24 }
25
26 // LogList is an arvados#logList resource.
27 type LogList struct {
28         Items          []Log `json:"items"`
29         ItemsAvailable int   `json:"items_available"`
30         Offset         int   `json:"offset"`
31         Limit          int   `json:"limit"`
32 }