X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/eebb0457f1bb69ec2084cbefcbff8c19e404d556..b3d57ff3ccf9c612a11fcf53a451a0f61a362da6:/sdk/go/arvados/resource_list.go?ds=sidebyside diff --git a/sdk/go/arvados/resource_list.go b/sdk/go/arvados/resource_list.go index 242fb7e406..14ce098cfc 100644 --- a/sdk/go/arvados/resource_list.go +++ b/sdk/go/arvados/resource_list.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 + package arvados import "encoding/json" @@ -5,12 +9,15 @@ import "encoding/json" // ResourceListParams expresses which results are requested in a // list/index API. type ResourceListParams struct { - Select []string `json:"select,omitempty"` - Filters []Filter `json:"filters,omitempty"` - IncludeTrash bool `json:"include_trash,omitempty"` - Limit *int `json:"limit,omitempty"` - Offset int `json:"offset,omitempty"` - Order string `json:"order,omitempty"` + Select []string `json:"select,omitempty"` + Filters []Filter `json:"filters,omitempty"` + IncludeTrash bool `json:"include_trash,omitempty"` + IncludeOldVersions bool `json:"include_old_versions,omitempty"` + 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.