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

//
//  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 {
  @NotNull
  private String riskType;

  @NotNull
  private SecurityScene securityScene;

  @NotNull
  private ServiceContext serviceContext;

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

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

  /**
   * 风险类型:表示风险处理或风险咨询——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;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy