a6a4c9daab628c947c549fedbe6851d5ba58aef7
[sdnc/apps.git] /
1 package org.onap.sdnc.apps.ms.gra.swagger.model;
2
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.*;
18
19 /**
20  * GenericResourceApiPreloaddataPreloadData
21  */
22 @Validated
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;
28
29   @JsonProperty("preload-oper-status")
30   private GenericResourceApiPreloadoperstatusPreloadOperStatus preloadOperStatus = null;
31
32   @JsonProperty("preload-vf-module-topology-information")
33   private GenericResourceApiPreloadvfmoduletopologyinformationPreloadVfModuleTopologyInformation preloadVfModuleTopologyInformation = null;
34
35   public GenericResourceApiPreloaddataPreloadData preloadNetworkTopologyInformation(GenericResourceApiPreloadnetworktopologyinformationPreloadNetworkTopologyInformation preloadNetworkTopologyInformation) {
36     this.preloadNetworkTopologyInformation = preloadNetworkTopologyInformation;
37     return this;
38   }
39
40   /**
41    * Get preloadNetworkTopologyInformation
42    * @return preloadNetworkTopologyInformation
43   **/
44   @ApiModelProperty(value = "")
45
46   @Valid
47
48   public GenericResourceApiPreloadnetworktopologyinformationPreloadNetworkTopologyInformation getPreloadNetworkTopologyInformation() {
49     return preloadNetworkTopologyInformation;
50   }
51
52   public void setPreloadNetworkTopologyInformation(GenericResourceApiPreloadnetworktopologyinformationPreloadNetworkTopologyInformation preloadNetworkTopologyInformation) {
53     this.preloadNetworkTopologyInformation = preloadNetworkTopologyInformation;
54   }
55
56   public GenericResourceApiPreloaddataPreloadData preloadOperStatus(GenericResourceApiPreloadoperstatusPreloadOperStatus preloadOperStatus) {
57     this.preloadOperStatus = preloadOperStatus;
58     return this;
59   }
60
61   /**
62    * Get preloadOperStatus
63    * @return preloadOperStatus
64   **/
65   @ApiModelProperty(value = "")
66
67   @Valid
68
69   public GenericResourceApiPreloadoperstatusPreloadOperStatus getPreloadOperStatus() {
70     return preloadOperStatus;
71   }
72
73   public void setPreloadOperStatus(GenericResourceApiPreloadoperstatusPreloadOperStatus preloadOperStatus) {
74     this.preloadOperStatus = preloadOperStatus;
75   }
76
77   public GenericResourceApiPreloaddataPreloadData preloadVfModuleTopologyInformation(GenericResourceApiPreloadvfmoduletopologyinformationPreloadVfModuleTopologyInformation preloadVfModuleTopologyInformation) {
78     this.preloadVfModuleTopologyInformation = preloadVfModuleTopologyInformation;
79     return this;
80   }
81
82   /**
83    * Get preloadVfModuleTopologyInformation
84    * @return preloadVfModuleTopologyInformation
85   **/
86   @ApiModelProperty(value = "")
87
88   @Valid
89
90   public GenericResourceApiPreloadvfmoduletopologyinformationPreloadVfModuleTopologyInformation getPreloadVfModuleTopologyInformation() {
91     return preloadVfModuleTopologyInformation;
92   }
93
94   public void setPreloadVfModuleTopologyInformation(GenericResourceApiPreloadvfmoduletopologyinformationPreloadVfModuleTopologyInformation preloadVfModuleTopologyInformation) {
95     this.preloadVfModuleTopologyInformation = preloadVfModuleTopologyInformation;
96   }
97
98
99   @Override
100   public boolean equals(java.lang.Object o) {
101     if (this == o) {
102       return true;
103     }
104     if (o == null || getClass() != o.getClass()) {
105       return false;
106     }
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);
111   }
112
113   @Override
114   public int hashCode() {
115     return Objects.hash(preloadNetworkTopologyInformation, preloadOperStatus, preloadVfModuleTopologyInformation);
116   }
117
118   @Override
119   public String toString() {
120     StringBuilder sb = new StringBuilder();
121     sb.append("class GenericResourceApiPreloaddataPreloadData {\n");
122     
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");
126     sb.append("}");
127     return sb.toString();
128   }
129
130   /**
131    * Convert the given object to string with each line indented by 4 spaces
132    * (except the first line).
133    */
134   private String toIndentedString(java.lang.Object o) {
135     if (o == null) {
136       return "null";
137     }
138     return o.toString().replace("\n", "\n    ");
139   }
140 }
141