Gender = $param["Gender"]; } if (array_key_exists("Age",$param) and $param["Age"] !== null) { $this->Age = $param["Age"]; } if (array_key_exists("Expression",$param) and $param["Expression"] !== null) { $this->Expression = $param["Expression"]; } if (array_key_exists("Glass",$param) and $param["Glass"] !== null) { $this->Glass = $param["Glass"]; } if (array_key_exists("Pitch",$param) and $param["Pitch"] !== null) { $this->Pitch = $param["Pitch"]; } if (array_key_exists("Yaw",$param) and $param["Yaw"] !== null) { $this->Yaw = $param["Yaw"]; } if (array_key_exists("Roll",$param) and $param["Roll"] !== null) { $this->Roll = $param["Roll"]; } if (array_key_exists("Beauty",$param) and $param["Beauty"] !== null) { $this->Beauty = $param["Beauty"]; } if (array_key_exists("Hat",$param) and $param["Hat"] !== null) { $this->Hat = $param["Hat"]; } if (array_key_exists("Mask",$param) and $param["Mask"] !== null) { $this->Mask = $param["Mask"]; } if (array_key_exists("Hair",$param) and $param["Hair"] !== null) { $this->Hair = new FaceHairAttributesInfo(); $this->Hair->deserialize($param["Hair"]); } if (array_key_exists("EyeOpen",$param) and $param["EyeOpen"] !== null) { $this->EyeOpen = $param["EyeOpen"]; } } }