71f65b50dbcd4d1fedb2466e56202bc1dfac89f4
[so.git] / common / src / main / java / org / onap / so / client / aai / entities / singletransaction / OperationBodyResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 - 2018 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.client.aai.entities.singletransaction;
22
23 import com.fasterxml.jackson.annotation.JsonProperty;
24 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
25
26 @JsonPropertyOrder({
27 "action",
28 "uri",
29 "response-status-code",
30 "response-body"
31 })
32 public class OperationBodyResponse {
33
34         @JsonProperty("action")
35         public String action;
36         @JsonProperty("uri")
37         public String uri;
38         @JsonProperty("response-status-code")
39         public Integer responseStatusCode;
40         @JsonProperty("response-body")
41         public Object responseBody;
42         
43         public String getAction() {
44                 return action;
45         }
46         public void setAction(String action) {
47                 this.action = action;
48         }
49         public String getUri() {
50                 return uri;
51         }
52         public void setUri(String uri) {
53                 this.uri = uri;
54         }
55         @JsonProperty("response-status-code")
56         public Integer getResponseStatusCode() {
57                 return responseStatusCode;
58         }
59         @JsonProperty("response-status-code")
60         public void setResponseStatusCode(Integer responseStatusCode) {
61                 this.responseStatusCode = responseStatusCode;
62         }
63         @JsonProperty("response-body")
64         public Object getResponseBody() {
65                 return responseBody;
66         }
67         @JsonProperty("response-body")
68         public void getResponseBody(Object responseBody) {
69                 this.responseBody = responseBody;
70         }
71 }