move_docs

package
v0.0.0-...-c407d37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CreateGenericMoveDocumentBadRequestCode int = 400

CreateGenericMoveDocumentBadRequestCode is the HTTP code returned for type CreateGenericMoveDocumentBadRequest

View Source
const CreateGenericMoveDocumentForbiddenCode int = 403

CreateGenericMoveDocumentForbiddenCode is the HTTP code returned for type CreateGenericMoveDocumentForbidden

View Source
const CreateGenericMoveDocumentInternalServerErrorCode int = 500

CreateGenericMoveDocumentInternalServerErrorCode is the HTTP code returned for type CreateGenericMoveDocumentInternalServerError

View Source
const CreateGenericMoveDocumentOKCode int = 200

CreateGenericMoveDocumentOKCode is the HTTP code returned for type CreateGenericMoveDocumentOK

View Source
const CreateGenericMoveDocumentUnauthorizedCode int = 401

CreateGenericMoveDocumentUnauthorizedCode is the HTTP code returned for type CreateGenericMoveDocumentUnauthorized

View Source
const CreateWeightTicketDocumentBadRequestCode int = 400

CreateWeightTicketDocumentBadRequestCode is the HTTP code returned for type CreateWeightTicketDocumentBadRequest

View Source
const CreateWeightTicketDocumentForbiddenCode int = 403

CreateWeightTicketDocumentForbiddenCode is the HTTP code returned for type CreateWeightTicketDocumentForbidden

View Source
const CreateWeightTicketDocumentInternalServerErrorCode int = 500

CreateWeightTicketDocumentInternalServerErrorCode is the HTTP code returned for type CreateWeightTicketDocumentInternalServerError

View Source
const CreateWeightTicketDocumentOKCode int = 200

CreateWeightTicketDocumentOKCode is the HTTP code returned for type CreateWeightTicketDocumentOK

View Source
const CreateWeightTicketDocumentUnauthorizedCode int = 401

CreateWeightTicketDocumentUnauthorizedCode is the HTTP code returned for type CreateWeightTicketDocumentUnauthorized

View Source
const DeleteMoveDocumentBadRequestCode int = 400

DeleteMoveDocumentBadRequestCode is the HTTP code returned for type DeleteMoveDocumentBadRequest

View Source
const DeleteMoveDocumentForbiddenCode int = 403

DeleteMoveDocumentForbiddenCode is the HTTP code returned for type DeleteMoveDocumentForbidden

View Source
const DeleteMoveDocumentInternalServerErrorCode int = 500

DeleteMoveDocumentInternalServerErrorCode is the HTTP code returned for type DeleteMoveDocumentInternalServerError

View Source
const DeleteMoveDocumentNoContentCode int = 204

DeleteMoveDocumentNoContentCode is the HTTP code returned for type DeleteMoveDocumentNoContent

View Source
const DeleteMoveDocumentNotFoundCode int = 404

DeleteMoveDocumentNotFoundCode is the HTTP code returned for type DeleteMoveDocumentNotFound

View Source
const IndexMoveDocumentsBadRequestCode int = 400

IndexMoveDocumentsBadRequestCode is the HTTP code returned for type IndexMoveDocumentsBadRequest

View Source
const IndexMoveDocumentsForbiddenCode int = 403

IndexMoveDocumentsForbiddenCode is the HTTP code returned for type IndexMoveDocumentsForbidden

View Source
const IndexMoveDocumentsOKCode int = 200

IndexMoveDocumentsOKCode is the HTTP code returned for type IndexMoveDocumentsOK

View Source
const IndexMoveDocumentsUnauthorizedCode int = 401

IndexMoveDocumentsUnauthorizedCode is the HTTP code returned for type IndexMoveDocumentsUnauthorized

View Source
const UpdateMoveDocumentBadRequestCode int = 400

UpdateMoveDocumentBadRequestCode is the HTTP code returned for type UpdateMoveDocumentBadRequest

View Source
const UpdateMoveDocumentForbiddenCode int = 403

UpdateMoveDocumentForbiddenCode is the HTTP code returned for type UpdateMoveDocumentForbidden

View Source
const UpdateMoveDocumentInternalServerErrorCode int = 500

UpdateMoveDocumentInternalServerErrorCode is the HTTP code returned for type UpdateMoveDocumentInternalServerError

View Source
const UpdateMoveDocumentNotFoundCode int = 404

UpdateMoveDocumentNotFoundCode is the HTTP code returned for type UpdateMoveDocumentNotFound

