|
| 1 | +/* |
| 2 | + * graph |
| 3 | + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) |
| 4 | + * |
| 5 | + * OpenAPI spec version: common-version |
| 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 | +package com.volcengine.graph.model; |
| 14 | + |
| 15 | +import java.util.Objects; |
| 16 | +import java.util.Arrays; |
| 17 | +import com.google.gson.TypeAdapter; |
| 18 | +import com.google.gson.annotations.JsonAdapter; |
| 19 | +import com.google.gson.annotations.SerializedName; |
| 20 | +import com.google.gson.stream.JsonReader; |
| 21 | +import com.google.gson.stream.JsonWriter; |
| 22 | +import io.swagger.v3.oas.annotations.media.Schema; |
| 23 | +import java.io.IOException; |
| 24 | +import javax.validation.constraints.*; |
| 25 | +import javax.validation.Valid; |
| 26 | +/** |
| 27 | + * AvailabilityZoneForListGraphRagServiceOutput |
| 28 | + */ |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +public class AvailabilityZoneForListGraphRagServiceOutput { |
| 33 | + @SerializedName("AvailabilityZoneId") |
| 34 | + private String availabilityZoneId = null; |
| 35 | + |
| 36 | + @SerializedName("K8sDomain") |
| 37 | + private String k8sDomain = null; |
| 38 | + |
| 39 | + @SerializedName("NodeNum") |
| 40 | + private Integer nodeNum = null; |
| 41 | + |
| 42 | + @SerializedName("NodePoolName") |
| 43 | + private String nodePoolName = null; |
| 44 | + |
| 45 | + @SerializedName("SubnetID") |
| 46 | + private String subnetID = null; |
| 47 | + |
| 48 | + @SerializedName("SubnetName") |
| 49 | + private String subnetName = null; |
| 50 | + |
| 51 | + public AvailabilityZoneForListGraphRagServiceOutput availabilityZoneId(String availabilityZoneId) { |
| 52 | + this.availabilityZoneId = availabilityZoneId; |
| 53 | + return this; |
| 54 | + } |
| 55 | + |
| 56 | + /** |
| 57 | + * Get availabilityZoneId |
| 58 | + * @return availabilityZoneId |
| 59 | + **/ |
| 60 | + @Schema(description = "") |
| 61 | + public String getAvailabilityZoneId() { |
| 62 | + return availabilityZoneId; |
| 63 | + } |
| 64 | + |
| 65 | + public void setAvailabilityZoneId(String availabilityZoneId) { |
| 66 | + this.availabilityZoneId = availabilityZoneId; |
| 67 | + } |
| 68 | + |
| 69 | + public AvailabilityZoneForListGraphRagServiceOutput k8sDomain(String k8sDomain) { |
| 70 | + this.k8sDomain = k8sDomain; |
| 71 | + return this; |
| 72 | + } |
| 73 | + |
| 74 | + /** |
| 75 | + * Get k8sDomain |
| 76 | + * @return k8sDomain |
| 77 | + **/ |
| 78 | + @Schema(description = "") |
| 79 | + public String getK8sDomain() { |
| 80 | + return k8sDomain; |
| 81 | + } |
| 82 | + |
| 83 | + public void setK8sDomain(String k8sDomain) { |
| 84 | + this.k8sDomain = k8sDomain; |
| 85 | + } |
| 86 | + |
| 87 | + public AvailabilityZoneForListGraphRagServiceOutput nodeNum(Integer nodeNum) { |
| 88 | + this.nodeNum = nodeNum; |
| 89 | + return this; |
| 90 | + } |
| 91 | + |
| 92 | + /** |
| 93 | + * Get nodeNum |
| 94 | + * @return nodeNum |
| 95 | + **/ |
| 96 | + @Schema(description = "") |
| 97 | + public Integer getNodeNum() { |
| 98 | + return nodeNum; |
| 99 | + } |
| 100 | + |
| 101 | + public void setNodeNum(Integer nodeNum) { |
| 102 | + this.nodeNum = nodeNum; |
| 103 | + } |
| 104 | + |
| 105 | + public AvailabilityZoneForListGraphRagServiceOutput nodePoolName(String nodePoolName) { |
| 106 | + this.nodePoolName = nodePoolName; |
| 107 | + return this; |
| 108 | + } |
| 109 | + |
| 110 | + /** |
| 111 | + * Get nodePoolName |
| 112 | + * @return nodePoolName |
| 113 | + **/ |
| 114 | + @Schema(description = "") |
| 115 | + public String getNodePoolName() { |
| 116 | + return nodePoolName; |
| 117 | + } |
| 118 | + |
| 119 | + public void setNodePoolName(String nodePoolName) { |
| 120 | + this.nodePoolName = nodePoolName; |
| 121 | + } |
| 122 | + |
| 123 | + public AvailabilityZoneForListGraphRagServiceOutput subnetID(String subnetID) { |
| 124 | + this.subnetID = subnetID; |
| 125 | + return this; |
| 126 | + } |
| 127 | + |
| 128 | + /** |
| 129 | + * Get subnetID |
| 130 | + * @return subnetID |
| 131 | + **/ |
| 132 | + @Schema(description = "") |
| 133 | + public String getSubnetID() { |
| 134 | + return subnetID; |
| 135 | + } |
| 136 | + |
| 137 | + public void setSubnetID(String subnetID) { |
| 138 | + this.subnetID = subnetID; |
| 139 | + } |
| 140 | + |
| 141 | + public AvailabilityZoneForListGraphRagServiceOutput subnetName(String subnetName) { |
| 142 | + this.subnetName = subnetName; |
| 143 | + return this; |
| 144 | + } |
| 145 | + |
| 146 | + /** |
| 147 | + * Get subnetName |
| 148 | + * @return subnetName |
| 149 | + **/ |
| 150 | + @Schema(description = "") |
| 151 | + public String getSubnetName() { |
| 152 | + return subnetName; |
| 153 | + } |
| 154 | + |
| 155 | + public void setSubnetName(String subnetName) { |
| 156 | + this.subnetName = subnetName; |
| 157 | + } |
| 158 | + |
| 159 | + |
| 160 | + @Override |
| 161 | + public boolean equals(java.lang.Object o) { |
| 162 | + if (this == o) { |
| 163 | + return true; |
| 164 | + } |
| 165 | + if (o == null || getClass() != o.getClass()) { |
| 166 | + return false; |
| 167 | + } |
| 168 | + AvailabilityZoneForListGraphRagServiceOutput availabilityZoneForListGraphRagServiceOutput = (AvailabilityZoneForListGraphRagServiceOutput) o; |
| 169 | + return Objects.equals(this.availabilityZoneId, availabilityZoneForListGraphRagServiceOutput.availabilityZoneId) && |
| 170 | + Objects.equals(this.k8sDomain, availabilityZoneForListGraphRagServiceOutput.k8sDomain) && |
| 171 | + Objects.equals(this.nodeNum, availabilityZoneForListGraphRagServiceOutput.nodeNum) && |
| 172 | + Objects.equals(this.nodePoolName, availabilityZoneForListGraphRagServiceOutput.nodePoolName) && |
| 173 | + Objects.equals(this.subnetID, availabilityZoneForListGraphRagServiceOutput.subnetID) && |
| 174 | + Objects.equals(this.subnetName, availabilityZoneForListGraphRagServiceOutput.subnetName); |
| 175 | + } |
| 176 | + |
| 177 | + @Override |
| 178 | + public int hashCode() { |
| 179 | + return Objects.hash(availabilityZoneId, k8sDomain, nodeNum, nodePoolName, subnetID, subnetName); |
| 180 | + } |
| 181 | + |
| 182 | + |
| 183 | + @Override |
| 184 | + public String toString() { |
| 185 | + StringBuilder sb = new StringBuilder(); |
| 186 | + sb.append("class AvailabilityZoneForListGraphRagServiceOutput {\n"); |
| 187 | + |
| 188 | + sb.append(" availabilityZoneId: ").append(toIndentedString(availabilityZoneId)).append("\n"); |
| 189 | + sb.append(" k8sDomain: ").append(toIndentedString(k8sDomain)).append("\n"); |
| 190 | + sb.append(" nodeNum: ").append(toIndentedString(nodeNum)).append("\n"); |
| 191 | + sb.append(" nodePoolName: ").append(toIndentedString(nodePoolName)).append("\n"); |
| 192 | + sb.append(" subnetID: ").append(toIndentedString(subnetID)).append("\n"); |
| 193 | + sb.append(" subnetName: ").append(toIndentedString(subnetName)).append("\n"); |
| 194 | + sb.append("}"); |
| 195 | + return sb.toString(); |
| 196 | + } |
| 197 | + |
| 198 | + /** |
| 199 | + * Convert the given object to string with each line indented by 4 spaces |
| 200 | + * (except the first line). |
| 201 | + */ |
| 202 | + private String toIndentedString(java.lang.Object o) { |
| 203 | + if (o == null) { |
| 204 | + return "null"; |
| 205 | + } |
| 206 | + return o.toString().replace("\n", "\n "); |
| 207 | + } |
| 208 | + |
| 209 | +} |
0 commit comments