aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/model/ProxyResponse.java
blob: 1931fa39e4ff596c4e976f55b35d1de713c36db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package org.onap.vid.model;

import com.google.common.base.MoreObjects;

/**
 * Created by Oren on 7/10/17.
 */
public class ProxyResponse {

    protected String errorMessage;

    protected int httpCode;

    public String getErrorMessage() {
        return errorMessage;
    }


    public int getHttpCode() {
        return httpCode;
    }

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("httpCode", httpCode)
                .add("errorMessage", errorMessage)
                .toString();
    }
}