func (s *PutScriptService) Id(id string) *PutScriptService {
	s.id = id
	return s
}
Id is the script ID.
package elastic
import (
	"context"
	"fmt"
	"net/url"
	"github.com/olivere/elastic/uritemplates"
)
type PutScriptService struct {
	client        *Client
	pretty        bool
	id            string
	context       string
	timeout       string
	masterTimeout string
	bodyJson      interface{}
	bodyString    string
}
func NewPutScriptService(client *Client) *PutScriptService {
	return &PutScriptService{
		client: client,
	}
}