Preparing the request payload for calling SO macro flow.
[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
17 package org.onap.nbi.apis.serviceorder.model.consumer;
18
19 public class RequestInfo {
20
21     private String instanceName;
22
23     private String source;
24
25     private boolean suppressRollback;
26
27     private String requestorId;
28
29     private String productFamilyId;
30
31     public String getInstanceName() {
32         return instanceName;
33     }
34
35     public void setInstanceName(String instanceName) {
36         this.instanceName = instanceName;
37     }
38
39     public String getSource() {
40         return source;
41     }
42
43     public void setSource(String source) {
44         this.source = source;
45     }
46
47     public boolean isSuppressRollback() {
48         return suppressRollback;
49     }
50
51     public void setSuppressRollback(boolean suppressRollback) {
52         this.suppressRollback = suppressRollback;
53     }
54
55     public String getRequestorId() {
56         return requestorId;
57     }
58
59     public void setRequestorId(String requestorId) {
60         this.requestorId = requestorId;
61     }
62
63     public String getProductFamilyId() {
64         return productFamilyId;
65     }
66
67     public void setProductFamilyId(String productFamilyId) {
68         this.productFamilyId = productFamilyId;
69     }
70
71     @Override
72     public String toString() {
73         return "RequestInfo{" + "instanceName='" + instanceName + '\'' + ", source='" + source + '\''
74                 + ", suppressRollback=" + suppressRollback + ", requestorId='" + requestorId + '\'' 
75                 + ", productFamilyId='" + productFamilyId + '\'' +'}';
76     }
77 }