14287: Propagate include_trash flag.
[arvados.git] / sdk / go / arvados / api.go
index 597f47a95bb0fd05f635ae934e94e83750721301..ebf44a82221045c163e78233af650fe43285d048 100644 (file)
@@ -40,13 +40,16 @@ type GetOptions struct {
 }
 
 type ListOptions struct {
-       Select  []string               `json:"select"`
-       Filters []Filter               `json:"filters"`
-       Where   map[string]interface{} `json:"where"`
-       Limit   int                    `json:"limit"`
-       Offset  int                    `json:"offset"`
-       Order   []string               `json:"order"`
-       Count   string                 `json:"count"`
+       Select             []string               `json:"select"`
+       Filters            []Filter               `json:"filters"`
+       Where              map[string]interface{} `json:"where"`
+       Limit              int                    `json:"limit"`
+       Offset             int                    `json:"offset"`
+       Order              []string               `json:"order"`
+       Distinct           bool                   `json:"distinct"`
+       Count              string                 `json:"count"`
+       IncludeTrash       bool                   `json:"include_trash"`
+       IncludeOldVersions bool                   `json:"include_old_versions"`
 }
 
 type CreateOptions struct {