Skip to content

Commit 18ecdbd

Browse files
author
jojoliang
committed
update bucket inventory
1 parent 72d8904 commit 18ecdbd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

bucket_inventory.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@ type BucketGetInventoryResult BucketPutInventoryOptions
1515
// BucketListInventoryConfiguartion same struct to options
1616
type BucketListInventoryConfiguartion BucketPutInventoryOptions
1717

18+
type BucketInventoryFilterPeriod struct {
19+
StartTime int64 `xml:"StartTime,omitempty"`
20+
EndTime int64 `xml:"EndTime,omitempty"`
21+
}
22+
1823
// BucketInventoryFilter ...
1924
type BucketInventoryFilter struct {
20-
Prefix string `xml:"Prefix,omitempty"`
25+
Prefix string `xml:"Prefix,omitempty"`
26+
Period *BucketInventoryFilterPeriod `xml:"Period,omitempty"`
2127
}
2228

2329
// BucketInventoryOptionalFields ...

0 commit comments

Comments
 (0)