Age = $param["Age"]; } if (array_key_exists("Beauty",$param) and $param["Beauty"] !== null) { $this->Beauty = $param["Beauty"]; } if (array_key_exists("Emotion",$param) and $param["Emotion"] !== null) { $this->Emotion = new AttributeItem(); $this->Emotion->deserialize($param["Emotion"]); } if (array_key_exists("Eye",$param) and $param["Eye"] !== null) { $this->Eye = new Eye(); $this->Eye->deserialize($param["Eye"]); } if (array_key_exists("Eyebrow",$param) and $param["Eyebrow"] !== null) { $this->Eyebrow = new Eyebrow(); $this->Eyebrow->deserialize($param["Eyebrow"]); } if (array_key_exists("Gender",$param) and $param["Gender"] !== null) { $this->Gender = new AttributeItem(); $this->Gender->deserialize($param["Gender"]); } if (array_key_exists("Hair",$param) and $param["Hair"] !== null) { $this->Hair = new Hair(); $this->Hair->deserialize($param["Hair"]); } if (array_key_exists("Hat",$param) and $param["Hat"] !== null) { $this->Hat = new Hat(); $this->Hat->deserialize($param["Hat"]); } if (array_key_exists("HeadPose",$param) and $param["HeadPose"] !== null) { $this->HeadPose = new HeadPose(); $this->HeadPose->deserialize($param["HeadPose"]); } if (array_key_exists("Mask",$param) and $param["Mask"] !== null) { $this->Mask = new AttributeItem(); $this->Mask->deserialize($param["Mask"]); } if (array_key_exists("Mouth",$param) and $param["Mouth"] !== null) { $this->Mouth = new Mouth(); $this->Mouth->deserialize($param["Mouth"]); } if (array_key_exists("Moustache",$param) and $param["Moustache"] !== null) { $this->Moustache = new AttributeItem(); $this->Moustache->deserialize($param["Moustache"]); } if (array_key_exists("Nose",$param) and $param["Nose"] !== null) { $this->Nose = new AttributeItem(); $this->Nose->deserialize($param["Nose"]); } if (array_key_exists("Shape",$param) and $param["Shape"] !== null) { $this->Shape = new AttributeItem(); $this->Shape->deserialize($param["Shape"]); } if (array_key_exists("Skin",$param) and $param["Skin"] !== null) { $this->Skin = new AttributeItem(); $this->Skin->deserialize($param["Skin"]); } if (array_key_exists("Smile",$param) and $param["Smile"] !== null) { $this->Smile = $param["Smile"]; } } }