|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | + * you may not use this file except in compliance with the License. |
| 4 | + * You may obtain a copy of the License at |
| 5 | + * |
| 6 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | + * |
| 8 | + * Unless required by applicable law or agreed to in writing, software |
| 9 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | + * See the License for the specific language governing permissions and |
| 12 | + * limitations under the License. |
| 13 | + */ |
| 14 | + |
| 15 | +package com.aliyuncs.adb.model.v20190315; |
| 16 | + |
| 17 | +import com.aliyuncs.RpcAcsRequest; |
| 18 | +import com.aliyuncs.http.MethodType; |
| 19 | +import com.aliyuncs.adb.Endpoint; |
| 20 | + |
| 21 | +/** |
| 22 | + * @author auto create |
| 23 | + * @version |
| 24 | + */ |
| 25 | +public class CancelActiveOperationTasksRequest extends RpcAcsRequest<CancelActiveOperationTasksResponse> { |
| 26 | + |
| 27 | + |
| 28 | + private Long resourceOwnerId; |
| 29 | + |
| 30 | + private String securityToken; |
| 31 | + |
| 32 | + private String resourceOwnerAccount; |
| 33 | + |
| 34 | + private String ownerAccount; |
| 35 | + |
| 36 | + private Long ownerId; |
| 37 | + |
| 38 | + private String ids; |
| 39 | + public CancelActiveOperationTasksRequest() { |
| 40 | + super("adb", "2019-03-15", "CancelActiveOperationTasks", "ads"); |
| 41 | + setMethod(MethodType.POST); |
| 42 | + try { |
| 43 | + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); |
| 44 | + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); |
| 45 | + } catch (Exception e) {} |
| 46 | + } |
| 47 | + |
| 48 | + public Long getResourceOwnerId() { |
| 49 | + return this.resourceOwnerId; |
| 50 | + } |
| 51 | + |
| 52 | + public void setResourceOwnerId(Long resourceOwnerId) { |
| 53 | + this.resourceOwnerId = resourceOwnerId; |
| 54 | + if(resourceOwnerId != null){ |
| 55 | + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); |
| 56 | + } |
| 57 | + } |
| 58 | + |
| 59 | + public String getSecurityToken() { |
| 60 | + return this.securityToken; |
| 61 | + } |
| 62 | + |
| 63 | + public void setSecurityToken(String securityToken) { |
| 64 | + this.securityToken = securityToken; |
| 65 | + if(securityToken != null){ |
| 66 | + putQueryParameter("SecurityToken", securityToken); |
| 67 | + } |
| 68 | + } |
| 69 | + |
| 70 | + public String getResourceOwnerAccount() { |
| 71 | + return this.resourceOwnerAccount; |
| 72 | + } |
| 73 | + |
| 74 | + public void setResourceOwnerAccount(String resourceOwnerAccount) { |
| 75 | + this.resourceOwnerAccount = resourceOwnerAccount; |
| 76 | + if(resourceOwnerAccount != null){ |
| 77 | + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); |
| 78 | + } |
| 79 | + } |
| 80 | + |
| 81 | + public String getOwnerAccount() { |
| 82 | + return this.ownerAccount; |
| 83 | + } |
| 84 | + |
| 85 | + public void setOwnerAccount(String ownerAccount) { |
| 86 | + this.ownerAccount = ownerAccount; |
| 87 | + if(ownerAccount != null){ |
| 88 | + putQueryParameter("OwnerAccount", ownerAccount); |
| 89 | + } |
| 90 | + } |
| 91 | + |
| 92 | + public Long getOwnerId() { |
| 93 | + return this.ownerId; |
| 94 | + } |
| 95 | + |
| 96 | + public void setOwnerId(Long ownerId) { |
| 97 | + this.ownerId = ownerId; |
| 98 | + if(ownerId != null){ |
| 99 | + putQueryParameter("OwnerId", ownerId.toString()); |
| 100 | + } |
| 101 | + } |
| 102 | + |
| 103 | + public String getIds() { |
| 104 | + return this.ids; |
| 105 | + } |
| 106 | + |
| 107 | + public void setIds(String ids) { |
| 108 | + this.ids = ids; |
| 109 | + if(ids != null){ |
| 110 | + putQueryParameter("Ids", ids); |
| 111 | + } |
| 112 | + } |
| 113 | + |
| 114 | + @Override |
| 115 | + public Class<CancelActiveOperationTasksResponse> getResponseClass() { |
| 116 | + return CancelActiveOperationTasksResponse.class; |
| 117 | + } |
| 118 | + |
| 119 | +} |
0 commit comments