Merge "Add debugging of REST call"
[policy/drools-applications.git] / controlloop / common / model-impl / so / src / main / java / org / onap / policy / so / SoRequestInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * so
4  * ================================================================================
5  * Copyright (C) 2017-2019 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.policy.so;
22
23 import com.google.gson.annotations.SerializedName;
24
25 import java.io.Serializable;
26
27 public class SoRequestInfo implements Serializable {
28
29     private static final long serialVersionUID = -3283942659786236032L;
30
31     @SerializedName("instanceName")
32     private String instanceName;
33
34     @SerializedName("source")
35     private String source;
36
37     @SerializedName("productFamilyId")
38     private String productFamilyId;
39
40     @SerializedName("suppressRollback")
41     private boolean suppressRollback;
42
43     @SerializedName("billingAccountNumber")
44     private String billingAccountNumber;
45
46     @SerializedName("callbackUrl")
47     private String callbackUrl;
48
49     @SerializedName("correlator")
50     private String correlator;
51
52     @SerializedName("orderNumber")
53     private String orderNumber;
54
55     @SerializedName("orderVersion")
56     private Integer orderVersion;
57
58     @SerializedName("requestorId")
59     private String requestorId;
60
61     public SoRequestInfo() {
62         // required by author
63     }
64
65     public String getBillingAccountNumber() {
66         return billingAccountNumber;
67     }
68
69     public String getCallbackUrl() {
70         return callbackUrl;
71     }
72
73     public String getCorrelator() {
74         return correlator;
75     }
76
77     public String getInstanceName() {
78         return instanceName;
79     }
80
81     public String getOrderNumber() {
82         return orderNumber;
83     }
84
85     public Integer getOrderVersion() {
86         return orderVersion;
87     }
88
89     public String getProductFamilyId() {
90         return productFamilyId;
91     }
92
93     public String getRequestorId() {
94         return requestorId;
95     }
96
97     public String getSource() {
98         return source;
99     }
100
101     public boolean isSuppressRollback() {
102         return suppressRollback;
103     }
104
105     public void setBillingAccountNumber(String billingAccountNumber) {
106         this.billingAccountNumber = billingAccountNumber;
107     }
108
109     public void setCallbackUrl(String callbackUrl) {
110         this.callbackUrl = callbackUrl;
111     }
112
113     public void setCorrelator(String correlator) {
114         this.correlator = correlator;
115     }
116
117     public void setInstanceName(String instanceName) {
118         this.instanceName = instanceName;
119     }
120
121     public void setOrderNumber(String orderNumber) {
122         this.orderNumber = orderNumber;
123     }
124
125     public void setOrderVersion(Integer orderVersion) {
126         this.orderVersion = orderVersion;
127     }
128
129     public void setProductFamilyId(String productFamilyId) {
130         this.productFamilyId = productFamilyId;
131     }
132
133     public void setRequestorId(String requestorId) {
134         this.requestorId = requestorId;
135     }
136
137     public void setSource(String source) {
138         this.source = source;
139     }
140
141     public void setSuppressRollback(boolean suppressRollback) {
142         this.suppressRollback = suppressRollback;
143     }
144
145 }