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