Glass = new AttributeItem(); $this->Glass->deserialize($param["Glass"]); } if (array_key_exists("EyeOpen",$param) and $param["EyeOpen"] !== null) { $this->EyeOpen = new AttributeItem(); $this->EyeOpen->deserialize($param["EyeOpen"]); } if (array_key_exists("EyelidType",$param) and $param["EyelidType"] !== null) { $this->EyelidType = new AttributeItem(); $this->EyelidType->deserialize($param["EyelidType"]); } if (array_key_exists("EyeSize",$param) and $param["EyeSize"] !== null) { $this->EyeSize = new AttributeItem(); $this->EyeSize->deserialize($param["EyeSize"]); } } }