2 package org.opencomp.vid.model.mso;
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;
9 import javax.annotation.Generated;
10 import java.util.HashMap;
15 * fields providing general context information for the request
18 @JsonInclude(JsonInclude.Include.NON_NULL)
19 @Generated("org.jsonschema2pojo")
21 "billingAccountNumber",
33 public class RequestInfo {
36 * billing account associated with the model being operated on
39 @JsonProperty("billingAccountNumber")
40 private String billingAccountNumber;
42 * client URL to use for asynchronous responses
45 @JsonProperty("callbackUrl")
46 private String callbackUrl;
48 * Optional correlationId for async callback requests
51 @JsonProperty("correlator")
52 private String correlator;
54 * Client provided name for the instance being operated on by the operation (note: not guaranteed to be unique)
57 @JsonProperty("instanceName")
58 private String instanceName;
60 * reference to an order
63 @JsonProperty("orderNumber")
64 private String orderNumber;
66 * order version number
69 @JsonProperty("orderVersion")
70 private Double orderVersion;
72 * UUID for the product family associated with the model being operated on
75 @JsonProperty("productFamilyId")
76 private String productFamilyId;
78 * source of the request--not authoritative--actual source revealed via authentication
81 @JsonProperty("source")
82 private String source;
84 * true or false boolean indicating whether rollbacks should be suppressed on failures
87 @JsonProperty("suppressRollback")
88 private Boolean suppressRollback;
90 * Is the user selected value based on the validResponses list provided to complete the manual task
93 @JsonProperty("responseValue")
94 private String responseValue;
96 * The id of the person who initiated the completion request
99 @JsonProperty("requestorId")
100 private String requestorId;
102 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
105 * billing account associated with the model being operated on
108 * The billingAccountNumber
110 @JsonProperty("billingAccountNumber")
111 public String getBillingAccountNumber() {
112 return billingAccountNumber;
116 * billing account associated with the model being operated on
118 * @param billingAccountNumber
119 * The billingAccountNumber
121 @JsonProperty("billingAccountNumber")
122 public void setBillingAccountNumber(String billingAccountNumber) {
123 this.billingAccountNumber = billingAccountNumber;
127 * client URL to use for asynchronous responses
132 @JsonProperty("callbackUrl")
133 public String getCallbackUrl() {
138 * client URL to use for asynchronous responses
143 @JsonProperty("callbackUrl")
144 public void setCallbackUrl(String callbackUrl) {
145 this.callbackUrl = callbackUrl;
149 * Optional correlationId for async callback requests
154 @JsonProperty("correlator")
155 public String getCorrelator() {
160 * Optional correlationId for async callback requests
165 @JsonProperty("correlator")
166 public void setCorrelator(String correlator) {
167 this.correlator = correlator;
171 * Client provided name for the instance being operated on by the operation (note: not guaranteed to be unique)
176 @JsonProperty("instanceName")
177 public String getInstanceName() {
182 * Client provided name for the instance being operated on by the operation (note: not guaranteed to be unique)
184 * @param instanceName
187 @JsonProperty("instanceName")
188 public void setInstanceName(String instanceName) {
189 this.instanceName = instanceName;
193 * reference to an order
198 @JsonProperty("orderNumber")
199 public String getOrderNumber() {
204 * reference to an order
209 @JsonProperty("orderNumber")
210 public void setOrderNumber(String orderNumber) {
211 this.orderNumber = orderNumber;
215 * order version number
220 @JsonProperty("orderVersion")
221 public Double getOrderVersion() {
226 * order version number
228 * @param orderVersion
231 @JsonProperty("orderVersion")
232 public void setOrderVersion(Double orderVersion) {
233 this.orderVersion = orderVersion;
237 * UUID for the product family associated with the model being operated on
240 * The productFamilyId
242 @JsonProperty("productFamilyId")
243 public String getProductFamilyId() {
244 return productFamilyId;
248 * UUID for the product family associated with the model being operated on
250 * @param productFamilyId
251 * The productFamilyId
253 @JsonProperty("productFamilyId")
254 public void setProductFamilyId(String productFamilyId) {
255 this.productFamilyId = productFamilyId;
259 * source of the request--not authoritative--actual source revealed via authentication
264 @JsonProperty("source")
265 public String getSource() {
270 * source of the request--not authoritative--actual source revealed via authentication
275 @JsonProperty("source")
276 public void setSource(String source) {
277 this.source = source;
281 * true or false boolean indicating whether rollbacks should be suppressed on failures
284 * The suppressRollback
286 @JsonProperty("suppressRollback")
287 public Boolean getSuppressRollback() {
288 return suppressRollback;
292 * true or false boolean indicating whether rollbacks should be suppressed on failures
294 * @param suppressRollback
295 * The suppressRollback
297 @JsonProperty("suppressRollback")
298 public void setSuppressRollback(Boolean suppressRollback) {
299 this.suppressRollback = suppressRollback;
303 * Is the user selected value based on the validResponses list provided to complete the manual task
308 @JsonProperty("responseValue")
309 public String getResponseValue() {
310 return responseValue;
314 * Is the user selected value based on the validResponses list provided to complete the manual task
316 * @param responseValue
319 @JsonProperty("responseValue")
320 public void setResponseValue(String responseValue) {
321 this.responseValue = responseValue;
325 * The id of the person who initiated the completion request
330 @JsonProperty("requestorId")
331 public String getRequestorId() {
336 * The id of the person who initiated the completion request
341 @JsonProperty("requestorId")
342 public void setRequestorId(String requestorId) {
343 this.requestorId = requestorId;
347 public String toString() {
348 return ToStringBuilder.reflectionToString(this);
352 public Map<String, Object> getAdditionalProperties() {
353 return this.additionalProperties;
357 public void setAdditionalProperty(String name, Object value) {
358 this.additionalProperties.put(name, value);
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();
367 public boolean equals(Object other) {
371 if ((other instanceof RequestInfo) == false) {
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();