View Source
const UpdateMoveDocumentOKCode int = 200

UpdateMoveDocumentOKCode is the HTTP code returned for type UpdateMoveDocumentOK

View Source
const UpdateMoveDocumentUnauthorizedCode int = 401

UpdateMoveDocumentUnauthorizedCode is the HTTP code returned for type UpdateMoveDocumentUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateGenericMoveDocument

type CreateGenericMoveDocument struct {
	Context *middleware.Context
	Handler CreateGenericMoveDocumentHandler
}
CreateGenericMoveDocument swagger:route POST /moves/{moveId}/move_documents move_docs createGenericMoveDocument

Creates a move document

Created a move document with the given information

func NewCreateGenericMoveDocument

func NewCreateGenericMoveDocument(ctx *middleware.Context, handler CreateGenericMoveDocumentHandler) *CreateGenericMoveDocument

NewCreateGenericMoveDocument creates a new http.Handler for the create generic move document operation

func (*CreateGenericMoveDocument) ServeHTTP

type CreateGenericMoveDocumentBadRequest

type CreateGenericMoveDocumentBadRequest struct {
}

CreateGenericMoveDocumentBadRequest invalid request

swagger:response createGenericMoveDocumentBadRequest

func NewCreateGenericMoveDocumentBadRequest

func NewCreateGenericMoveDocumentBadRequest() *CreateGenericMoveDocumentBadRequest

NewCreateGenericMoveDocumentBadRequest creates CreateGenericMoveDocumentBadRequest with default headers values

func (*CreateGenericMoveDocumentBadRequest) WriteResponse

WriteResponse to the client

type CreateGenericMoveDocumentForbidden

type CreateGenericMoveDocumentForbidden struct {
}

CreateGenericMoveDocumentForbidden not authorized to modify this move

swagger:response createGenericMoveDocumentForbidden

func NewCreateGenericMoveDocumentForbidden

func NewCreateGenericMoveDocumentForbidden() *CreateGenericMoveDocumentForbidden

NewCreateGenericMoveDocumentForbidden creates CreateGenericMoveDocumentForbidden with default headers values

func (*CreateGenericMoveDocumentForbidden) WriteResponse

WriteResponse to the client

type CreateGenericMoveDocumentHandler

type CreateGenericMoveDocumentHandler interface {
	Handle(CreateGenericMoveDocumentParams) middleware.Responder
}

CreateGenericMoveDocumentHandler interface for that can handle valid create generic move document params

type CreateGenericMoveDocumentHandlerFunc

type CreateGenericMoveDocumentHandlerFunc func(CreateGenericMoveDocumentParams) middleware.Responder

CreateGenericMoveDocumentHandlerFunc turns a function with the right signature into a create generic move document handler

func (CreateGenericMoveDocumentHandlerFunc) Handle

Handle executing the request and returning a response

type CreateGenericMoveDocumentInternalServerError

type CreateGenericMoveDocumentInternalServerError struct {
}

CreateGenericMoveDocumentInternalServerError server error

swagger:response createGenericMoveDocumentInternalServerError

func NewCreateGenericMoveDocumentInternalServerError

func NewCreateGenericMoveDocumentInternalServerError() *CreateGenericMoveDocumentInternalServerError

NewCreateGenericMoveDocumentInternalServerError creates CreateGenericMoveDocumentInternalServerError with default headers values

func (*CreateGenericMoveDocumentInternalServerError) WriteResponse

WriteResponse to the client

type CreateGenericMoveDocumentOK

type CreateGenericMoveDocumentOK struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.MoveDocumentPayload `json:"body,omitempty"`
}

CreateGenericMoveDocumentOK returns new move document object

swagger:response createGenericMoveDocumentOK

func NewCreateGenericMoveDocumentOK

func NewCreateGenericMoveDocumentOK() *CreateGenericMoveDocumentOK

NewCreateGenericMoveDocumentOK creates CreateGenericMoveDocumentOK with default headers values

func (*CreateGenericMoveDocumentOK) SetPayload

SetPayload sets the payload to the create generic move document o k response

func (*CreateGenericMoveDocumentOK) WithPayload

WithPayload adds the payload to the create generic move document o k response

func (*CreateGenericMoveDocumentOK) WriteResponse

func (o *CreateGenericMoveDocumentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateGenericMoveDocumentParams

type CreateGenericMoveDocumentParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	CreateGenericMoveDocumentPayload *internalmessages.CreateGenericMoveDocumentPayload
	/*UUID of the move
	  Required: true
	  In: path
	*/
	MoveID strfmt.UUID
}

CreateGenericMoveDocumentParams contains all the bound params for the create generic move document operation typically these are obtained from a http.Request

swagger:parameters createGenericMoveDocument

func NewCreateGenericMoveDocumentParams

func NewCreateGenericMoveDocumentParams() CreateGenericMoveDocumentParams

NewCreateGenericMoveDocumentParams creates a new CreateGenericMoveDocumentParams object

There are no default values defined in the spec.

func (*CreateGenericMoveDocumentParams) BindRequest

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 NewCreateGenericMoveDocumentParams() beforehand.

type CreateGenericMoveDocumentURL

type CreateGenericMoveDocumentURL struct {
	MoveID strfmt.UUID
	// contains filtered or unexported fields
}

CreateGenericMoveDocumentURL generates an URL for the create generic move document operation

func (*CreateGenericMoveDocumentURL) Build

func (o *CreateGenericMoveDocumentURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateGenericMoveDocumentURL) BuildFull

func (o *CreateGenericMoveDocumentURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateGenericMoveDocumentURL) Must

func (o *CreateGenericMoveDocumentURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateGenericMoveDocumentURL) SetBasePath

func (o *CreateGenericMoveDocumentURL) 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 (*CreateGenericMoveDocumentURL) String

String returns the string representation of the path with query string

func (*CreateGenericMoveDocumentURL) StringFull

func (o *CreateGenericMoveDocumentURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateGenericMoveDocumentURL) WithBasePath

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 CreateGenericMoveDocumentUnauthorized

type CreateGenericMoveDocumentUnauthorized struct {
}

CreateGenericMoveDocumentUnauthorized must be authenticated to use this endpoint

swagger:response createGenericMoveDocumentUnauthorized

func NewCreateGenericMoveDocumentUnauthorized

func NewCreateGenericMoveDocumentUnauthorized() *CreateGenericMoveDocumentUnauthorized

NewCreateGenericMoveDocumentUnauthorized creates CreateGenericMoveDocumentUnauthorized with default headers values

func (*CreateGenericMoveDocumentUnauthorized) WriteResponse

WriteResponse to the client

type CreateWeightTicketDocument

type CreateWeightTicketDocument struct {
	Context *middleware.Context
	Handler CreateWeightTicketDocumentHandler
}
CreateWeightTicketDocument swagger:route POST /moves/{moveId}/weight_ticket move_docs createWeightTicketDocument

Creates a weight ticket document

Created a weight ticket document with the given information

func NewCreateWeightTicketDocument

func NewCreateWeightTicketDocument(ctx *middleware.Context, handler CreateWeightTicketDocumentHandler) *CreateWeightTicketDocument

NewCreateWeightTicketDocument creates a new http.Handler for the create weight ticket document operation

func (*CreateWeightTicketDocument) ServeHTTP

type CreateWeightTicketDocumentBadRequest

type CreateWeightTicketDocumentBadRequest struct {
}

CreateWeightTicketDocumentBadRequest invalid request

swagger:response createWeightTicketDocumentBadRequest

func NewCreateWeightTicketDocumentBadRequest

func NewCreateWeightTicketDocumentBadRequest() *CreateWeightTicketDocumentBadRequest

NewCreateWeightTicketDocumentBadRequest creates CreateWeightTicketDocumentBadRequest with default headers values

func (*CreateWeightTicketDocumentBadRequest) WriteResponse

WriteResponse to the client

type CreateWeightTicketDocumentForbidden

type CreateWeightTicketDocumentForbidden struct {
}

CreateWeightTicketDocumentForbidden not authorized to modify this move

swagger:response createWeightTicketDocumentForbidden

func NewCreateWeightTicketDocumentForbidden

func NewCreateWeightTicketDocumentForbidden() *CreateWeightTicketDocumentForbidden

NewCreateWeightTicketDocumentForbidden creates CreateWeightTicketDocumentForbidden with default headers values

func (*CreateWeightTicketDocumentForbidden) WriteResponse

WriteResponse to the client

type CreateWeightTicketDocumentHandler

type CreateWeightTicketDocumentHandler interface {
	Handle(CreateWeightTicketDocumentParams) middleware.Responder
}

CreateWeightTicketDocumentHandler interface for that can handle valid create weight ticket document params

type CreateWeightTicketDocumentHandlerFunc

type CreateWeightTicketDocumentHandlerFunc func(CreateWeightTicketDocumentParams) middleware.Responder

CreateWeightTicketDocumentHandlerFunc turns a function with the right signature into a create weight ticket document handler

func (CreateWeightTicketDocumentHandlerFunc) Handle

Handle executing the request and returning a response

type CreateWeightTicketDocumentInternalServerError

type CreateWeightTicketDocumentInternalServerError struct {
}

CreateWeightTicketDocumentInternalServerError server error

swagger:response createWeightTicketDocumentInternalServerError

func NewCreateWeightTicketDocumentInternalServerError

func NewCreateWeightTicketDocumentInternalServerError() *CreateWeightTicketDocumentInternalServerError

NewCreateWeightTicketDocumentInternalServerError creates CreateWeightTicketDocumentInternalServerError with default headers values

func (*CreateWeightTicketDocumentInternalServerError) WriteResponse

WriteResponse to the client

type CreateWeightTicketDocumentOK

type CreateWeightTicketDocumentOK struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.MoveDocumentPayload `json:"body,omitempty"`
}

CreateWeightTicketDocumentOK returns new weight ticket document object

swagger:response createWeightTicketDocumentOK

func NewCreateWeightTicketDocumentOK

func NewCreateWeightTicketDocumentOK() *CreateWeightTicketDocumentOK

NewCreateWeightTicketDocumentOK creates CreateWeightTicketDocumentOK with default headers values

func (*CreateWeightTicketDocumentOK) SetPayload

SetPayload sets the payload to the create weight ticket document o k response

func (*CreateWeightTicketDocumentOK) WithPayload

WithPayload adds the payload to the create weight ticket document o k response

func (*CreateWeightTicketDocumentOK) WriteResponse

func (o *CreateWeightTicketDocumentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateWeightTicketDocumentParams

type CreateWeightTicketDocumentParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	CreateWeightTicketDocument *internalmessages.CreateWeightTicketDocumentsPayload
	/*UUID of the move
	  Required: true
	  In: path
	*/
	MoveID strfmt.UUID
}

CreateWeightTicketDocumentParams contains all the bound params for the create weight ticket document operation typically these are obtained from a http.Request

swagger:parameters createWeightTicketDocument

func NewCreateWeightTicketDocumentParams

func NewCreateWeightTicketDocumentParams() CreateWeightTicketDocumentParams

NewCreateWeightTicketDocumentParams creates a new CreateWeightTicketDocumentParams object

There are no default values defined in the spec.

func (*CreateWeightTicketDocumentParams) BindRequest

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 NewCreateWeightTicketDocumentParams() beforehand.

type CreateWeightTicketDocumentURL

type CreateWeightTicketDocumentURL struct {
	MoveID strfmt.UUID
	// contains filtered or unexported fields
}

CreateWeightTicketDocumentURL generates an URL for the create weight ticket document operation

func (*CreateWeightTicketDocumentURL) Build

func (o *CreateWeightTicketDocumentURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateWeightTicketDocumentURL) BuildFull

func (o *CreateWeightTicketDocumentURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateWeightTicketDocumentURL) Must

func (o *CreateWeightTicketDocumentURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateWeightTicketDocumentURL) SetBasePath

func (o *CreateWeightTicketDocumentURL) 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 (*CreateWeightTicketDocumentURL) String

String returns the string representation of the path with query string

func (*CreateWeightTicketDocumentURL) StringFull

func (o *CreateWeightTicketDocumentURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateWeightTicketDocumentURL) WithBasePath

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 CreateWeightTicketDocumentUnauthorized

type CreateWeightTicketDocumentUnauthorized struct {
}

CreateWeightTicketDocumentUnauthorized must be authenticated to use this endpoint

swagger:response createWeightTicketDocumentUnauthorized

func NewCreateWeightTicketDocumentUnauthorized

func NewCreateWeightTicketDocumentUnauthorized() *CreateWeightTicketDocumentUnauthorized

NewCreateWeightTicketDocumentUnauthorized creates CreateWeightTicketDocumentUnauthorized with default headers values

func (*CreateWeightTicketDocumentUnauthorized) WriteResponse

WriteResponse to the client

type DeleteMoveDocument

type DeleteMoveDocument struct {
	Context *middleware.Context
	Handler DeleteMoveDocumentHandler
}
DeleteMoveDocument swagger:route DELETE /move_documents/{moveDocumentId} move_docs deleteMoveDocument

