|
| 1 | +// This file is auto-generated, don't edit it. Thanks. |
| 2 | +package com.aliyun.sdk.service.esa20240910.models; |
| 3 | + |
| 4 | +import com.aliyun.sdk.gateway.pop.*; |
| 5 | +import darabonba.core.*; |
| 6 | +import darabonba.core.async.*; |
| 7 | +import darabonba.core.sync.*; |
| 8 | +import darabonba.core.client.*; |
| 9 | +import darabonba.core.RequestModel; |
| 10 | +import darabonba.core.TeaModel; |
| 11 | +import com.aliyun.sdk.gateway.pop.models.*; |
| 12 | + |
| 13 | +/** |
| 14 | + * |
| 15 | + * {@link DescribeDDoSOverseasAttackCountResponse} extends {@link TeaModel} |
| 16 | + * |
| 17 | + * <p>DescribeDDoSOverseasAttackCountResponse</p> |
| 18 | + */ |
| 19 | +public class DescribeDDoSOverseasAttackCountResponse extends Response { |
| 20 | + @com.aliyun.core.annotation.NameInMap("headers") |
| 21 | + private java.util.Map<String, String> headers; |
| 22 | + |
| 23 | + @com.aliyun.core.annotation.NameInMap("statusCode") |
| 24 | + private Integer statusCode; |
| 25 | + |
| 26 | + @com.aliyun.core.annotation.NameInMap("body") |
| 27 | + private DescribeDDoSOverseasAttackCountResponseBody body; |
| 28 | + |
| 29 | + private DescribeDDoSOverseasAttackCountResponse(BuilderImpl builder) { |
| 30 | + super(builder); |
| 31 | + this.headers = builder.headers; |
| 32 | + this.statusCode = builder.statusCode; |
| 33 | + this.body = builder.body; |
| 34 | + } |
| 35 | + |
| 36 | + public static DescribeDDoSOverseasAttackCountResponse create() { |
| 37 | + return new BuilderImpl().build(); |
| 38 | + } |
| 39 | + |
| 40 | +@Override |
| 41 | + public Builder toBuilder() { |
| 42 | + return new BuilderImpl(this); |
| 43 | + } |
| 44 | + |
| 45 | + /** |
| 46 | + * @return headers |
| 47 | + */ |
| 48 | + public java.util.Map<String, String> getHeaders() { |
| 49 | + return this.headers; |
| 50 | + } |
| 51 | + |
| 52 | + /** |
| 53 | + * @return statusCode |
| 54 | + */ |
| 55 | + public Integer getStatusCode() { |
| 56 | + return this.statusCode; |
| 57 | + } |
| 58 | + |
| 59 | + /** |
| 60 | + * @return body |
| 61 | + */ |
| 62 | + public DescribeDDoSOverseasAttackCountResponseBody getBody() { |
| 63 | + return this.body; |
| 64 | + } |
| 65 | + |
| 66 | + public interface Builder extends Response.Builder<DescribeDDoSOverseasAttackCountResponse, Builder> { |
| 67 | + |
| 68 | + Builder headers(java.util.Map<String, String> headers); |
| 69 | + |
| 70 | + Builder statusCode(Integer statusCode); |
| 71 | + |
| 72 | + Builder body(DescribeDDoSOverseasAttackCountResponseBody body); |
| 73 | + |
| 74 | + @Override |
| 75 | + DescribeDDoSOverseasAttackCountResponse build(); |
| 76 | + |
| 77 | + } |
| 78 | + |
| 79 | + private static final class BuilderImpl |
| 80 | + extends Response.BuilderImpl<DescribeDDoSOverseasAttackCountResponse, Builder> |
| 81 | + implements Builder { |
| 82 | + private java.util.Map<String, String> headers; |
| 83 | + private Integer statusCode; |
| 84 | + private DescribeDDoSOverseasAttackCountResponseBody body; |
| 85 | + |
| 86 | + private BuilderImpl() { |
| 87 | + super(); |
| 88 | + } |
| 89 | + |
| 90 | + private BuilderImpl(DescribeDDoSOverseasAttackCountResponse response) { |
| 91 | + super(response); |
| 92 | + this.headers = response.headers; |
| 93 | + this.statusCode = response.statusCode; |
| 94 | + this.body = response.body; |
| 95 | + } |
| 96 | + |
| 97 | + /** |
| 98 | + * headers. |
| 99 | + */ |
| 100 | + @Override |
| 101 | + public Builder headers(java.util.Map<String, String> headers) { |
| 102 | + this.headers = headers; |
| 103 | + return this; |
| 104 | + } |
| 105 | + |
| 106 | + /** |
| 107 | + * statusCode. |
| 108 | + */ |
| 109 | + @Override |
| 110 | + public Builder statusCode(Integer statusCode) { |
| 111 | + this.statusCode = statusCode; |
| 112 | + return this; |
| 113 | + } |
| 114 | + |
| 115 | + /** |
| 116 | + * body. |
| 117 | + */ |
| 118 | + @Override |
| 119 | + public Builder body(DescribeDDoSOverseasAttackCountResponseBody body) { |
| 120 | + this.body = body; |
| 121 | + return this; |
| 122 | + } |
| 123 | + |
| 124 | + @Override |
| 125 | + public DescribeDDoSOverseasAttackCountResponse build() { |
| 126 | + return new DescribeDDoSOverseasAttackCountResponse(this); |
| 127 | + } |
| 128 | + |
| 129 | + } |
| 130 | + |
| 131 | +} |
0 commit comments