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.GenericResourceApiServicedataServicedataVnfsVnfVnfData;
10 import org.springframework.validation.annotation.Validated;
11 import javax.validation.Valid;
12 import javax.validation.constraints.*;
15 * GenericResourceApiServicedataServicedataVnfsVnf
18 @javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-07-13T13:26:44.236-04:00")
20 public class GenericResourceApiServicedataServicedataVnfsVnf {
21 @JsonProperty("vnf-data")
22 private GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfData = null;
24 @JsonProperty("vnf-id")
25 private String vnfId = null;
27 public GenericResourceApiServicedataServicedataVnfsVnf vnfData(GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfData) {
28 this.vnfData = vnfData;
36 @ApiModelProperty(value = "")
40 public GenericResourceApiServicedataServicedataVnfsVnfVnfData getVnfData() {
44 public void setVnfData(GenericResourceApiServicedataServicedataVnfsVnfVnfData vnfData) {
45 this.vnfData = vnfData;
48 public GenericResourceApiServicedataServicedataVnfsVnf vnfId(String vnfId) {
57 @ApiModelProperty(value = "")
60 public String getVnfId() {
64 public void setVnfId(String vnfId) {
70 public boolean equals(java.lang.Object o) {
74 if (o == null || getClass() != o.getClass()) {
77 GenericResourceApiServicedataServicedataVnfsVnf genericResourceApiServicedataServicedataVnfsVnf = (GenericResourceApiServicedataServicedataVnfsVnf) o;
78 return Objects.equals(this.vnfData, genericResourceApiServicedataServicedataVnfsVnf.vnfData) &&
79 Objects.equals(this.vnfId, genericResourceApiServicedataServicedataVnfsVnf.vnfId);
83 public int hashCode() {
84 return Objects.hash(vnfData, vnfId);
88 public String toString() {
89 StringBuilder sb = new StringBuilder();
90 sb.append("class GenericResourceApiServicedataServicedataVnfsVnf {\n");
92 sb.append(" vnfData: ").append(toIndentedString(vnfData)).append("\n");
93 sb.append(" vnfId: ").append(toIndentedString(vnfId)).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 ");