Skip to content

Commit

Permalink
Add the userTags field to the Item.java (minio#1540)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonHoe authored Mar 7, 2024
1 parent 08e1196 commit 40b054f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/src/main/java/io/minio/messages/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

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

public String userTags() {
return userTags;
}

/** Returns whether this version ID is latest. */
public boolean isLatest() {
return isLatest;
Expand Down

0 comments on commit 40b054f

Please sign in to comment.