func (o *DeleteTCPRequestRuleDefault) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
SetConfigurationVersion sets the configurationVersion to the delete TCP request rule default response
package tcp_request_rule
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const DeleteTCPRequestRuleAcceptedCode int = 202
type DeleteTCPRequestRuleAccepted struct {
	ReloadID string `json:"Reload-ID"`
}
func NewDeleteTCPRequestRuleAccepted() *DeleteTCPRequestRuleAccepted {
	return &DeleteTCPRequestRuleAccepted{}
}
func (o *DeleteTCPRequestRuleAccepted) WithReloadID(reloadID string) *DeleteTCPRequestRuleAccepted {
	o.ReloadID = reloadID
	return o
}
func (o *DeleteTCPRequestRuleAccepted) SetReloadID(reloadID string) {
	o.ReloadID = reloadID
}
func (o *DeleteTCPRequestRuleAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	reloadID := o.ReloadID
	if reloadID != "" {
		rw.Header().Set("Reload-ID", reloadID)
	}
	rw.Header().Del(runtime.HeaderContentType)  
	rw.WriteHeader(202)
}
const DeleteTCPRequestRuleNoContentCode int = 204
type DeleteTCPRequestRuleNoContent struct {
}
func NewDeleteTCPRequestRuleNoContent() *DeleteTCPRequestRuleNoContent {
	return &DeleteTCPRequestRuleNoContent{}
}
func (o *DeleteTCPRequestRuleNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.Header().Del(runtime.HeaderContentType)  
	rw.WriteHeader(204)
}
const DeleteTCPRequestRuleNotFoundCode int = 404
type DeleteTCPRequestRuleNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeleteTCPRequestRuleNotFound() *DeleteTCPRequestRuleNotFound {
	return &DeleteTCPRequestRuleNotFound{}
}
func (o *DeleteTCPRequestRuleNotFound) WithConfigurationVersion(configurationVersion string) *DeleteTCPRequestRuleNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *DeleteTCPRequestRuleNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *DeleteTCPRequestRuleNotFound) WithPayload(payload *models.Error) *DeleteTCPRequestRuleNotFound {
	o.Payload = payload
	return o
}
func (o *DeleteTCPRequestRuleNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *DeleteTCPRequestRuleNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	configurationVersion := o.ConfigurationVersion
	if configurationVersion != "" {
		rw.Header().Set("Configuration-Version", configurationVersion)
	}
	rw.WriteHeader(404)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
type DeleteTCPRequestRuleDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeleteTCPRequestRuleDefault(code int) *DeleteTCPRequestRuleDefault {
	if code <= 0 {
		code = 500
	}
	return &DeleteTCPRequestRuleDefault{
		_statusCode: code,
	}
}
func (o *DeleteTCPRequestRuleDefault) WithStatusCode(code int) *DeleteTCPRequestRuleDefault {
	o._statusCode = code
	return o
}
func (o *DeleteTCPRequestRuleDefault) SetStatusCode(code int) {
	o._statusCode = code
}
func (o *DeleteTCPRequestRuleDefault) WithConfigurationVersion(configurationVersion string) *DeleteTCPRequestRuleDefault {
	o.ConfigurationVersion = configurationVersion
	return o
}