Renaming vid-automation #6
[vid.git] / vid-automation / src / test / java / org / opencomp / vid / model / mso / RequestInfo.java
1
2 package org.opencomp.vid.model.mso;
3
4 import com.fasterxml.jackson.annotation.*;
5 import org.apache.commons.lang3.builder.EqualsBuilder;
6 import org.apache.commons.lang3.builder.HashCodeBuilder;
7 import org.apache.commons.lang3.builder.ToStringBuilder;
8
9 import javax.annotation.Generated;
10 import java.util.HashMap;
11 import java.util.Map;
12
13
14 /**
15  * fields providing general context information for the request
16  * 
17  */
18 @JsonInclude(JsonInclude.Include.NON_NULL)
19 @Generated("org.jsonschema2pojo")
20 @JsonPropertyOrder({
21     "billingAccountNumber",
22     "callbackUrl",
23     "correlator",
24     "instanceName",
25     "orderNumber",
26     "orderVersion",
27     "productFamilyId",
28     "source",
29     "suppressRollback",
30     "responseValue",
31     "requestorId"
32 })
33 public class RequestInfo {
34
35     /**
36      * billing account associated with the model being operated on
37      * 
38      */
39     @JsonProperty("billingAccountNumber")
40     private String billingAccountNumber;
41     /**
42      * client URL to use for asynchronous responses
43      * 
44      */
45     @JsonProperty("callbackUrl")
46     private String callbackUrl;
47     /**
48      * Optional correlationId for async callback requests
49      * 
50      */
51     @JsonProperty("correlator")
52     private String correlator;
53     /**
54      * Client provided name for the instance being operated on by the operation (note: not guaranteed to be unique)
55      * 
56      */
57     @JsonProperty("instanceName")
58     private String instanceName;
59     /**
60      * reference to an order
61      * 
62      */
63     @JsonProperty("orderNumber")
64     private String orderNumber;
65     /**
66      * order version number
67      * 
68      */
69     @JsonProperty("orderVersion")
70     private Double orderVersion;
71     /**
72      * UUID for the product family associated with the model being operated on
73      * 
74      */
75     @JsonProperty("productFamilyId")
76     private String productFamilyId;
77     /**
78      * source of the request--not authoritative--actual source revealed via authentication
79      * 
80      */
81     @JsonProperty("source")
82     private String source;
83     /**
84      * true or false boolean indicating whether rollbacks should be suppressed on failures
85      * 
86      */
87     @JsonProperty("suppressRollback")
88     private Boolean suppressRollback;
89     /**
90      * Is the user selected value based on the validResponses list provided to complete the manual task
91      * 
92      */
93     @JsonProperty("responseValue")
94     private String responseValue;
95     /**
96      * The id of the person who initiated the completion request
97      * 
98      */
99     @JsonProperty("requestorId")
100     private String requestorId;
101     @JsonIgnore
102     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
103
104     /**
105      * billing account associated with the model being operated on
106      * 
107      * @return
108      *     The billingAccountNumber
109      */
110     @JsonProperty("billingAccountNumber")
111     public String getBillingAccountNumber() {
112         return billingAccountNumber;
113     }
114
115     /**
116      * billing account associated with the model being operated on
117      * 
118      * @param billingAccountNumber
119      *     The billingAccountNumber
120      */
121     @JsonProperty("billingAccountNumber")
122     public void setBillingAccountNumber(String billingAccountNumber) {
123         this.billingAccountNumber = billingAccountNumber;
124     }
125
126     /**
127      * client URL to use for asynchronous responses
128      * 
129      * @return
130      *     The callbackUrl
131      */
132     @JsonProperty("callbackUrl")
133     public String getCallbackUrl() {
134         return callbackUrl;
135     }
136
137     /**
138      * client URL to use for asynchronous responses
139      * 
140      * @param callbackUrl
141      *     The callbackUrl
142      */
143     @JsonProperty("callbackUrl")
144     public void setCallbackUrl(String callbackUrl) {
145         this.callbackUrl = callbackUrl;
146     }
147
148     /**
149      * Optional correlationId for async callback requests
150      * 
151      * @return
152      *     The correlator
153      */
154     @JsonProperty("correlator")
155     public String getCorrelator() {
156         return correlator;
157     }
158
159     /**
160      * Optional correlationId for async callback requests
161      * 
162      * @param correlator
163      *     The correlator
164      */
165     @JsonProperty("correlator")
166     public void setCorrelator(String correlator) {
167         this.correlator = correlator;
168     }
169
170     /**
171      * Client provided name for the instance being operated on by the operation (note: not guaranteed to be unique)
172      * 
173      * @return
174      *     The instanceName
175      */
176     @JsonProperty("instanceName")
177     public String getInstanceName() {
178         return instanceName;
179     }
180
181     /**
182      * Client provided name for the instance being operated on by the operation (note: not guaranteed to be unique)
183      * 
184      * @param instanceName
185      *     The instanceName
186      */
187     @JsonProperty("instanceName")
188     public void setInstanceName(String instanceName) {
189         this.instanceName = instanceName;
190     }
191
192     /**
193      * reference to an order
194      * 
195      * @return
196      *     The orderNumber
197      */
198     @JsonProperty("orderNumber")
199     public String getOrderNumber() {
200         return orderNumber;
201     }
202
203     /**
204      * reference to an order
205      * 
206      * @param orderNumber
207      *     The orderNumber
208      */
209     @JsonProperty("orderNumber")
210     public void setOrderNumber(String orderNumber) {
211         this.orderNumber = orderNumber;
212     }
213
214     /**
215      * order version number
216      * 
217      * @return
218      *     The orderVersion
219      */
220     @JsonProperty("orderVersion")
221     public Double getOrderVersion() {
222         return orderVersion;
223     }
224
225     /**
226      * order version number
227      * 
228      * @param orderVersion
229      *     The orderVersion
230      */
231     @JsonProperty("orderVersion")
232     public void setOrderVersion(Double orderVersion) {
233         this.orderVersion = orderVersion;
234     }
235
236     /**
237      * UUID for the product family associated with the model being operated on
238      * 
239      * @return
240      *     The productFamilyId
241      */
242     @JsonProperty("productFamilyId")
243     public String getProductFamilyId() {
244         return productFamilyId;
245     }
246
247     /**
248      * UUID for the product family associated with the model being operated on
249      * 
250      * @param productFamilyId
251      *     The productFamilyId
252      */
253     @JsonProperty("productFamilyId")
254     public void setProductFamilyId(String productFamilyId) {
255         this.productFamilyId = productFamilyId;
256     }
257
258     /**
259      * source of the request--not authoritative--actual source revealed via authentication
260      * 
261      * @return
262      *     The source
263      */
264     @JsonProperty("source")
265     public String getSource() {
266         return source;
267     }
268
269     /**
270      * source of the request--not authoritative--actual source revealed via authentication
271      * 
272      * @param source
273      *     The source
274      */
275     @JsonProperty("source")
276     public void setSource(String source) {
277         this.source = source;
278     }
279
280     /**
281      * true or false boolean indicating whether rollbacks should be suppressed on failures
282      * 
283      * @return
284      *     The suppressRollback
285      */
286     @JsonProperty("suppressRollback")
287     public Boolean getSuppressRollback() {
288         return suppressRollback;
289     }
290
291     /**
292      * true or false boolean indicating whether rollbacks should be suppressed on failures
293      * 
294      * @param suppressRollback
295      *     The suppressRollback
296      */
297     @JsonProperty("suppressRollback")
298     public void setSuppressRollback(Boolean suppressRollback) {
299         this.suppressRollback = suppressRollback;
300     }
301
302     /**
303      * Is the user selected value based on the validResponses list provided to complete the manual task
304      * 
305      * @return
306      *     The responseValue
307      */
308     @JsonProperty("responseValue")
309     public String getResponseValue() {
310         return responseValue;
311     }
312
313     /**
314      * Is the user selected value based on the validResponses list provided to complete the manual task
315      * 
316      * @param responseValue
317      *     The responseValue
318      */
319     @JsonProperty("responseValue")
320     public void setResponseValue(String responseValue) {
321         this.responseValue = responseValue;
322     }
323
324     /**
325      * The id of the person who initiated the completion request
326      * 
327      * @return
328      *     The requestorId
329      */
330     @JsonProperty("requestorId")
331     public String getRequestorId() {
332         return requestorId;
333     }
334
335     /**
336      * The id of the person who initiated the completion request
337      * 
338      * @param requestorId
339      *     The requestorId
340      */
341     @JsonProperty("requestorId")
342     public void setRequestorId(String requestorId) {
343         this.requestorId = requestorId;
344     }
345
346     @Override
347     public String toString() {
348         return ToStringBuilder.reflectionToString(this);
349     }
350
351     @JsonAnyGetter
352     public Map<String, Object> getAdditionalProperties() {
353         return this.additionalProperties;
354     }
355
356     @JsonAnySetter
357     public void setAdditionalProperty(String name, Object value) {
358         this.additionalProperties.put(name, value);
359     }
360
361     @Override
362     public int hashCode() {
363         return new HashCodeBuilder().append(billingAccountNumber).append(callbackUrl).append(correlator).append(instanceName).append(orderNumber).append(orderVersion).append(productFamilyId).append(source).append(suppressRollback).append(responseValue).append(requestorId).append(additionalProperties).toHashCode();
364     }
365
366     @Override
367     public boolean equals(Object other) {
368         if (other == this) {
369             return true;
370         }
371         if ((other instanceof RequestInfo) == false) {
372             return false;
373         }
374         RequestInfo rhs = ((RequestInfo) other);
375         return new EqualsBuilder().append(billingAccountNumber, rhs.billingAccountNumber).append(callbackUrl, rhs.callbackUrl).append(correlator, rhs.correlator).append(instanceName, rhs.instanceName).append(orderNumber, rhs.orderNumber).append(orderVersion, rhs.orderVersion).append(productFamilyId, rhs.productFamilyId).append(source, rhs.source).append(suppressRollback, rhs.suppressRollback).append(responseValue, rhs.responseValue).append(requestorId, rhs.requestorId).append(additionalProperties, rhs.additionalProperties).isEquals();
376     }
377
378 }