98cfc209eb17ed90fd531cdf6dfee45935072089
[ui/dmaapbc.git] /
1 package org.openecomp.dcae.dmaapbc.dbcapp.rest;
2
3 /**
4  * Models the responses sent by the micro service in JSON format.
5  */
6 public class DbcUsvcRestResponse {
7
8         private int status;
9         private String data, error, exception;
10
11         public int getStatus() {
12                 return status;
13         }
14
15         public void setStatus(int status) {
16                 this.status = status;
17         }
18
19         public String getData() {
20                 return data;
21         }
22
23         public void setData(String data) {
24                 this.data = data;
25         }
26
27         public String getError() {
28                 return error;
29         }
30
31         public void setError(String error) {
32                 this.error = error;
33         }
34
35         public String getException() {
36                 return exception;
37         }
38
39         public void setException(String exception) {
40                 this.exception = exception;
41         }
42 }