19146: Add can_write and can_manage response fields.
[arvados.git] / sdk / go / arvados / group.go
index 53809881532b75370c38ac9dab78d3d8e9335b73..0782bd43d154f1ada231307f6a85970c61a28b08 100644 (file)
@@ -26,18 +26,23 @@ type Group struct {
        Properties           map[string]interface{} `json:"properties"`
        WritableBy           []string               `json:"writable_by,omitempty"`
        Description          string                 `json:"description"`
+       FrozenByUUID         string                 `json:"frozen_by_uuid"`
+       CanWrite             bool                   `json:"can_write"`
+       CanManage            bool                   `json:"can_manage"`
 }
 
 // GroupList is an arvados#groupList resource.
 type GroupList struct {
-       Items          []Group `json:"items"`
-       ItemsAvailable int     `json:"items_available"`
-       Offset         int     `json:"offset"`
-       Limit          int     `json:"limit"`
+       Items          []Group       `json:"items"`
+       ItemsAvailable int           `json:"items_available"`
+       Offset         int           `json:"offset"`
+       Limit          int           `json:"limit"`
+       Included       []interface{} `json:"included"`
 }
 
 // ObjectList is an arvados#objectList resource.
 type ObjectList struct {
+       Included       []interface{} `json:"included"`
        Items          []interface{} `json:"items"`
        ItemsAvailable int           `json:"items_available"`
        Offset         int           `json:"offset"`