337de3c51d588b5305efc85a131c98cffa73d9fa
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / tenantisolationbeans / RequestReferences.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 java.io.Serializable;
24
25 import com.fasterxml.jackson.annotation.JsonInclude;
26 import com.fasterxml.jackson.annotation.JsonInclude.Include;
27 import com.fasterxml.jackson.annotation.JsonProperty;
28 import com.fasterxml.jackson.annotation.JsonRootName;
29
30 @JsonRootName(value = "requestReferences")
31 @JsonInclude(Include.NON_DEFAULT)
32 public class RequestReferences implements Serializable {
33         
34         private static final long serialVersionUID = 5873356773819905368L;
35         
36         @JsonProperty("requestId")
37         protected String requestId;
38         
39         @JsonProperty("instanceId")
40         String instanceId;
41
42     /**
43      * Gets the value of the requestId property.
44      *
45      * @return
46      *     possible object is
47      *     {@link String }
48      *
49      */ 
50         public String getRequestId() {
51                 return requestId;
52         }
53         
54     /**
55      * Sets the value of the requestId property.
56      *
57      * @param value
58      *     allowed object is
59      *     {@link String }
60      *
61      */ 
62         public void setRequestId(String requestId) {
63                 this.requestId = requestId;
64         }
65         
66     /**
67      * Gets the value of the instanceId property.
68      *
69      * @return
70      *     possible object is
71      *     {@link String }
72      *
73      */         
74         public String getInstanceId() {
75                 return instanceId;
76         }
77         
78     /**
79      * Sets the value of the instanceId property.
80      *
81      * @param value
82      *     allowed object is
83      *     {@link String }
84      *
85      */         
86         public void setInstanceId(String instanceId) {
87                 this.instanceId = instanceId;
88         }
89
90         @Override
91         public String toString() {
92                 return "RequestReferences [requestId=" + requestId + 
93                                                ", instanceId=" + instanceId + "]";
94         }
95         
96 }