Documentation ¶
Index ¶
- Constants
- Variables
- type CreateUpload
- type CreateUploadBadRequest
- func (o *CreateUploadBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
- func (o *CreateUploadBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *CreateUploadBadRequest
- func (o *CreateUploadBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateUploadCreated
- type CreateUploadForbidden
- type CreateUploadHandler
- type CreateUploadHandlerFunc
- type CreateUploadInternalServerError
- type CreateUploadNotFound
- type CreateUploadParams
- type CreateUploadRequestEntityTooLarge
- type CreateUploadURL
- func (o *CreateUploadURL) Build() (*url.URL, error)
- func (o *CreateUploadURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateUploadURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateUploadURL) SetBasePath(bp string)
- func (o *CreateUploadURL) String() string
- func (o *CreateUploadURL) StringFull(scheme, host string) string
- func (o *CreateUploadURL) WithBasePath(bp string) *CreateUploadURL
- type DeleteUpload
- type DeleteUploadBadRequest
- func (o *DeleteUploadBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
- func (o *DeleteUploadBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *DeleteUploadBadRequest
- func (o *DeleteUploadBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteUploadForbidden
- type DeleteUploadHandler
- type DeleteUploadHandlerFunc
- type DeleteUploadInternalServerError
- type DeleteUploadNoContent
- type DeleteUploadNotFound
- type DeleteUploadParams
- type DeleteUploadURL
- func (o *DeleteUploadURL) Build() (*url.URL, error)
- func (o *DeleteUploadURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteUploadURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteUploadURL) SetBasePath(bp string)
- func (o *DeleteUploadURL) String() string
- func (o *DeleteUploadURL) StringFull(scheme, host string) string
- func (o *DeleteUploadURL) WithBasePath(bp string) *DeleteUploadURL
- type DeleteUploads
- type DeleteUploadsBadRequest
- func (o *DeleteUploadsBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
- func (o *DeleteUploadsBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *DeleteUploadsBadRequest
- func (o *DeleteUploadsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteUploadsForbidden
- type DeleteUploadsHandler
- type DeleteUploadsHandlerFunc
- type DeleteUploadsInternalServerError
- type DeleteUploadsNoContent
- type DeleteUploadsNotFound
- type DeleteUploadsParams
- type DeleteUploadsURL
- func (o *DeleteUploadsURL) Build() (*url.URL, error)
- func (o *DeleteUploadsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteUploadsURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteUploadsURL) SetBasePath(bp string)
- func (o *DeleteUploadsURL) String() string
- func (o *DeleteUploadsURL) StringFull(scheme, host string) string
- func (o *DeleteUploadsURL) WithBasePath(bp string) *DeleteUploadsURL
Constants ¶
const CreateUploadBadRequestCode int = 400
CreateUploadBadRequestCode is the HTTP code returned for type CreateUploadBadRequest
const CreateUploadCreatedCode int = 201
CreateUploadCreatedCode is the HTTP code returned for type CreateUploadCreated
const CreateUploadForbiddenCode int = 403
CreateUploadForbiddenCode is the HTTP code returned for type CreateUploadForbidden
const CreateUploadInternalServerErrorCode int = 500
CreateUploadInternalServerErrorCode is the HTTP code returned for type CreateUploadInternalServerError
const CreateUploadNotFoundCode int = 404
CreateUploadNotFoundCode is the HTTP code returned for type CreateUploadNotFound
const CreateUploadRequestEntityTooLargeCode int = 413
CreateUploadRequestEntityTooLargeCode is the HTTP code returned for type CreateUploadRequestEntityTooLarge
const DeleteUploadBadRequestCode int = 400
DeleteUploadBadRequestCode is the HTTP code returned for type DeleteUploadBadRequest
const DeleteUploadForbiddenCode int = 403
DeleteUploadForbiddenCode is the HTTP code returned for type DeleteUploadForbidden
const DeleteUploadInternalServerErrorCode int = 500
DeleteUploadInternalServerErrorCode is the HTTP code returned for type DeleteUploadInternalServerError
const DeleteUploadNoContentCode int = 204
DeleteUploadNoContentCode is the HTTP code returned for type DeleteUploadNoContent
const DeleteUploadNotFoundCode int = 404
DeleteUploadNotFoundCode is the HTTP code returned for type DeleteUploadNotFound
const DeleteUploadsBadRequestCode int = 400
DeleteUploadsBadRequestCode is the HTTP code returned for type DeleteUploadsBadRequest
const DeleteUploadsForbiddenCode int = 403
DeleteUploadsForbiddenCode is the HTTP code returned for type DeleteUploadsForbidden
const DeleteUploadsInternalServerErrorCode int = 500
DeleteUploadsInternalServerErrorCode is the HTTP code returned for type DeleteUploadsInternalServerError
const DeleteUploadsNoContentCode int = 204
DeleteUploadsNoContentCode is the HTTP code returned for type DeleteUploadsNoContent
const DeleteUploadsNotFoundCode int = 404
DeleteUploadsNotFoundCode is the HTTP code returned for type DeleteUploadsNotFound
Variables ¶
var CreateUploadMaxParseMemory int64 = 32 << 20
CreateUploadMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.
The default value is 32 MB. The multipart parser stores up to this + 10MB.
Functions ¶
This section is empty.
Types ¶
type CreateUpload ¶
type CreateUpload struct { Context *middleware.Context Handler CreateUploadHandler }
CreateUpload swagger:route POST /uploads uploads createUpload
Create a new upload ¶
Uploads represent a single digital file, such as a JPEG or PDF.
func NewCreateUpload ¶
func NewCreateUpload(ctx *middleware.Context, handler CreateUploadHandler) *CreateUpload
NewCreateUpload creates a new http.Handler for the create upload operation
func (*CreateUpload) ServeHTTP ¶
func (o *CreateUpload) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateUploadBadRequest ¶
type CreateUploadBadRequest struct { /* In: Body */ Payload *internalmessages.InvalidRequestResponsePayload `json:"body,omitempty"` }
CreateUploadBadRequest invalid request
swagger:response createUploadBadRequest
func NewCreateUploadBadRequest ¶
func NewCreateUploadBadRequest() *CreateUploadBadRequest
NewCreateUploadBadRequest creates CreateUploadBadRequest with default headers values
func (*CreateUploadBadRequest) SetPayload ¶
func (o *CreateUploadBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
SetPayload sets the payload to the create upload bad request response
func (*CreateUploadBadRequest) WithPayload ¶
func (o *CreateUploadBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *CreateUploadBadRequest
WithPayload adds the payload to the create upload bad request response
func (*CreateUploadBadRequest) WriteResponse ¶
func (o *CreateUploadBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateUploadCreated ¶
type CreateUploadCreated struct { /* In: Body */ Payload *internalmessages.Upload `json:"body,omitempty"` }
CreateUploadCreated created upload
swagger:response createUploadCreated
func NewCreateUploadCreated ¶
func NewCreateUploadCreated() *CreateUploadCreated
NewCreateUploadCreated creates CreateUploadCreated with default headers values
func (*CreateUploadCreated) SetPayload ¶
func (o *CreateUploadCreated) SetPayload(payload *internalmessages.Upload)
SetPayload sets the payload to the create upload created response
func (*CreateUploadCreated) WithPayload ¶
func (o *CreateUploadCreated) WithPayload(payload *internalmessages.Upload) *CreateUploadCreated
WithPayload adds the payload to the create upload created response
func (*CreateUploadCreated) WriteResponse ¶
func (o *CreateUploadCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateUploadForbidden ¶
type CreateUploadForbidden struct { }
CreateUploadForbidden not authorized
swagger:response createUploadForbidden
func NewCreateUploadForbidden ¶
func NewCreateUploadForbidden() *CreateUploadForbidden
NewCreateUploadForbidden creates CreateUploadForbidden with default headers values
func (*CreateUploadForbidden) WriteResponse ¶
func (o *CreateUploadForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateUploadHandler ¶
type CreateUploadHandler interface {
Handle(CreateUploadParams) middleware.Responder
}
CreateUploadHandler interface for that can handle valid create upload params
type CreateUploadHandlerFunc ¶
type CreateUploadHandlerFunc func(CreateUploadParams) middleware.Responder
CreateUploadHandlerFunc turns a function with the right signature into a create upload handler
func (CreateUploadHandlerFunc) Handle ¶
func (fn CreateUploadHandlerFunc) Handle(params CreateUploadParams) middleware.Responder
Handle executing the request and returning a response
type CreateUploadInternalServerError ¶
type CreateUploadInternalServerError struct { }
CreateUploadInternalServerError server error
swagger:response createUploadInternalServerError
func NewCreateUploadInternalServerError ¶
func NewCreateUploadInternalServerError() *CreateUploadInternalServerError
NewCreateUploadInternalServerError creates CreateUploadInternalServerError with default headers values
func (*CreateUploadInternalServerError) WriteResponse ¶
func (o *CreateUploadInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateUploadNotFound ¶
type CreateUploadNotFound struct { }
CreateUploadNotFound not found
swagger:response createUploadNotFound
func NewCreateUploadNotFound ¶
func NewCreateUploadNotFound() *CreateUploadNotFound
NewCreateUploadNotFound creates CreateUploadNotFound with default headers values
func (*CreateUploadNotFound) WriteResponse ¶
func (o *CreateUploadNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateUploadParams ¶
type CreateUploadParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the document to add an upload to In: query */ DocumentID *strfmt.UUID /*The file to upload. Required: true In: formData */ File io.ReadCloser }
CreateUploadParams contains all the bound params for the create upload operation typically these are obtained from a http.Request
swagger:parameters createUpload
func NewCreateUploadParams ¶
func NewCreateUploadParams() CreateUploadParams
NewCreateUploadParams creates a new CreateUploadParams object
There are no default values defined in the spec.
func (*CreateUploadParams) BindRequest ¶
func (o *CreateUploadParams) 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 NewCreateUploadParams() beforehand.
type CreateUploadRequestEntityTooLarge ¶
type CreateUploadRequestEntityTooLarge struct { }
CreateUploadRequestEntityTooLarge payload is too large
swagger:response createUploadRequestEntityTooLarge
func NewCreateUploadRequestEntityTooLarge ¶
func NewCreateUploadRequestEntityTooLarge() *CreateUploadRequestEntityTooLarge
NewCreateUploadRequestEntityTooLarge creates CreateUploadRequestEntityTooLarge with default headers values
func (*CreateUploadRequestEntityTooLarge) WriteResponse ¶
func (o *CreateUploadRequestEntityTooLarge) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateUploadURL ¶
CreateUploadURL generates an URL for the create upload operation
func (*CreateUploadURL) Build ¶
func (o *CreateUploadURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateUploadURL) BuildFull ¶
func (o *CreateUploadURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateUploadURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateUploadURL) SetBasePath ¶
func (o *CreateUploadURL) 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 (*CreateUploadURL) String ¶
func (o *CreateUploadURL) String() string
String returns the string representation of the path with query string
func (*CreateUploadURL) StringFull ¶
func (o *CreateUploadURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateUploadURL) WithBasePath ¶
func (o *CreateUploadURL) WithBasePath(bp string) *CreateUploadURL
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 DeleteUpload ¶
type DeleteUpload struct { Context *middleware.Context Handler DeleteUploadHandler }
DeleteUpload swagger:route DELETE /uploads/{uploadId} uploads deleteUpload
Deletes an upload ¶
Uploads represent a single digital file, such as a JPEG or PDF.
func NewDeleteUpload ¶
func NewDeleteUpload(ctx *middleware.Context, handler DeleteUploadHandler) *DeleteUpload
NewDeleteUpload creates a new http.Handler for the delete upload operation
func (*DeleteUpload) ServeHTTP ¶
func (o *DeleteUpload) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteUploadBadRequest ¶
type DeleteUploadBadRequest struct { /* In: Body */ Payload *internalmessages.InvalidRequestResponsePayload `json:"body,omitempty"` }
DeleteUploadBadRequest invalid request
swagger:response deleteUploadBadRequest
func NewDeleteUploadBadRequest ¶
func NewDeleteUploadBadRequest() *DeleteUploadBadRequest
NewDeleteUploadBadRequest creates DeleteUploadBadRequest with default headers values
func (*DeleteUploadBadRequest) SetPayload ¶
func (o *DeleteUploadBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
SetPayload sets the payload to the delete upload bad request response
func (*DeleteUploadBadRequest) WithPayload ¶
func (o *DeleteUploadBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *DeleteUploadBadRequest
WithPayload adds the payload to the delete upload bad request response
func (*DeleteUploadBadRequest) WriteResponse ¶
func (o *DeleteUploadBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadForbidden ¶
type DeleteUploadForbidden struct { }
DeleteUploadForbidden not authorized
swagger:response deleteUploadForbidden
func NewDeleteUploadForbidden ¶
func NewDeleteUploadForbidden() *DeleteUploadForbidden
NewDeleteUploadForbidden creates DeleteUploadForbidden with default headers values
func (*DeleteUploadForbidden) WriteResponse ¶
func (o *DeleteUploadForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadHandler ¶
type DeleteUploadHandler interface {
Handle(DeleteUploadParams) middleware.Responder
}
DeleteUploadHandler interface for that can handle valid delete upload params
type DeleteUploadHandlerFunc ¶
type DeleteUploadHandlerFunc func(DeleteUploadParams) middleware.Responder
DeleteUploadHandlerFunc turns a function with the right signature into a delete upload handler
func (DeleteUploadHandlerFunc) Handle ¶
func (fn DeleteUploadHandlerFunc) Handle(params DeleteUploadParams) middleware.Responder
Handle executing the request and returning a response
type DeleteUploadInternalServerError ¶
type DeleteUploadInternalServerError struct { }
DeleteUploadInternalServerError server error
swagger:response deleteUploadInternalServerError
func NewDeleteUploadInternalServerError ¶
func NewDeleteUploadInternalServerError() *DeleteUploadInternalServerError
NewDeleteUploadInternalServerError creates DeleteUploadInternalServerError with default headers values
func (*DeleteUploadInternalServerError) WriteResponse ¶
func (o *DeleteUploadInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadNoContent ¶
type DeleteUploadNoContent struct { }
DeleteUploadNoContent deleted
swagger:response deleteUploadNoContent
func NewDeleteUploadNoContent ¶
func NewDeleteUploadNoContent() *DeleteUploadNoContent
NewDeleteUploadNoContent creates DeleteUploadNoContent with default headers values
func (*DeleteUploadNoContent) WriteResponse ¶
func (o *DeleteUploadNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadNotFound ¶
type DeleteUploadNotFound struct { }
DeleteUploadNotFound not found
swagger:response deleteUploadNotFound
func NewDeleteUploadNotFound ¶
func NewDeleteUploadNotFound() *DeleteUploadNotFound
NewDeleteUploadNotFound creates DeleteUploadNotFound with default headers values
func (*DeleteUploadNotFound) WriteResponse ¶
func (o *DeleteUploadNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadParams ¶
type DeleteUploadParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Optional ID of the move that the upload belongs to In: query */ MoveID *strfmt.UUID /*ID of the order that the upload belongs to In: query */ OrderID *strfmt.UUID /*Optional PPM shipment ID related to the upload In: query */ PpmID *strfmt.UUID /*UUID of the upload to be deleted Required: true In: path */ UploadID strfmt.UUID }
DeleteUploadParams contains all the bound params for the delete upload operation typically these are obtained from a http.Request
swagger:parameters deleteUpload
func NewDeleteUploadParams ¶
func NewDeleteUploadParams() DeleteUploadParams
NewDeleteUploadParams creates a new DeleteUploadParams object
There are no default values defined in the spec.
func (*DeleteUploadParams) BindRequest ¶
func (o *DeleteUploadParams) 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 NewDeleteUploadParams() beforehand.
type DeleteUploadURL ¶
type DeleteUploadURL struct { UploadID strfmt.UUID MoveID *strfmt.UUID OrderID *strfmt.UUID PpmID *strfmt.UUID // contains filtered or unexported fields }
DeleteUploadURL generates an URL for the delete upload operation
func (*DeleteUploadURL) Build ¶
func (o *DeleteUploadURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteUploadURL) BuildFull ¶
func (o *DeleteUploadURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteUploadURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteUploadURL) SetBasePath ¶
func (o *DeleteUploadURL) 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 (*DeleteUploadURL) String ¶
func (o *DeleteUploadURL) String() string
String returns the string representation of the path with query string
func (*DeleteUploadURL) StringFull ¶
func (o *DeleteUploadURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteUploadURL) WithBasePath ¶
func (o *DeleteUploadURL) WithBasePath(bp string) *DeleteUploadURL
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 DeleteUploads ¶
type DeleteUploads struct { Context *middleware.Context Handler DeleteUploadsHandler }
DeleteUploads swagger:route DELETE /uploads uploads deleteUploads
Deletes a collection of uploads ¶
Uploads represent a single digital file, such as a JPEG or PDF.
func NewDeleteUploads ¶
func NewDeleteUploads(ctx *middleware.Context, handler DeleteUploadsHandler) *DeleteUploads
NewDeleteUploads creates a new http.Handler for the delete uploads operation
func (*DeleteUploads) ServeHTTP ¶
func (o *DeleteUploads) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteUploadsBadRequest ¶
type DeleteUploadsBadRequest struct { /* In: Body */ Payload *internalmessages.InvalidRequestResponsePayload `json:"body,omitempty"` }
DeleteUploadsBadRequest invalid request
swagger:response deleteUploadsBadRequest
func NewDeleteUploadsBadRequest ¶
func NewDeleteUploadsBadRequest() *DeleteUploadsBadRequest
NewDeleteUploadsBadRequest creates DeleteUploadsBadRequest with default headers values
func (*DeleteUploadsBadRequest) SetPayload ¶
func (o *DeleteUploadsBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
SetPayload sets the payload to the delete uploads bad request response
func (*DeleteUploadsBadRequest) WithPayload ¶
func (o *DeleteUploadsBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *DeleteUploadsBadRequest
WithPayload adds the payload to the delete uploads bad request response
func (*DeleteUploadsBadRequest) WriteResponse ¶
func (o *DeleteUploadsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadsForbidden ¶
type DeleteUploadsForbidden struct { }
DeleteUploadsForbidden not authorized
swagger:response deleteUploadsForbidden
func NewDeleteUploadsForbidden ¶
func NewDeleteUploadsForbidden() *DeleteUploadsForbidden
NewDeleteUploadsForbidden creates DeleteUploadsForbidden with default headers values
func (*DeleteUploadsForbidden) WriteResponse ¶
func (o *DeleteUploadsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadsHandler ¶
type DeleteUploadsHandler interface {
Handle(DeleteUploadsParams) middleware.Responder
}
DeleteUploadsHandler interface for that can handle valid delete uploads params
type DeleteUploadsHandlerFunc ¶
type DeleteUploadsHandlerFunc func(DeleteUploadsParams) middleware.Responder
DeleteUploadsHandlerFunc turns a function with the right signature into a delete uploads handler
func (DeleteUploadsHandlerFunc) Handle ¶
func (fn DeleteUploadsHandlerFunc) Handle(params DeleteUploadsParams) middleware.Responder
Handle executing the request and returning a response
type DeleteUploadsInternalServerError ¶
type DeleteUploadsInternalServerError struct { }
DeleteUploadsInternalServerError server error
swagger:response deleteUploadsInternalServerError
func NewDeleteUploadsInternalServerError ¶
func NewDeleteUploadsInternalServerError() *DeleteUploadsInternalServerError
NewDeleteUploadsInternalServerError creates DeleteUploadsInternalServerError with default headers values
func (*DeleteUploadsInternalServerError) WriteResponse ¶
func (o *DeleteUploadsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadsNoContent ¶
type DeleteUploadsNoContent struct { }
DeleteUploadsNoContent deleted
swagger:response deleteUploadsNoContent
func NewDeleteUploadsNoContent ¶
func NewDeleteUploadsNoContent() *DeleteUploadsNoContent
NewDeleteUploadsNoContent creates DeleteUploadsNoContent with default headers values
func (*DeleteUploadsNoContent) WriteResponse ¶
func (o *DeleteUploadsNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadsNotFound ¶
type DeleteUploadsNotFound struct { }
DeleteUploadsNotFound not found
swagger:response deleteUploadsNotFound
func NewDeleteUploadsNotFound ¶
func NewDeleteUploadsNotFound() *DeleteUploadsNotFound
NewDeleteUploadsNotFound creates DeleteUploadsNotFound with default headers values
func (*DeleteUploadsNotFound) WriteResponse ¶
func (o *DeleteUploadsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUploadsParams ¶
type DeleteUploadsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Array of UUIDs to be deleted Required: true In: query */ UploadIds []strfmt.UUID }
DeleteUploadsParams contains all the bound params for the delete uploads operation typically these are obtained from a http.Request
swagger:parameters deleteUploads
func NewDeleteUploadsParams ¶
func NewDeleteUploadsParams() DeleteUploadsParams
NewDeleteUploadsParams creates a new DeleteUploadsParams object
There are no default values defined in the spec.
func (*DeleteUploadsParams) BindRequest ¶
func (o *DeleteUploadsParams) 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 NewDeleteUploadsParams() beforehand.
type DeleteUploadsURL ¶
DeleteUploadsURL generates an URL for the delete uploads operation
func (*DeleteUploadsURL) Build ¶
func (o *DeleteUploadsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteUploadsURL) BuildFull ¶
func (o *DeleteUploadsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteUploadsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteUploadsURL) SetBasePath ¶
func (o *DeleteUploadsURL) 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 (*DeleteUploadsURL) String ¶
func (o *DeleteUploadsURL) String() string
String returns the string representation of the path with query string
func (*DeleteUploadsURL) StringFull ¶
func (o *DeleteUploadsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteUploadsURL) WithBasePath ¶
func (o *DeleteUploadsURL) WithBasePath(bp string) *DeleteUploadsURL
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
Source Files ¶
- create_upload.go
- create_upload_parameters.go
- create_upload_responses.go
- create_upload_urlbuilder.go
- delete_upload.go
- delete_upload_parameters.go
- delete_upload_responses.go
- delete_upload_urlbuilder.go
- delete_uploads.go
- delete_uploads_parameters.go
- delete_uploads_responses.go
- delete_uploads_urlbuilder.go