Remove 'All rights reserved.' on apache 2 license
[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 productFamilyId;
23
24     private String source;
25
26     private boolean suppressRollback;
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 getProductFamilyId() {
37         return productFamilyId;
38     }
39
40     public void setProductFamilyId(String productFamilyId) {
41         this.productFamilyId = productFamilyId;
42     }
43
44     public String getSource() {
45         return source;
46     }
47
48     public void setSource(String source) {
49         this.source = source;
50     }
51
52     public boolean isSuppressRollback() {
53         return suppressRollback;
54     }
55
56     public void setSuppressRollback(boolean suppressRollback) {
57         this.suppressRollback = suppressRollback;
58     }
59
60     @Override
61     public String toString() {
62         return "RequestInfo{" + "instanceName='" + instanceName + '\'' + ", productFamilyId='" + productFamilyId + '\''
63                 + ", source='" + source + '\'' + ", suppressRollback=" + suppressRollback + '}';
64     }
65 }