123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <?php
- namespace TencentCloud\Iai\V20180301\Models;
- use TencentCloud\Common\AbstractModel;
- class DetectFaceAttributesRequest extends AbstractModel
- {
-
- public $MaxFaceNum;
-
- public $Image;
-
- public $Url;
-
- public $FaceAttributesType;
-
- public $NeedRotateDetection;
-
- public $FaceModelVersion;
-
- function __construct()
- {
- }
-
- public function deserialize($param)
- {
- if ($param === null) {
- return;
- }
- if (array_key_exists("MaxFaceNum",$param) and $param["MaxFaceNum"] !== null) {
- $this->MaxFaceNum = $param["MaxFaceNum"];
- }
- if (array_key_exists("Image",$param) and $param["Image"] !== null) {
- $this->Image = $param["Image"];
- }
- if (array_key_exists("Url",$param) and $param["Url"] !== null) {
- $this->Url = $param["Url"];
- }
- if (array_key_exists("FaceAttributesType",$param) and $param["FaceAttributesType"] !== null) {
- $this->FaceAttributesType = $param["FaceAttributesType"];
- }
- if (array_key_exists("NeedRotateDetection",$param) and $param["NeedRotateDetection"] !== null) {
- $this->NeedRotateDetection = $param["NeedRotateDetection"];
- }
- if (array_key_exists("FaceModelVersion",$param) and $param["FaceModelVersion"] !== null) {
- $this->FaceModelVersion = $param["FaceModelVersion"];
- }
- }
- }
|