func (s *XPackWatcherStartService) buildURL() (string, url.Values, error) {
	path := "/_xpack/watcher/_start"
	params := url.Values{}
	if s.pretty {
		params.Set("pretty", "true")
	}
	return path, params, nil
}
buildURL builds the URL for the operation.
package elastic
import (
	"context"
	"encoding/json"
	"net/url"
)
type XPackWatcherStartService struct {
	client *Client
	pretty bool
}
func NewXPackWatcherStartService(client *Client) *XPackWatcherStartService {
	return &XPackWatcherStartService{
		client: client,
	}
}
func (s *XPackWatcherStartService) Pretty(pretty bool) *XPackWatcherStartService {
	s.pretty = pretty
	return s
}