original_string: public function getUrlReportUrl($num = null)
      {
          $this->otherOptions['type'] = 'urls';
  
          if (!empty($num) && is_numeric($num)) {
              $this->otherOptions['num'] = $num;
          }
  
          // Setup data endpoint
          $url = $this->apiUrl . '/data';
  
          // Add token
          $url .= '?token=' . $this->diffbot->getToken();
  
          if ($this->getName()) {
              // Add name
              $url .= '&name=' . $this->getName();
  
              // Add other options
              if (!empty($this->otherOptions)) {
                  foreach ($this->otherOptions as $option => $value) {
                      $url .= '&' . $option . '=' . $value;
                  }
              }
          }
  
          return $url;
  
      }
code: public function getUrlReportUrl($num = null)
      {
          $this->otherOptions['type'] = 'urls';
  
          if (!empty($num) && is_numeric($num)) {
              $this->otherOptions['num'] = $num;
          }
  
          // Setup data endpoint
          $url = $this->apiUrl . '/data';
  
          // Add token
          $url .= '?token=' . $this->diffbot->getToken();
  
          if ($this->getName()) {
              // Add name
              $url .= '&name=' . $this->getName();
  
              // Add other options
              if (!empty($this->otherOptions)) {
                  foreach ($this->otherOptions as $option => $value) {
                      $url .= '&' . $option . '=' . $value;
                  }
              }
          }
  
          return $url;
  
      }
code_tokens: public function getUrlReportUrl ( $ num = null ) { $ this -> otherOptions [ 'type' ] = 'urls' ; if ( ! empty ( $ num ) && is_numeric ( $ num ) ) { $ this -> otherOptions [ 'num' ] = $ num ; } // Setup data endpoint $ url = $ this -> apiUrl . '/data' ; // Add token $ url .= '?token=' . $ this -> diffbot -> getToken ( ) ; if ( $ this -> getName ( ) ) { // Add name $ url .= '&name=' . $ this -> getName ( ) ; // Add other options if ( ! empty ( $ this -> otherOptions ) ) { foreach ( $ this -> otherOptions as $ option => $ value ) { $ url .= '&' . $ option . '=' . $ value ; } } } return $ url ; }
docstring: Sets the request type to "urls" to retrieve the URL Report
  URL for understanding diagnostic data of URLs
  
  @return $this
docstring_tokens: Sets the request type to urls to retrieve the URL Report URL for understanding diagnostic data of URLs