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