Documentation ¶
Index ¶
- Constants
- type BackupsCreate
- type BackupsCreateForbidden
- type BackupsCreateHandler
- type BackupsCreateHandlerFunc
- type BackupsCreateInternalServerError
- func (o *BackupsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *BackupsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *BackupsCreateInternalServerError
- func (o *BackupsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BackupsCreateOK
- type BackupsCreateParams
- type BackupsCreateStatus
- type BackupsCreateStatusForbidden
- type BackupsCreateStatusHandler
- type BackupsCreateStatusHandlerFunc
- type BackupsCreateStatusInternalServerError
- func (o *BackupsCreateStatusInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *BackupsCreateStatusInternalServerError) WithPayload(payload *models.ErrorResponse) *BackupsCreateStatusInternalServerError
- func (o *BackupsCreateStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BackupsCreateStatusNotFound
- type BackupsCreateStatusOK
- type BackupsCreateStatusParams
- type BackupsCreateStatusURL
- func (o *BackupsCreateStatusURL) Build() (*url.URL, error)
- func (o *BackupsCreateStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BackupsCreateStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *BackupsCreateStatusURL) SetBasePath(bp string)
- func (o *BackupsCreateStatusURL) String() string
- func (o *BackupsCreateStatusURL) StringFull(scheme, host string) string
- func (o *BackupsCreateStatusURL) WithBasePath(bp string) *BackupsCreateStatusURL
- type BackupsCreateStatusUnauthorized
- type BackupsCreateStatusUnprocessableEntity
- func (o *BackupsCreateStatusUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *BackupsCreateStatusUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BackupsCreateStatusUnprocessableEntity
- func (o *BackupsCreateStatusUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BackupsCreateURL
- func (o *BackupsCreateURL) Build() (*url.URL, error)
- func (o *BackupsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BackupsCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *BackupsCreateURL) SetBasePath(bp string)
- func (o *BackupsCreateURL) String() string
- func (o *BackupsCreateURL) StringFull(scheme, host string) string
- func (o *BackupsCreateURL) WithBasePath(bp string) *BackupsCreateURL
- type BackupsCreateUnauthorized
- type BackupsCreateUnprocessableEntity
- func (o *BackupsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *BackupsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BackupsCreateUnprocessableEntity
- func (o *BackupsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BackupsRestore
- type BackupsRestoreForbidden
- type BackupsRestoreHandler
- type BackupsRestoreHandlerFunc
- type BackupsRestoreInternalServerError
- func (o *BackupsRestoreInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *BackupsRestoreInternalServerError) WithPayload(payload *models.ErrorResponse) *BackupsRestoreInternalServerError
- func (o *BackupsRestoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BackupsRestoreNotFound
- type BackupsRestoreOK
- type BackupsRestoreParams
- type BackupsRestoreStatus
- type BackupsRestoreStatusForbidden
- func (o *BackupsRestoreStatusForbidden) SetPayload(payload *models.ErrorResponse)
- func (o *BackupsRestoreStatusForbidden) WithPayload(payload *models.ErrorResponse) *BackupsRestoreStatusForbidden
- func (o *BackupsRestoreStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BackupsRestoreStatusHandler
- type BackupsRestoreStatusHandlerFunc
- type BackupsRestoreStatusInternalServerError
- func (o *BackupsRestoreStatusInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *BackupsRestoreStatusInternalServerError) WithPayload(payload *models.ErrorResponse) *BackupsRestoreStatusInternalServerError
- func (o *BackupsRestoreStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BackupsRestoreStatusNotFound
- type BackupsRestoreStatusOK
- func (o *BackupsRestoreStatusOK) SetPayload(payload *models.BackupRestoreStatusResponse)
- func (o *BackupsRestoreStatusOK) WithPayload(payload *models.BackupRestoreStatusResponse) *BackupsRestoreStatusOK
- func (o *BackupsRestoreStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BackupsRestoreStatusParams
- type BackupsRestoreStatusURL
- func (o *BackupsRestoreStatusURL) Build() (*url.URL, error)
- func (o *BackupsRestoreStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BackupsRestoreStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *BackupsRestoreStatusURL) SetBasePath(bp string)
- func (o *BackupsRestoreStatusURL) String() string
- func (o *BackupsRestoreStatusURL) StringFull(scheme, host string) string
- func (o *BackupsRestoreStatusURL) WithBasePath(bp string) *BackupsRestoreStatusURL
- type BackupsRestoreStatusUnauthorized
- type BackupsRestoreURL
- func (o *BackupsRestoreURL) Build() (*url.URL, error)
- func (o *BackupsRestoreURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BackupsRestoreURL) Must(u *url.URL, err error) *url.URL
- func (o *BackupsRestoreURL) SetBasePath(bp string)
- func (o *BackupsRestoreURL) String() string
- func (o *BackupsRestoreURL) StringFull(scheme, host string) string
- func (o *BackupsRestoreURL) WithBasePath(bp string) *BackupsRestoreURL
- type BackupsRestoreUnauthorized
- type BackupsRestoreUnprocessableEntity
- func (o *BackupsRestoreUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *BackupsRestoreUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BackupsRestoreUnprocessableEntity
- func (o *BackupsRestoreUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const BackupsCreateForbiddenCode int = 403
BackupsCreateForbiddenCode is the HTTP code returned for type BackupsCreateForbidden
const BackupsCreateInternalServerErrorCode int = 500
BackupsCreateInternalServerErrorCode is the HTTP code returned for type BackupsCreateInternalServerError
const BackupsCreateOKCode int = 200
BackupsCreateOKCode is the HTTP code returned for type BackupsCreateOK
const BackupsCreateStatusForbiddenCode int = 403
BackupsCreateStatusForbiddenCode is the HTTP code returned for type BackupsCreateStatusForbidden
const BackupsCreateStatusInternalServerErrorCode int = 500
BackupsCreateStatusInternalServerErrorCode is the HTTP code returned for type BackupsCreateStatusInternalServerError
const BackupsCreateStatusNotFoundCode int = 404
BackupsCreateStatusNotFoundCode is the HTTP code returned for type BackupsCreateStatusNotFound
const BackupsCreateStatusOKCode int = 200
BackupsCreateStatusOKCode is the HTTP code returned for type BackupsCreateStatusOK
BackupsCreateStatusUnauthorizedCode is the HTTP code returned for type BackupsCreateStatusUnauthorized
const BackupsCreateStatusUnprocessableEntityCode int = 422
BackupsCreateStatusUnprocessableEntityCode is the HTTP code returned for type BackupsCreateStatusUnprocessableEntity
BackupsCreateUnauthorizedCode is the HTTP code returned for type BackupsCreateUnauthorized
const BackupsCreateUnprocessableEntityCode int = 422
BackupsCreateUnprocessableEntityCode is the HTTP code returned for type BackupsCreateUnprocessableEntity
const BackupsRestoreForbiddenCode int = 403
BackupsRestoreForbiddenCode is the HTTP code returned for type BackupsRestoreForbidden
const BackupsRestoreInternalServerErrorCode int = 500
BackupsRestoreInternalServerErrorCode is the HTTP code returned for type BackupsRestoreInternalServerError
const BackupsRestoreNotFoundCode int = 404
BackupsRestoreNotFoundCode is the HTTP code returned for type BackupsRestoreNotFound
const BackupsRestoreOKCode int = 200
BackupsRestoreOKCode is the HTTP code returned for type BackupsRestoreOK
const BackupsRestoreStatusForbiddenCode int = 403
BackupsRestoreStatusForbiddenCode is the HTTP code returned for type BackupsRestoreStatusForbidden
const BackupsRestoreStatusInternalServerErrorCode int = 500
BackupsRestoreStatusInternalServerErrorCode is the HTTP code returned for type BackupsRestoreStatusInternalServerError
const BackupsRestoreStatusNotFoundCode int = 404
BackupsRestoreStatusNotFoundCode is the HTTP code returned for type BackupsRestoreStatusNotFound
const BackupsRestoreStatusOKCode int = 200
BackupsRestoreStatusOKCode is the HTTP code returned for type BackupsRestoreStatusOK
BackupsRestoreStatusUnauthorizedCode is the HTTP code returned for type BackupsRestoreStatusUnauthorized
BackupsRestoreUnauthorizedCode is the HTTP code returned for type BackupsRestoreUnauthorized
const BackupsRestoreUnprocessableEntityCode int = 422
BackupsRestoreUnprocessableEntityCode is the HTTP code returned for type BackupsRestoreUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupsCreate ¶
type BackupsCreate struct { Context *middleware.Context Handler BackupsCreateHandler }
BackupsCreate swagger:route POST /backups/{backend} backups backupsCreate
Starts a process of creating a backup for a set of classes
func NewBackupsCreate ¶
func NewBackupsCreate(ctx *middleware.Context, handler BackupsCreateHandler) *BackupsCreate
NewBackupsCreate creates a new http.Handler for the backups create operation
func (*BackupsCreate) ServeHTTP ¶
func (o *BackupsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type BackupsCreateForbidden ¶
type BackupsCreateForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsCreateForbidden Forbidden
swagger:response backupsCreateForbidden
func NewBackupsCreateForbidden ¶
func NewBackupsCreateForbidden() *BackupsCreateForbidden
NewBackupsCreateForbidden creates BackupsCreateForbidden with default headers values
func (*BackupsCreateForbidden) SetPayload ¶
func (o *BackupsCreateForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups create forbidden response
func (*BackupsCreateForbidden) WithPayload ¶
func (o *BackupsCreateForbidden) WithPayload(payload *models.ErrorResponse) *BackupsCreateForbidden
WithPayload adds the payload to the backups create forbidden response
func (*BackupsCreateForbidden) WriteResponse ¶
func (o *BackupsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateHandler ¶
type BackupsCreateHandler interface {
Handle(BackupsCreateParams, *models.Principal) middleware.Responder
}
BackupsCreateHandler interface for that can handle valid backups create params
type BackupsCreateHandlerFunc ¶
type BackupsCreateHandlerFunc func(BackupsCreateParams, *models.Principal) middleware.Responder
BackupsCreateHandlerFunc turns a function with the right signature into a backups create handler
func (BackupsCreateHandlerFunc) Handle ¶
func (fn BackupsCreateHandlerFunc) Handle(params BackupsCreateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BackupsCreateInternalServerError ¶
type BackupsCreateInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsCreateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response backupsCreateInternalServerError
func NewBackupsCreateInternalServerError ¶
func NewBackupsCreateInternalServerError() *BackupsCreateInternalServerError
NewBackupsCreateInternalServerError creates BackupsCreateInternalServerError with default headers values
func (*BackupsCreateInternalServerError) SetPayload ¶
func (o *BackupsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups create internal server error response
func (*BackupsCreateInternalServerError) WithPayload ¶
func (o *BackupsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *BackupsCreateInternalServerError
WithPayload adds the payload to the backups create internal server error response
func (*BackupsCreateInternalServerError) WriteResponse ¶
func (o *BackupsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateOK ¶
type BackupsCreateOK struct { /* In: Body */ Payload *models.BackupCreateResponse `json:"body,omitempty"` }
BackupsCreateOK Backup create process successfully started.
swagger:response backupsCreateOK
func NewBackupsCreateOK ¶
func NewBackupsCreateOK() *BackupsCreateOK
NewBackupsCreateOK creates BackupsCreateOK with default headers values
func (*BackupsCreateOK) SetPayload ¶
func (o *BackupsCreateOK) SetPayload(payload *models.BackupCreateResponse)
SetPayload sets the payload to the backups create o k response
func (*BackupsCreateOK) WithPayload ¶
func (o *BackupsCreateOK) WithPayload(payload *models.BackupCreateResponse) *BackupsCreateOK
WithPayload adds the payload to the backups create o k response
func (*BackupsCreateOK) WriteResponse ¶
func (o *BackupsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateParams ¶
type BackupsCreateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Backup backend name e.g. filesystem, gcs, s3. Required: true In: path */ Backend string /* Required: true In: body */ Body *models.BackupCreateRequest }
BackupsCreateParams contains all the bound params for the backups create operation typically these are obtained from a http.Request
swagger:parameters backups.create
func NewBackupsCreateParams ¶
func NewBackupsCreateParams() BackupsCreateParams
NewBackupsCreateParams creates a new BackupsCreateParams object
There are no default values defined in the spec.
func (*BackupsCreateParams) BindRequest ¶
func (o *BackupsCreateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewBackupsCreateParams() beforehand.
type BackupsCreateStatus ¶
type BackupsCreateStatus struct { Context *middleware.Context Handler BackupsCreateStatusHandler }
BackupsCreateStatus swagger:route GET /backups/{backend}/{id} backups backupsCreateStatus
Returns status of backup creation attempt for a set of classes
func NewBackupsCreateStatus ¶
func NewBackupsCreateStatus(ctx *middleware.Context, handler BackupsCreateStatusHandler) *BackupsCreateStatus
NewBackupsCreateStatus creates a new http.Handler for the backups create status operation
func (*BackupsCreateStatus) ServeHTTP ¶
func (o *BackupsCreateStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type BackupsCreateStatusForbidden ¶
type BackupsCreateStatusForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsCreateStatusForbidden Forbidden
swagger:response backupsCreateStatusForbidden
func NewBackupsCreateStatusForbidden ¶
func NewBackupsCreateStatusForbidden() *BackupsCreateStatusForbidden
NewBackupsCreateStatusForbidden creates BackupsCreateStatusForbidden with default headers values
func (*BackupsCreateStatusForbidden) SetPayload ¶
func (o *BackupsCreateStatusForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups create status forbidden response
func (*BackupsCreateStatusForbidden) WithPayload ¶
func (o *BackupsCreateStatusForbidden) WithPayload(payload *models.ErrorResponse) *BackupsCreateStatusForbidden
WithPayload adds the payload to the backups create status forbidden response
func (*BackupsCreateStatusForbidden) WriteResponse ¶
func (o *BackupsCreateStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateStatusHandler ¶
type BackupsCreateStatusHandler interface {
Handle(BackupsCreateStatusParams, *models.Principal) middleware.Responder
}
BackupsCreateStatusHandler interface for that can handle valid backups create status params
type BackupsCreateStatusHandlerFunc ¶
type BackupsCreateStatusHandlerFunc func(BackupsCreateStatusParams, *models.Principal) middleware.Responder
BackupsCreateStatusHandlerFunc turns a function with the right signature into a backups create status handler
func (BackupsCreateStatusHandlerFunc) Handle ¶
func (fn BackupsCreateStatusHandlerFunc) Handle(params BackupsCreateStatusParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BackupsCreateStatusInternalServerError ¶
type BackupsCreateStatusInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsCreateStatusInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response backupsCreateStatusInternalServerError
func NewBackupsCreateStatusInternalServerError ¶
func NewBackupsCreateStatusInternalServerError() *BackupsCreateStatusInternalServerError
NewBackupsCreateStatusInternalServerError creates BackupsCreateStatusInternalServerError with default headers values
func (*BackupsCreateStatusInternalServerError) SetPayload ¶
func (o *BackupsCreateStatusInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups create status internal server error response
func (*BackupsCreateStatusInternalServerError) WithPayload ¶
func (o *BackupsCreateStatusInternalServerError) WithPayload(payload *models.ErrorResponse) *BackupsCreateStatusInternalServerError
WithPayload adds the payload to the backups create status internal server error response
func (*BackupsCreateStatusInternalServerError) WriteResponse ¶
func (o *BackupsCreateStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateStatusNotFound ¶
type BackupsCreateStatusNotFound struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsCreateStatusNotFound Not Found - Backup does not exist
swagger:response backupsCreateStatusNotFound
func NewBackupsCreateStatusNotFound ¶
func NewBackupsCreateStatusNotFound() *BackupsCreateStatusNotFound
NewBackupsCreateStatusNotFound creates BackupsCreateStatusNotFound with default headers values
func (*BackupsCreateStatusNotFound) SetPayload ¶
func (o *BackupsCreateStatusNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups create status not found response
func (*BackupsCreateStatusNotFound) WithPayload ¶
func (o *BackupsCreateStatusNotFound) WithPayload(payload *models.ErrorResponse) *BackupsCreateStatusNotFound
WithPayload adds the payload to the backups create status not found response
func (*BackupsCreateStatusNotFound) WriteResponse ¶
func (o *BackupsCreateStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateStatusOK ¶
type BackupsCreateStatusOK struct { /* In: Body */ Payload *models.BackupCreateStatusResponse `json:"body,omitempty"` }
BackupsCreateStatusOK Backup creation status successfully returned
swagger:response backupsCreateStatusOK
func NewBackupsCreateStatusOK ¶
func NewBackupsCreateStatusOK() *BackupsCreateStatusOK
NewBackupsCreateStatusOK creates BackupsCreateStatusOK with default headers values
func (*BackupsCreateStatusOK) SetPayload ¶
func (o *BackupsCreateStatusOK) SetPayload(payload *models.BackupCreateStatusResponse)
SetPayload sets the payload to the backups create status o k response
func (*BackupsCreateStatusOK) WithPayload ¶
func (o *BackupsCreateStatusOK) WithPayload(payload *models.BackupCreateStatusResponse) *BackupsCreateStatusOK
WithPayload adds the payload to the backups create status o k response
func (*BackupsCreateStatusOK) WriteResponse ¶
func (o *BackupsCreateStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateStatusParams ¶
type BackupsCreateStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Backup backend name e.g. filesystem, gcs, s3. Required: true In: path */ Backend string /*The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. Required: true In: path */ ID string }
BackupsCreateStatusParams contains all the bound params for the backups create status operation typically these are obtained from a http.Request
swagger:parameters backups.create.status
func NewBackupsCreateStatusParams ¶
func NewBackupsCreateStatusParams() BackupsCreateStatusParams
NewBackupsCreateStatusParams creates a new BackupsCreateStatusParams object
There are no default values defined in the spec.
func (*BackupsCreateStatusParams) BindRequest ¶
func (o *BackupsCreateStatusParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewBackupsCreateStatusParams() beforehand.
type BackupsCreateStatusURL ¶
type BackupsCreateStatusURL struct { Backend string ID string // contains filtered or unexported fields }
BackupsCreateStatusURL generates an URL for the backups create status operation
func (*BackupsCreateStatusURL) Build ¶
func (o *BackupsCreateStatusURL) Build() (*url.URL, error)
Build a url path and query string
func (*BackupsCreateStatusURL) BuildFull ¶
func (o *BackupsCreateStatusURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*BackupsCreateStatusURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*BackupsCreateStatusURL) SetBasePath ¶
func (o *BackupsCreateStatusURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*BackupsCreateStatusURL) String ¶
func (o *BackupsCreateStatusURL) String() string
String returns the string representation of the path with query string
func (*BackupsCreateStatusURL) StringFull ¶
func (o *BackupsCreateStatusURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*BackupsCreateStatusURL) WithBasePath ¶
func (o *BackupsCreateStatusURL) WithBasePath(bp string) *BackupsCreateStatusURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type BackupsCreateStatusUnauthorized ¶
type BackupsCreateStatusUnauthorized struct { }
BackupsCreateStatusUnauthorized Unauthorized or invalid credentials.
swagger:response backupsCreateStatusUnauthorized
func NewBackupsCreateStatusUnauthorized ¶
func NewBackupsCreateStatusUnauthorized() *BackupsCreateStatusUnauthorized
NewBackupsCreateStatusUnauthorized creates BackupsCreateStatusUnauthorized with default headers values
func (*BackupsCreateStatusUnauthorized) WriteResponse ¶
func (o *BackupsCreateStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateStatusUnprocessableEntity ¶
type BackupsCreateStatusUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsCreateStatusUnprocessableEntity Invalid backup restoration status attempt.
swagger:response backupsCreateStatusUnprocessableEntity
func NewBackupsCreateStatusUnprocessableEntity ¶
func NewBackupsCreateStatusUnprocessableEntity() *BackupsCreateStatusUnprocessableEntity
NewBackupsCreateStatusUnprocessableEntity creates BackupsCreateStatusUnprocessableEntity with default headers values
func (*BackupsCreateStatusUnprocessableEntity) SetPayload ¶
func (o *BackupsCreateStatusUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups create status unprocessable entity response
func (*BackupsCreateStatusUnprocessableEntity) WithPayload ¶
func (o *BackupsCreateStatusUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BackupsCreateStatusUnprocessableEntity
WithPayload adds the payload to the backups create status unprocessable entity response
func (*BackupsCreateStatusUnprocessableEntity) WriteResponse ¶
func (o *BackupsCreateStatusUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateURL ¶
type BackupsCreateURL struct { Backend string // contains filtered or unexported fields }
BackupsCreateURL generates an URL for the backups create operation
func (*BackupsCreateURL) Build ¶
func (o *BackupsCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*BackupsCreateURL) BuildFull ¶
func (o *BackupsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*BackupsCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*BackupsCreateURL) SetBasePath ¶
func (o *BackupsCreateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*BackupsCreateURL) String ¶
func (o *BackupsCreateURL) String() string
String returns the string representation of the path with query string
func (*BackupsCreateURL) StringFull ¶
func (o *BackupsCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*BackupsCreateURL) WithBasePath ¶
func (o *BackupsCreateURL) WithBasePath(bp string) *BackupsCreateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type BackupsCreateUnauthorized ¶
type BackupsCreateUnauthorized struct { }
BackupsCreateUnauthorized Unauthorized or invalid credentials.
swagger:response backupsCreateUnauthorized
func NewBackupsCreateUnauthorized ¶
func NewBackupsCreateUnauthorized() *BackupsCreateUnauthorized
NewBackupsCreateUnauthorized creates BackupsCreateUnauthorized with default headers values
func (*BackupsCreateUnauthorized) WriteResponse ¶
func (o *BackupsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsCreateUnprocessableEntity ¶
type BackupsCreateUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsCreateUnprocessableEntity Invalid backup creation attempt.
swagger:response backupsCreateUnprocessableEntity
func NewBackupsCreateUnprocessableEntity ¶
func NewBackupsCreateUnprocessableEntity() *BackupsCreateUnprocessableEntity
NewBackupsCreateUnprocessableEntity creates BackupsCreateUnprocessableEntity with default headers values
func (*BackupsCreateUnprocessableEntity) SetPayload ¶
func (o *BackupsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups create unprocessable entity response
func (*BackupsCreateUnprocessableEntity) WithPayload ¶
func (o *BackupsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BackupsCreateUnprocessableEntity
WithPayload adds the payload to the backups create unprocessable entity response
func (*BackupsCreateUnprocessableEntity) WriteResponse ¶
func (o *BackupsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestore ¶
type BackupsRestore struct { Context *middleware.Context Handler BackupsRestoreHandler }
BackupsRestore swagger:route POST /backups/{backend}/{id}/restore backups backupsRestore
Starts a process of restoring a backup for a set of classes
func NewBackupsRestore ¶
func NewBackupsRestore(ctx *middleware.Context, handler BackupsRestoreHandler) *BackupsRestore
NewBackupsRestore creates a new http.Handler for the backups restore operation
func (*BackupsRestore) ServeHTTP ¶
func (o *BackupsRestore) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type BackupsRestoreForbidden ¶
type BackupsRestoreForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsRestoreForbidden Forbidden
swagger:response backupsRestoreForbidden
func NewBackupsRestoreForbidden ¶
func NewBackupsRestoreForbidden() *BackupsRestoreForbidden
NewBackupsRestoreForbidden creates BackupsRestoreForbidden with default headers values
func (*BackupsRestoreForbidden) SetPayload ¶
func (o *BackupsRestoreForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups restore forbidden response
func (*BackupsRestoreForbidden) WithPayload ¶
func (o *BackupsRestoreForbidden) WithPayload(payload *models.ErrorResponse) *BackupsRestoreForbidden
WithPayload adds the payload to the backups restore forbidden response
func (*BackupsRestoreForbidden) WriteResponse ¶
func (o *BackupsRestoreForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreHandler ¶
type BackupsRestoreHandler interface {
Handle(BackupsRestoreParams, *models.Principal) middleware.Responder
}
BackupsRestoreHandler interface for that can handle valid backups restore params
type BackupsRestoreHandlerFunc ¶
type BackupsRestoreHandlerFunc func(BackupsRestoreParams, *models.Principal) middleware.Responder
BackupsRestoreHandlerFunc turns a function with the right signature into a backups restore handler
func (BackupsRestoreHandlerFunc) Handle ¶
func (fn BackupsRestoreHandlerFunc) Handle(params BackupsRestoreParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BackupsRestoreInternalServerError ¶
type BackupsRestoreInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsRestoreInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response backupsRestoreInternalServerError
func NewBackupsRestoreInternalServerError ¶
func NewBackupsRestoreInternalServerError() *BackupsRestoreInternalServerError
NewBackupsRestoreInternalServerError creates BackupsRestoreInternalServerError with default headers values
func (*BackupsRestoreInternalServerError) SetPayload ¶
func (o *BackupsRestoreInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups restore internal server error response
func (*BackupsRestoreInternalServerError) WithPayload ¶
func (o *BackupsRestoreInternalServerError) WithPayload(payload *models.ErrorResponse) *BackupsRestoreInternalServerError
WithPayload adds the payload to the backups restore internal server error response
func (*BackupsRestoreInternalServerError) WriteResponse ¶
func (o *BackupsRestoreInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreNotFound ¶
type BackupsRestoreNotFound struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsRestoreNotFound Not Found - Backup does not exist
swagger:response backupsRestoreNotFound
func NewBackupsRestoreNotFound ¶
func NewBackupsRestoreNotFound() *BackupsRestoreNotFound
NewBackupsRestoreNotFound creates BackupsRestoreNotFound with default headers values
func (*BackupsRestoreNotFound) SetPayload ¶
func (o *BackupsRestoreNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups restore not found response
func (*BackupsRestoreNotFound) WithPayload ¶
func (o *BackupsRestoreNotFound) WithPayload(payload *models.ErrorResponse) *BackupsRestoreNotFound
WithPayload adds the payload to the backups restore not found response
func (*BackupsRestoreNotFound) WriteResponse ¶
func (o *BackupsRestoreNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreOK ¶
type BackupsRestoreOK struct { /* In: Body */ Payload *models.BackupRestoreResponse `json:"body,omitempty"` }
BackupsRestoreOK Backup restoration process successfully started.
swagger:response backupsRestoreOK
func NewBackupsRestoreOK ¶
func NewBackupsRestoreOK() *BackupsRestoreOK
NewBackupsRestoreOK creates BackupsRestoreOK with default headers values
func (*BackupsRestoreOK) SetPayload ¶
func (o *BackupsRestoreOK) SetPayload(payload *models.BackupRestoreResponse)
SetPayload sets the payload to the backups restore o k response
func (*BackupsRestoreOK) WithPayload ¶
func (o *BackupsRestoreOK) WithPayload(payload *models.BackupRestoreResponse) *BackupsRestoreOK
WithPayload adds the payload to the backups restore o k response
func (*BackupsRestoreOK) WriteResponse ¶
func (o *BackupsRestoreOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreParams ¶
type BackupsRestoreParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Backup backend name e.g. filesystem, gcs, s3. Required: true In: path */ Backend string /* Required: true In: body */ Body *models.BackupRestoreRequest /*The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. Required: true In: path */ ID string }
BackupsRestoreParams contains all the bound params for the backups restore operation typically these are obtained from a http.Request
swagger:parameters backups.restore
func NewBackupsRestoreParams ¶
func NewBackupsRestoreParams() BackupsRestoreParams
NewBackupsRestoreParams creates a new BackupsRestoreParams object
There are no default values defined in the spec.
func (*BackupsRestoreParams) BindRequest ¶
func (o *BackupsRestoreParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewBackupsRestoreParams() beforehand.
type BackupsRestoreStatus ¶
type BackupsRestoreStatus struct { Context *middleware.Context Handler BackupsRestoreStatusHandler }
BackupsRestoreStatus swagger:route GET /backups/{backend}/{id}/restore backups backupsRestoreStatus
Returns status of a backup restoration attempt for a set of classes
func NewBackupsRestoreStatus ¶
func NewBackupsRestoreStatus(ctx *middleware.Context, handler BackupsRestoreStatusHandler) *BackupsRestoreStatus
NewBackupsRestoreStatus creates a new http.Handler for the backups restore status operation
func (*BackupsRestoreStatus) ServeHTTP ¶
func (o *BackupsRestoreStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type BackupsRestoreStatusForbidden ¶
type BackupsRestoreStatusForbidden struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsRestoreStatusForbidden Forbidden
swagger:response backupsRestoreStatusForbidden
func NewBackupsRestoreStatusForbidden ¶
func NewBackupsRestoreStatusForbidden() *BackupsRestoreStatusForbidden
NewBackupsRestoreStatusForbidden creates BackupsRestoreStatusForbidden with default headers values
func (*BackupsRestoreStatusForbidden) SetPayload ¶
func (o *BackupsRestoreStatusForbidden) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups restore status forbidden response
func (*BackupsRestoreStatusForbidden) WithPayload ¶
func (o *BackupsRestoreStatusForbidden) WithPayload(payload *models.ErrorResponse) *BackupsRestoreStatusForbidden
WithPayload adds the payload to the backups restore status forbidden response
func (*BackupsRestoreStatusForbidden) WriteResponse ¶
func (o *BackupsRestoreStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreStatusHandler ¶
type BackupsRestoreStatusHandler interface {
Handle(BackupsRestoreStatusParams, *models.Principal) middleware.Responder
}
BackupsRestoreStatusHandler interface for that can handle valid backups restore status params
type BackupsRestoreStatusHandlerFunc ¶
type BackupsRestoreStatusHandlerFunc func(BackupsRestoreStatusParams, *models.Principal) middleware.Responder
BackupsRestoreStatusHandlerFunc turns a function with the right signature into a backups restore status handler
func (BackupsRestoreStatusHandlerFunc) Handle ¶
func (fn BackupsRestoreStatusHandlerFunc) Handle(params BackupsRestoreStatusParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BackupsRestoreStatusInternalServerError ¶
type BackupsRestoreStatusInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsRestoreStatusInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response backupsRestoreStatusInternalServerError
func NewBackupsRestoreStatusInternalServerError ¶
func NewBackupsRestoreStatusInternalServerError() *BackupsRestoreStatusInternalServerError
NewBackupsRestoreStatusInternalServerError creates BackupsRestoreStatusInternalServerError with default headers values
func (*BackupsRestoreStatusInternalServerError) SetPayload ¶
func (o *BackupsRestoreStatusInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups restore status internal server error response
func (*BackupsRestoreStatusInternalServerError) WithPayload ¶
func (o *BackupsRestoreStatusInternalServerError) WithPayload(payload *models.ErrorResponse) *BackupsRestoreStatusInternalServerError
WithPayload adds the payload to the backups restore status internal server error response
func (*BackupsRestoreStatusInternalServerError) WriteResponse ¶
func (o *BackupsRestoreStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreStatusNotFound ¶
type BackupsRestoreStatusNotFound struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsRestoreStatusNotFound Not Found - Backup does not exist
swagger:response backupsRestoreStatusNotFound
func NewBackupsRestoreStatusNotFound ¶
func NewBackupsRestoreStatusNotFound() *BackupsRestoreStatusNotFound
NewBackupsRestoreStatusNotFound creates BackupsRestoreStatusNotFound with default headers values
func (*BackupsRestoreStatusNotFound) SetPayload ¶
func (o *BackupsRestoreStatusNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups restore status not found response
func (*BackupsRestoreStatusNotFound) WithPayload ¶
func (o *BackupsRestoreStatusNotFound) WithPayload(payload *models.ErrorResponse) *BackupsRestoreStatusNotFound
WithPayload adds the payload to the backups restore status not found response
func (*BackupsRestoreStatusNotFound) WriteResponse ¶
func (o *BackupsRestoreStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreStatusOK ¶
type BackupsRestoreStatusOK struct { /* In: Body */ Payload *models.BackupRestoreStatusResponse `json:"body,omitempty"` }
BackupsRestoreStatusOK Backup restoration status successfully returned
swagger:response backupsRestoreStatusOK
func NewBackupsRestoreStatusOK ¶
func NewBackupsRestoreStatusOK() *BackupsRestoreStatusOK
NewBackupsRestoreStatusOK creates BackupsRestoreStatusOK with default headers values
func (*BackupsRestoreStatusOK) SetPayload ¶
func (o *BackupsRestoreStatusOK) SetPayload(payload *models.BackupRestoreStatusResponse)
SetPayload sets the payload to the backups restore status o k response
func (*BackupsRestoreStatusOK) WithPayload ¶
func (o *BackupsRestoreStatusOK) WithPayload(payload *models.BackupRestoreStatusResponse) *BackupsRestoreStatusOK
WithPayload adds the payload to the backups restore status o k response
func (*BackupsRestoreStatusOK) WriteResponse ¶
func (o *BackupsRestoreStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreStatusParams ¶
type BackupsRestoreStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Backup backend name e.g. filesystem, gcs, s3. Required: true In: path */ Backend string /*The ID of a backup. Must be URL-safe and work as a filesystem path, only lowercase, numbers, underscore, minus characters allowed. Required: true In: path */ ID string }
BackupsRestoreStatusParams contains all the bound params for the backups restore status operation typically these are obtained from a http.Request
swagger:parameters backups.restore.status
func NewBackupsRestoreStatusParams ¶
func NewBackupsRestoreStatusParams() BackupsRestoreStatusParams
NewBackupsRestoreStatusParams creates a new BackupsRestoreStatusParams object
There are no default values defined in the spec.
func (*BackupsRestoreStatusParams) BindRequest ¶
func (o *BackupsRestoreStatusParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewBackupsRestoreStatusParams() beforehand.
type BackupsRestoreStatusURL ¶
type BackupsRestoreStatusURL struct { Backend string ID string // contains filtered or unexported fields }
BackupsRestoreStatusURL generates an URL for the backups restore status operation
func (*BackupsRestoreStatusURL) Build ¶
func (o *BackupsRestoreStatusURL) Build() (*url.URL, error)
Build a url path and query string
func (*BackupsRestoreStatusURL) BuildFull ¶
func (o *BackupsRestoreStatusURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*BackupsRestoreStatusURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*BackupsRestoreStatusURL) SetBasePath ¶
func (o *BackupsRestoreStatusURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*BackupsRestoreStatusURL) String ¶
func (o *BackupsRestoreStatusURL) String() string
String returns the string representation of the path with query string
func (*BackupsRestoreStatusURL) StringFull ¶
func (o *BackupsRestoreStatusURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*BackupsRestoreStatusURL) WithBasePath ¶
func (o *BackupsRestoreStatusURL) WithBasePath(bp string) *BackupsRestoreStatusURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type BackupsRestoreStatusUnauthorized ¶
type BackupsRestoreStatusUnauthorized struct { }
BackupsRestoreStatusUnauthorized Unauthorized or invalid credentials.
swagger:response backupsRestoreStatusUnauthorized
func NewBackupsRestoreStatusUnauthorized ¶
func NewBackupsRestoreStatusUnauthorized() *BackupsRestoreStatusUnauthorized
NewBackupsRestoreStatusUnauthorized creates BackupsRestoreStatusUnauthorized with default headers values
func (*BackupsRestoreStatusUnauthorized) WriteResponse ¶
func (o *BackupsRestoreStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreURL ¶
type BackupsRestoreURL struct { Backend string ID string // contains filtered or unexported fields }
BackupsRestoreURL generates an URL for the backups restore operation
func (*BackupsRestoreURL) Build ¶
func (o *BackupsRestoreURL) Build() (*url.URL, error)
Build a url path and query string
func (*BackupsRestoreURL) BuildFull ¶
func (o *BackupsRestoreURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*BackupsRestoreURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*BackupsRestoreURL) SetBasePath ¶
func (o *BackupsRestoreURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*BackupsRestoreURL) String ¶
func (o *BackupsRestoreURL) String() string
String returns the string representation of the path with query string
func (*BackupsRestoreURL) StringFull ¶
func (o *BackupsRestoreURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*BackupsRestoreURL) WithBasePath ¶
func (o *BackupsRestoreURL) WithBasePath(bp string) *BackupsRestoreURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type BackupsRestoreUnauthorized ¶
type BackupsRestoreUnauthorized struct { }
BackupsRestoreUnauthorized Unauthorized or invalid credentials.
swagger:response backupsRestoreUnauthorized
func NewBackupsRestoreUnauthorized ¶
func NewBackupsRestoreUnauthorized() *BackupsRestoreUnauthorized
NewBackupsRestoreUnauthorized creates BackupsRestoreUnauthorized with default headers values
func (*BackupsRestoreUnauthorized) WriteResponse ¶
func (o *BackupsRestoreUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BackupsRestoreUnprocessableEntity ¶
type BackupsRestoreUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
BackupsRestoreUnprocessableEntity Invalid backup restoration attempt.
swagger:response backupsRestoreUnprocessableEntity
func NewBackupsRestoreUnprocessableEntity ¶
func NewBackupsRestoreUnprocessableEntity() *BackupsRestoreUnprocessableEntity
NewBackupsRestoreUnprocessableEntity creates BackupsRestoreUnprocessableEntity with default headers values
func (*BackupsRestoreUnprocessableEntity) SetPayload ¶
func (o *BackupsRestoreUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the backups restore unprocessable entity response
func (*BackupsRestoreUnprocessableEntity) WithPayload ¶
func (o *BackupsRestoreUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *BackupsRestoreUnprocessableEntity
WithPayload adds the payload to the backups restore unprocessable entity response
func (*BackupsRestoreUnprocessableEntity) WriteResponse ¶
func (o *BackupsRestoreUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- backups_create.go
- backups_create_parameters.go
- backups_create_responses.go
- backups_create_status.go
- backups_create_status_parameters.go
- backups_create_status_responses.go
- backups_create_status_urlbuilder.go
- backups_create_urlbuilder.go
- backups_restore.go
- backups_restore_parameters.go
- backups_restore_responses.go
- backups_restore_status.go
- backups_restore_status_parameters.go
- backups_restore_status_responses.go
- backups_restore_status_urlbuilder.go
- backups_restore_urlbuilder.go