148e68097fe7be42ae0af98de761e3b2583e3fcb
[policy/models.git] / models-interactions / 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  * Modifications Copyright (C) 2019 Nordix Foundation.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.policy.so;
23
24 import com.google.gson.annotations.SerializedName;
25
26 import java.io.Serializable;
27
28 public class SoRequestInfo implements Serializable {
29
30     private static final long serialVersionUID = -3283942659786236032L;
31
32     @SerializedName("instanceName")
33     private String instanceName;
34
35     @SerializedName("source")
36     private String source;
37
38     @SerializedName("productFamilyId")
39     private String productFamilyId;
40
41     @SerializedName("suppressRollback")
42     private boolean suppressRollback;
43
44     @SerializedName("billingAccountNumber")
45     private String billingAccountNumber;
46
47     @SerializedName("callbackUrl")
48     private String callbackUrl;
49
50     @SerializedName("correlator")
51     private String correlator;
52
53     @SerializedName("orderNumber")
54     private String orderNumber;
55
56     @SerializedName("orderVersion")
57     private Integer orderVersion;
58
59     @SerializedName("requestorId")
60     private String requestorId;
61
62     public SoRequestInfo() {
63         // required by author
64     }
65
66     public String getBillingAccountNumber() {
67         return billingAccountNumber;
68     }
69
70     public String getCallbackUrl() {
71         return callbackUrl;
72     }
73
74     public String getCorrelator() {
75         return correlator;
76     }
77
78     public String getInstanceName() {
79         return instanceName;
80     }
81
82     public String getOrderNumber() {
83         return orderNumber;
84     }
85
86     public Integer getOrderVersion() {
87         return orderVersion;
88     }
89
90     public String getProductFamilyId() {
91         return productFamilyId;
92     }
93
94     public String getRequestorId() {
95         return requestorId;
96     }
97
98     public String getSource() {
99         return source;
100     }
101
102     public boolean isSuppressRollback() {
103         return suppressRollback;
104     }
105
106     public void setBillingAccountNumber(String billingAccountNumber) {
107         this.billingAccountNumber = billingAccountNumber;
108     }
109
110     public void setCallbackUrl(String callbackUrl) {
111         this.callbackUrl = callbackUrl;
112     }
113
114     public void setCorrelator(String correlator) {
115         this.correlator = correlator;
116     }
117
118     public void setInstanceName(String instanceName) {
119         this.instanceName = instanceName;
120     }
121
122     public void setOrderNumber(String orderNumber) {
123         this.orderNumber = orderNumber;
124     }
125
126     public void setOrderVersion(Integer orderVersion) {
127         this.orderVersion = orderVersion;
128     }
129
130     public void setProductFamilyId(String productFamilyId) {
131         this.productFamilyId = productFamilyId;
132     }
133
134     public void setRequestorId(String requestorId) {
135         this.requestorId = requestorId;
136     }
137
138     public void setSource(String source) {
139         this.source = source;
140     }
141
142     public void setSuppressRollback(boolean suppressRollback) {
143         this.suppressRollback = suppressRollback;
144     }
145
146 }