|
| 1 | +/* |
| 2 | + * Swagger Petstore |
| 3 | + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ |
| 4 | + * |
| 5 | + * OpenAPI spec version: 1.0.0 |
| 6 | + |
| 7 | + * |
| 8 | + * NOTE: This class is auto generated by the swagger code generator program. |
| 9 | + * https://github.com/swagger-api/swagger-codegen.git |
| 10 | + * Do not edit the class manually. |
| 11 | + */ |
| 12 | + |
| 13 | + |
| 14 | +package io.swagger.client.model; |
| 15 | + |
| 16 | +import java.util.Objects; |
| 17 | +import java.util.Arrays; |
| 18 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 19 | +import com.fasterxml.jackson.annotation.JsonCreator; |
| 20 | +import com.fasterxml.jackson.annotation.JsonValue; |
| 21 | +import io.swagger.annotations.ApiModel; |
| 22 | +import io.swagger.annotations.ApiModelProperty; |
| 23 | +import com.fasterxml.jackson.dataformat.xml.annotation.*; |
| 24 | +import javax.xml.bind.annotation.*; |
| 25 | + |
| 26 | +/** |
| 27 | + * List |
| 28 | + */ |
| 29 | + |
| 30 | +@XmlRootElement(name = "List") |
| 31 | +@XmlAccessorType(XmlAccessType.FIELD) |
| 32 | +@JacksonXmlRootElement(localName = "List") |
| 33 | +public class List { |
| 34 | + @JsonProperty("123-list") |
| 35 | + @JacksonXmlProperty(localName = "123-list") |
| 36 | + @XmlElement(name = "123-list") |
| 37 | + private String _123List = null; |
| 38 | + |
| 39 | + public List _123List(String _123List) { |
| 40 | + this._123List = _123List; |
| 41 | + return this; |
| 42 | + } |
| 43 | + |
| 44 | + /** |
| 45 | + * Get _123List |
| 46 | + * @return _123List |
| 47 | + **/ |
| 48 | + @ApiModelProperty(value = "") |
| 49 | + public String get123List() { |
| 50 | + return _123List; |
| 51 | + } |
| 52 | + |
| 53 | + public void set123List(String _123List) { |
| 54 | + this._123List = _123List; |
| 55 | + } |
| 56 | + |
| 57 | + |
| 58 | + @Override |
| 59 | + public boolean equals(java.lang.Object o) { |
| 60 | + if (this == o) { |
| 61 | + return true; |
| 62 | + } |
| 63 | + if (o == null || getClass() != o.getClass()) { |
| 64 | + return false; |
| 65 | + } |
| 66 | + List list = (List) o; |
| 67 | + return Objects.equals(this._123List, list._123List); |
| 68 | + } |
| 69 | + |
| 70 | + @Override |
| 71 | + public int hashCode() { |
| 72 | + return Objects.hash(_123List); |
| 73 | + } |
| 74 | + |
| 75 | + |
| 76 | + @Override |
| 77 | + public String toString() { |
| 78 | + StringBuilder sb = new StringBuilder(); |
| 79 | + sb.append("class List {\n"); |
| 80 | + |
| 81 | + sb.append(" _123List: ").append(toIndentedString(_123List)).append("\n"); |
| 82 | + sb.append("}"); |
| 83 | + return sb.toString(); |
| 84 | + } |
| 85 | + |
| 86 | + /** |
| 87 | + * Convert the given object to string with each line indented by 4 spaces |
| 88 | + * (except the first line). |
| 89 | + */ |
| 90 | + private String toIndentedString(java.lang.Object o) { |
| 91 | + if (o == null) { |
| 92 | + return "null"; |
| 93 | + } |
| 94 | + return o.toString().replace("\n", "\n "); |
| 95 | + } |
| 96 | + |
| 97 | +} |
| 98 | + |
0 commit comments