Merge branch '8784-dir-listings'
[arvados.git] / sdk / go / arvados / collection.go
index df7c224a2122cd5775dffedffd034274918dbf39..61bcd7fe8f367f2ca3d3d48017213bbd5335d33e 100644 (file)
@@ -1,11 +1,16 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
 package arvados
 
 import (
        "bufio"
        "fmt"
-       "git.curoverse.com/arvados.git/sdk/go/blockdigest"
        "strings"
        "time"
+
+       "git.curoverse.com/arvados.git/sdk/go/blockdigest"
 )
 
 // Collection is an arvados#collection resource.
@@ -14,6 +19,7 @@ type Collection struct {
        TrashAt                *time.Time `json:"trash_at,omitempty"`
        ManifestText           string     `json:"manifest_text,omitempty"`
        UnsignedManifestText   string     `json:"unsigned_manifest_text,omitempty"`
+       Name                   string     `json:"name,omitempty"`
        CreatedAt              *time.Time `json:"created_at,omitempty"`
        ModifiedAt             *time.Time `json:"modified_at,omitempty"`
        PortableDataHash       string     `json:"portable_data_hash,omitempty"`