/*
 * MinIO Java SDK for Amazon S3 Compatible Cloud Storage, (C) 2015 MinIO, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.minio.messages;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;

/**
 * Object representation of response XML of <a
 * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html">CompleteMultipartUpload
 * API</a>.
 */
@Root(name = "CompleteMultipartUploadOutput")
@Namespace(reference = "http://s3.amazonaws.com/doc/2006-03-01/")
public class CompleteMultipartUploadOutput {
  @Element(name = "Location")
  private String location;

  @Element(name = "Bucket")
  private String bucket;

  @Element(name = "Key")
  private String object;

  @Element(name = "ETag")
  private String etag;

  public CompleteMultipartUploadOutput() {}

  public String location() {
    return location;
  }

  public String bucket() {
    return bucket;
  }

  public String object() {
    return object;
  }

  public String etag() {
    return etag;
  }
}

@@ -1344,248 +1344,856 @@
 %0A%0A  
-public CompleteMultipartUploadOutput() %7B%7D%0A%0A  public String location() %7B%0A    return location;%0A  %7D%0A%0A  public String bucket() %7B%0A    return bucket;%0A  %7D%0A%0A  public String object() %7B%0A    return object;%0A  %7D%0A%0A  public String etag() %7B%0A    return etag
+@Element(name = %22ChecksumCRC32%22, required = false)%0A  private String checksumCRC32;%0A%0A  @Element(name = %22ChecksumCRC32C%22, required = false)%0A  private String checksumCRC32C;%0A%0A  @Element(name = %22ChecksumSHA1%22, required = false)%0A  private String checksumSHA1;%0A%0A  @Element(name = %22ChecksumSHA256%22, required = false)%0A  private String checksumSHA256;%0A%0A  public CompleteMultipartUploadOutput() %7B%7D%0A%0A  public String location() %7B%0A    return location;%0A  %7D%0A%0A  public String bucket() %7B%0A    return bucket;%0A  %7D%0A%0A  public String object() %7B%0A    return object;%0A  %7D%0A%0A  public String etag() %7B%0A    return etag;%0A  %7D%0A%0A  public String checksumCRC32() %7B%0A    return checksumCRC32;%0A  %7D%0A%0A  public String checksumCRC32C() %7B%0A    return checksumCRC32C;%0A  %7D%0A%0A  public String checksumSHA1() %7B%0A    return checksumSHA1;%0A  %7D%0A%0A  public String checksumSHA256() %7B%0A    return checksumSHA256
 ;%0A  

Add checksum elements into CompleteMultipartUploadOutput class (#1377)