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.GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfmoduleVfModuleData;
10 import org.springframework.validation.annotation.Validated;
11 import javax.validation.Valid;
12 import javax.validation.constraints.*;
15 * GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule
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;
24 @JsonProperty("vf-module-id")
25 private String vfModuleId = null;
27 public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule vfModuleData(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfmoduleVfModuleData vfModuleData) {
28 this.vfModuleData = vfModuleData;
34 * @return vfModuleData
36 @ApiModelProperty(value = "")
40 public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfmoduleVfModuleData getVfModuleData() {
44 public void setVfModuleData(GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfmoduleVfModuleData vfModuleData) {
45 this.vfModuleData = vfModuleData;
48 public GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule vfModuleId(String vfModuleId) {
49 this.vfModuleId = vfModuleId;
57 @ApiModelProperty(value = "")
60 public String getVfModuleId() {
64 public void setVfModuleId(String vfModuleId) {
65 this.vfModuleId = vfModuleId;
70 public boolean equals(java.lang.Object o) {
74 if (o == null || getClass() != o.getClass()) {
77 GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule genericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule = (GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule) o;
78 return Objects.equals(this.vfModuleData, genericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule.vfModuleData) &&
79 Objects.equals(this.vfModuleId, genericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule.vfModuleId);
83 public int hashCode() {
84 return Objects.hash(vfModuleData, vfModuleId);
88 public String toString() {
89 StringBuilder sb = new StringBuilder();
90 sb.append("class GenericResourceApiServicedataServicedataVnfsVnfVnfdataVfmodulesVfModule {\n");
92 sb.append(" vfModuleData: ").append(toIndentedString(vfModuleData)).append("\n");
93 sb.append(" vfModuleId: ").append(toIndentedString(vfModuleId)).append("\n");
99 * Convert the given object to string with each line indented by 4 spaces
100 * (except the first line).
102 private String toIndentedString(java.lang.Object o) {
106 return o.toString().replace("\n", "\n ");