com.antgroup.antchain.openapi.riskplus.models.QuerySecurityPolicyRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-riskplus Show documentation
Show all versions of openapi-riskplus Show documentation
Ant Chain RISKPLUS SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.riskplus.models;
import com.aliyun.tea.*;
public class QuerySecurityPolicyRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 风险类型:表示风险处理或风险咨询——process/advice
@NameInMap("risk_type")
public String riskType;
// 风险场景信息
@NameInMap("security_scene")
public SecurityScene securityScene;
// 服务上下文
@NameInMap("service_context")
public ServiceContext serviceContext;
// 事件业务属性
@NameInMap("event_info")
@Validation(required = true)
public String eventInfo;
public static QuerySecurityPolicyRequest build(java.util.Map map) throws Exception {
QuerySecurityPolicyRequest self = new QuerySecurityPolicyRequest();
return TeaModel.build(map, self);
}
public QuerySecurityPolicyRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public QuerySecurityPolicyRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public QuerySecurityPolicyRequest setRiskType(String riskType) {
this.riskType = riskType;
return this;
}
public String getRiskType() {
return this.riskType;
}
public QuerySecurityPolicyRequest setSecurityScene(SecurityScene securityScene) {
this.securityScene = securityScene;
return this;
}
public SecurityScene getSecurityScene() {
return this.securityScene;
}
public QuerySecurityPolicyRequest setServiceContext(ServiceContext serviceContext) {
this.serviceContext = serviceContext;
return this;
}
public ServiceContext getServiceContext() {
return this.serviceContext;
}
public QuerySecurityPolicyRequest setEventInfo(String eventInfo) {
this.eventInfo = eventInfo;
return this;
}
public String getEventInfo() {
return this.eventInfo;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy