productFamilyId : SO API evolution
[externalapi/nbi.git] / src / main / java / org / onap / nbi / apis / serviceorder / model / consumer / RequestInfo.java
1 /**
2  *     Copyright (c) 2018 Orange
3  *
4  *     Licensed under the Apache License, Version 2.0 (the "License");
5  *     you may not use this file except in compliance with the License.
6  *     You may obtain a copy of the License at
7  *
8  *         http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *     Unless required by applicable law or agreed to in writing, software
11  *     distributed under the License is distributed on an "AS IS" BASIS,
12  *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *     See the License for the specific language governing permissions and
14  *     limitations under the License.
15  */
16 package org.onap.nbi.apis.serviceorder.model.consumer;
17
18 public class RequestInfo {
19
20     private String instanceName;
21
22     private String source;
23
24     private boolean suppressRollback;
25
26     private String requestorId;
27
28     public String getInstanceName() {
29         return instanceName;
30     }
31
32     public void setInstanceName(String instanceName) {
33         this.instanceName = instanceName;
34     }
35
36     public String getSource() {
37         return source;
38     }
39
40     public void setSource(String source) {
41         this.source = source;
42     }
43
44     public boolean isSuppressRollback() {
45         return suppressRollback;
46     }
47
48     public void setSuppressRollback(boolean suppressRollback) {
49         this.suppressRollback = suppressRollback;
50     }
51
52     public String getRequestorId() {
53         return requestorId;
54     }
55
56     public void setRequestorId(String requestorId) {
57         this.requestorId = requestorId;
58     }
59
60     @Override
61     public String toString() {
62         return "RequestInfo{" +
63             "instanceName='" + instanceName + '\'' +
64             ", source='" + source + '\'' +
65             ", suppressRollback=" + suppressRollback +
66             ", requestorId='" + requestorId + '\'' +
67             '}';
68     }
69 }