ebc5ad6addf0d345d7a43bff418d5822e246d6bb
[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.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.*;
27
28 /**
29  * GenericResourceApiServicedataServicedataVnfsVnfVnfData
30  */
31 @Validated
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;
37
38   @JsonProperty("license-information")
39   private GenericResourceApiLicenseinformationLicenseInformation licenseInformation = null;
40
41   @JsonProperty("request-information")
42   private GenericResourceApiRequestinformationRequestInformation requestInformation = null;
43
44   @JsonProperty("sdnc-request-header")
45   private GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader = null;
46
47   @JsonProperty("service-information")
48   private GenericResourceApiServiceinformationServiceInformation serviceInformation = null;
49
50   @JsonProperty("vnf-information")
51   private GenericResourceApiVnfinformationVnfInformation vnfInformation = null;
52
53   @JsonProperty("vnf-request-input")
54   private GenericResourceApiVnfrequestinputVnfRequestInput vnfRequestInput = null;
55
56   @JsonProperty("vnf-topology")
57   private GenericResourceApiVnftopologyVnfTopology vnfTopology = null;
58
59   @JsonProperty("vnf-network-collections")
60   private GenericResourceApiVnfNetworkCollection vnfNetworkCollections = null;
61
62   @JsonProperty("vnf-sub-interface-groups")
63   private GenericResourceApiVnfSubInterfaceGroup vnfSubInterfaceGroups = null;
64
65   @JsonProperty("vf-modules")
66   private GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfModules vfModules = null;
67
68   @JsonProperty("vnf-provided-allotted-resources")
69   private GenericResourceApiServicedataServicedataVnfsVnfVnfdataVnfProvidedAllottedResources vnfProvidedAllottedResources = null;
70
71   public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfLevelOperStatus(GenericResourceApiOperStatusData vnfLevelOperStatus) {
72     this.vnfLevelOperStatus = vnfLevelOperStatus;
73     return this;
74   }
75
76   /**
77    * Get vnfLevelOperStatus
78    * @return vnfLevelOperStatus
79   **/
80   @ApiModelProperty(value = "")
81
82   @Valid
83
84   public GenericResourceApiOperStatusData getVnfLevelOperStatus() {
85     return vnfLevelOperStatus;
86   }
87
88   public void setVnfLevelOperStatus(GenericResourceApiOperStatusData vnfLevelOperStatus) {
89     this.vnfLevelOperStatus = vnfLevelOperStatus;
90   }
91
92   public GenericResourceApiServicedataServicedataVnfsVnfVnfData licenseInformation(GenericResourceApiLicenseinformationLicenseInformation licenseInformation) {
93     this.licenseInformation = licenseInformation;
94     return this;
95   }
96
97   /**
98    * Get licenseInformation
99    * @return licenseInformation
100   **/
101   @ApiModelProperty(value = "")
102
103   @Valid
104
105   public GenericResourceApiLicenseinformationLicenseInformation getLicenseInformation() {
106     return licenseInformation;
107   }
108
109   public void setLicenseInformation(GenericResourceApiLicenseinformationLicenseInformation licenseInformation) {
110     this.licenseInformation = licenseInformation;
111   }
112
113   public GenericResourceApiServicedataServicedataVnfsVnfVnfData requestInformation(GenericResourceApiRequestinformationRequestInformation requestInformation) {
114     this.requestInformation = requestInformation;
115     return this;
116   }
117
118   /**
119    * Get requestInformation
120    * @return requestInformation
121   **/
122   @ApiModelProperty(value = "")
123
124   @Valid
125
126   public GenericResourceApiRequestinformationRequestInformation getRequestInformation() {
127     return requestInformation;
128   }
129
130   public void setRequestInformation(GenericResourceApiRequestinformationRequestInformation requestInformation) {
131     this.requestInformation = requestInformation;
132   }
133
134   public GenericResourceApiServicedataServicedataVnfsVnfVnfData sdncRequestHeader(GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader) {
135     this.sdncRequestHeader = sdncRequestHeader;
136     return this;
137   }
138
139   /**
140    * Get sdncRequestHeader
141    * @return sdncRequestHeader
142   **/
143   @ApiModelProperty(value = "")
144
145   @Valid
146
147   public GenericResourceApiSdncrequestheaderSdncRequestHeader getSdncRequestHeader() {
148     return sdncRequestHeader;
149   }
150
151   public void setSdncRequestHeader(GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader) {
152     this.sdncRequestHeader = sdncRequestHeader;
153   }
154
155   public GenericResourceApiServicedataServicedataVnfsVnfVnfData serviceInformation(GenericResourceApiServiceinformationServiceInformation serviceInformation) {
156     this.serviceInformation = serviceInformation;
157     return this;
158   }
159
160   /**
161    * Get serviceInformation
162    * @return serviceInformation
163   **/
164   @ApiModelProperty(value = "")
165
166   @Valid
167
168   public GenericResourceApiServiceinformationServiceInformation getServiceInformation() {
169     return serviceInformation;
170   }
171
172   public void setServiceInformation(GenericResourceApiServiceinformationServiceInformation serviceInformation) {
173     this.serviceInformation = serviceInformation;
174   }
175
176   public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfInformation(GenericResourceApiVnfinformationVnfInformation vnfInformation) {
177     this.vnfInformation = vnfInformation;
178     return this;
179   }
180
181   /**
182    * Get vnfInformation
183    * @return vnfInformation
184   **/
185   @ApiModelProperty(value = "")
186
187   @Valid
188
189   public GenericResourceApiVnfinformationVnfInformation getVnfInformation() {
190     return vnfInformation;
191   }
192
193   public void setVnfInformation(GenericResourceApiVnfinformationVnfInformation vnfInformation) {
194     this.vnfInformation = vnfInformation;
195   }
196
197   public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfRequestInput(GenericResourceApiVnfrequestinputVnfRequestInput vnfRequestInput) {
198     this.vnfRequestInput = vnfRequestInput;
199     return this;
200   }
201
202   /**
203    * Get vnfRequestInput
204    * @return vnfRequestInput
205   **/
206   @ApiModelProperty(value = "")
207
208   @Valid
209
210   public GenericResourceApiVnfrequestinputVnfRequestInput getVnfRequestInput() {
211     return vnfRequestInput;
212   }
213
214   public void setVnfRequestInput(GenericResourceApiVnfrequestinputVnfRequestInput vnfRequestInput) {
215     this.vnfRequestInput = vnfRequestInput;
216   }
217
218   public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfTopology(GenericResourceApiVnftopologyVnfTopology vnfTopology) {
219     this.vnfTopology = vnfTopology;
220     return this;
221   }
222
223   /**
224    * Get vnfTopology
225    * @return vnfTopology
226   **/
227   @ApiModelProperty(value = "")
228
229   @Valid
230
231   public GenericResourceApiVnftopologyVnfTopology getVnfTopology() {
232     return vnfTopology;
233   }
234
235   public void setVnfTopology(GenericResourceApiVnftopologyVnfTopology vnfTopology) {
236     this.vnfTopology = vnfTopology;
237   }
238
239   public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfNetworkCollections(GenericResourceApiVnfNetworkCollection vnfNetworkCollections) {
240     this.vnfNetworkCollections = vnfNetworkCollections;
241     return this;
242   }
243
244   /**
245    * Get vnfNetworkCollections
246    * @return vnfNetworkCollections
247   **/
248   @ApiModelProperty(value = "")
249
250   @Valid
251
252   public GenericResourceApiVnfNetworkCollection getVnfNetworkCollections() {
253     return vnfNetworkCollections;
254   }
255
256   public void setVnfNetworkCollections(GenericResourceApiVnfNetworkCollection vnfNetworkCollections) {
257     this.vnfNetworkCollections = vnfNetworkCollections;
258   }
259
260   public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfSubInterfaceGroups(GenericResourceApiVnfSubInterfaceGroup vnfSubInterfaceGroups) {
261     this.vnfSubInterfaceGroups = vnfSubInterfaceGroups;
262     return this;
263   }
264
265   /**
266    * Get vnfSubInterfaceGroups
267    * @return vnfSubInterfaceGroups
268   **/
269   @ApiModelProperty(value = "")
270
271   @Valid
272
273   public GenericResourceApiVnfSubInterfaceGroup getVnfSubInterfaceGroups() {
274     return vnfSubInterfaceGroups;
275   }
276
277   public void setVnfSubInterfaceGroups(GenericResourceApiVnfSubInterfaceGroup vnfSubInterfaceGroups) {
278     this.vnfSubInterfaceGroups = vnfSubInterfaceGroups;
279   }
280
281   public GenericResourceApiServicedataServicedataVnfsVnfVnfData vfModules(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfModules vfModules) {
282     this.vfModules = vfModules;
283     return this;
284   }
285
286   /**
287    * Get vfModules
288    * @return vfModules
289   **/
290   @ApiModelProperty(value = "")
291
292   @Valid
293
294   public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfModules getVfModules() {
295     return vfModules;
296   }
297
298   public void setVfModules(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfModules vfModules) {
299     this.vfModules = vfModules;
300   }
301
302   public GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfProvidedAllottedResources(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVnfProvidedAllottedResources vnfProvidedAllottedResources) {
303     this.vnfProvidedAllottedResources = vnfProvidedAllottedResources;
304     return this;
305   }
306
307   /**
308    * Get vnfProvidedAllottedResources
309    * @return vnfProvidedAllottedResources
310   **/
311   @ApiModelProperty(value = "")
312
313   @Valid
314
315   public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVnfProvidedAllottedResources getVnfProvidedAllottedResources() {
316     return vnfProvidedAllottedResources;
317   }
318
319   public void setVnfProvidedAllottedResources(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVnfProvidedAllottedResources vnfProvidedAllottedResources) {
320     this.vnfProvidedAllottedResources = vnfProvidedAllottedResources;
321   }
322
323
324   @Override
325   public boolean equals(java.lang.Object o) {
326     if (this == o) {
327       return true;
328     }
329     if (o == null || getClass() != o.getClass()) {
330       return false;
331     }
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);
345   }
346
347   @Override
348   public int hashCode() {
349     return Objects.hash(vnfLevelOperStatus, licenseInformation, requestInformation, sdncRequestHeader, serviceInformation, vnfInformation, vnfRequestInput, vnfTopology, vnfNetworkCollections, vnfSubInterfaceGroups, vfModules, vnfProvidedAllottedResources);
350   }
351
352   @Override
353   public String toString() {
354     StringBuilder sb = new StringBuilder();
355     sb.append("class GenericResourceApiServicedataServicedataVnfsVnfVnfData {\n");
356     
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");
369     sb.append("}");
370     return sb.toString();
371   }
372
373   /**
374    * Convert the given object to string with each line indented by 4 spaces
375    * (except the first line).
376    */
377   private String toIndentedString(java.lang.Object o) {
378     if (o == null) {
379       return "null";
380     }
381     return o.toString().replace("\n", "\n    ");
382   }
383 }
384