Merge branch 'master' into 13804-no-shutdown-wanted-nodes
[arvados.git] / sdk / go / arvados / resource_list.go
index 242fb7e406542bda161a528519ea03f4f204db0e..e4b5f65408447fba417ad12fd99d675c5601cddd 100644 (file)
@@ -1,3 +1,7 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
 package arvados
 
 import "encoding/json"
@@ -11,6 +15,8 @@ type ResourceListParams struct {
        Limit        *int     `json:"limit,omitempty"`
        Offset       int      `json:"offset,omitempty"`
        Order        string   `json:"order,omitempty"`
+       Distinct     bool     `json:"distinct,omitempty"`
+       Count        string   `json:"count,omitempty"`
 }
 
 // A Filter restricts the set of records returned by a list/index API.