diff --git a/api/src/main/java/io/minio/messages/Item.java b/api/src/main/java/io/minio/messages/Item.java index 2238c90fc..7bca672ca 100644 --- a/api/src/main/java/io/minio/messages/Item.java +++ b/api/src/main/java/io/minio/messages/Item.java @@ -57,6 +57,9 @@ public abstract class Item { @Element(name = "UserMetadata", required = false) private Metadata userMetadata; + @Element(name = "UserTags", required = false) + private String userTags; + private boolean isDir = false; private String encodingType = null; @@ -111,6 +114,10 @@ public Map userMetadata() { return (userMetadata == null) ? null : userMetadata.get(); } + public String userTags() { + return userTags; + } + /** Returns whether this version ID is latest. */ public boolean isLatest() { return isLatest;