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.GenericResourceApiLicenseinformationLicenseInformation;
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.GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfModules;
14 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServicedataServicedataVnfsVnfVnfdataVnfProvidedAllottedResources;
15 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiServiceinformationServiceInformation;
16 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfLevelOperStatus;
17 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfNetworkCollection;
18 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfOperationInformation;
19 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfSubInterfaceGroup;
20 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfTopology;
21 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfinformationVnfInformation;
22 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnfrequestinputVnfRequestInput;
23 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiVnftopologyVnfTopology;
24 import org.springframework.validation.annotation.Validated;
25 import javax.validation.Valid;
26 import javax.validation.constraints.*;
29 * GenericResourceApiServicedataServicedataVnfsVnfVnfData
32 @javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-07-12T18:08:46.019-04:00")
33 @JsonRootName("vnf-data")
34 public class GenericResourceApiServicedataServicedataVnfsVnfVnfData {
35 @JsonProperty("vnf-level-oper-status")
36 private GenericResourceApiOperStatusData vnfLevelOperStatus = null;
38 @JsonProperty("license-information")
39 private GenericResourceApiLicenseinformationLicenseInformation licenseInformation = 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("vnf-information")
51 private GenericResourceApiVnfinformationVnfInformation vnfInformation = null;
53 @JsonProperty("vnf-request-input")
54 private GenericResourceApiVnfrequestinputVnfRequestInput vnfRequestInput = null;
56 @JsonProperty("vnf-topology")
57 private GenericResourceApiVnftopologyVnfTopology vnfTopology = null;
59 @JsonProperty("vnf-network-collections")
60 private GenericResourceApiVnfNetworkCollection vnfNetworkCollections = null;
62 @JsonProperty("vnf-sub-interface-groups")
63 private GenericResourceApiVnfSubInterfaceGroup vnfSubInterfaceGroups = null;
65 @JsonProperty("vf-modules")
66 private GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfModules vfModules = null;
68 @JsonProperty("vnf-provided-allotted-resources")
69 private GenericResourceApiServicedataServicedataVnfsVnfVnfdataVnfProvidedAllottedResources vnfProvidedAllottedResources = null;
71 public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfLevelOperStatus(GenericResourceApiOperStatusData vnfLevelOperStatus) {
72 this.vnfLevelOperStatus = vnfLevelOperStatus;
77 * Get vnfLevelOperStatus
78 * @return vnfLevelOperStatus
80 @ApiModelProperty(value = "")
84 public GenericResourceApiOperStatusData getVnfLevelOperStatus() {
85 return vnfLevelOperStatus;
88 public void setVnfLevelOperStatus(GenericResourceApiOperStatusData vnfLevelOperStatus) {
89 this.vnfLevelOperStatus = vnfLevelOperStatus;
92 public GenericResourceApiServicedataServicedataVnfsVnfVnfData licenseInformation(GenericResourceApiLicenseinformationLicenseInformation licenseInformation) {
93 this.licenseInformation = licenseInformation;
98 * Get licenseInformation
99 * @return licenseInformation
101 @ApiModelProperty(value = "")
105 public GenericResourceApiLicenseinformationLicenseInformation getLicenseInformation() {
106 return licenseInformation;
109 public void setLicenseInformation(GenericResourceApiLicenseinformationLicenseInformation licenseInformation) {
110 this.licenseInformation = licenseInformation;
113 public GenericResourceApiServicedataServicedataVnfsVnfVnfData requestInformation(GenericResourceApiRequestinformationRequestInformation requestInformation) {
114 this.requestInformation = requestInformation;
119 * Get requestInformation
120 * @return requestInformation
122 @ApiModelProperty(value = "")
126 public GenericResourceApiRequestinformationRequestInformation getRequestInformation() {
127 return requestInformation;
130 public void setRequestInformation(GenericResourceApiRequestinformationRequestInformation requestInformation) {
131 this.requestInformation = requestInformation;
134 public GenericResourceApiServicedataServicedataVnfsVnfVnfData sdncRequestHeader(GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader) {
135 this.sdncRequestHeader = sdncRequestHeader;
140 * Get sdncRequestHeader
141 * @return sdncRequestHeader
143 @ApiModelProperty(value = "")
147 public GenericResourceApiSdncrequestheaderSdncRequestHeader getSdncRequestHeader() {
148 return sdncRequestHeader;
151 public void setSdncRequestHeader(GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader) {
152 this.sdncRequestHeader = sdncRequestHeader;
155 public GenericResourceApiServicedataServicedataVnfsVnfVnfData serviceInformation(GenericResourceApiServiceinformationServiceInformation serviceInformation) {
156 this.serviceInformation = serviceInformation;
161 * Get serviceInformation
162 * @return serviceInformation
164 @ApiModelProperty(value = "")
168 public GenericResourceApiServiceinformationServiceInformation getServiceInformation() {
169 return serviceInformation;
172 public void setServiceInformation(GenericResourceApiServiceinformationServiceInformation serviceInformation) {
173 this.serviceInformation = serviceInformation;
176 public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfInformation(GenericResourceApiVnfinformationVnfInformation vnfInformation) {
177 this.vnfInformation = vnfInformation;
183 * @return vnfInformation
185 @ApiModelProperty(value = "")
189 public GenericResourceApiVnfinformationVnfInformation getVnfInformation() {
190 return vnfInformation;
193 public void setVnfInformation(GenericResourceApiVnfinformationVnfInformation vnfInformation) {
194 this.vnfInformation = vnfInformation;
197 public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfRequestInput(GenericResourceApiVnfrequestinputVnfRequestInput vnfRequestInput) {
198 this.vnfRequestInput = vnfRequestInput;
203 * Get vnfRequestInput
204 * @return vnfRequestInput
206 @ApiModelProperty(value = "")
210 public GenericResourceApiVnfrequestinputVnfRequestInput getVnfRequestInput() {
211 return vnfRequestInput;
214 public void setVnfRequestInput(GenericResourceApiVnfrequestinputVnfRequestInput vnfRequestInput) {
215 this.vnfRequestInput = vnfRequestInput;
218 public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfTopology(GenericResourceApiVnftopologyVnfTopology vnfTopology) {
219 this.vnfTopology = vnfTopology;
225 * @return vnfTopology
227 @ApiModelProperty(value = "")
231 public GenericResourceApiVnftopologyVnfTopology getVnfTopology() {
235 public void setVnfTopology(GenericResourceApiVnftopologyVnfTopology vnfTopology) {
236 this.vnfTopology = vnfTopology;
239 public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfNetworkCollections(GenericResourceApiVnfNetworkCollection vnfNetworkCollections) {
240 this.vnfNetworkCollections = vnfNetworkCollections;
245 * Get vnfNetworkCollections
246 * @return vnfNetworkCollections
248 @ApiModelProperty(value = "")
252 public GenericResourceApiVnfNetworkCollection getVnfNetworkCollections() {
253 return vnfNetworkCollections;
256 public void setVnfNetworkCollections(GenericResourceApiVnfNetworkCollection vnfNetworkCollections) {
257 this.vnfNetworkCollections = vnfNetworkCollections;
260 public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfSubInterfaceGroups(GenericResourceApiVnfSubInterfaceGroup vnfSubInterfaceGroups) {
261 this.vnfSubInterfaceGroups = vnfSubInterfaceGroups;
266 * Get vnfSubInterfaceGroups
267 * @return vnfSubInterfaceGroups
269 @ApiModelProperty(value = "")
273 public GenericResourceApiVnfSubInterfaceGroup getVnfSubInterfaceGroups() {
274 return vnfSubInterfaceGroups;
277 public void setVnfSubInterfaceGroups(GenericResourceApiVnfSubInterfaceGroup vnfSubInterfaceGroups) {
278 this.vnfSubInterfaceGroups = vnfSubInterfaceGroups;
281 public GenericResourceApiServicedataServicedataVnfsVnfVnfData vfModules(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfModules vfModules) {
282 this.vfModules = vfModules;
290 @ApiModelProperty(value = "")
294 public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfModules getVfModules() {
298 public void setVfModules(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfModules vfModules) {
299 this.vfModules = vfModules;
302 public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfProvidedAllottedResources(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVnfProvidedAllottedResources vnfProvidedAllottedResources) {
303 this.vnfProvidedAllottedResources = vnfProvidedAllottedResources;
308 * Get vnfProvidedAllottedResources
309 * @return vnfProvidedAllottedResources
311 @ApiModelProperty(value = "")
315 public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVnfProvidedAllottedResources getVnfProvidedAllottedResources() {
316 return vnfProvidedAllottedResources;
319 public void setVnfProvidedAllottedResources(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVnfProvidedAllottedResources vnfProvidedAllottedResources) {
320 this.vnfProvidedAllottedResources = vnfProvidedAllottedResources;
325 public boolean equals(java.lang.Object o) {
329 if (o == null || getClass() != o.getClass()) {
332 GenericResourceApiServicedataServicedataVnfsVnfVnfData genericResourceApiServicedataServicedataVnfsVnfVnfData = (GenericResourceApiServicedataServicedataVnfsVnfVnfData) o;
333 return Objects.equals(this.vnfLevelOperStatus, genericResourceApiServicedataServicedataVnfsVnfVnfData.vnfLevelOperStatus) &&
334 Objects.equals(this.licenseInformation, genericResourceApiServicedataServicedataVnfsVnfVnfData.licenseInformation) &&
335 Objects.equals(this.requestInformation, genericResourceApiServicedataServicedataVnfsVnfVnfData.requestInformation) &&
336 Objects.equals(this.sdncRequestHeader, genericResourceApiServicedataServicedataVnfsVnfVnfData.sdncRequestHeader) &&
337 Objects.equals(this.serviceInformation, genericResourceApiServicedataServicedataVnfsVnfVnfData.serviceInformation) &&
338 Objects.equals(this.vnfInformation, genericResourceApiServicedataServicedataVnfsVnfVnfData.vnfInformation) &&
339 Objects.equals(this.vnfRequestInput, genericResourceApiServicedataServicedataVnfsVnfVnfData.vnfRequestInput) &&
340 Objects.equals(this.vnfTopology, genericResourceApiServicedataServicedataVnfsVnfVnfData.vnfTopology) &&
341 Objects.equals(this.vnfNetworkCollections, genericResourceApiServicedataServicedataVnfsVnfVnfData.vnfNetworkCollections) &&
342 Objects.equals(this.vnfSubInterfaceGroups, genericResourceApiServicedataServicedataVnfsVnfVnfData.vnfSubInterfaceGroups) &&
343 Objects.equals(this.vfModules, genericResourceApiServicedataServicedataVnfsVnfVnfData.vfModules) &&
344 Objects.equals(this.vnfProvidedAllottedResources, genericResourceApiServicedataServicedataVnfsVnfVnfData.vnfProvidedAllottedResources);
348 public int hashCode() {
349 return Objects.hash(vnfLevelOperStatus, licenseInformation, requestInformation, sdncRequestHeader, serviceInformation, vnfInformation, vnfRequestInput, vnfTopology, vnfNetworkCollections, vnfSubInterfaceGroups, vfModules, vnfProvidedAllottedResources);
353 public String toString() {
354 StringBuilder sb = new StringBuilder();
355 sb.append("class GenericResourceApiServicedataServicedataVnfsVnfVnfData {\n");
357 sb.append(" vnfLevelOperStatus: ").append(toIndentedString(vnfLevelOperStatus)).append("\n");
358 sb.append(" licenseInformation: ").append(toIndentedString(licenseInformation)).append("\n");
359 sb.append(" requestInformation: ").append(toIndentedString(requestInformation)).append("\n");
360 sb.append(" sdncRequestHeader: ").append(toIndentedString(sdncRequestHeader)).append("\n");
361 sb.append(" serviceInformation: ").append(toIndentedString(serviceInformation)).append("\n");
362 sb.append(" vnfInformation: ").append(toIndentedString(vnfInformation)).append("\n");
363 sb.append(" vnfRequestInput: ").append(toIndentedString(vnfRequestInput)).append("\n");
364 sb.append(" vnfTopology: ").append(toIndentedString(vnfTopology)).append("\n");
365 sb.append(" vnfNetworkCollections: ").append(toIndentedString(vnfNetworkCollections)).append("\n");
366 sb.append(" vnfSubInterfaceGroups: ").append(toIndentedString(vnfSubInterfaceGroups)).append("\n");
367 sb.append(" vfModules: ").append(toIndentedString(vfModules)).append("\n");
368 sb.append(" vnfProvidedAllottedResources: ").append(toIndentedString(vnfProvidedAllottedResources)).append("\n");
370 return sb.toString();
374 * Convert the given object to string with each line indented by 4 spaces
375 * (except the first line).
377 private String toIndentedString(java.lang.Object o) {
381 return o.toString().replace("\n", "\n ");