1 package org.onap.sdnc.apps.ms.gra.swagger.model;
3 import java.util.Objects;
4 import com.fasterxml.jackson.annotation.JsonProperty;
5 import com.fasterxml.jackson.annotation.JsonRootName;
6 import com.fasterxml.jackson.annotation.JsonCreator;
7 import io.swagger.annotations.ApiModel;
8 import io.swagger.annotations.ApiModelProperty;
9 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiNetworkInstanceGroup;
10 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiOperStatusData;
11 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiRequestinformationRequestInformation;
12 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiSdncrequestheaderSdncRequestHeader;
13 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServiceLevelOperStatus;
14 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServiceOperationInformation;
15 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServiceTopology;
16 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicedataServicedataConsumedAllottedResources;
17 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicedataServicedataForwardingPaths;
18 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicedataServicedataNetworks;
19 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicedataServicedataPnfs;
20 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicedataServicedataProvidedAllottedResources;
21 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicedataServicedataProvidedConfigurations;
22 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicedataServicedataVnfs;
23 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServiceinformationServiceInformation;
24 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicerequestinputServiceRequestInput;
25 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicetopologyServiceTopology;
26 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfcInstanceGroup;
27 import org.springframework.validation.annotation.Validated;
28 import javax.validation.Valid;
29 import javax.validation.constraints.*;
32 * GenericResourceApiServicedataServiceData
35 @javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-07-13T13:26:44.236-04:00")
36 @JsonRootName("service-data")
37 public class GenericResourceApiServicedataServiceData {
38 @JsonProperty("service-level-oper-status")
39 private GenericResourceApiOperStatusData serviceLevelOperStatus = null;
41 @JsonProperty("request-information")
42 private GenericResourceApiRequestinformationRequestInformation requestInformation = null;
44 @JsonProperty("sdnc-request-header")
45 private GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader = null;
47 @JsonProperty("service-information")
48 private GenericResourceApiServiceinformationServiceInformation serviceInformation = null;
50 @JsonProperty("service-request-input")
51 private GenericResourceApiServicerequestinputServiceRequestInput serviceRequestInput = null;
53 @JsonProperty("service-topology")
54 private GenericResourceApiServicetopologyServiceTopology serviceTopology = null;
56 @JsonProperty("vnfc-instance-groups")
57 private GenericResourceApiVnfcInstanceGroup vnfcInstanceGroups = null;
59 @JsonProperty("provided-configurations")
60 private GenericResourceApiServicedataServicedataProvidedConfigurations providedConfigurations = null;
62 @JsonProperty("provided-allotted-resources")
63 private GenericResourceApiServicedataServicedataProvidedAllottedResources providedAllottedResources = null;
66 private GenericResourceApiServicedataServicedataVnfs vnfs = null;
68 @JsonProperty("forwarding-paths")
69 private GenericResourceApiServicedataServicedataForwardingPaths forwardingPaths = null;
71 @JsonProperty("network-instance-groups")
72 private GenericResourceApiNetworkInstanceGroup networkInstanceGroups = null;
74 @JsonProperty("networks")
75 private GenericResourceApiServicedataServicedataNetworks networks = null;
77 @JsonProperty("consumed-allotted-resources")
78 private GenericResourceApiServicedataServicedataConsumedAllottedResources consumedAllottedResources = null;
81 private GenericResourceApiServicedataServicedataPnfs pnfs = null;
83 public GenericResourceApiServicedataServiceData serviceLevelOperStatus(GenericResourceApiOperStatusData serviceLevelOperStatus) {
84 this.serviceLevelOperStatus = serviceLevelOperStatus;
89 * Get serviceLevelOperStatus
90 * @return serviceLevelOperStatus
92 @ApiModelProperty(value = "")
96 public GenericResourceApiOperStatusData getServiceLevelOperStatus() {
97 return serviceLevelOperStatus;
100 public void setServiceLevelOperStatus(GenericResourceApiOperStatusData serviceLevelOperStatus) {
101 this.serviceLevelOperStatus = serviceLevelOperStatus;
104 public GenericResourceApiServicedataServiceData requestInformation(GenericResourceApiRequestinformationRequestInformation requestInformation) {
105 this.requestInformation = requestInformation;
110 * Get requestInformation
111 * @return requestInformation
113 @ApiModelProperty(value = "")
117 public GenericResourceApiRequestinformationRequestInformation getRequestInformation() {
118 return requestInformation;
121 public void setRequestInformation(GenericResourceApiRequestinformationRequestInformation requestInformation) {
122 this.requestInformation = requestInformation;
125 public GenericResourceApiServicedataServiceData sdncRequestHeader(GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader) {
126 this.sdncRequestHeader = sdncRequestHeader;
131 * Get sdncRequestHeader
132 * @return sdncRequestHeader
134 @ApiModelProperty(value = "")
138 public GenericResourceApiSdncrequestheaderSdncRequestHeader getSdncRequestHeader() {
139 return sdncRequestHeader;
142 public void setSdncRequestHeader(GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader) {
143 this.sdncRequestHeader = sdncRequestHeader;
146 public GenericResourceApiServicedataServiceData serviceInformation(GenericResourceApiServiceinformationServiceInformation serviceInformation) {
147 this.serviceInformation = serviceInformation;
152 * Get serviceInformation
153 * @return serviceInformation
155 @ApiModelProperty(value = "")
159 public GenericResourceApiServiceinformationServiceInformation getServiceInformation() {
160 return serviceInformation;
163 public void setServiceInformation(GenericResourceApiServiceinformationServiceInformation serviceInformation) {
164 this.serviceInformation = serviceInformation;
167 public GenericResourceApiServicedataServiceData serviceRequestInput(GenericResourceApiServicerequestinputServiceRequestInput serviceRequestInput) {
168 this.serviceRequestInput = serviceRequestInput;
173 * Get serviceRequestInput
174 * @return serviceRequestInput
176 @ApiModelProperty(value = "")
180 public GenericResourceApiServicerequestinputServiceRequestInput getServiceRequestInput() {
181 return serviceRequestInput;
184 public void setServiceRequestInput(GenericResourceApiServicerequestinputServiceRequestInput serviceRequestInput) {
185 this.serviceRequestInput = serviceRequestInput;
188 public GenericResourceApiServicedataServiceData serviceTopology(GenericResourceApiServicetopologyServiceTopology serviceTopology) {
189 this.serviceTopology = serviceTopology;
194 * Get serviceTopology
195 * @return serviceTopology
197 @ApiModelProperty(value = "")
201 public GenericResourceApiServicetopologyServiceTopology getServiceTopology() {
202 return serviceTopology;
205 public void setServiceTopology(GenericResourceApiServicetopologyServiceTopology serviceTopology) {
206 this.serviceTopology = serviceTopology;
209 public GenericResourceApiServicedataServiceData vnfcInstanceGroups(GenericResourceApiVnfcInstanceGroup vnfcInstanceGroups) {
210 this.vnfcInstanceGroups = vnfcInstanceGroups;
215 * Get vnfcInstanceGroups
216 * @return vnfcInstanceGroups
218 @ApiModelProperty(value = "")
222 public GenericResourceApiVnfcInstanceGroup getVnfcInstanceGroups() {
223 return vnfcInstanceGroups;
226 public void setVnfcInstanceGroups(GenericResourceApiVnfcInstanceGroup vnfcInstanceGroups) {
227 this.vnfcInstanceGroups = vnfcInstanceGroups;
230 public GenericResourceApiServicedataServiceData providedConfigurations(GenericResourceApiServicedataServicedataProvidedConfigurations providedConfigurations) {
231 this.providedConfigurations = providedConfigurations;
236 * Get providedConfigurations
237 * @return providedConfigurations
239 @ApiModelProperty(value = "")
243 public GenericResourceApiServicedataServicedataProvidedConfigurations getProvidedConfigurations() {
244 return providedConfigurations;
247 public void setProvidedConfigurations(GenericResourceApiServicedataServicedataProvidedConfigurations providedConfigurations) {
248 this.providedConfigurations = providedConfigurations;
251 public GenericResourceApiServicedataServiceData providedAllottedResources(GenericResourceApiServicedataServicedataProvidedAllottedResources providedAllottedResources) {
252 this.providedAllottedResources = providedAllottedResources;
257 * Get providedAllottedResources
258 * @return providedAllottedResources
260 @ApiModelProperty(value = "")
264 public GenericResourceApiServicedataServicedataProvidedAllottedResources getProvidedAllottedResources() {
265 return providedAllottedResources;
268 public void setProvidedAllottedResources(GenericResourceApiServicedataServicedataProvidedAllottedResources providedAllottedResources) {
269 this.providedAllottedResources = providedAllottedResources;
272 public GenericResourceApiServicedataServiceData vnfs(GenericResourceApiServicedataServicedataVnfs vnfs) {
281 @ApiModelProperty(value = "")
285 public GenericResourceApiServicedataServicedataVnfs getVnfs() {
289 public void setVnfs(GenericResourceApiServicedataServicedataVnfs vnfs) {
293 public GenericResourceApiServicedataServiceData forwardingPaths(GenericResourceApiServicedataServicedataForwardingPaths forwardingPaths) {
294 this.forwardingPaths = forwardingPaths;
299 * Get forwardingPaths
300 * @return forwardingPaths
302 @ApiModelProperty(value = "")
306 public GenericResourceApiServicedataServicedataForwardingPaths getForwardingPaths() {
307 return forwardingPaths;
310 public void setForwardingPaths(GenericResourceApiServicedataServicedataForwardingPaths forwardingPaths) {
311 this.forwardingPaths = forwardingPaths;
314 public GenericResourceApiServicedataServiceData networkInstanceGroups(GenericResourceApiNetworkInstanceGroup networkInstanceGroups) {
315 this.networkInstanceGroups = networkInstanceGroups;
320 * Get networkInstanceGroups
321 * @return networkInstanceGroups
323 @ApiModelProperty(value = "")
327 public GenericResourceApiNetworkInstanceGroup getNetworkInstanceGroups() {
328 return networkInstanceGroups;
331 public void setNetworkInstanceGroups(GenericResourceApiNetworkInstanceGroup networkInstanceGroups) {
332 this.networkInstanceGroups = networkInstanceGroups;
335 public GenericResourceApiServicedataServiceData networks(GenericResourceApiServicedataServicedataNetworks networks) {
336 this.networks = networks;
344 @ApiModelProperty(value = "")
348 public GenericResourceApiServicedataServicedataNetworks getNetworks() {
352 public void setNetworks(GenericResourceApiServicedataServicedataNetworks networks) {
353 this.networks = networks;
356 public GenericResourceApiServicedataServiceData consumedAllottedResources(GenericResourceApiServicedataServicedataConsumedAllottedResources consumedAllottedResources) {
357 this.consumedAllottedResources = consumedAllottedResources;
362 * Get consumedAllottedResources
363 * @return consumedAllottedResources
365 @ApiModelProperty(value = "")
369 public GenericResourceApiServicedataServicedataConsumedAllottedResources getConsumedAllottedResources() {
370 return consumedAllottedResources;
373 public void setConsumedAllottedResources(GenericResourceApiServicedataServicedataConsumedAllottedResources consumedAllottedResources) {
374 this.consumedAllottedResources = consumedAllottedResources;
377 public GenericResourceApiServicedataServiceData pnfs(GenericResourceApiServicedataServicedataPnfs pnfs) {
386 @ApiModelProperty(value = "")
390 public GenericResourceApiServicedataServicedataPnfs getPnfs() {
394 public void setPnfs(GenericResourceApiServicedataServicedataPnfs pnfs) {
400 public boolean equals(java.lang.Object o) {
404 if (o == null || getClass() != o.getClass()) {
407 GenericResourceApiServicedataServiceData genericResourceApiServicedataServiceData = (GenericResourceApiServicedataServiceData) o;
408 return Objects.equals(this.serviceLevelOperStatus, genericResourceApiServicedataServiceData.serviceLevelOperStatus) &&
409 Objects.equals(this.requestInformation, genericResourceApiServicedataServiceData.requestInformation) &&
410 Objects.equals(this.sdncRequestHeader, genericResourceApiServicedataServiceData.sdncRequestHeader) &&
411 Objects.equals(this.serviceInformation, genericResourceApiServicedataServiceData.serviceInformation) &&
412 Objects.equals(this.serviceRequestInput, genericResourceApiServicedataServiceData.serviceRequestInput) &&
413 Objects.equals(this.serviceTopology, genericResourceApiServicedataServiceData.serviceTopology) &&
414 Objects.equals(this.vnfcInstanceGroups, genericResourceApiServicedataServiceData.vnfcInstanceGroups) &&
415 Objects.equals(this.providedConfigurations, genericResourceApiServicedataServiceData.providedConfigurations) &&
416 Objects.equals(this.providedAllottedResources, genericResourceApiServicedataServiceData.providedAllottedResources) &&
417 Objects.equals(this.vnfs, genericResourceApiServicedataServiceData.vnfs) &&
418 Objects.equals(this.forwardingPaths, genericResourceApiServicedataServiceData.forwardingPaths) &&
419 Objects.equals(this.networkInstanceGroups, genericResourceApiServicedataServiceData.networkInstanceGroups) &&
420 Objects.equals(this.networks, genericResourceApiServicedataServiceData.networks) &&
421 Objects.equals(this.consumedAllottedResources, genericResourceApiServicedataServiceData.consumedAllottedResources) &&
422 Objects.equals(this.pnfs, genericResourceApiServicedataServiceData.pnfs);
426 public int hashCode() {
427 return Objects.hash(serviceLevelOperStatus, requestInformation, sdncRequestHeader, serviceInformation, serviceRequestInput, serviceTopology, vnfcInstanceGroups, providedConfigurations, providedAllottedResources, vnfs, forwardingPaths, networkInstanceGroups, networks, consumedAllottedResources, pnfs);
431 public String toString() {
432 StringBuilder sb = new StringBuilder();
433 sb.append("class GenericResourceApiServicedataServiceData {\n");
435 sb.append(" serviceLevelOperStatus: ").append(toIndentedString(serviceLevelOperStatus)).append("\n");
436 sb.append(" requestInformation: ").append(toIndentedString(requestInformation)).append("\n");
437 sb.append(" sdncRequestHeader: ").append(toIndentedString(sdncRequestHeader)).append("\n");
438 sb.append(" serviceInformation: ").append(toIndentedString(serviceInformation)).append("\n");
439 sb.append(" serviceRequestInput: ").append(toIndentedString(serviceRequestInput)).append("\n");
440 sb.append(" serviceTopology: ").append(toIndentedString(serviceTopology)).append("\n");
441 sb.append(" vnfcInstanceGroups: ").append(toIndentedString(vnfcInstanceGroups)).append("\n");
442 sb.append(" providedConfigurations: ").append(toIndentedString(providedConfigurations)).append("\n");
443 sb.append(" providedAllottedResources: ").append(toIndentedString(providedAllottedResources)).append("\n");
444 sb.append(" vnfs: ").append(toIndentedString(vnfs)).append("\n");
445 sb.append(" forwardingPaths: ").append(toIndentedString(forwardingPaths)).append("\n");
446 sb.append(" networkInstanceGroups: ").append(toIndentedString(networkInstanceGroups)).append("\n");
447 sb.append(" networks: ").append(toIndentedString(networks)).append("\n");
448 sb.append(" consumedAllottedResources: ").append(toIndentedString(consumedAllottedResources)).append("\n");
449 sb.append(" pnfs: ").append(toIndentedString(pnfs)).append("\n");
451 return sb.toString();
455 * Convert the given object to string with each line indented by 4 spaces
456 * (except the first line).
458 private String toIndentedString(java.lang.Object o) {
462 return o.toString().replace("\n", "\n ");