func (s *IndicesShrinkService) Headers(headers http.Header) *IndicesShrinkService {
	s.headers = headers
	return s
}
Headers specifies the headers of the request.
package elastic
import (
	"context"
	"encoding/json"
	"fmt"
	"net/http"
	"net/url"
	"strings"
	"github.com/olivere/elastic/v7/uritemplates"
)
type IndicesShrinkService struct {
	client *Client
	pretty     *bool        
	human      *bool        
	errorTrace *bool        
	filterPath []string     
	headers    http.Header  
	source              string
	target              string
	masterTimeout       string
	timeout             string
	waitForActiveShards string
	bodyJson            interface{}
	bodyString          string
}
func NewIndicesShrinkService(client *Client) *IndicesShrinkService {
	return &IndicesShrinkService{
		client: client,
	}
}
func (s *IndicesShrinkService) Pretty(pretty bool) *IndicesShrinkService {
	s.pretty = &pretty
	return s
}
func (s *IndicesShrinkService) Human(human bool) *IndicesShrinkService {
	s.human = &human
	return s
}
func (s *IndicesShrinkService) ErrorTrace(errorTrace bool) *IndicesShrinkService {
	s.errorTrace = &errorTrace
	return s
}
func (s *IndicesShrinkService) FilterPath(filterPath ...string) *IndicesShrinkService {
	s.filterPath = filterPath
	return s
}
func (s *IndicesShrinkService) Header(name string, value string) *IndicesShrinkService {
	if s.headers == nil {
		s.headers = http.Header{}
	}
	s.headers.Add(name, value)
	return s
}