func (o *ReplaceStorageSSLCertificateAccepted) SetReloadID(reloadID string) {
	o.ReloadID = reloadID
}
SetReloadID sets the reloadId to the replace storage s s l certificate accepted response
package storage
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const ReplaceStorageSSLCertificateOKCode int = 200
type ReplaceStorageSSLCertificateOK struct {
	Payload *models.SslCertificate `json:"body,omitempty"`
}
func NewReplaceStorageSSLCertificateOK() *ReplaceStorageSSLCertificateOK {
	return &ReplaceStorageSSLCertificateOK{}
}
func (o *ReplaceStorageSSLCertificateOK) WithPayload(payload *models.SslCertificate) *ReplaceStorageSSLCertificateOK {
	o.Payload = payload
	return o
}
func (o *ReplaceStorageSSLCertificateOK) SetPayload(payload *models.SslCertificate) {
	o.Payload = payload
}
func (o *ReplaceStorageSSLCertificateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(200)
	if o.Payload != nil {
		payload := o.Payload
		if err := producer.Produce(rw, payload); err != nil {
			panic(err)  
		}
	}
}
const ReplaceStorageSSLCertificateAcceptedCode int = 202
type ReplaceStorageSSLCertificateAccepted struct {
	ReloadID string `json:"Reload-ID"`
	Payload *models.SslCertificate `json:"body,omitempty"`
}
func NewReplaceStorageSSLCertificateAccepted() *ReplaceStorageSSLCertificateAccepted {
	return &ReplaceStorageSSLCertificateAccepted{}
}
func (o *ReplaceStorageSSLCertificateAccepted) WithReloadID(reloadID string) *ReplaceStorageSSLCertificateAccepted {
	o.ReloadID = reloadID
	return o
}