|
| 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.mpaas.model.v20201028; |
| 16 | + |
| 17 | +import com.aliyuncs.RpcAcsRequest; |
| 18 | +import com.aliyuncs.http.ProtocolType; |
| 19 | +import com.aliyuncs.http.MethodType; |
| 20 | +import com.aliyuncs.mpaas.Endpoint; |
| 21 | + |
| 22 | +/** |
| 23 | + * @author auto create |
| 24 | + * @version |
| 25 | + */ |
| 26 | +public class QueryMscpRiskInfoRequest extends RpcAcsRequest<QueryMscpRiskInfoResponse> { |
| 27 | + |
| 28 | + |
| 29 | + private String apdidToken; |
| 30 | + |
| 31 | + private String appId; |
| 32 | + |
| 33 | + private String tenantId; |
| 34 | + |
| 35 | + private String terminalType; |
| 36 | + |
| 37 | + private String workspaceId; |
| 38 | + public QueryMscpRiskInfoRequest() { |
| 39 | + super("mPaaS", "2020-10-28", "QueryMscpRiskInfo", "mpaas"); |
| 40 | + setProtocol(ProtocolType.HTTPS); |
| 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 String getApdidToken() { |
| 49 | + return this.apdidToken; |
| 50 | + } |
| 51 | + |
| 52 | + public void setApdidToken(String apdidToken) { |
| 53 | + this.apdidToken = apdidToken; |
| 54 | + if(apdidToken != null){ |
| 55 | + putBodyParameter("ApdidToken", apdidToken); |
| 56 | + } |
| 57 | + } |
| 58 | + |
| 59 | + public String getAppId() { |
| 60 | + return this.appId; |
| 61 | + } |
| 62 | + |
| 63 | + public void setAppId(String appId) { |
| 64 | + this.appId = appId; |
| 65 | + if(appId != null){ |
| 66 | + putBodyParameter("AppId", appId); |
| 67 | + } |
| 68 | + } |
| 69 | + |
| 70 | + public String getTenantId() { |
| 71 | + return this.tenantId; |
| 72 | + } |
| 73 | + |
| 74 | + public void setTenantId(String tenantId) { |
| 75 | + this.tenantId = tenantId; |
| 76 | + if(tenantId != null){ |
| 77 | + putBodyParameter("TenantId", tenantId); |
| 78 | + } |
| 79 | + } |
| 80 | + |
| 81 | + public String getTerminalType() { |
| 82 | + return this.terminalType; |
| 83 | + } |
| 84 | + |
| 85 | + public void setTerminalType(String terminalType) { |
| 86 | + this.terminalType = terminalType; |
| 87 | + if(terminalType != null){ |
| 88 | + putBodyParameter("TerminalType", terminalType); |
| 89 | + } |
| 90 | + } |
| 91 | + |
| 92 | + public String getWorkspaceId() { |
| 93 | + return this.workspaceId; |
| 94 | + } |
| 95 | + |
| 96 | + public void setWorkspaceId(String workspaceId) { |
| 97 | + this.workspaceId = workspaceId; |
| 98 | + if(workspaceId != null){ |
| 99 | + putBodyParameter("WorkspaceId", workspaceId); |
| 100 | + } |
| 101 | + } |
| 102 | + |
| 103 | + @Override |
| 104 | + public Class<QueryMscpRiskInfoResponse> getResponseClass() { |
| 105 | + return QueryMscpRiskInfoResponse.class; |
| 106 | + } |
| 107 | + |
| 108 | +} |
0 commit comments