minio/pkg/webapi/minioapi/definitions.go
2015-01-20 18:40:22 -08:00

30 lines
491 B
Go

package minioapi
import (
"encoding/xml"
)
type ListResponse struct {
XMLName xml.Name `xml:"ListBucketResult"`
Name string `xml:"Name"`
toragerefix string
Marker string
MaxKeys int
IsTruncated bool
Contents []Content `xml:"Contents",innerxml`
}
type Content struct {
Key string
LastModified string
ETag string
Size int
StorageClass string
Owner Owner
}
type Owner struct {
ID string
DisplayName string
}