Merge branch '9998-no-count-items-available'
[arvados.git] / sdk / go / arvados / log.go
index caea04c82a2517a8ca8ddfbf6b3c7f9111cce158..a48f1c6b5ce62f1dc6878b1ad50a51cc6150b956 100644 (file)
@@ -11,6 +11,15 @@ type Log struct {
        ObjectUUID      string                 `json:"object_uuid"`
        ObjectOwnerUUID string                 `json:"object_owner_uuid"`
        EventType       string                 `json:"event_type"`
+       EventAt         *time.Time             `json:"event,omitempty"`
        Properties      map[string]interface{} `json:"properties"`
        CreatedAt       *time.Time             `json:"created_at,omitempty"`
 }
+
+// LogList is an arvados#logList resource.
+type LogList struct {
+       Items          []Log `json:"items"`
+       ItemsAvailable int   `json:"items_available"`
+       Offset         int   `json:"offset"`
+       Limit          int   `json:"limit"`
+}