7d927512e6377ae021e0622dc4cf15d34a296b42
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / tenantisolationbeans / Request.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 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.apihandlerinfra.tenantisolationbeans;
22
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonInclude.Include;
25 import com.fasterxml.jackson.annotation.JsonRootName;
26
27
28 @JsonRootName(value = "request")
29 @JsonInclude(Include.NON_DEFAULT)
30 public class Request {
31
32     protected String requestId;
33     protected String startTime;
34     protected InstanceReferences instanceReferences;
35     protected String requestScope;
36     protected String requestType;
37     protected RequestDetails requestDetails;
38     protected RequestStatus requestStatus;
39     
40     
41         public String getRequestId() {
42                 return requestId;
43         }
44         public void setRequestId(String requestId) {
45                 this.requestId = requestId;
46         }
47         
48         public String getStartTime() {
49                 return startTime;
50         }
51         public void setStartTime(String startTime) {
52                 this.startTime = startTime;
53         }
54         
55         public String getRequestScope() {
56                 return requestScope;
57         }
58         public void setRequestScope(String requestScope) {
59                 this.requestScope = requestScope;
60         }
61         
62         public String getRequestType() {
63                 return requestType;
64         }
65         public void setRequestType(String requestType) {
66                 this.requestType = requestType;
67         }
68         
69         public RequestStatus getRequestStatus() {
70                 return requestStatus;
71         }
72         public void setRequestStatus(RequestStatus requestStatus) {
73                 this.requestStatus = requestStatus;
74         }
75         
76         public InstanceReferences getInstanceReferences() {
77                 return instanceReferences;
78         }
79         public void setInstanceReferences(InstanceReferences instanceReferences) {
80                 this.instanceReferences = instanceReferences;
81         }
82         
83         public RequestDetails getRequestDetails() {
84                 return requestDetails;
85         }
86         public void setRequestDetails(RequestDetails requestDetails) {
87                 this.requestDetails = requestDetails;
88         }
89
90 }