|
| 1 | +/* |
| 2 | + * bmq20240901 |
| 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.bmq20240901.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 | + * ClientsInfoForDescribeMQTTClientsOutput |
| 28 | + */ |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +public class ClientsInfoForDescribeMQTTClientsOutput { |
| 33 | + @SerializedName("ClientId") |
| 34 | + private String clientId = null; |
| 35 | + |
| 36 | + @SerializedName("ConnectedTime") |
| 37 | + private String connectedTime = null; |
| 38 | + |
| 39 | + @SerializedName("ConnectionState") |
| 40 | + private String connectionState = null; |
| 41 | + |
| 42 | + @SerializedName("DisconnectedTime") |
| 43 | + private String disconnectedTime = null; |
| 44 | + |
| 45 | + @SerializedName("HeartBeatInterval") |
| 46 | + private String heartBeatInterval = null; |
| 47 | + |
| 48 | + @SerializedName("IpAddress") |
| 49 | + private String ipAddress = null; |
| 50 | + |
| 51 | + @SerializedName("Port") |
| 52 | + private String port = null; |
| 53 | + |
| 54 | + @SerializedName("SessionExpireInterval") |
| 55 | + private String sessionExpireInterval = null; |
| 56 | + |
| 57 | + @SerializedName("SubscriptionsCount") |
| 58 | + private String subscriptionsCount = null; |
| 59 | + |
| 60 | + @SerializedName("UserName") |
| 61 | + private String userName = null; |
| 62 | + |
| 63 | + public ClientsInfoForDescribeMQTTClientsOutput clientId(String clientId) { |
| 64 | + this.clientId = clientId; |
| 65 | + return this; |
| 66 | + } |
| 67 | + |
| 68 | + /** |
| 69 | + * Get clientId |
| 70 | + * @return clientId |
| 71 | + **/ |
| 72 | + @Schema(description = "") |
| 73 | + public String getClientId() { |
| 74 | + return clientId; |
| 75 | + } |
| 76 | + |
| 77 | + public void setClientId(String clientId) { |
| 78 | + this.clientId = clientId; |
| 79 | + } |
| 80 | + |
| 81 | + public ClientsInfoForDescribeMQTTClientsOutput connectedTime(String connectedTime) { |
| 82 | + this.connectedTime = connectedTime; |
| 83 | + return this; |
| 84 | + } |
| 85 | + |
| 86 | + /** |
| 87 | + * Get connectedTime |
| 88 | + * @return connectedTime |
| 89 | + **/ |
| 90 | + @Schema(description = "") |
| 91 | + public String getConnectedTime() { |
| 92 | + return connectedTime; |
| 93 | + } |
| 94 | + |
| 95 | + public void setConnectedTime(String connectedTime) { |
| 96 | + this.connectedTime = connectedTime; |
| 97 | + } |
| 98 | + |
| 99 | + public ClientsInfoForDescribeMQTTClientsOutput connectionState(String connectionState) { |
| 100 | + this.connectionState = connectionState; |
| 101 | + return this; |
| 102 | + } |
| 103 | + |
| 104 | + /** |
| 105 | + * Get connectionState |
| 106 | + * @return connectionState |
| 107 | + **/ |
| 108 | + @Schema(description = "") |
| 109 | + public String getConnectionState() { |
| 110 | + return connectionState; |
| 111 | + } |
| 112 | + |
| 113 | + public void setConnectionState(String connectionState) { |
| 114 | + this.connectionState = connectionState; |
| 115 | + } |
| 116 | + |
| 117 | + public ClientsInfoForDescribeMQTTClientsOutput disconnectedTime(String disconnectedTime) { |
| 118 | + this.disconnectedTime = disconnectedTime; |
| 119 | + return this; |
| 120 | + } |
| 121 | + |
| 122 | + /** |
| 123 | + * Get disconnectedTime |
| 124 | + * @return disconnectedTime |
| 125 | + **/ |
| 126 | + @Schema(description = "") |
| 127 | + public String getDisconnectedTime() { |
| 128 | + return disconnectedTime; |
| 129 | + } |
| 130 | + |
| 131 | + public void setDisconnectedTime(String disconnectedTime) { |
| 132 | + this.disconnectedTime = disconnectedTime; |
| 133 | + } |
| 134 | + |
| 135 | + public ClientsInfoForDescribeMQTTClientsOutput heartBeatInterval(String heartBeatInterval) { |
| 136 | + this.heartBeatInterval = heartBeatInterval; |
| 137 | + return this; |
| 138 | + } |
| 139 | + |
| 140 | + /** |
| 141 | + * Get heartBeatInterval |
| 142 | + * @return heartBeatInterval |
| 143 | + **/ |
| 144 | + @Schema(description = "") |
| 145 | + public String getHeartBeatInterval() { |
| 146 | + return heartBeatInterval; |
| 147 | + } |
| 148 | + |
| 149 | + public void setHeartBeatInterval(String heartBeatInterval) { |
| 150 | + this.heartBeatInterval = heartBeatInterval; |
| 151 | + } |
| 152 | + |
| 153 | + public ClientsInfoForDescribeMQTTClientsOutput ipAddress(String ipAddress) { |
| 154 | + this.ipAddress = ipAddress; |
| 155 | + return this; |
| 156 | + } |
| 157 | + |
| 158 | + /** |
| 159 | + * Get ipAddress |
| 160 | + * @return ipAddress |
| 161 | + **/ |
| 162 | + @Schema(description = "") |
| 163 | + public String getIpAddress() { |
| 164 | + return ipAddress; |
| 165 | + } |
| 166 | + |
| 167 | + public void setIpAddress(String ipAddress) { |
| 168 | + this.ipAddress = ipAddress; |
| 169 | + } |
| 170 | + |
| 171 | + public ClientsInfoForDescribeMQTTClientsOutput port(String port) { |
| 172 | + this.port = port; |
| 173 | + return this; |
| 174 | + } |
| 175 | + |
| 176 | + /** |
| 177 | + * Get port |
| 178 | + * @return port |
| 179 | + **/ |
| 180 | + @Schema(description = "") |
| 181 | + public String getPort() { |
| 182 | + return port; |
| 183 | + } |
| 184 | + |
| 185 | + public void setPort(String port) { |
| 186 | + this.port = port; |
| 187 | + } |
| 188 | + |
| 189 | + public ClientsInfoForDescribeMQTTClientsOutput sessionExpireInterval(String sessionExpireInterval) { |
| 190 | + this.sessionExpireInterval = sessionExpireInterval; |
| 191 | + return this; |
| 192 | + } |
| 193 | + |
| 194 | + /** |
| 195 | + * Get sessionExpireInterval |
| 196 | + * @return sessionExpireInterval |
| 197 | + **/ |
| 198 | + @Schema(description = "") |
| 199 | + public String getSessionExpireInterval() { |
| 200 | + return sessionExpireInterval; |
| 201 | + } |
| 202 | + |
| 203 | + public void setSessionExpireInterval(String sessionExpireInterval) { |
| 204 | + this.sessionExpireInterval = sessionExpireInterval; |
| 205 | + } |
| 206 | + |
| 207 | + public ClientsInfoForDescribeMQTTClientsOutput subscriptionsCount(String subscriptionsCount) { |
| 208 | + this.subscriptionsCount = subscriptionsCount; |
| 209 | + return this; |
| 210 | + } |
| 211 | + |
| 212 | + /** |
| 213 | + * Get subscriptionsCount |
| 214 | + * @return subscriptionsCount |
| 215 | + **/ |
| 216 | + @Schema(description = "") |
| 217 | + public String getSubscriptionsCount() { |
| 218 | + return subscriptionsCount; |
| 219 | + } |
| 220 | + |
| 221 | + public void setSubscriptionsCount(String subscriptionsCount) { |
| 222 | + this.subscriptionsCount = subscriptionsCount; |
| 223 | + } |
| 224 | + |
| 225 | + public ClientsInfoForDescribeMQTTClientsOutput userName(String userName) { |
| 226 | + this.userName = userName; |
| 227 | + return this; |
| 228 | + } |
| 229 | + |
| 230 | + /** |
| 231 | + * Get userName |
| 232 | + * @return userName |
| 233 | + **/ |
| 234 | + @Schema(description = "") |
| 235 | + public String getUserName() { |
| 236 | + return userName; |
| 237 | + } |
| 238 | + |
| 239 | + public void setUserName(String userName) { |
| 240 | + this.userName = userName; |
| 241 | + } |
| 242 | + |
| 243 | + |
| 244 | + @Override |
| 245 | + public boolean equals(java.lang.Object o) { |
| 246 | + if (this == o) { |
| 247 | + return true; |
| 248 | + } |
| 249 | + if (o == null || getClass() != o.getClass()) { |
| 250 | + return false; |
| 251 | + } |
| 252 | + ClientsInfoForDescribeMQTTClientsOutput clientsInfoForDescribeMQTTClientsOutput = (ClientsInfoForDescribeMQTTClientsOutput) o; |
| 253 | + return Objects.equals(this.clientId, clientsInfoForDescribeMQTTClientsOutput.clientId) && |
| 254 | + Objects.equals(this.connectedTime, clientsInfoForDescribeMQTTClientsOutput.connectedTime) && |
| 255 | + Objects.equals(this.connectionState, clientsInfoForDescribeMQTTClientsOutput.connectionState) && |
| 256 | + Objects.equals(this.disconnectedTime, clientsInfoForDescribeMQTTClientsOutput.disconnectedTime) && |
| 257 | + Objects.equals(this.heartBeatInterval, clientsInfoForDescribeMQTTClientsOutput.heartBeatInterval) && |
| 258 | + Objects.equals(this.ipAddress, clientsInfoForDescribeMQTTClientsOutput.ipAddress) && |
| 259 | + Objects.equals(this.port, clientsInfoForDescribeMQTTClientsOutput.port) && |
| 260 | + Objects.equals(this.sessionExpireInterval, clientsInfoForDescribeMQTTClientsOutput.sessionExpireInterval) && |
| 261 | + Objects.equals(this.subscriptionsCount, clientsInfoForDescribeMQTTClientsOutput.subscriptionsCount) && |
| 262 | + Objects.equals(this.userName, clientsInfoForDescribeMQTTClientsOutput.userName); |
| 263 | + } |
| 264 | + |
| 265 | + @Override |
| 266 | + public int hashCode() { |
| 267 | + return Objects.hash(clientId, connectedTime, connectionState, disconnectedTime, heartBeatInterval, ipAddress, port, sessionExpireInterval, subscriptionsCount, userName); |
| 268 | + } |
| 269 | + |
| 270 | + |
| 271 | + @Override |
| 272 | + public String toString() { |
| 273 | + StringBuilder sb = new StringBuilder(); |
| 274 | + sb.append("class ClientsInfoForDescribeMQTTClientsOutput {\n"); |
| 275 | + |
| 276 | + sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); |
| 277 | + sb.append(" connectedTime: ").append(toIndentedString(connectedTime)).append("\n"); |
| 278 | + sb.append(" connectionState: ").append(toIndentedString(connectionState)).append("\n"); |
| 279 | + sb.append(" disconnectedTime: ").append(toIndentedString(disconnectedTime)).append("\n"); |
| 280 | + sb.append(" heartBeatInterval: ").append(toIndentedString(heartBeatInterval)).append("\n"); |
| 281 | + sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); |
| 282 | + sb.append(" port: ").append(toIndentedString(port)).append("\n"); |
| 283 | + sb.append(" sessionExpireInterval: ").append(toIndentedString(sessionExpireInterval)).append("\n"); |
| 284 | + sb.append(" subscriptionsCount: ").append(toIndentedString(subscriptionsCount)).append("\n"); |
| 285 | + sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); |
| 286 | + sb.append("}"); |
| 287 | + return sb.toString(); |
| 288 | + } |
| 289 | + |
| 290 | + /** |
| 291 | + * Convert the given object to string with each line indented by 4 spaces |
| 292 | + * (except the first line). |
| 293 | + */ |
| 294 | + private String toIndentedString(java.lang.Object o) { |
| 295 | + if (o == null) { |
| 296 | + return "null"; |
| 297 | + } |
| 298 | + return o.toString().replace("\n", "\n "); |
| 299 | + } |
| 300 | + |
| 301 | +} |
0 commit comments