Skip to content

Commit 40b054f

Browse files
authored
Add the userTags field to the Item.java (minio#1540)
1 parent 08e1196 commit 40b054f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

api/src/main/java/io/minio/messages/Item.java

+7
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ public abstract class Item {
5757
@Element(name = "UserMetadata", required = false)
5858
private Metadata userMetadata;
5959

60+
@Element(name = "UserTags", required = false)
61+
private String userTags;
62+
6063
private boolean isDir = false;
6164
private String encodingType = null;
6265

@@ -111,6 +114,10 @@ public Map<String, String> userMetadata() {
111114
return (userMetadata == null) ? null : userMetadata.get();
112115
}
113116

117+
public String userTags() {
118+
return userTags;
119+
}
120+
114121
/** Returns whether this version ID is latest. */
115122
public boolean isLatest() {
116123
return isLatest;

0 commit comments

Comments
 (0)