1 package com.acumenvelocity.ath.model;
2
3 import java.util.Objects;
4
5 import com.fasterxml.jackson.annotation.JsonProperty;
6
7 import io.swagger.annotations.ApiModel;
8 import io.swagger.annotations.ApiModelProperty;
9
10
11
12
13
14 @ApiModel(description = "The version number of the ATH API specification.")
15 @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments = "Generator version: 7.15.0")
16 public class VersionWrapper {
17 @JsonProperty("version")
18 private String version;
19
20
21
22
23 public VersionWrapper version(String version) {
24 this.version = version;
25 return this;
26 }
27
28 @ApiModelProperty(example = "1.0.0", value = "Version number of the ATH release.")
29 @JsonProperty("version")
30 public String getVersion() {
31 return version;
32 }
33
34 public void setVersion(String version) {
35 this.version = version;
36 }
37
38 @Override
39 public boolean equals(Object o) {
40 if (this == o) {
41 return true;
42 }
43 if (o == null || getClass() != o.getClass()) {
44 return false;
45 }
46 VersionWrapper versionWrapper = (VersionWrapper) o;
47 return Objects.equals(version, versionWrapper.version);
48 }
49
50 @Override
51 public int hashCode() {
52 return Objects.hash(version);
53 }
54
55 @Override
56 public String toString() {
57 StringBuilder sb = new StringBuilder();
58 sb.append("class VersionWrapper {\n");
59
60 sb.append(" version: ").append(toIndentedString(version)).append("\n");
61 sb.append("}");
62 return sb.toString();
63 }
64
65
66
67
68
69 private String toIndentedString(Object o) {
70 if (o == null) {
71 return "null";
72 }
73 return o.toString().replace("\n", "\n ");
74 }
75 }