All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.com.antcloud.api.riskplus.v1_0.request.QueryPolicyRequest Maven / Gradle / Ivy

Go to download

Ant Chain API SDK For Java Copyright (c) 2020-present antgroup.com, https://www.antgroup.com

There is a newer version: 2.3.1
Show newest version
//
//  Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//  http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
//
package cn.com.antcloud.api.riskplus.v1_0.request;

import cn.com.antcloud.api.product.AntCloudProdRequest;
import cn.com.antcloud.api.riskplus.v1_0.model.SecurityScene;
import cn.com.antcloud.api.riskplus.v1_0.model.ServiceContext;
import cn.com.antcloud.api.riskplus.v1_0.response.QueryPolicyResponse;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * 风控云风险咨询接口 */
public class QueryPolicyRequest extends AntCloudProdRequest {
  private String riskType;

  private SecurityScene securityScene;

  private ServiceContext serviceContext;

  @NotNull
  private String eventInfo;

  public QueryPolicyRequest(String productInstanceId) {
    super("riskplus.security.policy.query", "1.0", "Java-SDK-20240605", productInstanceId);
  }

  public QueryPolicyRequest() {
    super("riskplus.security.policy.query", "1.0", null);
    this.setSdkVersion("Java-SDK-20240605");
  }

  /**
   * 风险类型:表示风险处理或风险咨询——process/advice */
  public String getRiskType() {
    return this.riskType;
  }

  /**
   * 风险类型:表示风险处理或风险咨询——process/advice */
  public void setRiskType(String riskType) {
    this.riskType = riskType;
  }

  /**
   * 风险场景信息 */
  public SecurityScene getSecurityScene() {
    return this.securityScene;
  }

  /**
   * 风险场景信息 */
  public void setSecurityScene(SecurityScene securityScene) {
    this.securityScene = securityScene;
  }

  /**
   * 服务上下文 */
  public ServiceContext getServiceContext() {
    return this.serviceContext;
  }

  /**
   * 服务上下文 */
  public void setServiceContext(ServiceContext serviceContext) {
    this.serviceContext = serviceContext;
  }

  /**
   * 事件业务属性 */
  public String getEventInfo() {
    return this.eventInfo;
  }

  /**
   * 事件业务属性 */
  public void setEventInfo(String eventInfo) {
    this.eventInfo = eventInfo;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy