func (o *CreateHTTPResponseRuleCreated) SetPayload(payload *models.HTTPResponseRule) {
	o.Payload = payload
}
SetPayload sets the payload to the create Http response rule created response
package http_response_rule
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const CreateHTTPResponseRuleCreatedCode int = 201
type CreateHTTPResponseRuleCreated struct {
	Payload *models.HTTPResponseRule `json:"body,omitempty"`
}
func NewCreateHTTPResponseRuleCreated() *CreateHTTPResponseRuleCreated {
	return &CreateHTTPResponseRuleCreated{}
}
func (o *CreateHTTPResponseRuleCreated) WithPayload(payload *models.HTTPResponseRule) *CreateHTTPResponseRuleCreated {
	o.Payload = payload
	return o
}