// Pretty-formats a list of delegation paths, and ensures the empty string is printed as "" in the console
542287
func prettyPaths(paths []string) []string {
	// sort paths first
	sort.Strings(paths)
	pp := make([]string, 0, len(paths))
	for _, path := range paths {
		// manually escape "" and designate that it is all paths with an extra print <all paths>
		if path == "" {
			path = "\"\" <all paths>"
		}
		pp = append(pp, path)
	}
	return pp
}
1225387
func (s *IngestGetPipelineService) Pretty(pretty bool) *IngestGetPipelineService {
	s.pretty = pretty
	return s
}
313660
func (s *BulkService) Pretty(pretty bool) *BulkService {
	s.pretty = pretty
	return s
}
589366
func (s *IndicesExistsTypeService) Pretty(pretty bool) *IndicesExistsTypeService {
	s.pretty = pretty
	return s
}
250490
func (s *SnapshotDeleteRepositoryService) Pretty(pretty bool) *SnapshotDeleteRepositoryService {
	s.pretty = pretty
	return s
}
847459
func Pretty(w io.Writer, x interface{}) {

	pp := &prettyPrinter{
		depth: -1,
		w:     w,
	}
	Walk(pp, x)
}
202977
func (s *UpdateByQueryService) Pretty(pretty bool) *UpdateByQueryService {
	s.pretty = pretty
	return s
}
1330452
func (s *XPackWatcherExecuteWatchService) Pretty(pretty bool) *XPackWatcherExecuteWatchService {
	s.pretty = pretty
	return s
}
175248
func (s *CatHealthService) Pretty(pretty bool) *CatHealthService {
	s.pretty = pretty
	return s
}
253010
func (s *ClearScrollService) Pretty(pretty bool) *ClearScrollService {
	s.pretty = pretty
	return s
}
853247
func (s *ClusterStateService) Pretty(pretty bool) *ClusterStateService {
	s.pretty = pretty
	return s
}
1024010
func (s *IndicesGetTemplateService) Pretty(pretty bool) *IndicesGetTemplateService {
	s.pretty = pretty
	return s
}
1350466
func (s *DeleteService) Pretty(pretty bool) *DeleteService {
	s.pretty = pretty
	return s
}
331488
func (s *IndicesCloseService) Pretty(pretty bool) *IndicesCloseService {
	s.pretty = pretty
	return s
}
950283
func (s *CatCountService) Pretty(pretty bool) *CatCountService {
	s.pretty = pretty
	return s
}
581888
func (s *ClusterHealthService) Pretty(pretty bool) *ClusterHealthService {
	s.pretty = pretty
	return s
}
6622
func (s *IndicesOpenService) Pretty(pretty bool) *IndicesOpenService {
	s.pretty = pretty
	return s
}