16141: Adds missing collection fields to GoSDK.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Fri, 7 Feb 2020 23:40:51 +0000 (20:40 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Fri, 7 Feb 2020 23:40:51 +0000 (20:40 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

sdk/go/arvados/collection.go

index 5ac35e2292e97809cdb68e6d06ab937193cdba4f..94390bc01972edcf5008ad493bd928ad91f004b6 100644 (file)
@@ -37,6 +37,13 @@ type Collection struct {
        IsTrashed                 bool                   `json:"is_trashed"`
        Properties                map[string]interface{} `json:"properties"`
        WritableBy                []string               `json:"writable_by,omitempty"`
+       FileCount                 *int                   `json:"file_count"`
+       FileSizeTotal             *int                   `json:"file_size_total"`
+       Version                   *int                   `json:"version"`
+       PreserveVersion           bool                   `json:"preserve_version"`
+       CurrentVersionUUID        string                 `json:"current_version_uuid"`
+       Description               string                 `json:"description"`
+       Href                      string                 `json:"href"`
 }
 
 func (c Collection) resourceName() string {