code: func (r *Repository) GetDownloadsURL() string {
  	if r == nil || r.DownloadsURL == nil {
  		return ""
  	}
  	return *r.DownloadsURL
  }
docs: // GetDownloadsURL returns the DownloadsURL field if it's non-nil, zero value otherwise.