Deletes a move document

Deletes a move document with the given information

func NewDeleteMoveDocument

func NewDeleteMoveDocument(ctx *middleware.Context, handler DeleteMoveDocumentHandler) *DeleteMoveDocument

NewDeleteMoveDocument creates a new http.Handler for the delete move document operation

func (*DeleteMoveDocument) ServeHTTP

func (o *DeleteMoveDocument) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteMoveDocumentBadRequest

type DeleteMoveDocumentBadRequest struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.InvalidRequestResponsePayload `json:"body,omitempty"`
}

DeleteMoveDocumentBadRequest invalid request

swagger:response deleteMoveDocumentBadRequest

func NewDeleteMoveDocumentBadRequest

func NewDeleteMoveDocumentBadRequest() *DeleteMoveDocumentBadRequest

NewDeleteMoveDocumentBadRequest creates DeleteMoveDocumentBadRequest with default headers values

func (*DeleteMoveDocumentBadRequest) SetPayload

SetPayload sets the payload to the delete move document bad request response

func (*DeleteMoveDocumentBadRequest) WithPayload

WithPayload adds the payload to the delete move document bad request response

func (*DeleteMoveDocumentBadRequest) WriteResponse

func (o *DeleteMoveDocumentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteMoveDocumentForbidden

type DeleteMoveDocumentForbidden struct {
}

DeleteMoveDocumentForbidden not authorized

swagger:response deleteMoveDocumentForbidden

func NewDeleteMoveDocumentForbidden

func NewDeleteMoveDocumentForbidden() *DeleteMoveDocumentForbidden

NewDeleteMoveDocumentForbidden creates DeleteMoveDocumentForbidden with default headers values

func (*DeleteMoveDocumentForbidden) WriteResponse

func (o *DeleteMoveDocumentForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteMoveDocumentHandler

type DeleteMoveDocumentHandler interface {
	Handle(DeleteMoveDocumentParams) middleware.Responder
}

DeleteMoveDocumentHandler interface for that can handle valid delete move document params

type DeleteMoveDocumentHandlerFunc

type DeleteMoveDocumentHandlerFunc func(DeleteMoveDocumentParams) middleware.Responder

DeleteMoveDocumentHandlerFunc turns a function with the right signature into a delete move document handler

func (DeleteMoveDocumentHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteMoveDocumentInternalServerError

type DeleteMoveDocumentInternalServerError struct {
}

DeleteMoveDocumentInternalServerError server error

swagger:response deleteMoveDocumentInternalServerError

func NewDeleteMoveDocumentInternalServerError

func NewDeleteMoveDocumentInternalServerError() *DeleteMoveDocumentInternalServerError

NewDeleteMoveDocumentInternalServerError creates DeleteMoveDocumentInternalServerError with default headers values

func (*DeleteMoveDocumentInternalServerError) WriteResponse

WriteResponse to the client

type DeleteMoveDocumentNoContent

type DeleteMoveDocumentNoContent struct {
}

DeleteMoveDocumentNoContent deleted

swagger:response deleteMoveDocumentNoContent

func NewDeleteMoveDocumentNoContent

func NewDeleteMoveDocumentNoContent() *DeleteMoveDocumentNoContent

NewDeleteMoveDocumentNoContent creates DeleteMoveDocumentNoContent with default headers values

func (*DeleteMoveDocumentNoContent) WriteResponse

func (o *DeleteMoveDocumentNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteMoveDocumentNotFound

type DeleteMoveDocumentNotFound struct {
}

DeleteMoveDocumentNotFound not found

swagger:response deleteMoveDocumentNotFound

func NewDeleteMoveDocumentNotFound

func NewDeleteMoveDocumentNotFound() *DeleteMoveDocumentNotFound

NewDeleteMoveDocumentNotFound creates DeleteMoveDocumentNotFound with default headers values

func (*DeleteMoveDocumentNotFound) WriteResponse

func (o *DeleteMoveDocumentNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteMoveDocumentParams

type DeleteMoveDocumentParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*UUID of the move document model
	  Required: true
	  In: path
	*/
	MoveDocumentID strfmt.UUID
}

DeleteMoveDocumentParams contains all the bound params for the delete move document operation typically these are obtained from a http.Request

swagger:parameters deleteMoveDocument

func NewDeleteMoveDocumentParams

func NewDeleteMoveDocumentParams() DeleteMoveDocumentParams

NewDeleteMoveDocumentParams creates a new DeleteMoveDocumentParams object

There are no default values defined in the spec.

func (*DeleteMoveDocumentParams) BindRequest

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 NewDeleteMoveDocumentParams() beforehand.

type DeleteMoveDocumentURL

type DeleteMoveDocumentURL struct {
	MoveDocumentID strfmt.UUID
	// contains filtered or unexported fields
}

DeleteMoveDocumentURL generates an URL for the delete move document operation

func (*DeleteMoveDocumentURL) Build

func (o *DeleteMoveDocumentURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteMoveDocumentURL) BuildFull

func (o *DeleteMoveDocumentURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteMoveDocumentURL) Must

func (o *DeleteMoveDocumentURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteMoveDocumentURL) SetBasePath

func (o *DeleteMoveDocumentURL) 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 (*DeleteMoveDocumentURL) String

func (o *DeleteMoveDocumentURL) String() string

String returns the string representation of the path with query string

func (*DeleteMoveDocumentURL) StringFull

func (o *DeleteMoveDocumentURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteMoveDocumentURL) WithBasePath

func (o *DeleteMoveDocumentURL) WithBasePath(bp string) *DeleteMoveDocumentURL

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 IndexMoveDocuments

type IndexMoveDocuments struct {
	Context *middleware.Context
	Handler IndexMoveDocumentsHandler
}
IndexMoveDocuments swagger:route GET /moves/{moveId}/move_documents move_docs indexMoveDocuments

Returns a list of all Move Documents associated with this move

Returns a list of all Move Documents associated with this move

func NewIndexMoveDocuments

func NewIndexMoveDocuments(ctx *middleware.Context, handler IndexMoveDocumentsHandler) *IndexMoveDocuments

NewIndexMoveDocuments creates a new http.Handler for the index move documents operation

func (*IndexMoveDocuments) ServeHTTP

func (o *IndexMoveDocuments) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type IndexMoveDocumentsBadRequest

type IndexMoveDocumentsBadRequest struct {
}

IndexMoveDocumentsBadRequest invalid request

swagger:response indexMoveDocumentsBadRequest

func NewIndexMoveDocumentsBadRequest

func NewIndexMoveDocumentsBadRequest() *IndexMoveDocumentsBadRequest

NewIndexMoveDocumentsBadRequest creates IndexMoveDocumentsBadRequest with default headers values

func (*IndexMoveDocumentsBadRequest) WriteResponse

func (o *IndexMoveDocumentsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type IndexMoveDocumentsForbidden

type IndexMoveDocumentsForbidden struct {
}

IndexMoveDocumentsForbidden user is not authorized

swagger:response indexMoveDocumentsForbidden

func NewIndexMoveDocumentsForbidden

func NewIndexMoveDocumentsForbidden() *IndexMoveDocumentsForbidden

NewIndexMoveDocumentsForbidden creates IndexMoveDocumentsForbidden with default headers values

func (*IndexMoveDocumentsForbidden) WriteResponse

func (o *IndexMoveDocumentsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type IndexMoveDocumentsHandler

type IndexMoveDocumentsHandler interface {
	Handle(IndexMoveDocumentsParams) middleware.Responder
}

IndexMoveDocumentsHandler interface for that can handle valid index move documents params

type IndexMoveDocumentsHandlerFunc

type IndexMoveDocumentsHandlerFunc func(IndexMoveDocumentsParams) middleware.Responder

IndexMoveDocumentsHandlerFunc turns a function with the right signature into a index move documents handler

func (IndexMoveDocumentsHandlerFunc) Handle

Handle executing the request and returning a response

type IndexMoveDocumentsOK

type IndexMoveDocumentsOK struct {

	/*
	  In: Body
	*/
	Payload internalmessages.MoveDocuments `json:"body,omitempty"`
}

IndexMoveDocumentsOK returns list of move douments

swagger:response indexMoveDocumentsOK

func NewIndexMoveDocumentsOK

func NewIndexMoveDocumentsOK() *IndexMoveDocumentsOK

NewIndexMoveDocumentsOK creates IndexMoveDocumentsOK with default headers values

func (*IndexMoveDocumentsOK) SetPayload

func (o *IndexMoveDocumentsOK) SetPayload(payload internalmessages.MoveDocuments)

SetPayload sets the payload to the index move documents o k response

func (*IndexMoveDocumentsOK) WithPayload

WithPayload adds the payload to the index move documents o k response

func (*IndexMoveDocumentsOK) WriteResponse

func (o *IndexMoveDocumentsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type IndexMoveDocumentsParams

type IndexMoveDocumentsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*UUID of the move
	  Required: true
	  In: path
	*/
	MoveID strfmt.UUID
}

IndexMoveDocumentsParams contains all the bound params for the index move documents operation typically these are obtained from a http.Request

swagger:parameters indexMoveDocuments

func NewIndexMoveDocumentsParams

func NewIndexMoveDocumentsParams() IndexMoveDocumentsParams

NewIndexMoveDocumentsParams creates a new IndexMoveDocumentsParams object

There are no default values defined in the spec.

func (*IndexMoveDocumentsParams) BindRequest

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 NewIndexMoveDocumentsParams() beforehand.

type IndexMoveDocumentsURL

type IndexMoveDocumentsURL struct {
	MoveID strfmt.UUID
	// contains filtered or unexported fields
}

IndexMoveDocumentsURL generates an URL for the index move documents operation

func (*IndexMoveDocumentsURL) Build

func (o *IndexMoveDocumentsURL) Build() (*url.URL, error)

Build a url path and query string

func (*IndexMoveDocumentsURL) BuildFull

func (o *IndexMoveDocumentsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*IndexMoveDocumentsURL) Must

func (o *IndexMoveDocumentsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*IndexMoveDocumentsURL) SetBasePath

func (o *IndexMoveDocumentsURL) 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 (*IndexMoveDocumentsURL) String

func (o *IndexMoveDocumentsURL) String() string

String returns the string representation of the path with query string

func (*IndexMoveDocumentsURL) StringFull

func (o *IndexMoveDocumentsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*IndexMoveDocumentsURL) WithBasePath

func (o *IndexMoveDocumentsURL) WithBasePath(bp string) *IndexMoveDocumentsURL

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 IndexMoveDocumentsUnauthorized

type IndexMoveDocumentsUnauthorized struct {
}

IndexMoveDocumentsUnauthorized request requires user authentication

swagger:response indexMoveDocumentsUnauthorized

func NewIndexMoveDocumentsUnauthorized

func NewIndexMoveDocumentsUnauthorized() *IndexMoveDocumentsUnauthorized

NewIndexMoveDocumentsUnauthorized creates IndexMoveDocumentsUnauthorized with default headers values

func (*IndexMoveDocumentsUnauthorized) WriteResponse

func (o *IndexMoveDocumentsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateMoveDocument

type UpdateMoveDocument struct {
	Context *middleware.Context
	Handler UpdateMoveDocumentHandler
}
UpdateMoveDocument swagger:route PUT /move_documents/{moveDocumentId} move_docs updateMoveDocument

Updates a move document

Update a move document with the given information

func NewUpdateMoveDocument

func NewUpdateMoveDocument(ctx *middleware.Context, handler UpdateMoveDocumentHandler) *UpdateMoveDocument

NewUpdateMoveDocument creates a new http.Handler for the update move document operation

func (*UpdateMoveDocument) ServeHTTP

func (o *UpdateMoveDocument) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateMoveDocumentBadRequest

type UpdateMoveDocumentBadRequest struct {
}

UpdateMoveDocumentBadRequest invalid request

swagger:response updateMoveDocumentBadRequest

func NewUpdateMoveDocumentBadRequest

func NewUpdateMoveDocumentBadRequest() *UpdateMoveDocumentBadRequest

NewUpdateMoveDocumentBadRequest creates UpdateMoveDocumentBadRequest with default headers values

func (*UpdateMoveDocumentBadRequest) WriteResponse

func (o *UpdateMoveDocumentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateMoveDocumentForbidden

type UpdateMoveDocumentForbidden struct {
}

UpdateMoveDocumentForbidden user is not authorized

swagger:response updateMoveDocumentForbidden

func NewUpdateMoveDocumentForbidden

func NewUpdateMoveDocumentForbidden() *UpdateMoveDocumentForbidden

NewUpdateMoveDocumentForbidden creates UpdateMoveDocumentForbidden with default headers values

func (*UpdateMoveDocumentForbidden) WriteResponse

func (o *UpdateMoveDocumentForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateMoveDocumentHandler

type UpdateMoveDocumentHandler interface {
	Handle(UpdateMoveDocumentParams) middleware.Responder
}

UpdateMoveDocumentHandler interface for that can handle valid update move document params

type UpdateMoveDocumentHandlerFunc

type UpdateMoveDocumentHandlerFunc func(UpdateMoveDocumentParams) middleware.Responder

UpdateMoveDocumentHandlerFunc turns a function with the right signature into a update move document handler

func (UpdateMoveDocumentHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateMoveDocumentInternalServerError

type UpdateMoveDocumentInternalServerError struct {
}

UpdateMoveDocumentInternalServerError internal server error

swagger:response updateMoveDocumentInternalServerError

func NewUpdateMoveDocumentInternalServerError

func NewUpdateMoveDocumentInternalServerError() *UpdateMoveDocumentInternalServerError

NewUpdateMoveDocumentInternalServerError creates UpdateMoveDocumentInternalServerError with default headers values

func (*UpdateMoveDocumentInternalServerError) WriteResponse

WriteResponse to the client

type UpdateMoveDocumentNotFound

type UpdateMoveDocumentNotFound struct {
}

UpdateMoveDocumentNotFound move document not found

swagger:response updateMoveDocumentNotFound

func NewUpdateMoveDocumentNotFound

func NewUpdateMoveDocumentNotFound() *UpdateMoveDocumentNotFound

NewUpdateMoveDocumentNotFound creates UpdateMoveDocumentNotFound with default headers values

func (*UpdateMoveDocumentNotFound) WriteResponse

func (o *UpdateMoveDocumentNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateMoveDocumentOK

type UpdateMoveDocumentOK struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.MoveDocumentPayload `json:"body,omitempty"`
}

UpdateMoveDocumentOK updated instance of move document

swagger:response updateMoveDocumentOK

func NewUpdateMoveDocumentOK

func NewUpdateMoveDocumentOK() *UpdateMoveDocumentOK

NewUpdateMoveDocumentOK creates UpdateMoveDocumentOK with default headers values

func (*UpdateMoveDocumentOK) SetPayload

SetPayload sets the payload to the update move document o k response

func (*UpdateMoveDocumentOK) WithPayload

WithPayload adds the payload to the update move document o k response

func (*UpdateMoveDocumentOK) WriteResponse

func (o *UpdateMoveDocumentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateMoveDocumentParams

type UpdateMoveDocumentParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*UUID of the move document model
	  Required: true
	  In: path
	*/
	MoveDocumentID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	UpdateMoveDocument *internalmessages.MoveDocumentPayload
}

UpdateMoveDocumentParams contains all the bound params for the update move document operation typically these are obtained from a http.Request

swagger:parameters updateMoveDocument

func NewUpdateMoveDocumentParams

func NewUpdateMoveDocumentParams() UpdateMoveDocumentParams

NewUpdateMoveDocumentParams creates a new UpdateMoveDocumentParams object

There are no default values defined in the spec.

func (*UpdateMoveDocumentParams) BindRequest

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 NewUpdateMoveDocumentParams() beforehand.

type UpdateMoveDocumentURL

type UpdateMoveDocumentURL struct {
	MoveDocumentID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateMoveDocumentURL generates an URL for the update move document operation

func (*UpdateMoveDocumentURL) Build

func (o *UpdateMoveDocumentURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateMoveDocumentURL) BuildFull

func (o *UpdateMoveDocumentURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateMoveDocumentURL) Must

func (o *UpdateMoveDocumentURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateMoveDocumentURL) SetBasePath

func (o *UpdateMoveDocumentURL) 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 (*UpdateMoveDocumentURL) String

func (o *UpdateMoveDocumentURL) String() string

String returns the string representation of the path with query string

func (*UpdateMoveDocumentURL) StringFull

func (o *UpdateMoveDocumentURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateMoveDocumentURL) WithBasePath

func (o *UpdateMoveDocumentURL) WithBasePath(bp string) *UpdateMoveDocumentURL

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 UpdateMoveDocumentUnauthorized

type UpdateMoveDocumentUnauthorized struct {
}

UpdateMoveDocumentUnauthorized request requires user authentication

swagger:response updateMoveDocumentUnauthorized

func NewUpdateMoveDocumentUnauthorized

func NewUpdateMoveDocumentUnauthorized() *UpdateMoveDocumentUnauthorized

NewUpdateMoveDocumentUnauthorized creates UpdateMoveDocumentUnauthorized with default headers values

func (*UpdateMoveDocumentUnauthorized) WriteResponse

func (o *UpdateMoveDocumentUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL