Fix test regexp.
[arvados.git] / sdk / go / arvados / group.go
index b46b596f4f5fceaceb01a143ac8f5b3a1fcf45a1..d5243dc170708afac1e51556adbf145c900c4f43 100644 (file)
@@ -16,7 +16,6 @@ type Group struct {
        GroupClass           string                 `json:"group_class"`
        Etag                 string                 `json:"etag"`
        Href                 string                 `json:"href"`
-       Kind                 string                 `json:"kind"`
        TrashAt              *time.Time             `json:"trash_at"`
        CreatedAt            time.Time              `json:"created_at"`
        ModifiedAt           time.Time              `json:"modified_at"`
@@ -31,18 +30,11 @@ type Group struct {
 
 // 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"`
-}
-
-// SharedGroupList is an arvados#groupList resource.
-type SharedGroupList struct {
-       Included []interface{} `json:"included"`
-       Items    []Group       `json:"items"`
-       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.