|
| 1 | +// This file is auto-generated, don't edit it. Thanks. |
| 2 | +package com.aliyun.sdk.service.apig20240327.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 ListPluginAttachmentsRequest} extends {@link RequestModel} |
| 16 | + * |
| 17 | + * <p>ListPluginAttachmentsRequest</p> |
| 18 | + */ |
| 19 | +public class ListPluginAttachmentsRequest extends Request { |
| 20 | + @com.aliyun.core.annotation.Query |
| 21 | + @com.aliyun.core.annotation.NameInMap("attachResourceId") |
| 22 | + private String attachResourceId; |
| 23 | + |
| 24 | + @com.aliyun.core.annotation.Query |
| 25 | + @com.aliyun.core.annotation.NameInMap("attachResourceType") |
| 26 | + private String attachResourceType; |
| 27 | + |
| 28 | + @com.aliyun.core.annotation.Query |
| 29 | + @com.aliyun.core.annotation.NameInMap("attachResourceTypes") |
| 30 | + private String attachResourceTypes; |
| 31 | + |
| 32 | + @com.aliyun.core.annotation.Query |
| 33 | + @com.aliyun.core.annotation.NameInMap("environmentId") |
| 34 | + private String environmentId; |
| 35 | + |
| 36 | + @com.aliyun.core.annotation.Query |
| 37 | + @com.aliyun.core.annotation.NameInMap("gatewayId") |
| 38 | + private String gatewayId; |
| 39 | + |
| 40 | + @com.aliyun.core.annotation.Query |
| 41 | + @com.aliyun.core.annotation.NameInMap("pageNumber") |
| 42 | + private Integer pageNumber; |
| 43 | + |
| 44 | + @com.aliyun.core.annotation.Query |
| 45 | + @com.aliyun.core.annotation.NameInMap("pageSize") |
| 46 | + private Integer pageSize; |
| 47 | + |
| 48 | + @com.aliyun.core.annotation.Query |
| 49 | + @com.aliyun.core.annotation.NameInMap("pluginId") |
| 50 | + private String pluginId; |
| 51 | + |
| 52 | + @com.aliyun.core.annotation.Query |
| 53 | + @com.aliyun.core.annotation.NameInMap("withParentResource") |
| 54 | + private Boolean withParentResource; |
| 55 | + |
| 56 | + private ListPluginAttachmentsRequest(Builder builder) { |
| 57 | + super(builder); |
| 58 | + this.attachResourceId = builder.attachResourceId; |
| 59 | + this.attachResourceType = builder.attachResourceType; |
| 60 | + this.attachResourceTypes = builder.attachResourceTypes; |
| 61 | + this.environmentId = builder.environmentId; |
| 62 | + this.gatewayId = builder.gatewayId; |
| 63 | + this.pageNumber = builder.pageNumber; |
| 64 | + this.pageSize = builder.pageSize; |
| 65 | + this.pluginId = builder.pluginId; |
| 66 | + this.withParentResource = builder.withParentResource; |
| 67 | + } |
| 68 | + |
| 69 | + public static Builder builder() { |
| 70 | + return new Builder(); |
| 71 | + } |
| 72 | + |
| 73 | + public static ListPluginAttachmentsRequest create() { |
| 74 | + return builder().build(); |
| 75 | + } |
| 76 | + |
| 77 | +@Override |
| 78 | + public Builder toBuilder() { |
| 79 | + return new Builder(this); |
| 80 | + } |
| 81 | + |
| 82 | + /** |
| 83 | + * @return attachResourceId |
| 84 | + */ |
| 85 | + public String getAttachResourceId() { |
| 86 | + return this.attachResourceId; |
| 87 | + } |
| 88 | + |
| 89 | + /** |
| 90 | + * @return attachResourceType |
| 91 | + */ |
| 92 | + public String getAttachResourceType() { |
| 93 | + return this.attachResourceType; |
| 94 | + } |
| 95 | + |
| 96 | + /** |
| 97 | + * @return attachResourceTypes |
| 98 | + */ |
| 99 | + public String getAttachResourceTypes() { |
| 100 | + return this.attachResourceTypes; |
| 101 | + } |
| 102 | + |
| 103 | + /** |
| 104 | + * @return environmentId |
| 105 | + */ |
| 106 | + public String getEnvironmentId() { |
| 107 | + return this.environmentId; |
| 108 | + } |
| 109 | + |
| 110 | + /** |
| 111 | + * @return gatewayId |
| 112 | + */ |
| 113 | + public String getGatewayId() { |
| 114 | + return this.gatewayId; |
| 115 | + } |
| 116 | + |
| 117 | + /** |
| 118 | + * @return pageNumber |
| 119 | + */ |
| 120 | + public Integer getPageNumber() { |
| 121 | + return this.pageNumber; |
| 122 | + } |
| 123 | + |
| 124 | + /** |
| 125 | + * @return pageSize |
| 126 | + */ |
| 127 | + public Integer getPageSize() { |
| 128 | + return this.pageSize; |
| 129 | + } |
| 130 | + |
| 131 | + /** |
| 132 | + * @return pluginId |
| 133 | + */ |
| 134 | + public String getPluginId() { |
| 135 | + return this.pluginId; |
| 136 | + } |
| 137 | + |
| 138 | + /** |
| 139 | + * @return withParentResource |
| 140 | + */ |
| 141 | + public Boolean getWithParentResource() { |
| 142 | + return this.withParentResource; |
| 143 | + } |
| 144 | + |
| 145 | + public static final class Builder extends Request.Builder<ListPluginAttachmentsRequest, Builder> { |
| 146 | + private String attachResourceId; |
| 147 | + private String attachResourceType; |
| 148 | + private String attachResourceTypes; |
| 149 | + private String environmentId; |
| 150 | + private String gatewayId; |
| 151 | + private Integer pageNumber; |
| 152 | + private Integer pageSize; |
| 153 | + private String pluginId; |
| 154 | + private Boolean withParentResource; |
| 155 | + |
| 156 | + private Builder() { |
| 157 | + super(); |
| 158 | + } |
| 159 | + |
| 160 | + private Builder(ListPluginAttachmentsRequest request) { |
| 161 | + super(request); |
| 162 | + this.attachResourceId = request.attachResourceId; |
| 163 | + this.attachResourceType = request.attachResourceType; |
| 164 | + this.attachResourceTypes = request.attachResourceTypes; |
| 165 | + this.environmentId = request.environmentId; |
| 166 | + this.gatewayId = request.gatewayId; |
| 167 | + this.pageNumber = request.pageNumber; |
| 168 | + this.pageSize = request.pageSize; |
| 169 | + this.pluginId = request.pluginId; |
| 170 | + this.withParentResource = request.withParentResource; |
| 171 | + } |
| 172 | + |
| 173 | + /** |
| 174 | + * attachResourceId. |
| 175 | + */ |
| 176 | + public Builder attachResourceId(String attachResourceId) { |
| 177 | + this.putQueryParameter("attachResourceId", attachResourceId); |
| 178 | + this.attachResourceId = attachResourceId; |
| 179 | + return this; |
| 180 | + } |
| 181 | + |
| 182 | + /** |
| 183 | + * attachResourceType. |
| 184 | + */ |
| 185 | + public Builder attachResourceType(String attachResourceType) { |
| 186 | + this.putQueryParameter("attachResourceType", attachResourceType); |
| 187 | + this.attachResourceType = attachResourceType; |
| 188 | + return this; |
| 189 | + } |
| 190 | + |
| 191 | + /** |
| 192 | + * attachResourceTypes. |
| 193 | + */ |
| 194 | + public Builder attachResourceTypes(String attachResourceTypes) { |
| 195 | + this.putQueryParameter("attachResourceTypes", attachResourceTypes); |
| 196 | + this.attachResourceTypes = attachResourceTypes; |
| 197 | + return this; |
| 198 | + } |
| 199 | + |
| 200 | + /** |
| 201 | + * environmentId. |
| 202 | + */ |
| 203 | + public Builder environmentId(String environmentId) { |
| 204 | + this.putQueryParameter("environmentId", environmentId); |
| 205 | + this.environmentId = environmentId; |
| 206 | + return this; |
| 207 | + } |
| 208 | + |
| 209 | + /** |
| 210 | + * gatewayId. |
| 211 | + */ |
| 212 | + public Builder gatewayId(String gatewayId) { |
| 213 | + this.putQueryParameter("gatewayId", gatewayId); |
| 214 | + this.gatewayId = gatewayId; |
| 215 | + return this; |
| 216 | + } |
| 217 | + |
| 218 | + /** |
| 219 | + * pageNumber. |
| 220 | + */ |
| 221 | + public Builder pageNumber(Integer pageNumber) { |
| 222 | + this.putQueryParameter("pageNumber", pageNumber); |
| 223 | + this.pageNumber = pageNumber; |
| 224 | + return this; |
| 225 | + } |
| 226 | + |
| 227 | + /** |
| 228 | + * pageSize. |
| 229 | + */ |
| 230 | + public Builder pageSize(Integer pageSize) { |
| 231 | + this.putQueryParameter("pageSize", pageSize); |
| 232 | + this.pageSize = pageSize; |
| 233 | + return this; |
| 234 | + } |
| 235 | + |
| 236 | + /** |
| 237 | + * pluginId. |
| 238 | + */ |
| 239 | + public Builder pluginId(String pluginId) { |
| 240 | + this.putQueryParameter("pluginId", pluginId); |
| 241 | + this.pluginId = pluginId; |
| 242 | + return this; |
| 243 | + } |
| 244 | + |
| 245 | + /** |
| 246 | + * withParentResource. |
| 247 | + */ |
| 248 | + public Builder withParentResource(Boolean withParentResource) { |
| 249 | + this.putQueryParameter("withParentResource", withParentResource); |
| 250 | + this.withParentResource = withParentResource; |
| 251 | + return this; |
| 252 | + } |
| 253 | + |
| 254 | + @Override |
| 255 | + public ListPluginAttachmentsRequest build() { |
| 256 | + return new ListPluginAttachmentsRequest(this); |
| 257 | + } |
| 258 | + |
| 259 | + } |
| 260 | + |
| 261 | +} |
0 commit comments