|
| 1 | +/* |
| 2 | + * cloudidentity |
| 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.cloudidentity.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 | + * AccountAssignmentForListAccountAssignmentsOutput |
| 28 | + */ |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +public class AccountAssignmentForListAccountAssignmentsOutput { |
| 33 | + @SerializedName("CreatedTime") |
| 34 | + private String createdTime = null; |
| 35 | + |
| 36 | + @SerializedName("PermissionSetId") |
| 37 | + private String permissionSetId = null; |
| 38 | + |
| 39 | + @SerializedName("PermissionSetName") |
| 40 | + private String permissionSetName = null; |
| 41 | + |
| 42 | + @SerializedName("PrincipalId") |
| 43 | + private String principalId = null; |
| 44 | + |
| 45 | + @SerializedName("PrincipalName") |
| 46 | + private String principalName = null; |
| 47 | + |
| 48 | + @SerializedName("PrincipalType") |
| 49 | + private String principalType = null; |
| 50 | + |
| 51 | + @SerializedName("TargetId") |
| 52 | + private String targetId = null; |
| 53 | + |
| 54 | + @SerializedName("TargetName") |
| 55 | + private String targetName = null; |
| 56 | + |
| 57 | + public AccountAssignmentForListAccountAssignmentsOutput createdTime(String createdTime) { |
| 58 | + this.createdTime = createdTime; |
| 59 | + return this; |
| 60 | + } |
| 61 | + |
| 62 | + /** |
| 63 | + * Get createdTime |
| 64 | + * @return createdTime |
| 65 | + **/ |
| 66 | + @Schema(description = "") |
| 67 | + public String getCreatedTime() { |
| 68 | + return createdTime; |
| 69 | + } |
| 70 | + |
| 71 | + public void setCreatedTime(String createdTime) { |
| 72 | + this.createdTime = createdTime; |
| 73 | + } |
| 74 | + |
| 75 | + public AccountAssignmentForListAccountAssignmentsOutput permissionSetId(String permissionSetId) { |
| 76 | + this.permissionSetId = permissionSetId; |
| 77 | + return this; |
| 78 | + } |
| 79 | + |
| 80 | + /** |
| 81 | + * Get permissionSetId |
| 82 | + * @return permissionSetId |
| 83 | + **/ |
| 84 | + @Schema(description = "") |
| 85 | + public String getPermissionSetId() { |
| 86 | + return permissionSetId; |
| 87 | + } |
| 88 | + |
| 89 | + public void setPermissionSetId(String permissionSetId) { |
| 90 | + this.permissionSetId = permissionSetId; |
| 91 | + } |
| 92 | + |
| 93 | + public AccountAssignmentForListAccountAssignmentsOutput permissionSetName(String permissionSetName) { |
| 94 | + this.permissionSetName = permissionSetName; |
| 95 | + return this; |
| 96 | + } |
| 97 | + |
| 98 | + /** |
| 99 | + * Get permissionSetName |
| 100 | + * @return permissionSetName |
| 101 | + **/ |
| 102 | + @Schema(description = "") |
| 103 | + public String getPermissionSetName() { |
| 104 | + return permissionSetName; |
| 105 | + } |
| 106 | + |
| 107 | + public void setPermissionSetName(String permissionSetName) { |
| 108 | + this.permissionSetName = permissionSetName; |
| 109 | + } |
| 110 | + |
| 111 | + public AccountAssignmentForListAccountAssignmentsOutput principalId(String principalId) { |
| 112 | + this.principalId = principalId; |
| 113 | + return this; |
| 114 | + } |
| 115 | + |
| 116 | + /** |
| 117 | + * Get principalId |
| 118 | + * @return principalId |
| 119 | + **/ |
| 120 | + @Schema(description = "") |
| 121 | + public String getPrincipalId() { |
| 122 | + return principalId; |
| 123 | + } |
| 124 | + |
| 125 | + public void setPrincipalId(String principalId) { |
| 126 | + this.principalId = principalId; |
| 127 | + } |
| 128 | + |
| 129 | + public AccountAssignmentForListAccountAssignmentsOutput principalName(String principalName) { |
| 130 | + this.principalName = principalName; |
| 131 | + return this; |
| 132 | + } |
| 133 | + |
| 134 | + /** |
| 135 | + * Get principalName |
| 136 | + * @return principalName |
| 137 | + **/ |
| 138 | + @Schema(description = "") |
| 139 | + public String getPrincipalName() { |
| 140 | + return principalName; |
| 141 | + } |
| 142 | + |
| 143 | + public void setPrincipalName(String principalName) { |
| 144 | + this.principalName = principalName; |
| 145 | + } |
| 146 | + |
| 147 | + public AccountAssignmentForListAccountAssignmentsOutput principalType(String principalType) { |
| 148 | + this.principalType = principalType; |
| 149 | + return this; |
| 150 | + } |
| 151 | + |
| 152 | + /** |
| 153 | + * Get principalType |
| 154 | + * @return principalType |
| 155 | + **/ |
| 156 | + @Schema(description = "") |
| 157 | + public String getPrincipalType() { |
| 158 | + return principalType; |
| 159 | + } |
| 160 | + |
| 161 | + public void setPrincipalType(String principalType) { |
| 162 | + this.principalType = principalType; |
| 163 | + } |
| 164 | + |
| 165 | + public AccountAssignmentForListAccountAssignmentsOutput targetId(String targetId) { |
| 166 | + this.targetId = targetId; |
| 167 | + return this; |
| 168 | + } |
| 169 | + |
| 170 | + /** |
| 171 | + * Get targetId |
| 172 | + * @return targetId |
| 173 | + **/ |
| 174 | + @Schema(description = "") |
| 175 | + public String getTargetId() { |
| 176 | + return targetId; |
| 177 | + } |
| 178 | + |
| 179 | + public void setTargetId(String targetId) { |
| 180 | + this.targetId = targetId; |
| 181 | + } |
| 182 | + |
| 183 | + public AccountAssignmentForListAccountAssignmentsOutput targetName(String targetName) { |
| 184 | + this.targetName = targetName; |
| 185 | + return this; |
| 186 | + } |
| 187 | + |
| 188 | + /** |
| 189 | + * Get targetName |
| 190 | + * @return targetName |
| 191 | + **/ |
| 192 | + @Schema(description = "") |
| 193 | + public String getTargetName() { |
| 194 | + return targetName; |
| 195 | + } |
| 196 | + |
| 197 | + public void setTargetName(String targetName) { |
| 198 | + this.targetName = targetName; |
| 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 | + AccountAssignmentForListAccountAssignmentsOutput accountAssignmentForListAccountAssignmentsOutput = (AccountAssignmentForListAccountAssignmentsOutput) o; |
| 211 | + return Objects.equals(this.createdTime, accountAssignmentForListAccountAssignmentsOutput.createdTime) && |
| 212 | + Objects.equals(this.permissionSetId, accountAssignmentForListAccountAssignmentsOutput.permissionSetId) && |
| 213 | + Objects.equals(this.permissionSetName, accountAssignmentForListAccountAssignmentsOutput.permissionSetName) && |
| 214 | + Objects.equals(this.principalId, accountAssignmentForListAccountAssignmentsOutput.principalId) && |
| 215 | + Objects.equals(this.principalName, accountAssignmentForListAccountAssignmentsOutput.principalName) && |
| 216 | + Objects.equals(this.principalType, accountAssignmentForListAccountAssignmentsOutput.principalType) && |
| 217 | + Objects.equals(this.targetId, accountAssignmentForListAccountAssignmentsOutput.targetId) && |
| 218 | + Objects.equals(this.targetName, accountAssignmentForListAccountAssignmentsOutput.targetName); |
| 219 | + } |
| 220 | + |
| 221 | + @Override |
| 222 | + public int hashCode() { |
| 223 | + return Objects.hash(createdTime, permissionSetId, permissionSetName, principalId, principalName, principalType, targetId, targetName); |
| 224 | + } |
| 225 | + |
| 226 | + |
| 227 | + @Override |
| 228 | + public String toString() { |
| 229 | + StringBuilder sb = new StringBuilder(); |
| 230 | + sb.append("class AccountAssignmentForListAccountAssignmentsOutput {\n"); |
| 231 | + |
| 232 | + sb.append(" createdTime: ").append(toIndentedString(createdTime)).append("\n"); |
| 233 | + sb.append(" permissionSetId: ").append(toIndentedString(permissionSetId)).append("\n"); |
| 234 | + sb.append(" permissionSetName: ").append(toIndentedString(permissionSetName)).append("\n"); |
| 235 | + sb.append(" principalId: ").append(toIndentedString(principalId)).append("\n"); |
| 236 | + sb.append(" principalName: ").append(toIndentedString(principalName)).append("\n"); |
| 237 | + sb.append(" principalType: ").append(toIndentedString(principalType)).append("\n"); |
| 238 | + sb.append(" targetId: ").append(toIndentedString(targetId)).append("\n"); |
| 239 | + sb.append(" targetName: ").append(toIndentedString(targetName)).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