|
| 1 | +/* |
| 2 | + * cen |
| 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.cen.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 | + * CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput |
| 28 | + */ |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +public class CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput { |
| 33 | + @SerializedName("BillingStatus") |
| 34 | + private Integer billingStatus = null; |
| 35 | + |
| 36 | + @SerializedName("BillingType") |
| 37 | + private Integer billingType = null; |
| 38 | + |
| 39 | + @SerializedName("CenBandwidthPackageId") |
| 40 | + private String cenBandwidthPackageId = null; |
| 41 | + |
| 42 | + @SerializedName("ExpiredTime") |
| 43 | + private String expiredTime = null; |
| 44 | + |
| 45 | + @SerializedName("ReclaimTime") |
| 46 | + private String reclaimTime = null; |
| 47 | + |
| 48 | + @SerializedName("RemainRenewTimes") |
| 49 | + private Integer remainRenewTimes = null; |
| 50 | + |
| 51 | + @SerializedName("RenewType") |
| 52 | + private String renewType = null; |
| 53 | + |
| 54 | + public CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput billingStatus(Integer billingStatus) { |
| 55 | + this.billingStatus = billingStatus; |
| 56 | + return this; |
| 57 | + } |
| 58 | + |
| 59 | + /** |
| 60 | + * Get billingStatus |
| 61 | + * @return billingStatus |
| 62 | + **/ |
| 63 | + @Schema(description = "") |
| 64 | + public Integer getBillingStatus() { |
| 65 | + return billingStatus; |
| 66 | + } |
| 67 | + |
| 68 | + public void setBillingStatus(Integer billingStatus) { |
| 69 | + this.billingStatus = billingStatus; |
| 70 | + } |
| 71 | + |
| 72 | + public CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput billingType(Integer billingType) { |
| 73 | + this.billingType = billingType; |
| 74 | + return this; |
| 75 | + } |
| 76 | + |
| 77 | + /** |
| 78 | + * Get billingType |
| 79 | + * @return billingType |
| 80 | + **/ |
| 81 | + @Schema(description = "") |
| 82 | + public Integer getBillingType() { |
| 83 | + return billingType; |
| 84 | + } |
| 85 | + |
| 86 | + public void setBillingType(Integer billingType) { |
| 87 | + this.billingType = billingType; |
| 88 | + } |
| 89 | + |
| 90 | + public CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput cenBandwidthPackageId(String cenBandwidthPackageId) { |
| 91 | + this.cenBandwidthPackageId = cenBandwidthPackageId; |
| 92 | + return this; |
| 93 | + } |
| 94 | + |
| 95 | + /** |
| 96 | + * Get cenBandwidthPackageId |
| 97 | + * @return cenBandwidthPackageId |
| 98 | + **/ |
| 99 | + @Schema(description = "") |
| 100 | + public String getCenBandwidthPackageId() { |
| 101 | + return cenBandwidthPackageId; |
| 102 | + } |
| 103 | + |
| 104 | + public void setCenBandwidthPackageId(String cenBandwidthPackageId) { |
| 105 | + this.cenBandwidthPackageId = cenBandwidthPackageId; |
| 106 | + } |
| 107 | + |
| 108 | + public CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput expiredTime(String expiredTime) { |
| 109 | + this.expiredTime = expiredTime; |
| 110 | + return this; |
| 111 | + } |
| 112 | + |
| 113 | + /** |
| 114 | + * Get expiredTime |
| 115 | + * @return expiredTime |
| 116 | + **/ |
| 117 | + @Schema(description = "") |
| 118 | + public String getExpiredTime() { |
| 119 | + return expiredTime; |
| 120 | + } |
| 121 | + |
| 122 | + public void setExpiredTime(String expiredTime) { |
| 123 | + this.expiredTime = expiredTime; |
| 124 | + } |
| 125 | + |
| 126 | + public CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput reclaimTime(String reclaimTime) { |
| 127 | + this.reclaimTime = reclaimTime; |
| 128 | + return this; |
| 129 | + } |
| 130 | + |
| 131 | + /** |
| 132 | + * Get reclaimTime |
| 133 | + * @return reclaimTime |
| 134 | + **/ |
| 135 | + @Schema(description = "") |
| 136 | + public String getReclaimTime() { |
| 137 | + return reclaimTime; |
| 138 | + } |
| 139 | + |
| 140 | + public void setReclaimTime(String reclaimTime) { |
| 141 | + this.reclaimTime = reclaimTime; |
| 142 | + } |
| 143 | + |
| 144 | + public CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput remainRenewTimes(Integer remainRenewTimes) { |
| 145 | + this.remainRenewTimes = remainRenewTimes; |
| 146 | + return this; |
| 147 | + } |
| 148 | + |
| 149 | + /** |
| 150 | + * Get remainRenewTimes |
| 151 | + * @return remainRenewTimes |
| 152 | + **/ |
| 153 | + @Schema(description = "") |
| 154 | + public Integer getRemainRenewTimes() { |
| 155 | + return remainRenewTimes; |
| 156 | + } |
| 157 | + |
| 158 | + public void setRemainRenewTimes(Integer remainRenewTimes) { |
| 159 | + this.remainRenewTimes = remainRenewTimes; |
| 160 | + } |
| 161 | + |
| 162 | + public CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput renewType(String renewType) { |
| 163 | + this.renewType = renewType; |
| 164 | + return this; |
| 165 | + } |
| 166 | + |
| 167 | + /** |
| 168 | + * Get renewType |
| 169 | + * @return renewType |
| 170 | + **/ |
| 171 | + @Schema(description = "") |
| 172 | + public String getRenewType() { |
| 173 | + return renewType; |
| 174 | + } |
| 175 | + |
| 176 | + public void setRenewType(String renewType) { |
| 177 | + this.renewType = renewType; |
| 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 | + CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput cenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput = (CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput) o; |
| 190 | + return Objects.equals(this.billingStatus, cenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.billingStatus) && |
| 191 | + Objects.equals(this.billingType, cenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.billingType) && |
| 192 | + Objects.equals(this.cenBandwidthPackageId, cenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.cenBandwidthPackageId) && |
| 193 | + Objects.equals(this.expiredTime, cenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.expiredTime) && |
| 194 | + Objects.equals(this.reclaimTime, cenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.reclaimTime) && |
| 195 | + Objects.equals(this.remainRenewTimes, cenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.remainRenewTimes) && |
| 196 | + Objects.equals(this.renewType, cenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.renewType); |
| 197 | + } |
| 198 | + |
| 199 | + @Override |
| 200 | + public int hashCode() { |
| 201 | + return Objects.hash(billingStatus, billingType, cenBandwidthPackageId, expiredTime, reclaimTime, remainRenewTimes, renewType); |
| 202 | + } |
| 203 | + |
| 204 | + |
| 205 | + @Override |
| 206 | + public String toString() { |
| 207 | + StringBuilder sb = new StringBuilder(); |
| 208 | + sb.append("class CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput {\n"); |
| 209 | + |
| 210 | + sb.append(" billingStatus: ").append(toIndentedString(billingStatus)).append("\n"); |
| 211 | + sb.append(" billingType: ").append(toIndentedString(billingType)).append("\n"); |
| 212 | + sb.append(" cenBandwidthPackageId: ").append(toIndentedString(cenBandwidthPackageId)).append("\n"); |
| 213 | + sb.append(" expiredTime: ").append(toIndentedString(expiredTime)).append("\n"); |
| 214 | + sb.append(" reclaimTime: ").append(toIndentedString(reclaimTime)).append("\n"); |
| 215 | + sb.append(" remainRenewTimes: ").append(toIndentedString(remainRenewTimes)).append("\n"); |
| 216 | + sb.append(" renewType: ").append(toIndentedString(renewType)).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