protected function setFieldsFromJsonObj($jsonObj)
 {
     if (isset($jsonObj->nome)) {
         $this->setNome($jsonObj->nome);
     }
     if (isset($jsonObj->moltiplicatore)) {
         $this->setMoltiplicatore($jsonObj->moltiplicatore);
     }
     if (isset($jsonObj->indice)) {
         $this->setIndice($jsonObj->indice);
     }
     if (isset($jsonObj->tipoCausale)) {
         $this->setTipoCausale(TipoCausale::fromJson($jsonObj->tipoCausale, $this->_xapiClient));
     }
 }
 protected function setFieldsFromJsonObj($jsonObj)
 {
     if (isset($jsonObj->nome)) {
         $this->setNome($jsonObj->nome);
     }
     if (isset($jsonObj->attivoPassivo)) {
         $this->setAttivoPassivo($jsonObj->attivoPassivo);
     }
     if (isset($jsonObj->indice)) {
         $this->setIndice($jsonObj->indice);
     }
     if (isset($jsonObj->dareAvere)) {
         $this->setDareAvere($jsonObj->dareAvere);
     }
     if (isset($jsonObj->tipoCausale)) {
         $this->setTipoCausale(TipoCausale::fromJson($jsonObj->tipoCausale, $this->_xapiClient));
     }
 }