src/Horizon/Api/HorizonResponse.php
public function getField($fieldName)
    {
        if (!isset($this->rawData[$fieldName])) return null;

        return $this->rawData[$fieldName];
    }
public function getField($fieldName)
    {
        if (!isset($this->rawData[$fieldName])) return null;

        return $this->rawData[$fieldName];
    }
Returns the value of $fieldName or null if $fieldName is not in the response

@param $fieldName
@return mixed|null