Merge branch 'master' into 13804-no-shutdown-wanted-nodes
[arvados.git] / sdk / go / arvados / resource_list.go
index 0cc665807b17e4d5a9735c6bf1b7f4242ec08998..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"
@@ -12,7 +16,7 @@ type ResourceListParams struct {
        Offset       int      `json:"offset,omitempty"`
        Order        string   `json:"order,omitempty"`
        Distinct     bool     `json:"distinct,omitempty"`
-       Count        bool     `json:"count,omitempty"`
+       Count        string   `json:"count,omitempty"`
 }
 
 // A Filter restricts the set of records returned by a list/index API.