func (o *CreateScriptCreated) SetPayload(payload *models.Entity) {
	o.Payload = payload
}
SetPayload sets the payload to the create script created response
package operations
import (
	"net/http"
	"github.com/go-openapi/runtime"
	models "github.com/MontFerret/ferret-server/server/http/api/models"
)
const CreateScriptCreatedCode int = 201
type CreateScriptCreated struct {
	Payload *models.Entity `json:"body,omitempty"`
}
func NewCreateScriptCreated() *CreateScriptCreated {
	return &CreateScriptCreated{}
}
func (o *CreateScriptCreated) WithPayload(payload *models.Entity) *CreateScriptCreated {
	o.Payload = payload
	return o
}