PersonId = $param["PersonId"]; } if (array_key_exists("FaceId",$param) and $param["FaceId"] !== null) { $this->FaceId = $param["FaceId"]; } if (array_key_exists("Score",$param) and $param["Score"] !== null) { $this->Score = $param["Score"]; } if (array_key_exists("PersonName",$param) and $param["PersonName"] !== null) { $this->PersonName = $param["PersonName"]; } if (array_key_exists("Gender",$param) and $param["Gender"] !== null) { $this->Gender = $param["Gender"]; } if (array_key_exists("PersonGroupInfos",$param) and $param["PersonGroupInfos"] !== null) { $this->PersonGroupInfos = []; foreach ($param["PersonGroupInfos"] as $key => $value){ $obj = new PersonGroupInfo(); $obj->deserialize($value); array_push($this->PersonGroupInfos, $obj); } } } }