public function generateRawData()
    {
        $rawData = ['id' => $this->getId()];
        if ($this->getCreatedAt()) {
            $rawData['created_at'] = $this->getCreatedAt();
        }
        if ($this->getStatusDescription() || $this->getStatusCode()) {
            $rawData['status'] = $this->getStatus();
        }

        return $rawData;
    }
public function generateRawData()
    {
        $rawData = ['id' => $this->getId()];
        if ($this->getCreatedAt()) {
            $rawData['created_at'] = $this->getCreatedAt();
        }
        if ($this->getStatusDescription() || $this->getStatusCode()) {
            $rawData['status'] = $this->getStatus();
        }

        return $rawData;
    }
public function generateRawData ( ) { $ rawData = [ 'id' => $ this -> getId ( ) ] ; if ( $ this -> getCreatedAt ( ) ) { $ rawData [ 'created_at' ] = $ this -> getCreatedAt ( ) ; } if ( $ this -> getStatusDescription ( ) || $ this -> getStatusCode ( ) ) { $ rawData [ 'status' ] = $ this -> getStatus ( ) ; } return $ rawData ; }
Generates rawData from modelVersion

@return array
Generates rawData from modelVersion