|
| 1 | +/* |
| 2 | + * config |
| 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.config.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 java.util.ArrayList; |
| 25 | +import java.util.List; |
| 26 | +import javax.validation.constraints.*; |
| 27 | +import javax.validation.Valid; |
| 28 | +/** |
| 29 | + * AccountGroupForDescribeAccountGroupsOutput |
| 30 | + */ |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | +public class AccountGroupForDescribeAccountGroupsOutput { |
| 35 | + @SerializedName("AccountGroupId") |
| 36 | + private String accountGroupId = null; |
| 37 | + |
| 38 | + @SerializedName("CreatedTime") |
| 39 | + private String createdTime = null; |
| 40 | + |
| 41 | + @SerializedName("Description") |
| 42 | + private String description = null; |
| 43 | + |
| 44 | + @SerializedName("GroupName") |
| 45 | + private String groupName = null; |
| 46 | + |
| 47 | + @SerializedName("GroupType") |
| 48 | + private String groupType = null; |
| 49 | + |
| 50 | + @SerializedName("Principals") |
| 51 | + private List<String> principals = null; |
| 52 | + |
| 53 | + @SerializedName("Status") |
| 54 | + private String status = null; |
| 55 | + |
| 56 | + @SerializedName("UpdatedTime") |
| 57 | + private String updatedTime = null; |
| 58 | + |
| 59 | + public AccountGroupForDescribeAccountGroupsOutput accountGroupId(String accountGroupId) { |
| 60 | + this.accountGroupId = accountGroupId; |
| 61 | + return this; |
| 62 | + } |
| 63 | + |
| 64 | + /** |
| 65 | + * Get accountGroupId |
| 66 | + * @return accountGroupId |
| 67 | + **/ |
| 68 | + @Schema(description = "") |
| 69 | + public String getAccountGroupId() { |
| 70 | + return accountGroupId; |
| 71 | + } |
| 72 | + |
| 73 | + public void setAccountGroupId(String accountGroupId) { |
| 74 | + this.accountGroupId = accountGroupId; |
| 75 | + } |
| 76 | + |
| 77 | + public AccountGroupForDescribeAccountGroupsOutput createdTime(String createdTime) { |
| 78 | + this.createdTime = createdTime; |
| 79 | + return this; |
| 80 | + } |
| 81 | + |
| 82 | + /** |
| 83 | + * Get createdTime |
| 84 | + * @return createdTime |
| 85 | + **/ |
| 86 | + @Schema(description = "") |
| 87 | + public String getCreatedTime() { |
| 88 | + return createdTime; |
| 89 | + } |
| 90 | + |
| 91 | + public void setCreatedTime(String createdTime) { |
| 92 | + this.createdTime = createdTime; |
| 93 | + } |
| 94 | + |
| 95 | + public AccountGroupForDescribeAccountGroupsOutput description(String description) { |
| 96 | + this.description = description; |
| 97 | + return this; |
| 98 | + } |
| 99 | + |
| 100 | + /** |
| 101 | + * Get description |
| 102 | + * @return description |
| 103 | + **/ |
| 104 | + @Schema(description = "") |
| 105 | + public String getDescription() { |
| 106 | + return description; |
| 107 | + } |
| 108 | + |
| 109 | + public void setDescription(String description) { |
| 110 | + this.description = description; |
| 111 | + } |
| 112 | + |
| 113 | + public AccountGroupForDescribeAccountGroupsOutput groupName(String groupName) { |
| 114 | + this.groupName = groupName; |
| 115 | + return this; |
| 116 | + } |
| 117 | + |
| 118 | + /** |
| 119 | + * Get groupName |
| 120 | + * @return groupName |
| 121 | + **/ |
| 122 | + @Schema(description = "") |
| 123 | + public String getGroupName() { |
| 124 | + return groupName; |
| 125 | + } |
| 126 | + |
| 127 | + public void setGroupName(String groupName) { |
| 128 | + this.groupName = groupName; |
| 129 | + } |
| 130 | + |
| 131 | + public AccountGroupForDescribeAccountGroupsOutput groupType(String groupType) { |
| 132 | + this.groupType = groupType; |
| 133 | + return this; |
| 134 | + } |
| 135 | + |
| 136 | + /** |
| 137 | + * Get groupType |
| 138 | + * @return groupType |
| 139 | + **/ |
| 140 | + @Schema(description = "") |
| 141 | + public String getGroupType() { |
| 142 | + return groupType; |
| 143 | + } |
| 144 | + |
| 145 | + public void setGroupType(String groupType) { |
| 146 | + this.groupType = groupType; |
| 147 | + } |
| 148 | + |
| 149 | + public AccountGroupForDescribeAccountGroupsOutput principals(List<String> principals) { |
| 150 | + this.principals = principals; |
| 151 | + return this; |
| 152 | + } |
| 153 | + |
| 154 | + public AccountGroupForDescribeAccountGroupsOutput addPrincipalsItem(String principalsItem) { |
| 155 | + if (this.principals == null) { |
| 156 | + this.principals = new ArrayList<String>(); |
| 157 | + } |
| 158 | + this.principals.add(principalsItem); |
| 159 | + return this; |
| 160 | + } |
| 161 | + |
| 162 | + /** |
| 163 | + * Get principals |
| 164 | + * @return principals |
| 165 | + **/ |
| 166 | + @Schema(description = "") |
| 167 | + public List<String> getPrincipals() { |
| 168 | + return principals; |
| 169 | + } |
| 170 | + |
| 171 | + public void setPrincipals(List<String> principals) { |
| 172 | + this.principals = principals; |
| 173 | + } |
| 174 | + |
| 175 | + public AccountGroupForDescribeAccountGroupsOutput status(String status) { |
| 176 | + this.status = status; |
| 177 | + return this; |
| 178 | + } |
| 179 | + |
| 180 | + /** |
| 181 | + * Get status |
| 182 | + * @return status |
| 183 | + **/ |
| 184 | + @Schema(description = "") |
| 185 | + public String getStatus() { |
| 186 | + return status; |
| 187 | + } |
| 188 | + |
| 189 | + public void setStatus(String status) { |
| 190 | + this.status = status; |
| 191 | + } |
| 192 | + |
| 193 | + public AccountGroupForDescribeAccountGroupsOutput updatedTime(String updatedTime) { |
| 194 | + this.updatedTime = updatedTime; |
| 195 | + return this; |
| 196 | + } |
| 197 | + |
| 198 | + /** |
| 199 | + * Get updatedTime |
| 200 | + * @return updatedTime |
| 201 | + **/ |
| 202 | + @Schema(description = "") |
| 203 | + public String getUpdatedTime() { |
| 204 | + return updatedTime; |
| 205 | + } |
| 206 | + |
| 207 | + public void setUpdatedTime(String updatedTime) { |
| 208 | + this.updatedTime = updatedTime; |
| 209 | + } |
| 210 | + |
| 211 | + |
| 212 | + @Override |
| 213 | + public boolean equals(java.lang.Object o) { |
| 214 | + if (this == o) { |
| 215 | + return true; |
| 216 | + } |
| 217 | + if (o == null || getClass() != o.getClass()) { |
| 218 | + return false; |
| 219 | + } |
| 220 | + AccountGroupForDescribeAccountGroupsOutput accountGroupForDescribeAccountGroupsOutput = (AccountGroupForDescribeAccountGroupsOutput) o; |
| 221 | + return Objects.equals(this.accountGroupId, accountGroupForDescribeAccountGroupsOutput.accountGroupId) && |
| 222 | + Objects.equals(this.createdTime, accountGroupForDescribeAccountGroupsOutput.createdTime) && |
| 223 | + Objects.equals(this.description, accountGroupForDescribeAccountGroupsOutput.description) && |
| 224 | + Objects.equals(this.groupName, accountGroupForDescribeAccountGroupsOutput.groupName) && |
| 225 | + Objects.equals(this.groupType, accountGroupForDescribeAccountGroupsOutput.groupType) && |
| 226 | + Objects.equals(this.principals, accountGroupForDescribeAccountGroupsOutput.principals) && |
| 227 | + Objects.equals(this.status, accountGroupForDescribeAccountGroupsOutput.status) && |
| 228 | + Objects.equals(this.updatedTime, accountGroupForDescribeAccountGroupsOutput.updatedTime); |
| 229 | + } |
| 230 | + |
| 231 | + @Override |
| 232 | + public int hashCode() { |
| 233 | + return Objects.hash(accountGroupId, createdTime, description, groupName, groupType, principals, status, updatedTime); |
| 234 | + } |
| 235 | + |
| 236 | + |
| 237 | + @Override |
| 238 | + public String toString() { |
| 239 | + StringBuilder sb = new StringBuilder(); |
| 240 | + sb.append("class AccountGroupForDescribeAccountGroupsOutput {\n"); |
| 241 | + |
| 242 | + sb.append(" accountGroupId: ").append(toIndentedString(accountGroupId)).append("\n"); |
| 243 | + sb.append(" createdTime: ").append(toIndentedString(createdTime)).append("\n"); |
| 244 | + sb.append(" description: ").append(toIndentedString(description)).append("\n"); |
| 245 | + sb.append(" groupName: ").append(toIndentedString(groupName)).append("\n"); |
| 246 | + sb.append(" groupType: ").append(toIndentedString(groupType)).append("\n"); |
| 247 | + sb.append(" principals: ").append(toIndentedString(principals)).append("\n"); |
| 248 | + sb.append(" status: ").append(toIndentedString(status)).append("\n"); |
| 249 | + sb.append(" updatedTime: ").append(toIndentedString(updatedTime)).append("\n"); |
| 250 | + sb.append("}"); |
| 251 | + return sb.toString(); |
| 252 | + } |
| 253 | + |
| 254 | + /** |
| 255 | + * Convert the given object to string with each line indented by 4 spaces |
| 256 | + * (except the first line). |
| 257 | + */ |
| 258 | + private String toIndentedString(java.lang.Object o) { |
| 259 | + if (o == null) { |
| 260 | + return "null"; |
| 261 | + } |
| 262 | + return o.toString().replace("\n", "\n "); |
| 263 | + } |
| 264 | + |
| 265 | +} |
0 commit comments