func (s *IndicesPutWarmerService) Name(name string) *IndicesPutWarmerService {
	s.name = name
	return s
}
Name specifies the name of the warmer (supports wildcards);
leave empty to get all warmers
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
}