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.GenericResourceApiPreloadNetworkTopologyInformation;
10 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiPreloadOperStatus;
11 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiPreloadVfModuleTopologyInformation;
12 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiPreloadnetworktopologyinformationPreloadNetworkTopologyInformation;
13 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiPreloadoperstatusPreloadOperStatus;
14 import org.onap.sdnc.apps.ms.gra.swagger.model.GenericResourceApiPreloadvfmoduletopologyinformationPreloadVfModuleTopologyInformation;
15 import org.springframework.validation.annotation.Validated;
16 import javax.validation.Valid;
17 import javax.validation.constraints.*;
20 * GenericResourceApiPreloaddataPreloadData
23 @javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-07-13T13:26:44.236-04:00")
24 @JsonRootName("preload-data")
25 public class GenericResourceApiPreloaddataPreloadData {
26 @JsonProperty("preload-network-topology-information")
27 private GenericResourceApiPreloadnetworktopologyinformationPreloadNetworkTopologyInformation preloadNetworkTopologyInformation = null;
29 @JsonProperty("preload-oper-status")
30 private GenericResourceApiPreloadoperstatusPreloadOperStatus preloadOperStatus = null;
32 @JsonProperty("preload-vf-module-topology-information")
33 private GenericResourceApiPreloadvfmoduletopologyinformationPreloadVfModuleTopologyInformation preloadVfModuleTopologyInformation = null;
35 public GenericResourceApiPreloaddataPreloadData preloadNetworkTopologyInformation(GenericResourceApiPreloadnetworktopologyinformationPreloadNetworkTopologyInformation preloadNetworkTopologyInformation) {
36 this.preloadNetworkTopologyInformation = preloadNetworkTopologyInformation;
41 * Get preloadNetworkTopologyInformation
42 * @return preloadNetworkTopologyInformation
44 @ApiModelProperty(value = "")
48 public GenericResourceApiPreloadnetworktopologyinformationPreloadNetworkTopologyInformation getPreloadNetworkTopologyInformation() {
49 return preloadNetworkTopologyInformation;
52 public void setPreloadNetworkTopologyInformation(GenericResourceApiPreloadnetworktopologyinformationPreloadNetworkTopologyInformation preloadNetworkTopologyInformation) {
53 this.preloadNetworkTopologyInformation = preloadNetworkTopologyInformation;
56 public GenericResourceApiPreloaddataPreloadData preloadOperStatus(GenericResourceApiPreloadoperstatusPreloadOperStatus preloadOperStatus) {
57 this.preloadOperStatus = preloadOperStatus;
62 * Get preloadOperStatus
63 * @return preloadOperStatus
65 @ApiModelProperty(value = "")
69 public GenericResourceApiPreloadoperstatusPreloadOperStatus getPreloadOperStatus() {
70 return preloadOperStatus;
73 public void setPreloadOperStatus(GenericResourceApiPreloadoperstatusPreloadOperStatus preloadOperStatus) {
74 this.preloadOperStatus = preloadOperStatus;
77 public GenericResourceApiPreloaddataPreloadData preloadVfModuleTopologyInformation(GenericResourceApiPreloadvfmoduletopologyinformationPreloadVfModuleTopologyInformation preloadVfModuleTopologyInformation) {
78 this.preloadVfModuleTopologyInformation = preloadVfModuleTopologyInformation;
83 * Get preloadVfModuleTopologyInformation
84 * @return preloadVfModuleTopologyInformation
86 @ApiModelProperty(value = "")
90 public GenericResourceApiPreloadvfmoduletopologyinformationPreloadVfModuleTopologyInformation getPreloadVfModuleTopologyInformation() {
91 return preloadVfModuleTopologyInformation;
94 public void setPreloadVfModuleTopologyInformation(GenericResourceApiPreloadvfmoduletopologyinformationPreloadVfModuleTopologyInformation preloadVfModuleTopologyInformation) {
95 this.preloadVfModuleTopologyInformation = preloadVfModuleTopologyInformation;
100 public boolean equals(java.lang.Object o) {
104 if (o == null || getClass() != o.getClass()) {
107 GenericResourceApiPreloaddataPreloadData genericResourceApiPreloaddataPreloadData = (GenericResourceApiPreloaddataPreloadData) o;
108 return Objects.equals(this.preloadNetworkTopologyInformation, genericResourceApiPreloaddataPreloadData.preloadNetworkTopologyInformation) &&
109 Objects.equals(this.preloadOperStatus, genericResourceApiPreloaddataPreloadData.preloadOperStatus) &&
110 Objects.equals(this.preloadVfModuleTopologyInformation, genericResourceApiPreloaddataPreloadData.preloadVfModuleTopologyInformation);
114 public int hashCode() {
115 return Objects.hash(preloadNetworkTopologyInformation, preloadOperStatus, preloadVfModuleTopologyInformation);
119 public String toString() {
120 StringBuilder sb = new StringBuilder();
121 sb.append("class GenericResourceApiPreloaddataPreloadData {\n");
123 sb.append(" preloadNetworkTopologyInformation: ").append(toIndentedString(preloadNetworkTopologyInformation)).append("\n");
124 sb.append(" preloadOperStatus: ").append(toIndentedString(preloadOperStatus)).append("\n");
125 sb.append(" preloadVfModuleTopologyInformation: ").append(toIndentedString(preloadVfModuleTopologyInformation)).append("\n");
127 return sb.toString();
131 * Convert the given object to string with each line indented by 4 spaces
132 * (except the first line).
134 private String toIndentedString(java.lang.Object o) {
138 return o.toString().replace("\n", "\n ");