b70d6df6e03c4b29bf184deed25609ea2b48262d
[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.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.*;
30
31 /**
32  * GenericResourceApiServicedataServiceData
33  */
34 @Validated
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;
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("service-request-input")
51   private GenericResourceApiServicerequestinputServiceRequestInput serviceRequestInput = null;
52
53   @JsonProperty("service-topology")
54   private GenericResourceApiServicetopologyServiceTopology serviceTopology = null;
55
56   @JsonProperty("vnfc-instance-groups")
57   private GenericResourceApiVnfcInstanceGroup vnfcInstanceGroups = null;
58
59   @JsonProperty("provided-configurations")
60   private GenericResourceApiServicedataServicedataProvidedConfigurations providedConfigurations = null;
61
62   @JsonProperty("provided-allotted-resources")
63   private GenericResourceApiServicedataServicedataProvidedAllottedResources providedAllottedResources = null;
64
65   @JsonProperty("vnfs")
66   private GenericResourceApiServicedataServicedataVnfs vnfs = null;
67
68   @JsonProperty("forwarding-paths")
69   private GenericResourceApiServicedataServicedataForwardingPaths forwardingPaths = null;
70
71   @JsonProperty("network-instance-groups")
72   private GenericResourceApiNetworkInstanceGroup networkInstanceGroups = null;
73
74   @JsonProperty("networks")
75   private GenericResourceApiServicedataServicedataNetworks networks = null;
76
77   @JsonProperty("consumed-allotted-resources")
78   private GenericResourceApiServicedataServicedataConsumedAllottedResources consumedAllottedResources = null;
79
80   @JsonProperty("pnfs")
81   private GenericResourceApiServicedataServicedataPnfs pnfs = null;
82
83   public GenericResourceApiServicedataServiceData serviceLevelOperStatus(GenericResourceApiOperStatusData serviceLevelOperStatus) {
84     this.serviceLevelOperStatus = serviceLevelOperStatus;
85     return this;
86   }
87
88   /**
89    * Get serviceLevelOperStatus
90    * @return serviceLevelOperStatus
91   **/
92   @ApiModelProperty(value = "")
93
94   @Valid
95
96   public GenericResourceApiOperStatusData getServiceLevelOperStatus() {
97     return serviceLevelOperStatus;
98   }
99
100   public void setServiceLevelOperStatus(GenericResourceApiOperStatusData serviceLevelOperStatus) {
101     this.serviceLevelOperStatus = serviceLevelOperStatus;
102   }
103
104   public GenericResourceApiServicedataServiceData requestInformation(GenericResourceApiRequestinformationRequestInformation requestInformation) {
105     this.requestInformation = requestInformation;
106     return this;
107   }
108
109   /**
110    * Get requestInformation
111    * @return requestInformation
112   **/
113   @ApiModelProperty(value = "")
114
115   @Valid
116
117   public GenericResourceApiRequestinformationRequestInformation getRequestInformation() {
118     return requestInformation;
119   }
120
121   public void setRequestInformation(GenericResourceApiRequestinformationRequestInformation requestInformation) {
122     this.requestInformation = requestInformation;
123   }
124
125   public GenericResourceApiServicedataServiceData sdncRequestHeader(GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader) {
126     this.sdncRequestHeader = sdncRequestHeader;
127     return this;
128   }
129
130   /**
131    * Get sdncRequestHeader
132    * @return sdncRequestHeader
133   **/
134   @ApiModelProperty(value = "")
135
136   @Valid
137
138   public GenericResourceApiSdncrequestheaderSdncRequestHeader getSdncRequestHeader() {
139     return sdncRequestHeader;
140   }
141
142   public void setSdncRequestHeader(GenericResourceApiSdncrequestheaderSdncRequestHeader sdncRequestHeader) {
143     this.sdncRequestHeader = sdncRequestHeader;
144   }
145
146   public GenericResourceApiServicedataServiceData serviceInformation(GenericResourceApiServiceinformationServiceInformation serviceInformation) {
147     this.serviceInformation = serviceInformation;
148     return this;
149   }
150
151   /**
152    * Get serviceInformation
153    * @return serviceInformation
154   **/
155   @ApiModelProperty(value = "")
156
157   @Valid
158
159   public GenericResourceApiServiceinformationServiceInformation getServiceInformation() {
160     return serviceInformation;
161   }
162
163   public void setServiceInformation(GenericResourceApiServiceinformationServiceInformation serviceInformation) {
164     this.serviceInformation = serviceInformation;
165   }
166
167   public GenericResourceApiServicedataServiceData serviceRequestInput(GenericResourceApiServicerequestinputServiceRequestInput serviceRequestInput) {
168     this.serviceRequestInput = serviceRequestInput;
169     return this;
170   }
171
172   /**
173    * Get serviceRequestInput
174    * @return serviceRequestInput
175   **/
176   @ApiModelProperty(value = "")
177
178   @Valid
179
180   public GenericResourceApiServicerequestinputServiceRequestInput getServiceRequestInput() {
181     return serviceRequestInput;
182   }
183
184   public void setServiceRequestInput(GenericResourceApiServicerequestinputServiceRequestInput serviceRequestInput) {
185     this.serviceRequestInput = serviceRequestInput;
186   }
187
188   public GenericResourceApiServicedataServiceData serviceTopology(GenericResourceApiServicetopologyServiceTopology serviceTopology) {
189     this.serviceTopology = serviceTopology;
190     return this;
191   }
192
193   /**
194    * Get serviceTopology
195    * @return serviceTopology
196   **/
197   @ApiModelProperty(value = "")
198
199   @Valid
200
201   public GenericResourceApiServicetopologyServiceTopology getServiceTopology() {
202     return serviceTopology;
203   }
204
205   public void setServiceTopology(GenericResourceApiServicetopologyServiceTopology serviceTopology) {
206     this.serviceTopology = serviceTopology;
207   }
208
209   public GenericResourceApiServicedataServiceData vnfcInstanceGroups(GenericResourceApiVnfcInstanceGroup vnfcInstanceGroups) {
210     this.vnfcInstanceGroups = vnfcInstanceGroups;
211     return this;
212   }
213
214   /**
215    * Get vnfcInstanceGroups
216    * @return vnfcInstanceGroups
217   **/
218   @ApiModelProperty(value = "")
219
220   @Valid
221
222   public GenericResourceApiVnfcInstanceGroup getVnfcInstanceGroups() {
223     return vnfcInstanceGroups;
224   }
225
226   public void setVnfcInstanceGroups(GenericResourceApiVnfcInstanceGroup vnfcInstanceGroups) {
227     this.vnfcInstanceGroups = vnfcInstanceGroups;
228   }
229
230   public GenericResourceApiServicedataServiceData providedConfigurations(GenericResourceApiServicedataServicedataProvidedConfigurations providedConfigurations) {
231     this.providedConfigurations = providedConfigurations;
232     return this;
233   }
234
235   /**
236    * Get providedConfigurations
237    * @return providedConfigurations
238   **/
239   @ApiModelProperty(value = "")
240
241   @Valid
242
243   public GenericResourceApiServicedataServicedataProvidedConfigurations getProvidedConfigurations() {
244     return providedConfigurations;
245   }
246
247   public void setProvidedConfigurations(GenericResourceApiServicedataServicedataProvidedConfigurations providedConfigurations) {
248     this.providedConfigurations = providedConfigurations;
249   }
250
251   public GenericResourceApiServicedataServiceData providedAllottedResources(GenericResourceApiServicedataServicedataProvidedAllottedResources providedAllottedResources) {
252     this.providedAllottedResources = providedAllottedResources;
253     return this;
254   }
255
256   /**
257    * Get providedAllottedResources
258    * @return providedAllottedResources
259   **/
260   @ApiModelProperty(value = "")
261
262   @Valid
263
264   public GenericResourceApiServicedataServicedataProvidedAllottedResources getProvidedAllottedResources() {
265     return providedAllottedResources;
266   }
267
268   public void setProvidedAllottedResources(GenericResourceApiServicedataServicedataProvidedAllottedResources providedAllottedResources) {
269     this.providedAllottedResources = providedAllottedResources;
270   }
271
272   public GenericResourceApiServicedataServiceData vnfs(GenericResourceApiServicedataServicedataVnfs vnfs) {
273     this.vnfs = vnfs;
274     return this;
275   }
276
277   /**
278    * Get vnfs
279    * @return vnfs
280   **/
281   @ApiModelProperty(value = "")
282
283   @Valid
284
285   public GenericResourceApiServicedataServicedataVnfs getVnfs() {
286     return vnfs;
287   }
288
289   public void setVnfs(GenericResourceApiServicedataServicedataVnfs vnfs) {
290     this.vnfs = vnfs;
291   }
292
293   public GenericResourceApiServicedataServiceData forwardingPaths(GenericResourceApiServicedataServicedataForwardingPaths forwardingPaths) {
294     this.forwardingPaths = forwardingPaths;
295     return this;
296   }
297
298   /**
299    * Get forwardingPaths
300    * @return forwardingPaths
301   **/
302   @ApiModelProperty(value = "")
303
304   @Valid
305
306   public GenericResourceApiServicedataServicedataForwardingPaths getForwardingPaths() {
307     return forwardingPaths;
308   }
309
310   public void setForwardingPaths(GenericResourceApiServicedataServicedataForwardingPaths forwardingPaths) {
311     this.forwardingPaths = forwardingPaths;
312   }
313
314   public GenericResourceApiServicedataServiceData networkInstanceGroups(GenericResourceApiNetworkInstanceGroup networkInstanceGroups) {
315     this.networkInstanceGroups = networkInstanceGroups;
316     return this;
317   }
318
319   /**
320    * Get networkInstanceGroups
321    * @return networkInstanceGroups
322   **/
323   @ApiModelProperty(value = "")
324
325   @Valid
326
327   public GenericResourceApiNetworkInstanceGroup getNetworkInstanceGroups() {
328     return networkInstanceGroups;
329   }
330
331   public void setNetworkInstanceGroups(GenericResourceApiNetworkInstanceGroup networkInstanceGroups) {
332     this.networkInstanceGroups = networkInstanceGroups;
333   }
334
335   public GenericResourceApiServicedataServiceData networks(GenericResourceApiServicedataServicedataNetworks networks) {
336     this.networks = networks;
337     return this;
338   }
339
340   /**
341    * Get networks
342    * @return networks
343   **/
344   @ApiModelProperty(value = "")
345
346   @Valid
347
348   public GenericResourceApiServicedataServicedataNetworks getNetworks() {
349     return networks;
350   }
351
352   public void setNetworks(GenericResourceApiServicedataServicedataNetworks networks) {
353     this.networks = networks;
354   }
355
356   public GenericResourceApiServicedataServiceData consumedAllottedResources(GenericResourceApiServicedataServicedataConsumedAllottedResources consumedAllottedResources) {
357     this.consumedAllottedResources = consumedAllottedResources;
358     return this;
359   }
360
361   /**
362    * Get consumedAllottedResources
363    * @return consumedAllottedResources
364   **/
365   @ApiModelProperty(value = "")
366
367   @Valid
368
369   public GenericResourceApiServicedataServicedataConsumedAllottedResources getConsumedAllottedResources() {
370     return consumedAllottedResources;
371   }
372
373   public void setConsumedAllottedResources(GenericResourceApiServicedataServicedataConsumedAllottedResources consumedAllottedResources) {
374     this.consumedAllottedResources = consumedAllottedResources;
375   }
376
377   public GenericResourceApiServicedataServiceData pnfs(GenericResourceApiServicedataServicedataPnfs pnfs) {
378     this.pnfs = pnfs;
379     return this;
380   }
381
382   /**
383    * Get pnfs
384    * @return pnfs
385   **/
386   @ApiModelProperty(value = "")
387
388   @Valid
389
390   public GenericResourceApiServicedataServicedataPnfs getPnfs() {
391     return pnfs;
392   }
393
394   public void setPnfs(GenericResourceApiServicedataServicedataPnfs pnfs) {
395     this.pnfs = pnfs;
396   }
397
398
399   @Override
400   public boolean equals(java.lang.Object o) {
401     if (this == o) {
402       return true;
403     }
404     if (o == null || getClass() != o.getClass()) {
405       return false;
406     }
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);
423   }
424
425   @Override
426   public int hashCode() {
427     return Objects.hash(serviceLevelOperStatus, requestInformation, sdncRequestHeader, serviceInformation, serviceRequestInput, serviceTopology, vnfcInstanceGroups, providedConfigurations, providedAllottedResources, vnfs, forwardingPaths, networkInstanceGroups, networks, consumedAllottedResources, pnfs);
428   }
429
430   @Override
431   public String toString() {
432     StringBuilder sb = new StringBuilder();
433     sb.append("class GenericResourceApiServicedataServiceData {\n");
434     
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");
450     sb.append("}");
451     return sb.toString();
452   }
453
454   /**
455    * Convert the given object to string with each line indented by 4 spaces
456    * (except the first line).
457    */
458   private String toIndentedString(java.lang.Object o) {
459     if (o == null) {
460       return "null";
461     }
462     return o.toString().replace("\n", "\n    ");
463   }
464 }
465