Type = $param["Type"]; } if (array_key_exists("Probability",$param) and $param["Probability"] !== null) { $this->Probability = $param["Probability"]; } } }