code: func (r *Repository) GetHasDownloads() bool {
  	if r == nil || r.HasDownloads == nil {
  		return false
  	}
  	return *r.HasDownloads
  }
docs: // GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise.