Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checksum elements into CompleteMultipartUploadOutput class #1377

Merged
merged 2 commits into from
Oct 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ public class CompleteMultipartUploadOutput {
@Element(name = "ETag")
private String etag;

@Element(name = "ChecksumCRC32", required = false)
private String checksumCRC32;

@Element(name = "ChecksumCRC32C", required = false)
private String checksumCRC32C;

@Element(name = "ChecksumSHA1", required = false)
private String checksumSHA1;

@Element(name = "ChecksumSHA256", required = false)
private String checksumSHA256;

public CompleteMultipartUploadOutput() {}

public String location() {
Expand All @@ -57,4 +69,20 @@ public String object() {
public String etag() {
return etag;
}

public String checksumCRC32() {
return checksumCRC32;
}

public String checksumCRC32C() {
return checksumCRC32C;
}

public String checksumSHA1() {
return checksumSHA1;
}

public String checksumSHA256() {
return checksumSHA256;
}
}