code: func (s *CatHealthService) buildURL() (string, url.Values, error) {
  	// Build URL
  	path := "/_cat/health"
  
  	// Add query string parameters
  	params := url.Values{
  		"format": []string{"json"}, // always returns as JSON
  	}
  	if s.pretty {
  		params.Set("pretty", "true")
  	}
  	if v := s.local; v != nil {
  		params.Set("local", fmt.Sprint(*v))
  	}
  	if s.masterTimeout != "" {
  		params.Set("master_timeout", s.masterTimeout)
  	}
  	if len(s.sort) > 0 {
  		params.Set("s", strings.Join(s.sort, ","))
  	}
  	if v := s.disableTimestamping; v != nil {
  		params.Set("ts", fmt.Sprint(*v))
  	}
  	if len(s.columns) > 0 {
  		params.Set("h", strings.Join(s.columns, ","))
  	}
  	return path, params, nil
  }
docs: // buildURL builds the URL for the operation.