func NewGetAllStorageSSLCertificatesDefault(code int) *GetAllStorageSSLCertificatesDefault {
	if code <= 0 {
		code = 500
	}
	return &GetAllStorageSSLCertificatesDefault{
		_statusCode: code,
	}
}
NewGetAllStorageSSLCertificatesDefault creates GetAllStorageSSLCertificatesDefault with default headers values
package storage
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const GetAllStorageSSLCertificatesOKCode int = 200
type GetAllStorageSSLCertificatesOK struct {
	Payload models.SslCertificates `json:"body,omitempty"`
}
func NewGetAllStorageSSLCertificatesOK() *GetAllStorageSSLCertificatesOK {
	return &GetAllStorageSSLCertificatesOK{}
}
func (o *GetAllStorageSSLCertificatesOK) WithPayload(payload models.SslCertificates) *GetAllStorageSSLCertificatesOK {
	o.Payload = payload
	return o
}
func (o *GetAllStorageSSLCertificatesOK) SetPayload(payload models.SslCertificates) {
	o.Payload = payload
}
func (o *GetAllStorageSSLCertificatesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(200)
	payload := o.Payload
	if payload == nil {
		payload = models.SslCertificates{}
	}
	if err := producer.Produce(rw, payload); err != nil {
		panic(err)  
	}
}
const GetAllStorageSSLCertificatesNotFoundCode int = 404
type GetAllStorageSSLCertificatesNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewGetAllStorageSSLCertificatesNotFound() *GetAllStorageSSLCertificatesNotFound {
	return &GetAllStorageSSLCertificatesNotFound{}
}
func (o *GetAllStorageSSLCertificatesNotFound) WithConfigurationVersion(configurationVersion string) *GetAllStorageSSLCertificatesNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *GetAllStorageSSLCertificatesNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *GetAllStorageSSLCertificatesNotFound) WithPayload(payload *models.Error) *GetAllStorageSSLCertificatesNotFound {
	o.Payload = payload
	return o
}
func (o *GetAllStorageSSLCertificatesNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
func (o *GetAllStorageSSLCertificatesNotFound) 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 GetAllStorageSSLCertificatesDefault struct {
	_statusCode int
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}