15922: Preserve writable_by in user and collection responses.
[arvados.git] / sdk / go / arvados / collection.go
index e8b0f9cc986b7219cac645c3b8e2771abf0f3bb4..5ac35e2292e97809cdb68e6d06ab937193cdba4f 100644 (file)
@@ -10,7 +10,7 @@ import (
        "strings"
        "time"
 
-       "git.curoverse.com/arvados.git/sdk/go/blockdigest"
+       "git.arvados.org/arvados.git/sdk/go/blockdigest"
 )
 
 // Collection is an arvados#collection resource.
@@ -36,6 +36,7 @@ type Collection struct {
        DeleteAt                  *time.Time             `json:"delete_at"`
        IsTrashed                 bool                   `json:"is_trashed"`
        Properties                map[string]interface{} `json:"properties"`
+       WritableBy                []string               `json:"writable_by,omitempty"`
 }
 
 func (c Collection) resourceName() string {