original_string: public function get_endpoint() {
  
          $this->parse_template();
          $url = $this->get_service()->get_service_path() . $this->get_template();
          foreach ($this->params as $key => $value) {
              $url = str_replace('{' . $key . '}', $value, $url);
          }
          $toolproxy = $this->get_service()->get_tool_proxy();
          if (!empty($toolproxy)) {
              $url = str_replace('{tool_proxy_id}', $toolproxy->guid, $url);
          }
  
          return $url;
  
      }
code: public function get_endpoint() {
  
          $this->parse_template();
          $url = $this->get_service()->get_service_path() . $this->get_template();
          foreach ($this->params as $key => $value) {
              $url = str_replace('{' . $key . '}', $value, $url);
          }
          $toolproxy = $this->get_service()->get_tool_proxy();
          if (!empty($toolproxy)) {
              $url = str_replace('{tool_proxy_id}', $toolproxy->guid, $url);
          }
  
          return $url;
  
      }
code_tokens: public function get_endpoint ( ) { $ this -> parse_template ( ) ; $ url = $ this -> get_service ( ) -> get_service_path ( ) . $ this -> get_template ( ) ; foreach ( $ this -> params as $ key => $ value ) { $ url = str_replace ( '{' . $ key . '}' , $ value , $ url ) ; } $ toolproxy = $ this -> get_service ( ) -> get_tool_proxy ( ) ; if ( ! empty ( $ toolproxy ) ) { $ url = str_replace ( '{tool_proxy_id}' , $ toolproxy -> guid , $ url ) ; } return $ url ; }
docstring: Get the resource fully qualified endpoint.
  
  @return string
docstring_tokens: Get the resource fully qualified endpoint .