Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

/******************************************************************************* 
 *  Copyright 2008-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 *  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://aws.amazon.com/apache2.0
 *  This file 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.
 * ***************************************************************************** 
 * 
 *  Marketplace Web Service Java Library
 *  API Version: 2009-01-01
 * 
 */



package com.amazonaws.mws.model;

import java.util.List;

public class ResponseHeaderMetadata {
  private String requestId;
  private String responseContext;
  private String timestamp;

  public ResponseHeaderMetadata() {}

  public ResponseHeaderMetadata(String requestId, String responseContext, String timestamp) {
    this.requestId = requestId;
    this.responseContext = responseContext;
    this.timestamp = timestamp;
  }

  public String getRequestId() {
    return requestId;
  }

  public String getResponseContext() {
    return responseContext;
  }

  public String getTimestamp() {
    return timestamp;
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("requestId : " + requestId + "\n");
    sb.append("responseContext : " + responseContext + "\n");
    sb.append("timestamp : " + timestamp);
    return sb.toString();
  }
}