func (s *IndicesDeleteService) Headers(headers http.Header) *IndicesDeleteService {
	s.headers = headers
	return s
}
Headers specifies the headers of the request.
package elastic
import (
	"context"
	"fmt"
	"net/http"
	"net/url"
	"strings"
	"github.com/olivere/elastic/v7/uritemplates"
)
type IndicesDeleteService struct {
	client *Client
	pretty     *bool        
	human      *bool        
	errorTrace *bool        
	filterPath []string     
	headers    http.Header  
	index         []string
	timeout       string
	masterTimeout string
}
func NewIndicesDeleteService(client *Client) *IndicesDeleteService {
	return &IndicesDeleteService{
		client: client,
		index:  make([]string, 0),
	}
}
func (s *IndicesDeleteService) Pretty(pretty bool) *IndicesDeleteService {
	s.pretty = &pretty
	return s
}
func (s *IndicesDeleteService) Human(human bool) *IndicesDeleteService {
	s.human = &human
	return s
}
func (s *IndicesDeleteService) ErrorTrace(errorTrace bool) *IndicesDeleteService {
	s.errorTrace = &errorTrace
	return s
}
func (s *IndicesDeleteService) FilterPath(filterPath ...string) *IndicesDeleteService {
	s.filterPath = filterPath
	return s
}
func (s *IndicesDeleteService) Header(name string, value string) *IndicesDeleteService {
	if s.headers == nil {
		s.headers = http.Header{}
	}
	s.headers.Add(name, value)
	return s
}