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