func (s *IndicesCloseService) Headers(headers http.Header) *IndicesCloseService {
	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 IndicesCloseService struct {
	client *Client
	pretty     *bool        
	human      *bool        
	errorTrace *bool        
	filterPath []string     
	headers    http.Header  
	index             string
	timeout           string
	masterTimeout     string
	ignoreUnavailable *bool
	allowNoIndices    *bool
	expandWildcards   string
}
func NewIndicesCloseService(client *Client) *IndicesCloseService {
	return &IndicesCloseService{client: client}
}
func (s *IndicesCloseService) Pretty(pretty bool) *IndicesCloseService {
	s.pretty = &pretty
	return s
}
func (s *IndicesCloseService) Human(human bool) *IndicesCloseService {
	s.human = &human
	return s
}
func (s *IndicesCloseService) ErrorTrace(errorTrace bool) *IndicesCloseService {
	s.errorTrace = &errorTrace
	return s
}
func (s *IndicesCloseService) FilterPath(filterPath ...string) *IndicesCloseService {
	s.filterPath = filterPath
	return s
}
func (s *IndicesCloseService) Header(name string, value string) *IndicesCloseService {
	if s.headers == nil {
		s.headers = http.Header{}
	}
	s.headers.Add(name, value)
	return s
}