original_string: public function getResourceLink()
      {
  
          if (is_null($this->resourceLink) && !is_null($this->resourceLinkId)) {
              $this->resourceLink = ResourceLink::fromRecordId($this->resourceLinkId, $this->getDataConnector());
          }
  
          return $this->resourceLink;
  
      }
code: public function getResourceLink()
      {
  
          if (is_null($this->resourceLink) && !is_null($this->resourceLinkId)) {
              $this->resourceLink = ResourceLink::fromRecordId($this->resourceLinkId, $this->getDataConnector());
          }
  
          return $this->resourceLink;
  
      }
code_tokens: public function getResourceLink ( ) { if ( is_null ( $ this -> resourceLink ) && ! is_null ( $ this -> resourceLinkId ) ) { $ this -> resourceLink = ResourceLink :: fromRecordId ( $ this -> resourceLinkId , $ this -> getDataConnector ( ) ) ; } return $ this -> resourceLink ; }
docstring: Get resource link.
  
  @return ResourceLink Resource link object
docstring_tokens: Get resource link .