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

cn.com.antcloud.api.riskplus.v1_0.response.QueryPolicyResponse 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.response;

import cn.com.antcloud.api.product.AntCloudProdResponse;
import java.lang.Long;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * 外部客户业务接入风控+,进行风险识别和风险决策。
 */
public class QueryPolicyResponse extends AntCloudProdResponse {
  private Long level;

  private String securityId;

  private String securityResult;

  @NotNull
  private String success;

  private String templateCode;

  private String templateDesc;

  private String verifyId;

  private String verifyUrl;

  /**
   * 风险咨询情况下返回的风险等级,风险处理不会返回该值 */
  public Long getLevel() {
    return this.level;
  }

  /**
   * 风险咨询情况下返回的风险等级,风险处理不会返回该值 */
  public void setLevel(Long level) {
    this.level = level;
  }

  /**
   * 反馈成功之后的id */
  public String getSecurityId() {
    return this.securityId;
  }

  /**
   * 反馈成功之后的id */
  public void setSecurityId(String securityId) {
    this.securityId = securityId;
  }

  /**
   * 安全处理结果,枚举值为:reject[拒绝],validate[校验],accept[放过] */
  public String getSecurityResult() {
    return this.securityResult;
  }

  /**
   * 安全处理结果,枚举值为:reject[拒绝],validate[校验],accept[放过] */
  public void setSecurityResult(String securityResult) {
    this.securityResult = securityResult;
  }

  /**
   * 是否成功 */
  public String getSuccess() {
    return this.success;
  }

  /**
   * 是否成功 */
  public void setSuccess(String success) {
    this.success = success;
  }

  /**
   * 有风险需要失败业务情况下的返回码 */
  public String getTemplateCode() {
    return this.templateCode;
  }

  /**
   * 有风险需要失败业务情况下的返回码 */
  public void setTemplateCode(String templateCode) {
    this.templateCode = templateCode;
  }

  /**
   * 有风险需要失败业务情况下的返回码描述 */
  public String getTemplateDesc() {
    return this.templateDesc;
  }

  /**
   * 有风险需要失败业务情况下的返回码描述 */
  public void setTemplateDesc(String templateDesc) {
    this.templateDesc = templateDesc;
  }

  /**
   * native场景下的核身id */
  public String getVerifyId() {
    return this.verifyId;
  }

  /**
   * native场景下的核身id */
  public void setVerifyId(String verifyId) {
    this.verifyId = verifyId;
  }

  /**
   * h5场景下的核身地址 */
  public String getVerifyUrl() {
    return this.verifyUrl;
  }

  /**
   * h5场景下的核身地址 */
  public void setVerifyUrl(String verifyUrl) {
    this.verifyUrl = verifyUrl;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy