14287: Refactor controller to use strong types in API handlers.
[arvados.git] / sdk / go / arvados / collection.go
index 79be2f3f1d27d515f03b166573fd3c3c5fb0eb9b..f374eea07054b3fc08da7a37f163a50baf8e8d5f 100644 (file)
@@ -18,7 +18,7 @@ type Collection struct {
        UUID                      string     `json:"uuid,omitempty"`
        OwnerUUID                 string     `json:"owner_uuid,omitempty"`
        TrashAt                   *time.Time `json:"trash_at,omitempty"`
-       ManifestText              string     `json:"manifest_text,omitempty"`
+       ManifestText              string     `json:"manifest_text"`
        UnsignedManifestText      string     `json:"unsigned_manifest_text,omitempty"`
        Name                      string     `json:"name,omitempty"`
        CreatedAt                 *time.Time `json:"created_at,omitempty"`
@@ -73,7 +73,6 @@ func (c *Collection) SizedDigests() ([]SizedDigest, error) {
        return sds, scanner.Err()
 }
 
-// CollectionList is an arvados#collectionList resource.
 type CollectionList struct {
        Items          []Collection `json:"items"`
        ItemsAvailable int          `json:"items_available"`