85 lines
4.2 KiB
PHP
Raw Normal View History

2025-08-01 11:39:06 +08:00
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud\Faceid\V20180301\Models;
use TencentCloud\Common\AbstractModel;
/**
* @method string getBizToken() 获取人脸核身流程的标识调用DetectAuth接口时生成。
* @method void setBizToken(string $BizToken) 设置人脸核身流程的标识调用DetectAuth接口时生成。
* @method string getRuleId() 获取用于细分客户使用场景申请开通服务后可以在腾讯云慧眼人脸核身控制台https://console.cloud.tencent.com/faceid 自助接入里面创建审核通过后即可调用。如有疑问请加慧眼小助手微信faceid001进行咨询。
* @method void setRuleId(string $RuleId) 设置用于细分客户使用场景申请开通服务后可以在腾讯云慧眼人脸核身控制台https://console.cloud.tencent.com/faceid 自助接入里面创建审核通过后即可调用。如有疑问请加慧眼小助手微信faceid001进行咨询。
* @method string getInfoType() 获取指定拉取的结果信息取值0全部1文本类2身份证正反面3视频最佳截图照片4视频
* 134表示拉取文本类、视频最佳截图照片、视频。
* @method void setInfoType(string $InfoType) 设置指定拉取的结果信息取值0全部1文本类2身份证正反面3视频最佳截图照片4视频
* 134表示拉取文本类、视频最佳截图照片、视频。
*/
/**
*GetDetectInfo请求参数结构体
*/
class GetDetectInfoRequest extends AbstractModel
{
/**
* @var string 人脸核身流程的标识调用DetectAuth接口时生成。
*/
public $BizToken;
/**
* @var string 用于细分客户使用场景申请开通服务后可以在腾讯云慧眼人脸核身控制台https://console.cloud.tencent.com/faceid 自助接入里面创建审核通过后即可调用。如有疑问请加慧眼小助手微信faceid001进行咨询。
*/
public $RuleId;
/**
* @var string 指定拉取的结果信息取值0全部1文本类2身份证正反面3视频最佳截图照片4视频
* 134表示拉取文本类、视频最佳截图照片、视频。
*/
public $InfoType;
/**
* @param string $BizToken 人脸核身流程的标识调用DetectAuth接口时生成。
* @param string $RuleId 用于细分客户使用场景申请开通服务后可以在腾讯云慧眼人脸核身控制台https://console.cloud.tencent.com/faceid 自助接入里面创建审核通过后即可调用。如有疑问请加慧眼小助手微信faceid001进行咨询。
* @param string $InfoType 指定拉取的结果信息取值0全部1文本类2身份证正反面3视频最佳截图照片4视频
* 134表示拉取文本类、视频最佳截图照片、视频。
*/
public function __construct()
{
}
/**
* 内部实现,用户禁止调用
*/
public function deserialize($param)
{
if ($param === null) {
return;
}
if (array_key_exists("BizToken", $param) and $param["BizToken"] !== null) {
$this->BizToken = $param["BizToken"];
}
if (array_key_exists("RuleId", $param) and $param["RuleId"] !== null) {
$this->RuleId = $param["RuleId"];
}
if (array_key_exists("InfoType", $param) and $param["InfoType"] !== null) {
$this->InfoType = $param["InfoType"];
}
}
}