3620148ffe467a04205b47f17f86f79b014a320e
[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.GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfmoduleVfModuleData;
10 import org.springframework.validation.annotation.Validated;
11 import javax.validation.Valid;
12 import javax.validation.constraints.*;
13
14 /**
15  * GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule
16  */
17 @Validated
18 @javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-07-13T13:26:44.236-04:00")
19 @JsonRootName("vf-module")
20 public class GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule   {
21   @JsonProperty("vf-module-data")
22   private GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfmoduleVfModuleData vfModuleData = null;
23
24   @JsonProperty("vf-module-id")
25   private String vfModuleId = null;
26
27   public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule vfModuleData(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfmoduleVfModuleData vfModuleData) {
28     this.vfModuleData = vfModuleData;
29     return this;
30   }
31
32   /**
33    * Get vfModuleData
34    * @return vfModuleData
35   **/
36   @ApiModelProperty(value = "")
37
38   @Valid
39
40   public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfmoduleVfModuleData getVfModuleData() {
41     return vfModuleData;
42   }
43
44   public void setVfModuleData(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfmoduleVfModuleData vfModuleData) {
45     this.vfModuleData = vfModuleData;
46   }
47
48   public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule vfModuleId(String vfModuleId) {
49     this.vfModuleId = vfModuleId;
50     return this;
51   }
52
53   /**
54    * Get vfModuleId
55    * @return vfModuleId
56   **/
57   @ApiModelProperty(value = "")
58
59
60   public String getVfModuleId() {
61     return vfModuleId;
62   }
63
64   public void setVfModuleId(String vfModuleId) {
65     this.vfModuleId = vfModuleId;
66   }
67
68
69   @Override
70   public boolean equals(java.lang.Object o) {
71     if (this == o) {
72       return true;
73     }
74     if (o == null || getClass() != o.getClass()) {
75       return false;
76     }
77     GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule genericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule = (GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule) o;
78     return Objects.equals(this.vfModuleData, genericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule.vfModuleData) &&
79         Objects.equals(this.vfModuleId, genericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule.vfModuleId);
80   }
81
82   @Override
83   public int hashCode() {
84     return Objects.hash(vfModuleData, vfModuleId);
85   }
86
87   @Override
88   public String toString() {
89     StringBuilder sb = new StringBuilder();
90     sb.append("class GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule {\n");
91     
92     sb.append("    vfModuleData: ").append(toIndentedString(vfModuleData)).append("\n");
93     sb.append("    vfModuleId: ").append(toIndentedString(vfModuleId)).append("\n");
94     sb.append("}");
95     return sb.toString();
96   }
97
98   /**
99    * Convert the given object to string with each line indented by 4 spaces
100    * (except the first line).
101    */
102   private String toIndentedString(java.lang.Object o) {
103     if (o == null) {
104       return "null";
105     }
106     return o.toString().replace("\n", "\n    ");
107   }
108 }
109