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