|
| 1 | +/* |
| 2 | + * alb |
| 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.alb.model; |
| 14 | + |
| 15 | +import com.google.gson.annotations.SerializedName; |
| 16 | +import io.swagger.v3.oas.annotations.media.Schema; |
| 17 | + |
| 18 | +import java.util.Objects; |
| 19 | + |
| 20 | +/** |
| 21 | + * ValueForDescribeRulesOutput |
| 22 | + */ |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | +public class ValueForDescribeRulesOutput { |
| 27 | + @SerializedName("Key") |
| 28 | + private String key = null; |
| 29 | + |
| 30 | + @SerializedName("Value") |
| 31 | + private String value = null; |
| 32 | + |
| 33 | + public ValueForDescribeRulesOutput key(String key) { |
| 34 | + this.key = key; |
| 35 | + return this; |
| 36 | + } |
| 37 | + |
| 38 | + /** |
| 39 | + * Get key |
| 40 | + * @return key |
| 41 | + **/ |
| 42 | + @Schema(description = "") |
| 43 | + public String getKey() { |
| 44 | + return key; |
| 45 | + } |
| 46 | + |
| 47 | + public void setKey(String key) { |
| 48 | + this.key = key; |
| 49 | + } |
| 50 | + |
| 51 | + public ValueForDescribeRulesOutput value(String value) { |
| 52 | + this.value = value; |
| 53 | + return this; |
| 54 | + } |
| 55 | + |
| 56 | + /** |
| 57 | + * Get value |
| 58 | + * @return value |
| 59 | + **/ |
| 60 | + @Schema(description = "") |
| 61 | + public String getValue() { |
| 62 | + return value; |
| 63 | + } |
| 64 | + |
| 65 | + public void setValue(String value) { |
| 66 | + this.value = value; |
| 67 | + } |
| 68 | + |
| 69 | + |
| 70 | + @Override |
| 71 | + public boolean equals(Object o) { |
| 72 | + if (this == o) { |
| 73 | + return true; |
| 74 | + } |
| 75 | + if (o == null || getClass() != o.getClass()) { |
| 76 | + return false; |
| 77 | + } |
| 78 | + ValueForDescribeRulesOutput tagForDescribeRulesOutput = (ValueForDescribeRulesOutput) o; |
| 79 | + return Objects.equals(this.key, tagForDescribeRulesOutput.key) && |
| 80 | + Objects.equals(this.value, tagForDescribeRulesOutput.value); |
| 81 | + } |
| 82 | + |
| 83 | + @Override |
| 84 | + public int hashCode() { |
| 85 | + return Objects.hash(key, value); |
| 86 | + } |
| 87 | + |
| 88 | + |
| 89 | + @Override |
| 90 | + public String toString() { |
| 91 | + StringBuilder sb = new StringBuilder(); |
| 92 | + sb.append("class ValueForDescribeRulesOutput {\n"); |
| 93 | + |
| 94 | + sb.append(" key: ").append(toIndentedString(key)).append("\n"); |
| 95 | + sb.append(" value: ").append(toIndentedString(value)).append("\n"); |
| 96 | + sb.append("}"); |
| 97 | + return sb.toString(); |
| 98 | + } |
| 99 | + |
| 100 | + /** |
| 101 | + * Convert the given object to string with each line indented by 4 spaces |
| 102 | + * (except the first line). |
| 103 | + */ |
| 104 | + private String toIndentedString(Object o) { |
| 105 | + if (o == null) { |
| 106 | + return "null"; |
| 107 | + } |
| 108 | + return o.toString().replace("\n", "\n "); |
| 109 | + } |
| 110 | + |
| 111 | +} |
0 commit comments