Fix for Penetration test _ Session and cookie management
[vid.git] / vid-app-common / src / main / java / org / onap / vid / mso / rest / Response.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 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.vid.mso.rest;
22
23 import com.fasterxml.jackson.annotation.JsonProperty;
24
25 public class Response {
26
27     /** The status. */
28     private int status;
29
30     /** The entity. */
31     private RequestList entity;
32
33     /**
34      * Gets the status.
35      *
36      * @return     The status
37      */
38     @JsonProperty("status")
39     public int getStatus() {
40         return status;
41     }
42
43     /**
44      * Sets the status.
45      *
46      * @param status     The status
47      */
48     @JsonProperty("status")
49     public void setStatus(int status) {
50         this.status = status;
51     }
52
53     /**
54      * Gets the entity.
55      *
56      * @return     The entity
57      */
58     @JsonProperty("entity")
59     public RequestList getEntity() {
60         return entity;
61     }
62
63     /**
64      * Sets the entity.
65      *
66      * @param entity     The entity
67      */
68     @JsonProperty("entity")
69     public void setEntity(RequestList entity) {
70         this.entity = entity;
71     }
72
73
74 }