public function Master_Get($masterId) {
        $ret = false;

        if (is_int($masterId) === true) {
            try {
                $ret = $this->_call_api('get', "{$this->_url}/masters/$masterId", array());
                $ret = $this->_Type_Safe_Yesmail_Master($ret);
                $ret->id = (int) $masterId; // Add id to object for easy reference
            } catch (\Exception $e) {
                if( $e->getCode() === 404){
                    $ret = false;
                } else {
                    throw $e;
                }
            }
        }

        return $ret;
    }
public function Master_Get($masterId) {
        $ret = false;

        if (is_int($masterId) === true) {
            try {
                $ret = $this->_call_api('get', "{$this->_url}/masters/$masterId", array());
                $ret = $this->_Type_Safe_Yesmail_Master($ret);
                $ret->id = (int) $masterId; // Add id to object for easy reference
            } catch (\Exception $e) {
                if( $e->getCode() === 404){
                    $ret = false;
                } else {
                    throw $e;
                }
            }
        }

        return $ret;
    }
public function Master_Get ( $ masterId ) { $ ret = false ; if ( is_int ( $ masterId ) === true ) { try { $ ret = $ this -> _call_api ( 'get' , "{$this->_url}/masters/$masterId" , array ( ) ) ; $ ret = $ this -> _Type_Safe_Yesmail_Master ( $ ret ) ; $ ret -> id = ( int ) $ masterId ; // Add id to object for easy reference } catch ( \ Exception $ e ) { if ( $ e -> getCode ( ) === 404 ) { $ ret = false ; } else { throw $ e ; } } } return $ ret ; }
Get an existing Master

@param int $masterId The id of the master to retrieve
@return mixed A JSON decoded PHP variable representing the HTTP response.
@access public
Get an existing Master