ImageWidth = $param["ImageWidth"]; } if (array_key_exists("ImageHeight",$param) and $param["ImageHeight"] !== null) { $this->ImageHeight = $param["ImageHeight"]; } if (array_key_exists("FaceDetailInfos",$param) and $param["FaceDetailInfos"] !== null) { $this->FaceDetailInfos = []; foreach ($param["FaceDetailInfos"] as $key => $value){ $obj = new FaceDetailInfo(); $obj->deserialize($value); array_push($this->FaceDetailInfos, $obj); } } if (array_key_exists("FaceModelVersion",$param) and $param["FaceModelVersion"] !== null) { $this->FaceModelVersion = $param["FaceModelVersion"]; } if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) { $this->RequestId = $param["RequestId"]; } } }