Change the header to SO
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / serviceinstancebeans / 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.openecomp.mso.apihandlerinfra.serviceinstancebeans;
22
23 import java.util.Date;
24
25 import org.codehaus.jackson.map.annotate.JsonRootName;
26 import org.codehaus.jackson.map.annotate.JsonSerialize;
27
28 //@JsonRootName(value = "request")
29 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)
30 public class Request {
31
32     protected String requestId;
33     protected String startTime;
34     protected String requestScope;
35     protected String requestType;
36     //protected String requestDetails;
37     protected RequestDetails requestDetails;
38     protected InstanceReferences instanceReferences;
39     protected RequestStatus requestStatus;
40     
41     
42         public String getRequestId() {
43                 return requestId;
44         }
45         public void setRequestId(String requestId) {
46                 this.requestId = requestId;
47         }
48         public String getStartTime() {
49                 return startTime;
50         }
51         public void setStartTime(String startTime) {
52                 this.startTime = startTime;
53         }
54         public String getRequestScope() {
55                 return requestScope;
56         }
57         public void setRequestScope(String requestScope) {
58                 this.requestScope = requestScope;
59         }
60         public String getRequestType() {
61                 return requestType;
62         }
63         public void setRequestType(String requestType) {
64                 this.requestType = requestType;
65         }
66         public RequestStatus getRequestStatus() {
67                 return requestStatus;
68         }
69         public void setRequestStatus(RequestStatus requestStatus) {
70                 this.requestStatus = requestStatus;
71         }
72         public InstanceReferences getInstanceReferences() {
73                 return instanceReferences;
74         }
75         public void setInstanceReferences(InstanceReferences instanceReferences) {
76                 this.instanceReferences = instanceReferences;
77         }
78         public RequestDetails getRequestDetails() {
79                 return requestDetails;
80         }
81         public void setRequestDetails(RequestDetails requestDetails) {
82                 this.requestDetails = requestDetails;
83         }
84
85 }