|
| 1 | +/* |
| 2 | + * acep |
| 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.acep.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 | + * DetailForStartScreenShotOutput |
| 28 | + */ |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +public class DetailForStartScreenShotOutput { |
| 33 | + @SerializedName("DownloadUrl") |
| 34 | + private String downloadUrl = null; |
| 35 | + |
| 36 | + @SerializedName("ErrorCode") |
| 37 | + private Integer errorCode = null; |
| 38 | + |
| 39 | + @SerializedName("ErrorMsg") |
| 40 | + private String errorMsg = null; |
| 41 | + |
| 42 | + @SerializedName("ExpireAt") |
| 43 | + private Long expireAt = null; |
| 44 | + |
| 45 | + @SerializedName("Height") |
| 46 | + private Integer height = null; |
| 47 | + |
| 48 | + @SerializedName("PodId") |
| 49 | + private String podId = null; |
| 50 | + |
| 51 | + @SerializedName("Width") |
| 52 | + private Integer width = null; |
| 53 | + |
| 54 | + public DetailForStartScreenShotOutput downloadUrl(String downloadUrl) { |
| 55 | + this.downloadUrl = downloadUrl; |
| 56 | + return this; |
| 57 | + } |
| 58 | + |
| 59 | + /** |
| 60 | + * Get downloadUrl |
| 61 | + * @return downloadUrl |
| 62 | + **/ |
| 63 | + @Schema(description = "") |
| 64 | + public String getDownloadUrl() { |
| 65 | + return downloadUrl; |
| 66 | + } |
| 67 | + |
| 68 | + public void setDownloadUrl(String downloadUrl) { |
| 69 | + this.downloadUrl = downloadUrl; |
| 70 | + } |
| 71 | + |
| 72 | + public DetailForStartScreenShotOutput errorCode(Integer errorCode) { |
| 73 | + this.errorCode = errorCode; |
| 74 | + return this; |
| 75 | + } |
| 76 | + |
| 77 | + /** |
| 78 | + * Get errorCode |
| 79 | + * @return errorCode |
| 80 | + **/ |
| 81 | + @Schema(description = "") |
| 82 | + public Integer getErrorCode() { |
| 83 | + return errorCode; |
| 84 | + } |
| 85 | + |
| 86 | + public void setErrorCode(Integer errorCode) { |
| 87 | + this.errorCode = errorCode; |
| 88 | + } |
| 89 | + |
| 90 | + public DetailForStartScreenShotOutput errorMsg(String errorMsg) { |
| 91 | + this.errorMsg = errorMsg; |
| 92 | + return this; |
| 93 | + } |
| 94 | + |
| 95 | + /** |
| 96 | + * Get errorMsg |
| 97 | + * @return errorMsg |
| 98 | + **/ |
| 99 | + @Schema(description = "") |
| 100 | + public String getErrorMsg() { |
| 101 | + return errorMsg; |
| 102 | + } |
| 103 | + |
| 104 | + public void setErrorMsg(String errorMsg) { |
| 105 | + this.errorMsg = errorMsg; |
| 106 | + } |
| 107 | + |
| 108 | + public DetailForStartScreenShotOutput expireAt(Long expireAt) { |
| 109 | + this.expireAt = expireAt; |
| 110 | + return this; |
| 111 | + } |
| 112 | + |
| 113 | + /** |
| 114 | + * Get expireAt |
| 115 | + * @return expireAt |
| 116 | + **/ |
| 117 | + @Schema(description = "") |
| 118 | + public Long getExpireAt() { |
| 119 | + return expireAt; |
| 120 | + } |
| 121 | + |
| 122 | + public void setExpireAt(Long expireAt) { |
| 123 | + this.expireAt = expireAt; |
| 124 | + } |
| 125 | + |
| 126 | + public DetailForStartScreenShotOutput height(Integer height) { |
| 127 | + this.height = height; |
| 128 | + return this; |
| 129 | + } |
| 130 | + |
| 131 | + /** |
| 132 | + * Get height |
| 133 | + * @return height |
| 134 | + **/ |
| 135 | + @Schema(description = "") |
| 136 | + public Integer getHeight() { |
| 137 | + return height; |
| 138 | + } |
| 139 | + |
| 140 | + public void setHeight(Integer height) { |
| 141 | + this.height = height; |
| 142 | + } |
| 143 | + |
| 144 | + public DetailForStartScreenShotOutput podId(String podId) { |
| 145 | + this.podId = podId; |
| 146 | + return this; |
| 147 | + } |
| 148 | + |
| 149 | + /** |
| 150 | + * Get podId |
| 151 | + * @return podId |
| 152 | + **/ |
| 153 | + @Schema(description = "") |
| 154 | + public String getPodId() { |
| 155 | + return podId; |
| 156 | + } |
| 157 | + |
| 158 | + public void setPodId(String podId) { |
| 159 | + this.podId = podId; |
| 160 | + } |
| 161 | + |
| 162 | + public DetailForStartScreenShotOutput width(Integer width) { |
| 163 | + this.width = width; |
| 164 | + return this; |
| 165 | + } |
| 166 | + |
| 167 | + /** |
| 168 | + * Get width |
| 169 | + * @return width |
| 170 | + **/ |
| 171 | + @Schema(description = "") |
| 172 | + public Integer getWidth() { |
| 173 | + return width; |
| 174 | + } |
| 175 | + |
| 176 | + public void setWidth(Integer width) { |
| 177 | + this.width = width; |
| 178 | + } |
| 179 | + |
| 180 | + |
| 181 | + @Override |
| 182 | + public boolean equals(java.lang.Object o) { |
| 183 | + if (this == o) { |
| 184 | + return true; |
| 185 | + } |
| 186 | + if (o == null || getClass() != o.getClass()) { |
| 187 | + return false; |
| 188 | + } |
| 189 | + DetailForStartScreenShotOutput detailForStartScreenShotOutput = (DetailForStartScreenShotOutput) o; |
| 190 | + return Objects.equals(this.downloadUrl, detailForStartScreenShotOutput.downloadUrl) && |
| 191 | + Objects.equals(this.errorCode, detailForStartScreenShotOutput.errorCode) && |
| 192 | + Objects.equals(this.errorMsg, detailForStartScreenShotOutput.errorMsg) && |
| 193 | + Objects.equals(this.expireAt, detailForStartScreenShotOutput.expireAt) && |
| 194 | + Objects.equals(this.height, detailForStartScreenShotOutput.height) && |
| 195 | + Objects.equals(this.podId, detailForStartScreenShotOutput.podId) && |
| 196 | + Objects.equals(this.width, detailForStartScreenShotOutput.width); |
| 197 | + } |
| 198 | + |
| 199 | + @Override |
| 200 | + public int hashCode() { |
| 201 | + return Objects.hash(downloadUrl, errorCode, errorMsg, expireAt, height, podId, width); |
| 202 | + } |
| 203 | + |
| 204 | + |
| 205 | + @Override |
| 206 | + public String toString() { |
| 207 | + StringBuilder sb = new StringBuilder(); |
| 208 | + sb.append("class DetailForStartScreenShotOutput {\n"); |
| 209 | + |
| 210 | + sb.append(" downloadUrl: ").append(toIndentedString(downloadUrl)).append("\n"); |
| 211 | + sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n"); |
| 212 | + sb.append(" errorMsg: ").append(toIndentedString(errorMsg)).append("\n"); |
| 213 | + sb.append(" expireAt: ").append(toIndentedString(expireAt)).append("\n"); |
| 214 | + sb.append(" height: ").append(toIndentedString(height)).append("\n"); |
| 215 | + sb.append(" podId: ").append(toIndentedString(podId)).append("\n"); |
| 216 | + sb.append(" width: ").append(toIndentedString(width)).append("\n"); |
| 217 | + sb.append("}"); |
| 218 | + return sb.toString(); |
| 219 | + } |
| 220 | + |
| 221 | + /** |
| 222 | + * Convert the given object to string with each line indented by 4 spaces |
| 223 | + * (except the first line). |
| 224 | + */ |
| 225 | + private String toIndentedString(java.lang.Object o) { |
| 226 | + if (o == null) { |
| 227 | + return "null"; |
| 228 | + } |
| 229 | + return o.toString().replace("\n", "\n "); |
| 230 | + } |
| 231 | + |
| 232 | +} |
0 commit comments