Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
12451 kshitij.so 1
/******************************************************************************* 
2
 *  Copyright 2008-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
 *  Licensed under the Apache License, Version 2.0 (the "License"); 
4
 *  
5
 *  You may not use this file except in compliance with the License. 
6
 *  You may obtain a copy of the License at: http://aws.amazon.com/apache2.0
7
 *  This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
8
 *  CONDITIONS OF ANY KIND, either express or implied. See the License for the 
9
 *  specific language governing permissions and limitations under the License.
10
 * ***************************************************************************** 
11
 * 
12
 *  Marketplace Web Service Java Library
13
 *  API Version: 2009-01-01
14
 * 
15
 */
16
 
17
 
18
 
19
package com.amazonaws.mws.model;
20
 
21
import java.util.List;
22
 
23
public class ResponseHeaderMetadata {
24
  private String requestId;
25
  private String responseContext;
26
  private String timestamp;
27
 
28
  public ResponseHeaderMetadata() {}
29
 
30
  public ResponseHeaderMetadata(String requestId, String responseContext, String timestamp) {
31
    this.requestId = requestId;
32
    this.responseContext = responseContext;
33
    this.timestamp = timestamp;
34
  }
35
 
36
  public String getRequestId() {
37
    return requestId;
38
  }
39
 
40
  public String getResponseContext() {
41
    return responseContext;
42
  }
43
 
44
  public String getTimestamp() {
45
    return timestamp;
46
  }
47
 
48
  @Override
49
  public String toString() {
50
    StringBuilder sb = new StringBuilder();
51
    sb.append("requestId : " + requestId + "\n");
52
    sb.append("responseContext : " + responseContext + "\n");
53
    sb.append("timestamp : " + timestamp);
54
    return sb.toString();
55
  }
56
}