func (s *IndicesPutWarmerService) Pretty(pretty bool) *IndicesPutWarmerService {
	s.pretty = pretty
	return s
}
Pretty indicates that the JSON response be indented and human readable.
package elastic
import (
	"fmt"
	"net/url"
	"strings"
	"gopkg.in/olivere/elastic.v3/uritemplates"
)
type IndicesPutWarmerService struct {
	client            *Client
	pretty            bool
	typ               []string
	index             []string
	name              string
	masterTimeout     string
	ignoreUnavailable *bool
	allowNoIndices    *bool
	requestCache      *bool
	expandWildcards   string
	bodyJson          map[string]interface{}
	bodyString        string
}
func NewIndicesPutWarmerService(client *Client) *IndicesPutWarmerService {
	return &IndicesPutWarmerService{
		client: client,
		index:  make([]string, 0),
		typ:    make([]string, 0),
	}
}
func (s *IndicesPutWarmerService) Index(indices ...string) *IndicesPutWarmerService {
	s.index = append(s.index, indices...)
	return s
}
func (s *IndicesPutWarmerService) Type(typ ...string) *IndicesPutWarmerService {
	s.typ = append(s.typ, typ...)
	return s
}
func (s *IndicesPutWarmerService) Name(name string) *IndicesPutWarmerService {
	s.name = name
	return s
}
func (s *IndicesPutWarmerService) MasterTimeout(masterTimeout string) *IndicesPutWarmerService {
	s.masterTimeout = masterTimeout
	return s
}
func (s *IndicesPutWarmerService) IgnoreUnavailable(ignoreUnavailable bool) *IndicesPutWarmerService {
	s.ignoreUnavailable = &ignoreUnavailable
	return s
}
func (s *IndicesPutWarmerService) AllowNoIndices(allowNoIndices bool) *IndicesPutWarmerService {
	s.allowNoIndices = &allowNoIndices
	return s
}
func (s *IndicesPutWarmerService) RequestCache(requestCache bool) *IndicesPutWarmerService {
	s.requestCache = &requestCache
	return s
}
func (s *IndicesPutWarmerService) ExpandWildcards(expandWildcards string) *IndicesPutWarmerService {
	s.expandWildcards = expandWildcards
	return s
}