Documentation ¶
Index ¶
- Constants
- Variables
- type GetAllMoves
- type GetAllMovesForbidden
- type GetAllMovesHandler
- type GetAllMovesHandlerFunc
- type GetAllMovesInternalServerError
- func (o *GetAllMovesInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *GetAllMovesInternalServerError) WithPayload(payload *internalmessages.Error) *GetAllMovesInternalServerError
- func (o *GetAllMovesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAllMovesOK
- type GetAllMovesParams
- type GetAllMovesURL
- func (o *GetAllMovesURL) Build() (*url.URL, error)
- func (o *GetAllMovesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAllMovesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAllMovesURL) SetBasePath(bp string)
- func (o *GetAllMovesURL) String() string
- func (o *GetAllMovesURL) StringFull(scheme, host string) string
- func (o *GetAllMovesURL) WithBasePath(bp string) *GetAllMovesURL
- type GetAllMovesUnauthorized
- type PatchMove
- type PatchMoveBadRequest
- type PatchMoveForbidden
- type PatchMoveHandler
- type PatchMoveHandlerFunc
- type PatchMoveInternalServerError
- type PatchMoveNotFound
- type PatchMoveOK
- type PatchMoveParams
- type PatchMovePreconditionFailed
- type PatchMoveURL
- func (o *PatchMoveURL) Build() (*url.URL, error)
- func (o *PatchMoveURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchMoveURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchMoveURL) SetBasePath(bp string)
- func (o *PatchMoveURL) String() string
- func (o *PatchMoveURL) StringFull(scheme, host string) string
- func (o *PatchMoveURL) WithBasePath(bp string) *PatchMoveURL
- type PatchMoveUnauthorized
- type PatchMoveUnprocessableEntity
- type ShowMove
- type ShowMoveBadRequest
- type ShowMoveForbidden
- type ShowMoveHandler
- type ShowMoveHandlerFunc
- type ShowMoveInternalServerError
- type ShowMoveNotFound
- type ShowMoveOK
- type ShowMoveParams
- type ShowMoveURL
- func (o *ShowMoveURL) Build() (*url.URL, error)
- func (o *ShowMoveURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowMoveURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowMoveURL) SetBasePath(bp string)
- func (o *ShowMoveURL) String() string
- func (o *ShowMoveURL) StringFull(scheme, host string) string
- func (o *ShowMoveURL) WithBasePath(bp string) *ShowMoveURL
- type ShowMoveUnauthorized
- type SubmitAmendedOrders
- type SubmitAmendedOrdersBadRequest
- type SubmitAmendedOrdersConflict
- func (o *SubmitAmendedOrdersConflict) SetPayload(payload *internalmessages.MovePayload)
- func (o *SubmitAmendedOrdersConflict) WithPayload(payload *internalmessages.MovePayload) *SubmitAmendedOrdersConflict
- func (o *SubmitAmendedOrdersConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitAmendedOrdersForbidden
- type SubmitAmendedOrdersHandler
- type SubmitAmendedOrdersHandlerFunc
- type SubmitAmendedOrdersInternalServerError
- type SubmitAmendedOrdersOK
- type SubmitAmendedOrdersParams
- type SubmitAmendedOrdersURL
- func (o *SubmitAmendedOrdersURL) Build() (*url.URL, error)
- func (o *SubmitAmendedOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubmitAmendedOrdersURL) Must(u *url.URL, err error) *url.URL
- func (o *SubmitAmendedOrdersURL) SetBasePath(bp string)
- func (o *SubmitAmendedOrdersURL) String() string
- func (o *SubmitAmendedOrdersURL) StringFull(scheme, host string) string
- func (o *SubmitAmendedOrdersURL) WithBasePath(bp string) *SubmitAmendedOrdersURL
- type SubmitAmendedOrdersUnauthorized
- type SubmitMoveForApproval
- type SubmitMoveForApprovalBadRequest
- type SubmitMoveForApprovalConflict
- func (o *SubmitMoveForApprovalConflict) SetPayload(payload *internalmessages.MovePayload)
- func (o *SubmitMoveForApprovalConflict) WithPayload(payload *internalmessages.MovePayload) *SubmitMoveForApprovalConflict
- func (o *SubmitMoveForApprovalConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitMoveForApprovalForbidden
- type SubmitMoveForApprovalHandler
- type SubmitMoveForApprovalHandlerFunc
- type SubmitMoveForApprovalInternalServerError
- type SubmitMoveForApprovalOK
- type SubmitMoveForApprovalParams
- type SubmitMoveForApprovalURL
- func (o *SubmitMoveForApprovalURL) Build() (*url.URL, error)
- func (o *SubmitMoveForApprovalURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubmitMoveForApprovalURL) Must(u *url.URL, err error) *url.URL
- func (o *SubmitMoveForApprovalURL) SetBasePath(bp string)
- func (o *SubmitMoveForApprovalURL) String() string
- func (o *SubmitMoveForApprovalURL) StringFull(scheme, host string) string
- func (o *SubmitMoveForApprovalURL) WithBasePath(bp string) *SubmitMoveForApprovalURL
- type SubmitMoveForApprovalUnauthorized
- type UploadAdditionalDocuments
- type UploadAdditionalDocumentsBadRequest
- func (o *UploadAdditionalDocumentsBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
- func (o *UploadAdditionalDocumentsBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *UploadAdditionalDocumentsBadRequest
- func (o *UploadAdditionalDocumentsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadAdditionalDocumentsCreated
- func (o *UploadAdditionalDocumentsCreated) SetPayload(payload *internalmessages.Upload)
- func (o *UploadAdditionalDocumentsCreated) WithPayload(payload *internalmessages.Upload) *UploadAdditionalDocumentsCreated
- func (o *UploadAdditionalDocumentsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadAdditionalDocumentsForbidden
- type UploadAdditionalDocumentsHandler
- type UploadAdditionalDocumentsHandlerFunc
- type UploadAdditionalDocumentsInternalServerError
- type UploadAdditionalDocumentsNotFound
- type UploadAdditionalDocumentsParams
- type UploadAdditionalDocumentsRequestEntityTooLarge
- type UploadAdditionalDocumentsURL
- func (o *UploadAdditionalDocumentsURL) Build() (*url.URL, error)
- func (o *UploadAdditionalDocumentsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UploadAdditionalDocumentsURL) Must(u *url.URL, err error) *url.URL
- func (o *UploadAdditionalDocumentsURL) SetBasePath(bp string)
- func (o *UploadAdditionalDocumentsURL) String() string
- func (o *UploadAdditionalDocumentsURL) StringFull(scheme, host string) string
- func (o *UploadAdditionalDocumentsURL) WithBasePath(bp string) *UploadAdditionalDocumentsURL
Constants ¶
const GetAllMovesForbiddenCode int = 403
GetAllMovesForbiddenCode is the HTTP code returned for type GetAllMovesForbidden
const GetAllMovesInternalServerErrorCode int = 500
GetAllMovesInternalServerErrorCode is the HTTP code returned for type GetAllMovesInternalServerError
const GetAllMovesOKCode int = 200
GetAllMovesOKCode is the HTTP code returned for type GetAllMovesOK
GetAllMovesUnauthorizedCode is the HTTP code returned for type GetAllMovesUnauthorized
const PatchMoveBadRequestCode int = 400
PatchMoveBadRequestCode is the HTTP code returned for type PatchMoveBadRequest
const PatchMoveForbiddenCode int = 403
PatchMoveForbiddenCode is the HTTP code returned for type PatchMoveForbidden
const PatchMoveInternalServerErrorCode int = 500
PatchMoveInternalServerErrorCode is the HTTP code returned for type PatchMoveInternalServerError
const PatchMoveNotFoundCode int = 404
PatchMoveNotFoundCode is the HTTP code returned for type PatchMoveNotFound
const PatchMoveOKCode int = 200
PatchMoveOKCode is the HTTP code returned for type PatchMoveOK
const PatchMovePreconditionFailedCode int = 412
PatchMovePreconditionFailedCode is the HTTP code returned for type PatchMovePreconditionFailed
PatchMoveUnauthorizedCode is the HTTP code returned for type PatchMoveUnauthorized
const PatchMoveUnprocessableEntityCode int = 422
PatchMoveUnprocessableEntityCode is the HTTP code returned for type PatchMoveUnprocessableEntity
const ShowMoveBadRequestCode int = 400
ShowMoveBadRequestCode is the HTTP code returned for type ShowMoveBadRequest
const ShowMoveForbiddenCode int = 403
ShowMoveForbiddenCode is the HTTP code returned for type ShowMoveForbidden
const ShowMoveInternalServerErrorCode int = 500
ShowMoveInternalServerErrorCode is the HTTP code returned for type ShowMoveInternalServerError
const ShowMoveNotFoundCode int = 404
ShowMoveNotFoundCode is the HTTP code returned for type ShowMoveNotFound
const ShowMoveOKCode int = 200
ShowMoveOKCode is the HTTP code returned for type ShowMoveOK
ShowMoveUnauthorizedCode is the HTTP code returned for type ShowMoveUnauthorized
const SubmitAmendedOrdersBadRequestCode int = 400
SubmitAmendedOrdersBadRequestCode is the HTTP code returned for type SubmitAmendedOrdersBadRequest
const SubmitAmendedOrdersConflictCode int = 409
SubmitAmendedOrdersConflictCode is the HTTP code returned for type SubmitAmendedOrdersConflict
const SubmitAmendedOrdersForbiddenCode int = 403
SubmitAmendedOrdersForbiddenCode is the HTTP code returned for type SubmitAmendedOrdersForbidden
const SubmitAmendedOrdersInternalServerErrorCode int = 500
SubmitAmendedOrdersInternalServerErrorCode is the HTTP code returned for type SubmitAmendedOrdersInternalServerError
const SubmitAmendedOrdersOKCode int = 200
SubmitAmendedOrdersOKCode is the HTTP code returned for type SubmitAmendedOrdersOK
SubmitAmendedOrdersUnauthorizedCode is the HTTP code returned for type SubmitAmendedOrdersUnauthorized
const SubmitMoveForApprovalBadRequestCode int = 400
SubmitMoveForApprovalBadRequestCode is the HTTP code returned for type SubmitMoveForApprovalBadRequest
const SubmitMoveForApprovalConflictCode int = 409
SubmitMoveForApprovalConflictCode is the HTTP code returned for type SubmitMoveForApprovalConflict
const SubmitMoveForApprovalForbiddenCode int = 403
SubmitMoveForApprovalForbiddenCode is the HTTP code returned for type SubmitMoveForApprovalForbidden
const SubmitMoveForApprovalInternalServerErrorCode int = 500
SubmitMoveForApprovalInternalServerErrorCode is the HTTP code returned for type SubmitMoveForApprovalInternalServerError
const SubmitMoveForApprovalOKCode int = 200
SubmitMoveForApprovalOKCode is the HTTP code returned for type SubmitMoveForApprovalOK
SubmitMoveForApprovalUnauthorizedCode is the HTTP code returned for type SubmitMoveForApprovalUnauthorized
const UploadAdditionalDocumentsBadRequestCode int = 400
UploadAdditionalDocumentsBadRequestCode is the HTTP code returned for type UploadAdditionalDocumentsBadRequest
const UploadAdditionalDocumentsCreatedCode int = 201
UploadAdditionalDocumentsCreatedCode is the HTTP code returned for type UploadAdditionalDocumentsCreated
const UploadAdditionalDocumentsForbiddenCode int = 403
UploadAdditionalDocumentsForbiddenCode is the HTTP code returned for type UploadAdditionalDocumentsForbidden
const UploadAdditionalDocumentsInternalServerErrorCode int = 500
UploadAdditionalDocumentsInternalServerErrorCode is the HTTP code returned for type UploadAdditionalDocumentsInternalServerError
const UploadAdditionalDocumentsNotFoundCode int = 404
UploadAdditionalDocumentsNotFoundCode is the HTTP code returned for type UploadAdditionalDocumentsNotFound
const UploadAdditionalDocumentsRequestEntityTooLargeCode int = 413
UploadAdditionalDocumentsRequestEntityTooLargeCode is the HTTP code returned for type UploadAdditionalDocumentsRequestEntityTooLarge
Variables ¶
var UploadAdditionalDocumentsMaxParseMemory int64 = 32 << 20
UploadAdditionalDocumentsMaxParseMemory 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 GetAllMoves ¶
type GetAllMoves struct { Context *middleware.Context Handler GetAllMovesHandler }
GetAllMoves swagger:route GET /allmoves/{serviceMemberId} moves getAllMoves
Return the current and previous moves of a service member ¶
This endpoint gets all moves that belongs to the serviceMember by using the service members id. In a previous moves array and the current move in the current move array. The current move is the move with the latest CreatedAt date. All other moves will go into the previous move array.
func NewGetAllMoves ¶
func NewGetAllMoves(ctx *middleware.Context, handler GetAllMovesHandler) *GetAllMoves
NewGetAllMoves creates a new http.Handler for the get all moves operation
func (*GetAllMoves) ServeHTTP ¶
func (o *GetAllMoves) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAllMovesForbidden ¶
type GetAllMovesForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
GetAllMovesForbidden The request was denied.
swagger:response getAllMovesForbidden
func NewGetAllMovesForbidden ¶
func NewGetAllMovesForbidden() *GetAllMovesForbidden
NewGetAllMovesForbidden creates GetAllMovesForbidden with default headers values
func (*GetAllMovesForbidden) SetPayload ¶
func (o *GetAllMovesForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the get all moves forbidden response
func (*GetAllMovesForbidden) WithPayload ¶
func (o *GetAllMovesForbidden) WithPayload(payload *internalmessages.ClientError) *GetAllMovesForbidden
WithPayload adds the payload to the get all moves forbidden response
func (*GetAllMovesForbidden) WriteResponse ¶
func (o *GetAllMovesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAllMovesHandler ¶
type GetAllMovesHandler interface {
Handle(GetAllMovesParams) middleware.Responder
}
GetAllMovesHandler interface for that can handle valid get all moves params
type GetAllMovesHandlerFunc ¶
type GetAllMovesHandlerFunc func(GetAllMovesParams) middleware.Responder
GetAllMovesHandlerFunc turns a function with the right signature into a get all moves handler
func (GetAllMovesHandlerFunc) Handle ¶
func (fn GetAllMovesHandlerFunc) Handle(params GetAllMovesParams) middleware.Responder
Handle executing the request and returning a response
type GetAllMovesInternalServerError ¶
type GetAllMovesInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
GetAllMovesInternalServerError A server error occurred.
swagger:response getAllMovesInternalServerError
func NewGetAllMovesInternalServerError ¶
func NewGetAllMovesInternalServerError() *GetAllMovesInternalServerError
NewGetAllMovesInternalServerError creates GetAllMovesInternalServerError with default headers values
func (*GetAllMovesInternalServerError) SetPayload ¶
func (o *GetAllMovesInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the get all moves internal server error response
func (*GetAllMovesInternalServerError) WithPayload ¶
func (o *GetAllMovesInternalServerError) WithPayload(payload *internalmessages.Error) *GetAllMovesInternalServerError
WithPayload adds the payload to the get all moves internal server error response
func (*GetAllMovesInternalServerError) WriteResponse ¶
func (o *GetAllMovesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAllMovesOK ¶
type GetAllMovesOK struct { /* In: Body */ Payload *internalmessages.MovesList `json:"body,omitempty"` }
GetAllMovesOK Successfully retrieved moves. A successful fetch might still return zero moves.
swagger:response getAllMovesOK
func NewGetAllMovesOK ¶
func NewGetAllMovesOK() *GetAllMovesOK
NewGetAllMovesOK creates GetAllMovesOK with default headers values
func (*GetAllMovesOK) SetPayload ¶
func (o *GetAllMovesOK) SetPayload(payload *internalmessages.MovesList)
SetPayload sets the payload to the get all moves o k response
func (*GetAllMovesOK) WithPayload ¶
func (o *GetAllMovesOK) WithPayload(payload *internalmessages.MovesList) *GetAllMovesOK
WithPayload adds the payload to the get all moves o k response
func (*GetAllMovesOK) WriteResponse ¶
func (o *GetAllMovesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAllMovesParams ¶
type GetAllMovesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the service member Required: true In: path */ ServiceMemberID strfmt.UUID }
GetAllMovesParams contains all the bound params for the get all moves operation typically these are obtained from a http.Request
swagger:parameters getAllMoves
func NewGetAllMovesParams ¶
func NewGetAllMovesParams() GetAllMovesParams
NewGetAllMovesParams creates a new GetAllMovesParams object
There are no default values defined in the spec.
func (*GetAllMovesParams) BindRequest ¶
func (o *GetAllMovesParams) 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 NewGetAllMovesParams() beforehand.
type GetAllMovesURL ¶
type GetAllMovesURL struct { ServiceMemberID strfmt.UUID // contains filtered or unexported fields }
GetAllMovesURL generates an URL for the get all moves operation
func (*GetAllMovesURL) Build ¶
func (o *GetAllMovesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAllMovesURL) BuildFull ¶
func (o *GetAllMovesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAllMovesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAllMovesURL) SetBasePath ¶
func (o *GetAllMovesURL) 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 (*GetAllMovesURL) String ¶
func (o *GetAllMovesURL) String() string
String returns the string representation of the path with query string
func (*GetAllMovesURL) StringFull ¶
func (o *GetAllMovesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAllMovesURL) WithBasePath ¶
func (o *GetAllMovesURL) WithBasePath(bp string) *GetAllMovesURL
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 GetAllMovesUnauthorized ¶
type GetAllMovesUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
GetAllMovesUnauthorized The request was denied.
swagger:response getAllMovesUnauthorized
func NewGetAllMovesUnauthorized ¶
func NewGetAllMovesUnauthorized() *GetAllMovesUnauthorized
NewGetAllMovesUnauthorized creates GetAllMovesUnauthorized with default headers values
func (*GetAllMovesUnauthorized) SetPayload ¶
func (o *GetAllMovesUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the get all moves unauthorized response
func (*GetAllMovesUnauthorized) WithPayload ¶
func (o *GetAllMovesUnauthorized) WithPayload(payload *internalmessages.ClientError) *GetAllMovesUnauthorized
WithPayload adds the payload to the get all moves unauthorized response
func (*GetAllMovesUnauthorized) WriteResponse ¶
func (o *GetAllMovesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchMove ¶
type PatchMove struct { Context *middleware.Context Handler PatchMoveHandler }
PatchMove swagger:route PATCH /moves/{moveId} moves patchMove
Patches the move ¶
Any fields sent in this request will be set on the move referenced
func NewPatchMove ¶
func NewPatchMove(ctx *middleware.Context, handler PatchMoveHandler) *PatchMove
NewPatchMove creates a new http.Handler for the patch move operation
type PatchMoveBadRequest ¶
type PatchMoveBadRequest struct { }
PatchMoveBadRequest invalid request
swagger:response patchMoveBadRequest
func NewPatchMoveBadRequest ¶
func NewPatchMoveBadRequest() *PatchMoveBadRequest
NewPatchMoveBadRequest creates PatchMoveBadRequest with default headers values
func (*PatchMoveBadRequest) WriteResponse ¶
func (o *PatchMoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchMoveForbidden ¶
type PatchMoveForbidden struct { }
PatchMoveForbidden user is not authorized
swagger:response patchMoveForbidden
func NewPatchMoveForbidden ¶
func NewPatchMoveForbidden() *PatchMoveForbidden
NewPatchMoveForbidden creates PatchMoveForbidden with default headers values
func (*PatchMoveForbidden) WriteResponse ¶
func (o *PatchMoveForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchMoveHandler ¶
type PatchMoveHandler interface {
Handle(PatchMoveParams) middleware.Responder
}
PatchMoveHandler interface for that can handle valid patch move params
type PatchMoveHandlerFunc ¶
type PatchMoveHandlerFunc func(PatchMoveParams) middleware.Responder
PatchMoveHandlerFunc turns a function with the right signature into a patch move handler
func (PatchMoveHandlerFunc) Handle ¶
func (fn PatchMoveHandlerFunc) Handle(params PatchMoveParams) middleware.Responder
Handle executing the request and returning a response
type PatchMoveInternalServerError ¶
type PatchMoveInternalServerError struct { }
PatchMoveInternalServerError internal server error
swagger:response patchMoveInternalServerError
func NewPatchMoveInternalServerError ¶
func NewPatchMoveInternalServerError() *PatchMoveInternalServerError
NewPatchMoveInternalServerError creates PatchMoveInternalServerError with default headers values
func (*PatchMoveInternalServerError) WriteResponse ¶
func (o *PatchMoveInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchMoveNotFound ¶
type PatchMoveNotFound struct { }
PatchMoveNotFound move or closeout office is not found
swagger:response patchMoveNotFound
func NewPatchMoveNotFound ¶
func NewPatchMoveNotFound() *PatchMoveNotFound
NewPatchMoveNotFound creates PatchMoveNotFound with default headers values
func (*PatchMoveNotFound) WriteResponse ¶
func (o *PatchMoveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchMoveOK ¶
type PatchMoveOK struct { /* In: Body */ Payload *internalmessages.MovePayload `json:"body,omitempty"` }
PatchMoveOK updated instance of move
swagger:response patchMoveOK
func NewPatchMoveOK ¶
func NewPatchMoveOK() *PatchMoveOK
NewPatchMoveOK creates PatchMoveOK with default headers values
func (*PatchMoveOK) SetPayload ¶
func (o *PatchMoveOK) SetPayload(payload *internalmessages.MovePayload)
SetPayload sets the payload to the patch move o k response
func (*PatchMoveOK) WithPayload ¶
func (o *PatchMoveOK) WithPayload(payload *internalmessages.MovePayload) *PatchMoveOK
WithPayload adds the payload to the patch move o k response
func (*PatchMoveOK) WriteResponse ¶
func (o *PatchMoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchMoveParams ¶
type PatchMoveParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error. Required: true In: header */ IfMatch string /*UUID of the move Required: true In: path */ MoveID strfmt.UUID /* Required: true In: body */ PatchMovePayload *internalmessages.PatchMovePayload }
PatchMoveParams contains all the bound params for the patch move operation typically these are obtained from a http.Request
swagger:parameters patchMove
func NewPatchMoveParams ¶
func NewPatchMoveParams() PatchMoveParams
NewPatchMoveParams creates a new PatchMoveParams object
There are no default values defined in the spec.
func (*PatchMoveParams) BindRequest ¶
func (o *PatchMoveParams) 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 NewPatchMoveParams() beforehand.
type PatchMovePreconditionFailed ¶
type PatchMovePreconditionFailed struct { }
PatchMovePreconditionFailed precondition failed
swagger:response patchMovePreconditionFailed
func NewPatchMovePreconditionFailed ¶
func NewPatchMovePreconditionFailed() *PatchMovePreconditionFailed
NewPatchMovePreconditionFailed creates PatchMovePreconditionFailed with default headers values
func (*PatchMovePreconditionFailed) WriteResponse ¶
func (o *PatchMovePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchMoveURL ¶
PatchMoveURL generates an URL for the patch move operation
func (*PatchMoveURL) Build ¶
func (o *PatchMoveURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchMoveURL) BuildFull ¶
func (o *PatchMoveURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchMoveURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchMoveURL) SetBasePath ¶
func (o *PatchMoveURL) 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 (*PatchMoveURL) String ¶
func (o *PatchMoveURL) String() string
String returns the string representation of the path with query string
func (*PatchMoveURL) StringFull ¶
func (o *PatchMoveURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchMoveURL) WithBasePath ¶
func (o *PatchMoveURL) WithBasePath(bp string) *PatchMoveURL
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 PatchMoveUnauthorized ¶
type PatchMoveUnauthorized struct { }
PatchMoveUnauthorized request requires user authentication
swagger:response patchMoveUnauthorized
func NewPatchMoveUnauthorized ¶
func NewPatchMoveUnauthorized() *PatchMoveUnauthorized
NewPatchMoveUnauthorized creates PatchMoveUnauthorized with default headers values
func (*PatchMoveUnauthorized) WriteResponse ¶
func (o *PatchMoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchMoveUnprocessableEntity ¶
type PatchMoveUnprocessableEntity struct { }
PatchMoveUnprocessableEntity unprocessable entity
swagger:response patchMoveUnprocessableEntity
func NewPatchMoveUnprocessableEntity ¶
func NewPatchMoveUnprocessableEntity() *PatchMoveUnprocessableEntity
NewPatchMoveUnprocessableEntity creates PatchMoveUnprocessableEntity with default headers values
func (*PatchMoveUnprocessableEntity) WriteResponse ¶
func (o *PatchMoveUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowMove ¶
type ShowMove struct { Context *middleware.Context Handler ShowMoveHandler }
ShowMove swagger:route GET /moves/{moveId} moves showMove
Returns the given move ¶
Returns the given move
func NewShowMove ¶
func NewShowMove(ctx *middleware.Context, handler ShowMoveHandler) *ShowMove
NewShowMove creates a new http.Handler for the show move operation
type ShowMoveBadRequest ¶
type ShowMoveBadRequest struct { }
ShowMoveBadRequest invalid request
swagger:response showMoveBadRequest
func NewShowMoveBadRequest ¶
func NewShowMoveBadRequest() *ShowMoveBadRequest
NewShowMoveBadRequest creates ShowMoveBadRequest with default headers values
func (*ShowMoveBadRequest) WriteResponse ¶
func (o *ShowMoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowMoveForbidden ¶
type ShowMoveForbidden struct { }
ShowMoveForbidden user is not authorized
swagger:response showMoveForbidden
func NewShowMoveForbidden ¶
func NewShowMoveForbidden() *ShowMoveForbidden
NewShowMoveForbidden creates ShowMoveForbidden with default headers values
func (*ShowMoveForbidden) WriteResponse ¶
func (o *ShowMoveForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowMoveHandler ¶
type ShowMoveHandler interface {
Handle(ShowMoveParams) middleware.Responder
}
ShowMoveHandler interface for that can handle valid show move params
type ShowMoveHandlerFunc ¶
type ShowMoveHandlerFunc func(ShowMoveParams) middleware.Responder
ShowMoveHandlerFunc turns a function with the right signature into a show move handler
func (ShowMoveHandlerFunc) Handle ¶
func (fn ShowMoveHandlerFunc) Handle(params ShowMoveParams) middleware.Responder
Handle executing the request and returning a response
type ShowMoveInternalServerError ¶
type ShowMoveInternalServerError struct { }
ShowMoveInternalServerError internal server error
swagger:response showMoveInternalServerError
func NewShowMoveInternalServerError ¶
func NewShowMoveInternalServerError() *ShowMoveInternalServerError
NewShowMoveInternalServerError creates ShowMoveInternalServerError with default headers values
func (*ShowMoveInternalServerError) WriteResponse ¶
func (o *ShowMoveInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowMoveNotFound ¶
type ShowMoveNotFound struct { }
ShowMoveNotFound move is not found
swagger:response showMoveNotFound
func NewShowMoveNotFound ¶
func NewShowMoveNotFound() *ShowMoveNotFound
NewShowMoveNotFound creates ShowMoveNotFound with default headers values
func (*ShowMoveNotFound) WriteResponse ¶
func (o *ShowMoveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowMoveOK ¶
type ShowMoveOK struct { /* In: Body */ Payload *internalmessages.MovePayload `json:"body,omitempty"` }
ShowMoveOK the instance of the move
swagger:response showMoveOK
func NewShowMoveOK ¶
func NewShowMoveOK() *ShowMoveOK
NewShowMoveOK creates ShowMoveOK with default headers values
func (*ShowMoveOK) SetPayload ¶
func (o *ShowMoveOK) SetPayload(payload *internalmessages.MovePayload)
SetPayload sets the payload to the show move o k response
func (*ShowMoveOK) WithPayload ¶
func (o *ShowMoveOK) WithPayload(payload *internalmessages.MovePayload) *ShowMoveOK
WithPayload adds the payload to the show move o k response
func (*ShowMoveOK) WriteResponse ¶
func (o *ShowMoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowMoveParams ¶
type ShowMoveParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the move Required: true In: path */ MoveID strfmt.UUID }
ShowMoveParams contains all the bound params for the show move operation typically these are obtained from a http.Request
swagger:parameters showMove
func NewShowMoveParams ¶
func NewShowMoveParams() ShowMoveParams
NewShowMoveParams creates a new ShowMoveParams object
There are no default values defined in the spec.
func (*ShowMoveParams) BindRequest ¶
func (o *ShowMoveParams) 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 NewShowMoveParams() beforehand.
type ShowMoveURL ¶
ShowMoveURL generates an URL for the show move operation
func (*ShowMoveURL) Build ¶
func (o *ShowMoveURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowMoveURL) BuildFull ¶
func (o *ShowMoveURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowMoveURL) SetBasePath ¶
func (o *ShowMoveURL) 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 (*ShowMoveURL) String ¶
func (o *ShowMoveURL) String() string
String returns the string representation of the path with query string
func (*ShowMoveURL) StringFull ¶
func (o *ShowMoveURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowMoveURL) WithBasePath ¶
func (o *ShowMoveURL) WithBasePath(bp string) *ShowMoveURL
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 ShowMoveUnauthorized ¶
type ShowMoveUnauthorized struct { }
ShowMoveUnauthorized request requires user authentication
swagger:response showMoveUnauthorized
func NewShowMoveUnauthorized ¶
func NewShowMoveUnauthorized() *ShowMoveUnauthorized
NewShowMoveUnauthorized creates ShowMoveUnauthorized with default headers values
func (*ShowMoveUnauthorized) WriteResponse ¶
func (o *ShowMoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitAmendedOrders ¶
type SubmitAmendedOrders struct { Context *middleware.Context Handler SubmitAmendedOrdersHandler }
SubmitAmendedOrders swagger:route POST /moves/{moveId}/submit_amended_orders moves submitAmendedOrders
Submits amended orders for review ¶
Submits amended orders for review by the office. The status of the move will be updated to an appropriate status depending on whether it needs services counseling or not.
func NewSubmitAmendedOrders ¶
func NewSubmitAmendedOrders(ctx *middleware.Context, handler SubmitAmendedOrdersHandler) *SubmitAmendedOrders
NewSubmitAmendedOrders creates a new http.Handler for the submit amended orders operation
func (*SubmitAmendedOrders) ServeHTTP ¶
func (o *SubmitAmendedOrders) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubmitAmendedOrdersBadRequest ¶
type SubmitAmendedOrdersBadRequest struct { }
SubmitAmendedOrdersBadRequest invalid request
swagger:response submitAmendedOrdersBadRequest
func NewSubmitAmendedOrdersBadRequest ¶
func NewSubmitAmendedOrdersBadRequest() *SubmitAmendedOrdersBadRequest
NewSubmitAmendedOrdersBadRequest creates SubmitAmendedOrdersBadRequest with default headers values
func (*SubmitAmendedOrdersBadRequest) WriteResponse ¶
func (o *SubmitAmendedOrdersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitAmendedOrdersConflict ¶
type SubmitAmendedOrdersConflict struct { /* In: Body */ Payload *internalmessages.MovePayload `json:"body,omitempty"` }
SubmitAmendedOrdersConflict the move is not in a state to be approved
swagger:response submitAmendedOrdersConflict
func NewSubmitAmendedOrdersConflict ¶
func NewSubmitAmendedOrdersConflict() *SubmitAmendedOrdersConflict
NewSubmitAmendedOrdersConflict creates SubmitAmendedOrdersConflict with default headers values
func (*SubmitAmendedOrdersConflict) SetPayload ¶
func (o *SubmitAmendedOrdersConflict) SetPayload(payload *internalmessages.MovePayload)
SetPayload sets the payload to the submit amended orders conflict response
func (*SubmitAmendedOrdersConflict) WithPayload ¶
func (o *SubmitAmendedOrdersConflict) WithPayload(payload *internalmessages.MovePayload) *SubmitAmendedOrdersConflict
WithPayload adds the payload to the submit amended orders conflict response
func (*SubmitAmendedOrdersConflict) WriteResponse ¶
func (o *SubmitAmendedOrdersConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitAmendedOrdersForbidden ¶
type SubmitAmendedOrdersForbidden struct { }
SubmitAmendedOrdersForbidden not authorized to approve this move
swagger:response submitAmendedOrdersForbidden
func NewSubmitAmendedOrdersForbidden ¶
func NewSubmitAmendedOrdersForbidden() *SubmitAmendedOrdersForbidden
NewSubmitAmendedOrdersForbidden creates SubmitAmendedOrdersForbidden with default headers values
func (*SubmitAmendedOrdersForbidden) WriteResponse ¶
func (o *SubmitAmendedOrdersForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitAmendedOrdersHandler ¶
type SubmitAmendedOrdersHandler interface {
Handle(SubmitAmendedOrdersParams) middleware.Responder
}
SubmitAmendedOrdersHandler interface for that can handle valid submit amended orders params
type SubmitAmendedOrdersHandlerFunc ¶
type SubmitAmendedOrdersHandlerFunc func(SubmitAmendedOrdersParams) middleware.Responder
SubmitAmendedOrdersHandlerFunc turns a function with the right signature into a submit amended orders handler
func (SubmitAmendedOrdersHandlerFunc) Handle ¶
func (fn SubmitAmendedOrdersHandlerFunc) Handle(params SubmitAmendedOrdersParams) middleware.Responder
Handle executing the request and returning a response
type SubmitAmendedOrdersInternalServerError ¶
type SubmitAmendedOrdersInternalServerError struct { }
SubmitAmendedOrdersInternalServerError server error
swagger:response submitAmendedOrdersInternalServerError
func NewSubmitAmendedOrdersInternalServerError ¶
func NewSubmitAmendedOrdersInternalServerError() *SubmitAmendedOrdersInternalServerError
NewSubmitAmendedOrdersInternalServerError creates SubmitAmendedOrdersInternalServerError with default headers values
func (*SubmitAmendedOrdersInternalServerError) WriteResponse ¶
func (o *SubmitAmendedOrdersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitAmendedOrdersOK ¶
type SubmitAmendedOrdersOK struct { /* In: Body */ Payload *internalmessages.MovePayload `json:"body,omitempty"` }
SubmitAmendedOrdersOK returns updated (submitted) move object
swagger:response submitAmendedOrdersOK
func NewSubmitAmendedOrdersOK ¶
func NewSubmitAmendedOrdersOK() *SubmitAmendedOrdersOK
NewSubmitAmendedOrdersOK creates SubmitAmendedOrdersOK with default headers values
func (*SubmitAmendedOrdersOK) SetPayload ¶
func (o *SubmitAmendedOrdersOK) SetPayload(payload *internalmessages.MovePayload)
SetPayload sets the payload to the submit amended orders o k response
func (*SubmitAmendedOrdersOK) WithPayload ¶
func (o *SubmitAmendedOrdersOK) WithPayload(payload *internalmessages.MovePayload) *SubmitAmendedOrdersOK
WithPayload adds the payload to the submit amended orders o k response
func (*SubmitAmendedOrdersOK) WriteResponse ¶
func (o *SubmitAmendedOrdersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitAmendedOrdersParams ¶
type SubmitAmendedOrdersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the move Required: true In: path */ MoveID strfmt.UUID }
SubmitAmendedOrdersParams contains all the bound params for the submit amended orders operation typically these are obtained from a http.Request
swagger:parameters submitAmendedOrders
func NewSubmitAmendedOrdersParams ¶
func NewSubmitAmendedOrdersParams() SubmitAmendedOrdersParams
NewSubmitAmendedOrdersParams creates a new SubmitAmendedOrdersParams object
There are no default values defined in the spec.
func (*SubmitAmendedOrdersParams) BindRequest ¶
func (o *SubmitAmendedOrdersParams) 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 NewSubmitAmendedOrdersParams() beforehand.
type SubmitAmendedOrdersURL ¶
SubmitAmendedOrdersURL generates an URL for the submit amended orders operation
func (*SubmitAmendedOrdersURL) Build ¶
func (o *SubmitAmendedOrdersURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubmitAmendedOrdersURL) BuildFull ¶
func (o *SubmitAmendedOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubmitAmendedOrdersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubmitAmendedOrdersURL) SetBasePath ¶
func (o *SubmitAmendedOrdersURL) 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 (*SubmitAmendedOrdersURL) String ¶
func (o *SubmitAmendedOrdersURL) String() string
String returns the string representation of the path with query string
func (*SubmitAmendedOrdersURL) StringFull ¶
func (o *SubmitAmendedOrdersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubmitAmendedOrdersURL) WithBasePath ¶
func (o *SubmitAmendedOrdersURL) WithBasePath(bp string) *SubmitAmendedOrdersURL
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 SubmitAmendedOrdersUnauthorized ¶
type SubmitAmendedOrdersUnauthorized struct { }
SubmitAmendedOrdersUnauthorized must be authenticated to use this endpoint
swagger:response submitAmendedOrdersUnauthorized
func NewSubmitAmendedOrdersUnauthorized ¶
func NewSubmitAmendedOrdersUnauthorized() *SubmitAmendedOrdersUnauthorized
NewSubmitAmendedOrdersUnauthorized creates SubmitAmendedOrdersUnauthorized with default headers values
func (*SubmitAmendedOrdersUnauthorized) WriteResponse ¶
func (o *SubmitAmendedOrdersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitMoveForApproval ¶
type SubmitMoveForApproval struct { Context *middleware.Context Handler SubmitMoveForApprovalHandler }
SubmitMoveForApproval swagger:route POST /moves/{moveId}/submit moves submitMoveForApproval
Submits a move for approval ¶
Submits a move for approval by the office. The status of the move will be updated to SUBMITTED
func NewSubmitMoveForApproval ¶
func NewSubmitMoveForApproval(ctx *middleware.Context, handler SubmitMoveForApprovalHandler) *SubmitMoveForApproval
NewSubmitMoveForApproval creates a new http.Handler for the submit move for approval operation
func (*SubmitMoveForApproval) ServeHTTP ¶
func (o *SubmitMoveForApproval) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubmitMoveForApprovalBadRequest ¶
type SubmitMoveForApprovalBadRequest struct { }
SubmitMoveForApprovalBadRequest invalid request
swagger:response submitMoveForApprovalBadRequest
func NewSubmitMoveForApprovalBadRequest ¶
func NewSubmitMoveForApprovalBadRequest() *SubmitMoveForApprovalBadRequest
NewSubmitMoveForApprovalBadRequest creates SubmitMoveForApprovalBadRequest with default headers values
func (*SubmitMoveForApprovalBadRequest) WriteResponse ¶
func (o *SubmitMoveForApprovalBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitMoveForApprovalConflict ¶
type SubmitMoveForApprovalConflict struct { /* In: Body */ Payload *internalmessages.MovePayload `json:"body,omitempty"` }
SubmitMoveForApprovalConflict the move is not in a state to be approved
swagger:response submitMoveForApprovalConflict
func NewSubmitMoveForApprovalConflict ¶
func NewSubmitMoveForApprovalConflict() *SubmitMoveForApprovalConflict
NewSubmitMoveForApprovalConflict creates SubmitMoveForApprovalConflict with default headers values
func (*SubmitMoveForApprovalConflict) SetPayload ¶
func (o *SubmitMoveForApprovalConflict) SetPayload(payload *internalmessages.MovePayload)
SetPayload sets the payload to the submit move for approval conflict response
func (*SubmitMoveForApprovalConflict) WithPayload ¶
func (o *SubmitMoveForApprovalConflict) WithPayload(payload *internalmessages.MovePayload) *SubmitMoveForApprovalConflict
WithPayload adds the payload to the submit move for approval conflict response
func (*SubmitMoveForApprovalConflict) WriteResponse ¶
func (o *SubmitMoveForApprovalConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitMoveForApprovalForbidden ¶
type SubmitMoveForApprovalForbidden struct { }
SubmitMoveForApprovalForbidden not authorized to approve this move
swagger:response submitMoveForApprovalForbidden
func NewSubmitMoveForApprovalForbidden ¶
func NewSubmitMoveForApprovalForbidden() *SubmitMoveForApprovalForbidden
NewSubmitMoveForApprovalForbidden creates SubmitMoveForApprovalForbidden with default headers values
func (*SubmitMoveForApprovalForbidden) WriteResponse ¶
func (o *SubmitMoveForApprovalForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitMoveForApprovalHandler ¶
type SubmitMoveForApprovalHandler interface {
Handle(SubmitMoveForApprovalParams) middleware.Responder
}
SubmitMoveForApprovalHandler interface for that can handle valid submit move for approval params
type SubmitMoveForApprovalHandlerFunc ¶
type SubmitMoveForApprovalHandlerFunc func(SubmitMoveForApprovalParams) middleware.Responder
SubmitMoveForApprovalHandlerFunc turns a function with the right signature into a submit move for approval handler
func (SubmitMoveForApprovalHandlerFunc) Handle ¶
func (fn SubmitMoveForApprovalHandlerFunc) Handle(params SubmitMoveForApprovalParams) middleware.Responder
Handle executing the request and returning a response
type SubmitMoveForApprovalInternalServerError ¶
type SubmitMoveForApprovalInternalServerError struct { }
SubmitMoveForApprovalInternalServerError server error
swagger:response submitMoveForApprovalInternalServerError
func NewSubmitMoveForApprovalInternalServerError ¶
func NewSubmitMoveForApprovalInternalServerError() *SubmitMoveForApprovalInternalServerError
NewSubmitMoveForApprovalInternalServerError creates SubmitMoveForApprovalInternalServerError with default headers values
func (*SubmitMoveForApprovalInternalServerError) WriteResponse ¶
func (o *SubmitMoveForApprovalInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitMoveForApprovalOK ¶
type SubmitMoveForApprovalOK struct { /* In: Body */ Payload *internalmessages.MovePayload `json:"body,omitempty"` }
SubmitMoveForApprovalOK returns updated (submitted) move object
swagger:response submitMoveForApprovalOK
func NewSubmitMoveForApprovalOK ¶
func NewSubmitMoveForApprovalOK() *SubmitMoveForApprovalOK
NewSubmitMoveForApprovalOK creates SubmitMoveForApprovalOK with default headers values
func (*SubmitMoveForApprovalOK) SetPayload ¶
func (o *SubmitMoveForApprovalOK) SetPayload(payload *internalmessages.MovePayload)
SetPayload sets the payload to the submit move for approval o k response
func (*SubmitMoveForApprovalOK) WithPayload ¶
func (o *SubmitMoveForApprovalOK) WithPayload(payload *internalmessages.MovePayload) *SubmitMoveForApprovalOK
WithPayload adds the payload to the submit move for approval o k response
func (*SubmitMoveForApprovalOK) WriteResponse ¶
func (o *SubmitMoveForApprovalOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitMoveForApprovalParams ¶
type SubmitMoveForApprovalParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the move Required: true In: path */ MoveID strfmt.UUID /* Required: true In: body */ SubmitMoveForApprovalPayload *internalmessages.SubmitMoveForApprovalPayload }
SubmitMoveForApprovalParams contains all the bound params for the submit move for approval operation typically these are obtained from a http.Request
swagger:parameters submitMoveForApproval
func NewSubmitMoveForApprovalParams ¶
func NewSubmitMoveForApprovalParams() SubmitMoveForApprovalParams
NewSubmitMoveForApprovalParams creates a new SubmitMoveForApprovalParams object
There are no default values defined in the spec.
func (*SubmitMoveForApprovalParams) BindRequest ¶
func (o *SubmitMoveForApprovalParams) 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 NewSubmitMoveForApprovalParams() beforehand.
type SubmitMoveForApprovalURL ¶
type SubmitMoveForApprovalURL struct { MoveID strfmt.UUID // contains filtered or unexported fields }
SubmitMoveForApprovalURL generates an URL for the submit move for approval operation
func (*SubmitMoveForApprovalURL) Build ¶
func (o *SubmitMoveForApprovalURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubmitMoveForApprovalURL) BuildFull ¶
func (o *SubmitMoveForApprovalURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubmitMoveForApprovalURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubmitMoveForApprovalURL) SetBasePath ¶
func (o *SubmitMoveForApprovalURL) 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 (*SubmitMoveForApprovalURL) String ¶
func (o *SubmitMoveForApprovalURL) String() string
String returns the string representation of the path with query string
func (*SubmitMoveForApprovalURL) StringFull ¶
func (o *SubmitMoveForApprovalURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubmitMoveForApprovalURL) WithBasePath ¶
func (o *SubmitMoveForApprovalURL) WithBasePath(bp string) *SubmitMoveForApprovalURL
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 SubmitMoveForApprovalUnauthorized ¶
type SubmitMoveForApprovalUnauthorized struct { }
SubmitMoveForApprovalUnauthorized must be authenticated to use this endpoint
swagger:response submitMoveForApprovalUnauthorized
func NewSubmitMoveForApprovalUnauthorized ¶
func NewSubmitMoveForApprovalUnauthorized() *SubmitMoveForApprovalUnauthorized
NewSubmitMoveForApprovalUnauthorized creates SubmitMoveForApprovalUnauthorized with default headers values
func (*SubmitMoveForApprovalUnauthorized) WriteResponse ¶
func (o *SubmitMoveForApprovalUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAdditionalDocuments ¶
type UploadAdditionalDocuments struct { Context *middleware.Context Handler UploadAdditionalDocumentsHandler }
UploadAdditionalDocuments swagger:route PATCH /moves/{moveId}/uploadAdditionalDocuments moves uploadAdditionalDocuments
Patch the additional documents for a given move ¶
Customers will on occaision need the ability to upload additional supporting documents, for a variety of reasons. This does not include amended order.
func NewUploadAdditionalDocuments ¶
func NewUploadAdditionalDocuments(ctx *middleware.Context, handler UploadAdditionalDocumentsHandler) *UploadAdditionalDocuments
NewUploadAdditionalDocuments creates a new http.Handler for the upload additional documents operation
func (*UploadAdditionalDocuments) ServeHTTP ¶
func (o *UploadAdditionalDocuments) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UploadAdditionalDocumentsBadRequest ¶
type UploadAdditionalDocumentsBadRequest struct { /* In: Body */ Payload *internalmessages.InvalidRequestResponsePayload `json:"body,omitempty"` }
UploadAdditionalDocumentsBadRequest invalid request
swagger:response uploadAdditionalDocumentsBadRequest
func NewUploadAdditionalDocumentsBadRequest ¶
func NewUploadAdditionalDocumentsBadRequest() *UploadAdditionalDocumentsBadRequest
NewUploadAdditionalDocumentsBadRequest creates UploadAdditionalDocumentsBadRequest with default headers values
func (*UploadAdditionalDocumentsBadRequest) SetPayload ¶
func (o *UploadAdditionalDocumentsBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
SetPayload sets the payload to the upload additional documents bad request response
func (*UploadAdditionalDocumentsBadRequest) WithPayload ¶
func (o *UploadAdditionalDocumentsBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *UploadAdditionalDocumentsBadRequest
WithPayload adds the payload to the upload additional documents bad request response
func (*UploadAdditionalDocumentsBadRequest) WriteResponse ¶
func (o *UploadAdditionalDocumentsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAdditionalDocumentsCreated ¶
type UploadAdditionalDocumentsCreated struct { /* In: Body */ Payload *internalmessages.Upload `json:"body,omitempty"` }
UploadAdditionalDocumentsCreated created upload
swagger:response uploadAdditionalDocumentsCreated
func NewUploadAdditionalDocumentsCreated ¶
func NewUploadAdditionalDocumentsCreated() *UploadAdditionalDocumentsCreated
NewUploadAdditionalDocumentsCreated creates UploadAdditionalDocumentsCreated with default headers values
func (*UploadAdditionalDocumentsCreated) SetPayload ¶
func (o *UploadAdditionalDocumentsCreated) SetPayload(payload *internalmessages.Upload)
SetPayload sets the payload to the upload additional documents created response
func (*UploadAdditionalDocumentsCreated) WithPayload ¶
func (o *UploadAdditionalDocumentsCreated) WithPayload(payload *internalmessages.Upload) *UploadAdditionalDocumentsCreated
WithPayload adds the payload to the upload additional documents created response
func (*UploadAdditionalDocumentsCreated) WriteResponse ¶
func (o *UploadAdditionalDocumentsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAdditionalDocumentsForbidden ¶
type UploadAdditionalDocumentsForbidden struct { }
UploadAdditionalDocumentsForbidden not authorized
swagger:response uploadAdditionalDocumentsForbidden
func NewUploadAdditionalDocumentsForbidden ¶
func NewUploadAdditionalDocumentsForbidden() *UploadAdditionalDocumentsForbidden
NewUploadAdditionalDocumentsForbidden creates UploadAdditionalDocumentsForbidden with default headers values
func (*UploadAdditionalDocumentsForbidden) WriteResponse ¶
func (o *UploadAdditionalDocumentsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAdditionalDocumentsHandler ¶
type UploadAdditionalDocumentsHandler interface {
Handle(UploadAdditionalDocumentsParams) middleware.Responder
}
UploadAdditionalDocumentsHandler interface for that can handle valid upload additional documents params
type UploadAdditionalDocumentsHandlerFunc ¶
type UploadAdditionalDocumentsHandlerFunc func(UploadAdditionalDocumentsParams) middleware.Responder
UploadAdditionalDocumentsHandlerFunc turns a function with the right signature into a upload additional documents handler
func (UploadAdditionalDocumentsHandlerFunc) Handle ¶
func (fn UploadAdditionalDocumentsHandlerFunc) Handle(params UploadAdditionalDocumentsParams) middleware.Responder
Handle executing the request and returning a response
type UploadAdditionalDocumentsInternalServerError ¶
type UploadAdditionalDocumentsInternalServerError struct { }
UploadAdditionalDocumentsInternalServerError server error
swagger:response uploadAdditionalDocumentsInternalServerError
func NewUploadAdditionalDocumentsInternalServerError ¶
func NewUploadAdditionalDocumentsInternalServerError() *UploadAdditionalDocumentsInternalServerError
NewUploadAdditionalDocumentsInternalServerError creates UploadAdditionalDocumentsInternalServerError with default headers values
func (*UploadAdditionalDocumentsInternalServerError) WriteResponse ¶
func (o *UploadAdditionalDocumentsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAdditionalDocumentsNotFound ¶
type UploadAdditionalDocumentsNotFound struct { }
UploadAdditionalDocumentsNotFound not found
swagger:response uploadAdditionalDocumentsNotFound
func NewUploadAdditionalDocumentsNotFound ¶
func NewUploadAdditionalDocumentsNotFound() *UploadAdditionalDocumentsNotFound
NewUploadAdditionalDocumentsNotFound creates UploadAdditionalDocumentsNotFound with default headers values
func (*UploadAdditionalDocumentsNotFound) WriteResponse ¶
func (o *UploadAdditionalDocumentsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAdditionalDocumentsParams ¶
type UploadAdditionalDocumentsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The file to upload. Required: true In: formData */ File io.ReadCloser /*UUID of the order Required: true In: path */ MoveID strfmt.UUID }
UploadAdditionalDocumentsParams contains all the bound params for the upload additional documents operation typically these are obtained from a http.Request
swagger:parameters uploadAdditionalDocuments
func NewUploadAdditionalDocumentsParams ¶
func NewUploadAdditionalDocumentsParams() UploadAdditionalDocumentsParams
NewUploadAdditionalDocumentsParams creates a new UploadAdditionalDocumentsParams object
There are no default values defined in the spec.
func (*UploadAdditionalDocumentsParams) BindRequest ¶
func (o *UploadAdditionalDocumentsParams) 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 NewUploadAdditionalDocumentsParams() beforehand.
type UploadAdditionalDocumentsRequestEntityTooLarge ¶
type UploadAdditionalDocumentsRequestEntityTooLarge struct { }
UploadAdditionalDocumentsRequestEntityTooLarge payload is too large
swagger:response uploadAdditionalDocumentsRequestEntityTooLarge
func NewUploadAdditionalDocumentsRequestEntityTooLarge ¶
func NewUploadAdditionalDocumentsRequestEntityTooLarge() *UploadAdditionalDocumentsRequestEntityTooLarge
NewUploadAdditionalDocumentsRequestEntityTooLarge creates UploadAdditionalDocumentsRequestEntityTooLarge with default headers values
func (*UploadAdditionalDocumentsRequestEntityTooLarge) WriteResponse ¶
func (o *UploadAdditionalDocumentsRequestEntityTooLarge) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAdditionalDocumentsURL ¶
type UploadAdditionalDocumentsURL struct { MoveID strfmt.UUID // contains filtered or unexported fields }
UploadAdditionalDocumentsURL generates an URL for the upload additional documents operation
func (*UploadAdditionalDocumentsURL) Build ¶
func (o *UploadAdditionalDocumentsURL) Build() (*url.URL, error)
Build a url path and query string
func (*UploadAdditionalDocumentsURL) BuildFull ¶
func (o *UploadAdditionalDocumentsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UploadAdditionalDocumentsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UploadAdditionalDocumentsURL) SetBasePath ¶
func (o *UploadAdditionalDocumentsURL) 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 (*UploadAdditionalDocumentsURL) String ¶
func (o *UploadAdditionalDocumentsURL) String() string
String returns the string representation of the path with query string
func (*UploadAdditionalDocumentsURL) StringFull ¶
func (o *UploadAdditionalDocumentsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UploadAdditionalDocumentsURL) WithBasePath ¶
func (o *UploadAdditionalDocumentsURL) WithBasePath(bp string) *UploadAdditionalDocumentsURL
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 ¶
- get_all_moves.go
- get_all_moves_parameters.go
- get_all_moves_responses.go
- get_all_moves_urlbuilder.go
- patch_move.go
- patch_move_parameters.go
- patch_move_responses.go
- patch_move_urlbuilder.go
- show_move.go
- show_move_parameters.go
- show_move_responses.go
- show_move_urlbuilder.go
- submit_amended_orders.go
- submit_amended_orders_parameters.go
- submit_amended_orders_responses.go
- submit_amended_orders_urlbuilder.go
- submit_move_for_approval.go
- submit_move_for_approval_parameters.go
- submit_move_for_approval_responses.go
- submit_move_for_approval_urlbuilder.go
- upload_additional_documents.go
- upload_additional_documents_parameters.go
- upload_additional_documents_responses.go
- upload_additional_documents_urlbuilder.go