|
| 1 | +/* |
| 2 | + * rds_mysql_v2 |
| 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.rdsmysqlv2.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 | + * AddressForDescribeDBBlueGreenDifferencesInput |
| 28 | + */ |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +public class AddressForDescribeDBBlueGreenDifferencesInput { |
| 33 | + @SerializedName("DNSVisibility") |
| 34 | + private Boolean dnSVisibility = null; |
| 35 | + |
| 36 | + @SerializedName("Domain") |
| 37 | + private String domain = null; |
| 38 | + |
| 39 | + @SerializedName("EipId") |
| 40 | + private String eipId = null; |
| 41 | + |
| 42 | + @SerializedName("EipLocked") |
| 43 | + private Boolean eipLocked = null; |
| 44 | + |
| 45 | + @SerializedName("IPAddress") |
| 46 | + private String ipAddress = null; |
| 47 | + |
| 48 | + @SerializedName("InternetProtocol") |
| 49 | + private String internetProtocol = null; |
| 50 | + |
| 51 | + @SerializedName("NetworkType") |
| 52 | + private String networkType = null; |
| 53 | + |
| 54 | + @SerializedName("Port") |
| 55 | + private String port = null; |
| 56 | + |
| 57 | + @SerializedName("SubnetId") |
| 58 | + private String subnetId = null; |
| 59 | + |
| 60 | + public AddressForDescribeDBBlueGreenDifferencesInput dnSVisibility(Boolean dnSVisibility) { |
| 61 | + this.dnSVisibility = dnSVisibility; |
| 62 | + return this; |
| 63 | + } |
| 64 | + |
| 65 | + /** |
| 66 | + * Get dnSVisibility |
| 67 | + * @return dnSVisibility |
| 68 | + **/ |
| 69 | + @Schema(description = "") |
| 70 | + public Boolean isDnSVisibility() { |
| 71 | + return dnSVisibility; |
| 72 | + } |
| 73 | + |
| 74 | + public void setDnSVisibility(Boolean dnSVisibility) { |
| 75 | + this.dnSVisibility = dnSVisibility; |
| 76 | + } |
| 77 | + |
| 78 | + public AddressForDescribeDBBlueGreenDifferencesInput domain(String domain) { |
| 79 | + this.domain = domain; |
| 80 | + return this; |
| 81 | + } |
| 82 | + |
| 83 | + /** |
| 84 | + * Get domain |
| 85 | + * @return domain |
| 86 | + **/ |
| 87 | + @Schema(description = "") |
| 88 | + public String getDomain() { |
| 89 | + return domain; |
| 90 | + } |
| 91 | + |
| 92 | + public void setDomain(String domain) { |
| 93 | + this.domain = domain; |
| 94 | + } |
| 95 | + |
| 96 | + public AddressForDescribeDBBlueGreenDifferencesInput eipId(String eipId) { |
| 97 | + this.eipId = eipId; |
| 98 | + return this; |
| 99 | + } |
| 100 | + |
| 101 | + /** |
| 102 | + * Get eipId |
| 103 | + * @return eipId |
| 104 | + **/ |
| 105 | + @Schema(description = "") |
| 106 | + public String getEipId() { |
| 107 | + return eipId; |
| 108 | + } |
| 109 | + |
| 110 | + public void setEipId(String eipId) { |
| 111 | + this.eipId = eipId; |
| 112 | + } |
| 113 | + |
| 114 | + public AddressForDescribeDBBlueGreenDifferencesInput eipLocked(Boolean eipLocked) { |
| 115 | + this.eipLocked = eipLocked; |
| 116 | + return this; |
| 117 | + } |
| 118 | + |
| 119 | + /** |
| 120 | + * Get eipLocked |
| 121 | + * @return eipLocked |
| 122 | + **/ |
| 123 | + @Schema(description = "") |
| 124 | + public Boolean isEipLocked() { |
| 125 | + return eipLocked; |
| 126 | + } |
| 127 | + |
| 128 | + public void setEipLocked(Boolean eipLocked) { |
| 129 | + this.eipLocked = eipLocked; |
| 130 | + } |
| 131 | + |
| 132 | + public AddressForDescribeDBBlueGreenDifferencesInput ipAddress(String ipAddress) { |
| 133 | + this.ipAddress = ipAddress; |
| 134 | + return this; |
| 135 | + } |
| 136 | + |
| 137 | + /** |
| 138 | + * Get ipAddress |
| 139 | + * @return ipAddress |
| 140 | + **/ |
| 141 | + @Schema(description = "") |
| 142 | + public String getIpAddress() { |
| 143 | + return ipAddress; |
| 144 | + } |
| 145 | + |
| 146 | + public void setIpAddress(String ipAddress) { |
| 147 | + this.ipAddress = ipAddress; |
| 148 | + } |
| 149 | + |
| 150 | + public AddressForDescribeDBBlueGreenDifferencesInput internetProtocol(String internetProtocol) { |
| 151 | + this.internetProtocol = internetProtocol; |
| 152 | + return this; |
| 153 | + } |
| 154 | + |
| 155 | + /** |
| 156 | + * Get internetProtocol |
| 157 | + * @return internetProtocol |
| 158 | + **/ |
| 159 | + @Schema(description = "") |
| 160 | + public String getInternetProtocol() { |
| 161 | + return internetProtocol; |
| 162 | + } |
| 163 | + |
| 164 | + public void setInternetProtocol(String internetProtocol) { |
| 165 | + this.internetProtocol = internetProtocol; |
| 166 | + } |
| 167 | + |
| 168 | + public AddressForDescribeDBBlueGreenDifferencesInput networkType(String networkType) { |
| 169 | + this.networkType = networkType; |
| 170 | + return this; |
| 171 | + } |
| 172 | + |
| 173 | + /** |
| 174 | + * Get networkType |
| 175 | + * @return networkType |
| 176 | + **/ |
| 177 | + @Schema(description = "") |
| 178 | + public String getNetworkType() { |
| 179 | + return networkType; |
| 180 | + } |
| 181 | + |
| 182 | + public void setNetworkType(String networkType) { |
| 183 | + this.networkType = networkType; |
| 184 | + } |
| 185 | + |
| 186 | + public AddressForDescribeDBBlueGreenDifferencesInput port(String port) { |
| 187 | + this.port = port; |
| 188 | + return this; |
| 189 | + } |
| 190 | + |
| 191 | + /** |
| 192 | + * Get port |
| 193 | + * @return port |
| 194 | + **/ |
| 195 | + @Schema(description = "") |
| 196 | + public String getPort() { |
| 197 | + return port; |
| 198 | + } |
| 199 | + |
| 200 | + public void setPort(String port) { |
| 201 | + this.port = port; |
| 202 | + } |
| 203 | + |
| 204 | + public AddressForDescribeDBBlueGreenDifferencesInput subnetId(String subnetId) { |
| 205 | + this.subnetId = subnetId; |
| 206 | + return this; |
| 207 | + } |
| 208 | + |
| 209 | + /** |
| 210 | + * Get subnetId |
| 211 | + * @return subnetId |
| 212 | + **/ |
| 213 | + @Schema(description = "") |
| 214 | + public String getSubnetId() { |
| 215 | + return subnetId; |
| 216 | + } |
| 217 | + |
| 218 | + public void setSubnetId(String subnetId) { |
| 219 | + this.subnetId = subnetId; |
| 220 | + } |
| 221 | + |
| 222 | + |
| 223 | + @Override |
| 224 | + public boolean equals(java.lang.Object o) { |
| 225 | + if (this == o) { |
| 226 | + return true; |
| 227 | + } |
| 228 | + if (o == null || getClass() != o.getClass()) { |
| 229 | + return false; |
| 230 | + } |
| 231 | + AddressForDescribeDBBlueGreenDifferencesInput addressForDescribeDBBlueGreenDifferencesInput = (AddressForDescribeDBBlueGreenDifferencesInput) o; |
| 232 | + return Objects.equals(this.dnSVisibility, addressForDescribeDBBlueGreenDifferencesInput.dnSVisibility) && |
| 233 | + Objects.equals(this.domain, addressForDescribeDBBlueGreenDifferencesInput.domain) && |
| 234 | + Objects.equals(this.eipId, addressForDescribeDBBlueGreenDifferencesInput.eipId) && |
| 235 | + Objects.equals(this.eipLocked, addressForDescribeDBBlueGreenDifferencesInput.eipLocked) && |
| 236 | + Objects.equals(this.ipAddress, addressForDescribeDBBlueGreenDifferencesInput.ipAddress) && |
| 237 | + Objects.equals(this.internetProtocol, addressForDescribeDBBlueGreenDifferencesInput.internetProtocol) && |
| 238 | + Objects.equals(this.networkType, addressForDescribeDBBlueGreenDifferencesInput.networkType) && |
| 239 | + Objects.equals(this.port, addressForDescribeDBBlueGreenDifferencesInput.port) && |
| 240 | + Objects.equals(this.subnetId, addressForDescribeDBBlueGreenDifferencesInput.subnetId); |
| 241 | + } |
| 242 | + |
| 243 | + @Override |
| 244 | + public int hashCode() { |
| 245 | + return Objects.hash(dnSVisibility, domain, eipId, eipLocked, ipAddress, internetProtocol, networkType, port, subnetId); |
| 246 | + } |
| 247 | + |
| 248 | + |
| 249 | + @Override |
| 250 | + public String toString() { |
| 251 | + StringBuilder sb = new StringBuilder(); |
| 252 | + sb.append("class AddressForDescribeDBBlueGreenDifferencesInput {\n"); |
| 253 | + |
| 254 | + sb.append(" dnSVisibility: ").append(toIndentedString(dnSVisibility)).append("\n"); |
| 255 | + sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); |
| 256 | + sb.append(" eipId: ").append(toIndentedString(eipId)).append("\n"); |
| 257 | + sb.append(" eipLocked: ").append(toIndentedString(eipLocked)).append("\n"); |
| 258 | + sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); |
| 259 | + sb.append(" internetProtocol: ").append(toIndentedString(internetProtocol)).append("\n"); |
| 260 | + sb.append(" networkType: ").append(toIndentedString(networkType)).append("\n"); |
| 261 | + sb.append(" port: ").append(toIndentedString(port)).append("\n"); |
| 262 | + sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n"); |
| 263 | + sb.append("}"); |
| 264 | + return sb.toString(); |
| 265 | + } |
| 266 | + |
| 267 | + /** |
| 268 | + * Convert the given object to string with each line indented by 4 spaces |
| 269 | + * (except the first line). |
| 270 | + */ |
| 271 | + private String toIndentedString(java.lang.Object o) { |
| 272 | + if (o == null) { |
| 273 | + return "null"; |
| 274 | + } |
| 275 | + return o.toString().replace("\n", "\n "); |
| 276 | + } |
| 277 | + |
| 278 | +} |
0 commit comments