16141: Adds missing collection fields to GoSDK.
[arvados.git] / 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 {