PersonGroupInfos = []; foreach ($param["PersonGroupInfos"] as $key => $value){ $obj = new PersonGroupInfo(); $obj->deserialize($value); array_push($this->PersonGroupInfos, $obj); } } if (array_key_exists("GroupNum",$param) and $param["GroupNum"] !== null) { $this->GroupNum = $param["GroupNum"]; } 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"]; } } }