Length = new AttributeItem(); $this->Length->deserialize($param["Length"]); } if (array_key_exists("Bang",$param) and $param["Bang"] !== null) { $this->Bang = new AttributeItem(); $this->Bang->deserialize($param["Bang"]); } if (array_key_exists("Color",$param) and $param["Color"] !== null) { $this->Color = new AttributeItem(); $this->Color->deserialize($param["Color"]); } } }