ppm

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 FinishDocumentReviewBadRequestCode int = 400

FinishDocumentReviewBadRequestCode is the HTTP code returned for type FinishDocumentReviewBadRequest

View Source
const FinishDocumentReviewConflictCode int = 409

FinishDocumentReviewConflictCode is the HTTP code returned for type FinishDocumentReviewConflict

View Source
const FinishDocumentReviewForbiddenCode int = 403

FinishDocumentReviewForbiddenCode is the HTTP code returned for type FinishDocumentReviewForbidden

View Source
const FinishDocumentReviewInternalServerErrorCode int = 500

FinishDocumentReviewInternalServerErrorCode is the HTTP code returned for type FinishDocumentReviewInternalServerError

View Source
const FinishDocumentReviewNotFoundCode int = 404

FinishDocumentReviewNotFoundCode is the HTTP code returned for type FinishDocumentReviewNotFound

View Source
const FinishDocumentReviewOKCode int = 200

FinishDocumentReviewOKCode is the HTTP code returned for type FinishDocumentReviewOK

View Source
const FinishDocumentReviewPreconditionFailedCode int = 412

FinishDocumentReviewPreconditionFailedCode is the HTTP code returned for type FinishDocumentReviewPreconditionFailed

View Source
const FinishDocumentReviewUnauthorizedCode int = 401

FinishDocumentReviewUnauthorizedCode is the HTTP code returned for type FinishDocumentReviewUnauthorized

View Source
const FinishDocumentReviewUnprocessableEntityCode int = 422

FinishDocumentReviewUnprocessableEntityCode is the HTTP code returned for type FinishDocumentReviewUnprocessableEntity

View Source
const GetPPMActualWeightBadRequestCode int = 400

GetPPMActualWeightBadRequestCode is the HTTP code returned for type GetPPMActualWeightBadRequest

View Source
const GetPPMActualWeightForbiddenCode int = 403

GetPPMActualWeightForbiddenCode is the HTTP code returned for type GetPPMActualWeightForbidden

View Source
const GetPPMActualWeightInternalServerErrorCode int = 500

GetPPMActualWeightInternalServerErrorCode is the HTTP code returned for type GetPPMActualWeightInternalServerError

View Source
const GetPPMActualWeightNotFoundCode int = 404

GetPPMActualWeightNotFoundCode is the HTTP code returned for type GetPPMActualWeightNotFound

View Source
const GetPPMActualWeightOKCode int = 200

GetPPMActualWeightOKCode is the HTTP code returned for type GetPPMActualWeightOK

View Source
const GetPPMActualWeightUnprocessableEntityCode int = 422

GetPPMActualWeightUnprocessableEntityCode is the HTTP code returned for type GetPPMActualWeightUnprocessableEntity

View Source
const GetPPMCloseoutBadRequestCode int = 400

GetPPMCloseoutBadRequestCode is the HTTP code returned for type GetPPMCloseoutBadRequest

View Source
const GetPPMCloseoutForbiddenCode int = 403

GetPPMCloseoutForbiddenCode is the HTTP code returned for type GetPPMCloseoutForbidden

View Source
const GetPPMCloseoutInternalServerErrorCode int = 500

GetPPMCloseoutInternalServerErrorCode is the HTTP code returned for type GetPPMCloseoutInternalServerError

View Source
const GetPPMCloseoutNotFoundCode int = 404

GetPPMCloseoutNotFoundCode is the HTTP code returned for type GetPPMCloseoutNotFound

View Source
const GetPPMCloseoutOKCode int = 200

GetPPMCloseoutOKCode is the HTTP code returned for type GetPPMCloseoutOK

View Source
const GetPPMCloseoutUnprocessableEntityCode int = 422

GetPPMCloseoutUnprocessableEntityCode is the HTTP code returned for type GetPPMCloseoutUnprocessableEntity

View Source
const GetPPMDocumentsForbiddenCode int = 403

GetPPMDocumentsForbiddenCode is the HTTP code returned for type GetPPMDocumentsForbidden

View Source
const GetPPMDocumentsInternalServerErrorCode int = 500

GetPPMDocumentsInternalServerErrorCode is the HTTP code returned for type GetPPMDocumentsInternalServerError

View Source
const GetPPMDocumentsOKCode int = 200

GetPPMDocumentsOKCode is the HTTP code returned for type GetPPMDocumentsOK

View Source
const GetPPMDocumentsUnauthorizedCode int = 401

GetPPMDocumentsUnauthorizedCode is the HTTP code returned for type GetPPMDocumentsUnauthorized

View Source
const GetPPMDocumentsUnprocessableEntityCode int = 422

GetPPMDocumentsUnprocessableEntityCode is the HTTP code returned for type GetPPMDocumentsUnprocessableEntity

View Source
const ShowAOAPacketBadRequestCode int = 400

ShowAOAPacketBadRequestCode is the HTTP code returned for type ShowAOAPacketBadRequest

View Source
const ShowAOAPacketForbiddenCode int = 403

ShowAOAPacketForbiddenCode is the HTTP code returned for type ShowAOAPacketForbidden

View Source
const ShowAOAPacketInternalServerErrorCode int = 500

ShowAOAPacketInternalServerErrorCode is the HTTP code returned for type ShowAOAPacketInternalServerError

View Source
const ShowAOAPacketNotFoundCode int = 404

ShowAOAPacketNotFoundCode is the HTTP code returned for type ShowAOAPacketNotFound

View Source
const ShowAOAPacketOKCode int = 200

ShowAOAPacketOKCode is the HTTP code returned for type ShowAOAPacketOK

View Source
const ShowAOAPacketUnprocessableEntityCode int = 422

ShowAOAPacketUnprocessableEntityCode is the HTTP code returned for type ShowAOAPacketUnprocessableEntity

View Source
const ShowPaymentPacketBadRequestCode int = 400

ShowPaymentPacketBadRequestCode is the HTTP code returned for type ShowPaymentPacketBadRequest

View Source
const ShowPaymentPacketForbiddenCode int = 403

ShowPaymentPacketForbiddenCode is the HTTP code returned for type ShowPaymentPacketForbidden

View Source
const ShowPaymentPacketInternalServerErrorCode int = 500

ShowPaymentPacketInternalServerErrorCode is the HTTP code returned for type ShowPaymentPacketInternalServerError

View Source
const ShowPaymentPacketNotFoundCode int = 404

ShowPaymentPacketNotFoundCode is the HTTP code returned for type ShowPaymentPacketNotFound

View Source
const ShowPaymentPacketOKCode int = 200

ShowPaymentPacketOKCode is the HTTP code returned for type ShowPaymentPacketOK

View Source
const ShowPaymentPacketUnauthorizedCode int = 401

ShowPaymentPacketUnauthorizedCode is the HTTP code returned for type ShowPaymentPacketUnauthorized

View Source
const UpdateMovingExpenseBadRequestCode int = 400

UpdateMovingExpenseBadRequestCode is the HTTP code returned for type UpdateMovingExpenseBadRequest

View Source
const UpdateMovingExpenseForbiddenCode int = 403

UpdateMovingExpenseForbiddenCode is the HTTP code returned for type UpdateMovingExpenseForbidden

View Source
const UpdateMovingExpenseInternalServerErrorCode int = 500

UpdateMovingExpenseInternalServerErrorCode is the HTTP code returned for type UpdateMovingExpenseInternalServerError

View Source
const UpdateMovingExpenseNotFoundCode int = 404

UpdateMovingExpenseNotFoundCode is the HTTP code returned for type UpdateMovingExpenseNotFound

View Source
const UpdateMovingExpenseOKCode int = 200

UpdateMovingExpenseOKCode is the HTTP code returned for type UpdateMovingExpenseOK

View Source
const UpdateMovingExpensePreconditionFailedCode int = 412

UpdateMovingExpensePreconditionFailedCode is the HTTP code returned for type UpdateMovingExpensePreconditionFailed

View Source
const UpdateMovingExpenseUnauthorizedCode int = 401

UpdateMovingExpenseUnauthorizedCode is the HTTP code returned for type UpdateMovingExpenseUnauthorized

View Source
const UpdateMovingExpenseUnprocessableEntityCode int = 422

UpdateMovingExpenseUnprocessableEntityCode is the HTTP code returned for type UpdateMovingExpenseUnprocessableEntity

View Source
const UpdateProGearWeightTicketBadRequestCode int = 400

UpdateProGearWeightTicketBadRequestCode is the HTTP code returned for type UpdateProGearWeightTicketBadRequest

View Source
const UpdateProGearWeightTicketForbiddenCode int = 403

UpdateProGearWeightTicketForbiddenCode is the HTTP code returned for type UpdateProGearWeightTicketForbidden

View Source
const UpdateProGearWeightTicketInternalServerErrorCode int = 500

UpdateProGearWeightTicketInternalServerErrorCode is the HTTP code returned for type UpdateProGearWeightTicketInternalServerError

View Source
const UpdateProGearWeightTicketNotFoundCode int = 404

UpdateProGearWeightTicketNotFoundCode is the HTTP code returned for type UpdateProGearWeightTicketNotFound

View Source
const UpdateProGearWeightTicketOKCode int = 200

UpdateProGearWeightTicketOKCode is the HTTP code returned for type UpdateProGearWeightTicketOK

View Source
const UpdateProGearWeightTicketPreconditionFailedCode int = 412

UpdateProGearWeightTicketPreconditionFailedCode is the HTTP code returned for type UpdateProGearWeightTicketPreconditionFailed

View Source
const UpdateProGearWeightTicketUnauthorizedCode int = 401

UpdateProGearWeightTicketUnauthorizedCode is the HTTP code returned for type UpdateProGearWeightTicketUnauthorized

View Source
const UpdateProGearWeightTicketUnprocessableEntityCode int = 422

UpdateProGearWeightTicketUnprocessableEntityCode is the HTTP code returned for type UpdateProGearWeightTicketUnprocessableEntity

View Source
const UpdateWeightTicketBadRequestCode int = 400

UpdateWeightTicketBadRequestCode is the HTTP code returned for type UpdateWeightTicketBadRequest

View Source
const UpdateWeightTicketForbiddenCode int = 403

UpdateWeightTicketForbiddenCode is the HTTP code returned for type UpdateWeightTicketForbidden

View Source
const UpdateWeightTicketInternalServerErrorCode int = 500

UpdateWeightTicketInternalServerErrorCode is the HTTP code returned for type UpdateWeightTicketInternalServerError

View Source
const UpdateWeightTicketNotFoundCode int = 404

UpdateWeightTicketNotFoundCode is the HTTP code returned for type UpdateWeightTicketNotFound

View Source
const UpdateWeightTicketOKCode int = 200

UpdateWeightTicketOKCode is the HTTP code returned for type UpdateWeightTicketOK

View Source
const UpdateWeightTicketPreconditionFailedCode int = 412

UpdateWeightTicketPreconditionFailedCode is the HTTP code returned for type UpdateWeightTicketPreconditionFailed

View Source
const UpdateWeightTicketUnauthorizedCode int = 401

UpdateWeightTicketUnauthorizedCode is the HTTP code returned for type UpdateWeightTicketUnauthorized

View Source
const UpdateWeightTicketUnprocessableEntityCode int = 422

UpdateWeightTicketUnprocessableEntityCode is the HTTP code returned for type UpdateWeightTicketUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type FinishDocumentReview

type FinishDocumentReview struct {
	Context *middleware.Context
	Handler FinishDocumentReviewHandler
}
FinishDocumentReview swagger:route PATCH /ppm-shipments/{ppmShipmentId}/finish-document-review ppm finishDocumentReview

Updates a PPM shipment's status after document review

Updates a PPM shipment's status once documents have been reviewed. Status is updated depending on whether any documents have been rejected.

func NewFinishDocumentReview

func NewFinishDocumentReview(ctx *middleware.Context, handler FinishDocumentReviewHandler) *FinishDocumentReview

NewFinishDocumentReview creates a new http.Handler for the finish document review operation

func (*FinishDocumentReview) ServeHTTP

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

type FinishDocumentReviewBadRequest

type FinishDocumentReviewBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

FinishDocumentReviewBadRequest The request payload is invalid

swagger:response finishDocumentReviewBadRequest

func NewFinishDocumentReviewBadRequest

func NewFinishDocumentReviewBadRequest() *FinishDocumentReviewBadRequest

NewFinishDocumentReviewBadRequest creates FinishDocumentReviewBadRequest with default headers values

func (*FinishDocumentReviewBadRequest) SetPayload

func (o *FinishDocumentReviewBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the finish document review bad request response

func (*FinishDocumentReviewBadRequest) WithPayload

WithPayload adds the payload to the finish document review bad request response

func (*FinishDocumentReviewBadRequest) WriteResponse

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

WriteResponse to the client

type FinishDocumentReviewConflict

type FinishDocumentReviewConflict struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

FinishDocumentReviewConflict Conflict error

swagger:response finishDocumentReviewConflict

func NewFinishDocumentReviewConflict

func NewFinishDocumentReviewConflict() *FinishDocumentReviewConflict

NewFinishDocumentReviewConflict creates FinishDocumentReviewConflict with default headers values

func (*FinishDocumentReviewConflict) SetPayload

func (o *FinishDocumentReviewConflict) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the finish document review conflict response

func (*FinishDocumentReviewConflict) WithPayload

WithPayload adds the payload to the finish document review conflict response

func (*FinishDocumentReviewConflict) WriteResponse

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

WriteResponse to the client

type FinishDocumentReviewForbidden

type FinishDocumentReviewForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

FinishDocumentReviewForbidden The request was denied

swagger:response finishDocumentReviewForbidden

func NewFinishDocumentReviewForbidden

func NewFinishDocumentReviewForbidden() *FinishDocumentReviewForbidden

NewFinishDocumentReviewForbidden creates FinishDocumentReviewForbidden with default headers values

func (*FinishDocumentReviewForbidden) SetPayload

func (o *FinishDocumentReviewForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the finish document review forbidden response

func (*FinishDocumentReviewForbidden) WithPayload

WithPayload adds the payload to the finish document review forbidden response

func (*FinishDocumentReviewForbidden) WriteResponse

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

WriteResponse to the client

type FinishDocumentReviewHandler

type FinishDocumentReviewHandler interface {
	Handle(FinishDocumentReviewParams) middleware.Responder
}

FinishDocumentReviewHandler interface for that can handle valid finish document review params

type FinishDocumentReviewHandlerFunc

type FinishDocumentReviewHandlerFunc func(FinishDocumentReviewParams) middleware.Responder

FinishDocumentReviewHandlerFunc turns a function with the right signature into a finish document review handler

func (FinishDocumentReviewHandlerFunc) Handle

Handle executing the request and returning a response

type FinishDocumentReviewInternalServerError

type FinishDocumentReviewInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

FinishDocumentReviewInternalServerError A server error occurred

swagger:response finishDocumentReviewInternalServerError

func NewFinishDocumentReviewInternalServerError

func NewFinishDocumentReviewInternalServerError() *FinishDocumentReviewInternalServerError

NewFinishDocumentReviewInternalServerError creates FinishDocumentReviewInternalServerError with default headers values

func (*FinishDocumentReviewInternalServerError) SetPayload

SetPayload sets the payload to the finish document review internal server error response

func (*FinishDocumentReviewInternalServerError) WithPayload

WithPayload adds the payload to the finish document review internal server error response

func (*FinishDocumentReviewInternalServerError) WriteResponse

WriteResponse to the client

type FinishDocumentReviewNotFound

type FinishDocumentReviewNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

FinishDocumentReviewNotFound The requested resource wasn't found

swagger:response finishDocumentReviewNotFound

func NewFinishDocumentReviewNotFound

func NewFinishDocumentReviewNotFound() *FinishDocumentReviewNotFound

NewFinishDocumentReviewNotFound creates FinishDocumentReviewNotFound with default headers values

func (*FinishDocumentReviewNotFound) SetPayload

func (o *FinishDocumentReviewNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the finish document review not found response

func (*FinishDocumentReviewNotFound) WithPayload

WithPayload adds the payload to the finish document review not found response

func (*FinishDocumentReviewNotFound) WriteResponse

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

WriteResponse to the client

type FinishDocumentReviewOK

type FinishDocumentReviewOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.PPMShipment `json:"body,omitempty"`
}

FinishDocumentReviewOK Successfully finished document review

swagger:response finishDocumentReviewOK

func NewFinishDocumentReviewOK

func NewFinishDocumentReviewOK() *FinishDocumentReviewOK

NewFinishDocumentReviewOK creates FinishDocumentReviewOK with default headers values

func (*FinishDocumentReviewOK) SetPayload

func (o *FinishDocumentReviewOK) SetPayload(payload *ghcmessages.PPMShipment)

SetPayload sets the payload to the finish document review o k response

func (*FinishDocumentReviewOK) WithPayload

WithPayload adds the payload to the finish document review o k response

func (*FinishDocumentReviewOK) WriteResponse

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

WriteResponse to the client

type FinishDocumentReviewParams

type FinishDocumentReviewParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*UUID of the PPM shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
}

FinishDocumentReviewParams contains all the bound params for the finish document review operation typically these are obtained from a http.Request

swagger:parameters finishDocumentReview

func NewFinishDocumentReviewParams

func NewFinishDocumentReviewParams() FinishDocumentReviewParams

NewFinishDocumentReviewParams creates a new FinishDocumentReviewParams object

There are no default values defined in the spec.

func (*FinishDocumentReviewParams) 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 NewFinishDocumentReviewParams() beforehand.

type FinishDocumentReviewPreconditionFailed

type FinishDocumentReviewPreconditionFailed struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

FinishDocumentReviewPreconditionFailed Precondition failed

swagger:response finishDocumentReviewPreconditionFailed

func NewFinishDocumentReviewPreconditionFailed

func NewFinishDocumentReviewPreconditionFailed() *FinishDocumentReviewPreconditionFailed

NewFinishDocumentReviewPreconditionFailed creates FinishDocumentReviewPreconditionFailed with default headers values

func (*FinishDocumentReviewPreconditionFailed) SetPayload

SetPayload sets the payload to the finish document review precondition failed response

func (*FinishDocumentReviewPreconditionFailed) WithPayload

WithPayload adds the payload to the finish document review precondition failed response

func (*FinishDocumentReviewPreconditionFailed) WriteResponse

WriteResponse to the client

type FinishDocumentReviewURL

type FinishDocumentReviewURL struct {
	PpmShipmentID strfmt.UUID
	// contains filtered or unexported fields
}

FinishDocumentReviewURL generates an URL for the finish document review operation

func (*FinishDocumentReviewURL) Build

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

Build a url path and query string

func (*FinishDocumentReviewURL) BuildFull

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

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

func (*FinishDocumentReviewURL) Must

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

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

func (*FinishDocumentReviewURL) SetBasePath

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

func (o *FinishDocumentReviewURL) String() string

String returns the string representation of the path with query string

func (*FinishDocumentReviewURL) StringFull

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

StringFull returns the string representation of a complete url

func (*FinishDocumentReviewURL) 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 FinishDocumentReviewUnauthorized

type FinishDocumentReviewUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

FinishDocumentReviewUnauthorized The request was denied

swagger:response finishDocumentReviewUnauthorized

func NewFinishDocumentReviewUnauthorized

func NewFinishDocumentReviewUnauthorized() *FinishDocumentReviewUnauthorized

NewFinishDocumentReviewUnauthorized creates FinishDocumentReviewUnauthorized with default headers values

func (*FinishDocumentReviewUnauthorized) SetPayload

func (o *FinishDocumentReviewUnauthorized) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the finish document review unauthorized response

func (*FinishDocumentReviewUnauthorized) WithPayload

WithPayload adds the payload to the finish document review unauthorized response

func (*FinishDocumentReviewUnauthorized) WriteResponse

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

WriteResponse to the client

type FinishDocumentReviewUnprocessableEntity

type FinishDocumentReviewUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

FinishDocumentReviewUnprocessableEntity The payload was unprocessable.

swagger:response finishDocumentReviewUnprocessableEntity

func NewFinishDocumentReviewUnprocessableEntity

func NewFinishDocumentReviewUnprocessableEntity() *FinishDocumentReviewUnprocessableEntity

NewFinishDocumentReviewUnprocessableEntity creates FinishDocumentReviewUnprocessableEntity with default headers values

func (*FinishDocumentReviewUnprocessableEntity) SetPayload

SetPayload sets the payload to the finish document review unprocessable entity response

func (*FinishDocumentReviewUnprocessableEntity) WithPayload

WithPayload adds the payload to the finish document review unprocessable entity response

func (*FinishDocumentReviewUnprocessableEntity) WriteResponse

WriteResponse to the client

type GetPPMActualWeight

type GetPPMActualWeight struct {
	Context *middleware.Context
	Handler GetPPMActualWeightHandler
}
GetPPMActualWeight swagger:route GET /ppm-shipments/{ppmShipmentId}/actual-weight ppm getPPMActualWeight

Get the actual weight for a PPM shipment

Retrieves the actual weight for the specified PPM shipment.

func NewGetPPMActualWeight

func NewGetPPMActualWeight(ctx *middleware.Context, handler GetPPMActualWeightHandler) *GetPPMActualWeight

NewGetPPMActualWeight creates a new http.Handler for the get p p m actual weight operation

func (*GetPPMActualWeight) ServeHTTP

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

type GetPPMActualWeightBadRequest

type GetPPMActualWeightBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMActualWeightBadRequest The request payload is invalid

swagger:response getPPMActualWeightBadRequest

func NewGetPPMActualWeightBadRequest

func NewGetPPMActualWeightBadRequest() *GetPPMActualWeightBadRequest

NewGetPPMActualWeightBadRequest creates GetPPMActualWeightBadRequest with default headers values

func (*GetPPMActualWeightBadRequest) SetPayload

func (o *GetPPMActualWeightBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m actual weight bad request response

func (*GetPPMActualWeightBadRequest) WithPayload

WithPayload adds the payload to the get p p m actual weight bad request response

func (*GetPPMActualWeightBadRequest) WriteResponse

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

WriteResponse to the client

type GetPPMActualWeightForbidden

type GetPPMActualWeightForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMActualWeightForbidden The request was denied

swagger:response getPPMActualWeightForbidden

func NewGetPPMActualWeightForbidden

func NewGetPPMActualWeightForbidden() *GetPPMActualWeightForbidden

NewGetPPMActualWeightForbidden creates GetPPMActualWeightForbidden with default headers values

func (*GetPPMActualWeightForbidden) SetPayload

func (o *GetPPMActualWeightForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m actual weight forbidden response

func (*GetPPMActualWeightForbidden) WithPayload

WithPayload adds the payload to the get p p m actual weight forbidden response

func (*GetPPMActualWeightForbidden) WriteResponse

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

WriteResponse to the client

type GetPPMActualWeightHandler

type GetPPMActualWeightHandler interface {
	Handle(GetPPMActualWeightParams) middleware.Responder
}

GetPPMActualWeightHandler interface for that can handle valid get p p m actual weight params

type GetPPMActualWeightHandlerFunc

type GetPPMActualWeightHandlerFunc func(GetPPMActualWeightParams) middleware.Responder

GetPPMActualWeightHandlerFunc turns a function with the right signature into a get p p m actual weight handler

func (GetPPMActualWeightHandlerFunc) Handle

Handle executing the request and returning a response

type GetPPMActualWeightInternalServerError

type GetPPMActualWeightInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMActualWeightInternalServerError A server error occurred

swagger:response getPPMActualWeightInternalServerError

func NewGetPPMActualWeightInternalServerError

func NewGetPPMActualWeightInternalServerError() *GetPPMActualWeightInternalServerError

NewGetPPMActualWeightInternalServerError creates GetPPMActualWeightInternalServerError with default headers values

func (*GetPPMActualWeightInternalServerError) SetPayload

SetPayload sets the payload to the get p p m actual weight internal server error response

func (*GetPPMActualWeightInternalServerError) WithPayload

WithPayload adds the payload to the get p p m actual weight internal server error response

func (*GetPPMActualWeightInternalServerError) WriteResponse

WriteResponse to the client

type GetPPMActualWeightNotFound

type GetPPMActualWeightNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMActualWeightNotFound The requested resource wasn't found

swagger:response getPPMActualWeightNotFound

func NewGetPPMActualWeightNotFound

func NewGetPPMActualWeightNotFound() *GetPPMActualWeightNotFound

NewGetPPMActualWeightNotFound creates GetPPMActualWeightNotFound with default headers values

func (*GetPPMActualWeightNotFound) SetPayload

func (o *GetPPMActualWeightNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m actual weight not found response

func (*GetPPMActualWeightNotFound) WithPayload

WithPayload adds the payload to the get p p m actual weight not found response

func (*GetPPMActualWeightNotFound) WriteResponse

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

WriteResponse to the client

type GetPPMActualWeightOK

type GetPPMActualWeightOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.PPMActualWeight `json:"body,omitempty"`
}

GetPPMActualWeightOK Returns actual weight for the specified PPM shipment.

swagger:response getPPMActualWeightOK

func NewGetPPMActualWeightOK

func NewGetPPMActualWeightOK() *GetPPMActualWeightOK

NewGetPPMActualWeightOK creates GetPPMActualWeightOK with default headers values

func (*GetPPMActualWeightOK) SetPayload

func (o *GetPPMActualWeightOK) SetPayload(payload *ghcmessages.PPMActualWeight)

SetPayload sets the payload to the get p p m actual weight o k response

func (*GetPPMActualWeightOK) WithPayload

WithPayload adds the payload to the get p p m actual weight o k response

func (*GetPPMActualWeightOK) WriteResponse

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

WriteResponse to the client

type GetPPMActualWeightParams

type GetPPMActualWeightParams struct {

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

	/*UUID of the PPM shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
}

GetPPMActualWeightParams contains all the bound params for the get p p m actual weight operation typically these are obtained from a http.Request

swagger:parameters getPPMActualWeight

func NewGetPPMActualWeightParams

func NewGetPPMActualWeightParams() GetPPMActualWeightParams

NewGetPPMActualWeightParams creates a new GetPPMActualWeightParams object

There are no default values defined in the spec.

func (*GetPPMActualWeightParams) 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 NewGetPPMActualWeightParams() beforehand.

type GetPPMActualWeightURL

type GetPPMActualWeightURL struct {
	PpmShipmentID strfmt.UUID
	// contains filtered or unexported fields
}

GetPPMActualWeightURL generates an URL for the get p p m actual weight operation

func (*GetPPMActualWeightURL) Build

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

Build a url path and query string

func (*GetPPMActualWeightURL) BuildFull

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

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

func (*GetPPMActualWeightURL) Must

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

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

func (*GetPPMActualWeightURL) SetBasePath

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

func (o *GetPPMActualWeightURL) String() string

String returns the string representation of the path with query string

func (*GetPPMActualWeightURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPPMActualWeightURL) WithBasePath

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

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 GetPPMActualWeightUnprocessableEntity

type GetPPMActualWeightUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

GetPPMActualWeightUnprocessableEntity The payload was unprocessable.

swagger:response getPPMActualWeightUnprocessableEntity

func NewGetPPMActualWeightUnprocessableEntity

func NewGetPPMActualWeightUnprocessableEntity() *GetPPMActualWeightUnprocessableEntity

NewGetPPMActualWeightUnprocessableEntity creates GetPPMActualWeightUnprocessableEntity with default headers values

func (*GetPPMActualWeightUnprocessableEntity) SetPayload

SetPayload sets the payload to the get p p m actual weight unprocessable entity response

func (*GetPPMActualWeightUnprocessableEntity) WithPayload

WithPayload adds the payload to the get p p m actual weight unprocessable entity response

func (*GetPPMActualWeightUnprocessableEntity) WriteResponse

WriteResponse to the client

type GetPPMCloseout

type GetPPMCloseout struct {
	Context *middleware.Context
	Handler GetPPMCloseoutHandler
}
GetPPMCloseout swagger:route GET /ppm-shipments/{ppmShipmentId}/closeout ppm getPPMCloseout

Get the closeout calcuations for the specified PPM shipment

Retrieves the closeout calculations for the specified PPM shipment.

func NewGetPPMCloseout

func NewGetPPMCloseout(ctx *middleware.Context, handler GetPPMCloseoutHandler) *GetPPMCloseout

NewGetPPMCloseout creates a new http.Handler for the get p p m closeout operation

func (*GetPPMCloseout) ServeHTTP

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

type GetPPMCloseoutBadRequest

type GetPPMCloseoutBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMCloseoutBadRequest The request payload is invalid

swagger:response getPPMCloseoutBadRequest

func NewGetPPMCloseoutBadRequest

func NewGetPPMCloseoutBadRequest() *GetPPMCloseoutBadRequest

NewGetPPMCloseoutBadRequest creates GetPPMCloseoutBadRequest with default headers values

func (*GetPPMCloseoutBadRequest) SetPayload

func (o *GetPPMCloseoutBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m closeout bad request response

func (*GetPPMCloseoutBadRequest) WithPayload

WithPayload adds the payload to the get p p m closeout bad request response

func (*GetPPMCloseoutBadRequest) WriteResponse

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

WriteResponse to the client

type GetPPMCloseoutForbidden

type GetPPMCloseoutForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMCloseoutForbidden The request was denied

swagger:response getPPMCloseoutForbidden

func NewGetPPMCloseoutForbidden

func NewGetPPMCloseoutForbidden() *GetPPMCloseoutForbidden

NewGetPPMCloseoutForbidden creates GetPPMCloseoutForbidden with default headers values

func (*GetPPMCloseoutForbidden) SetPayload

func (o *GetPPMCloseoutForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m closeout forbidden response

func (*GetPPMCloseoutForbidden) WithPayload

WithPayload adds the payload to the get p p m closeout forbidden response

func (*GetPPMCloseoutForbidden) WriteResponse

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

WriteResponse to the client

type GetPPMCloseoutHandler

type GetPPMCloseoutHandler interface {
	Handle(GetPPMCloseoutParams) middleware.Responder
}

GetPPMCloseoutHandler interface for that can handle valid get p p m closeout params

type GetPPMCloseoutHandlerFunc

type GetPPMCloseoutHandlerFunc func(GetPPMCloseoutParams) middleware.Responder

GetPPMCloseoutHandlerFunc turns a function with the right signature into a get p p m closeout handler

func (GetPPMCloseoutHandlerFunc) Handle

Handle executing the request and returning a response

type GetPPMCloseoutInternalServerError

type GetPPMCloseoutInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMCloseoutInternalServerError A server error occurred

swagger:response getPPMCloseoutInternalServerError

func NewGetPPMCloseoutInternalServerError

func NewGetPPMCloseoutInternalServerError() *GetPPMCloseoutInternalServerError

NewGetPPMCloseoutInternalServerError creates GetPPMCloseoutInternalServerError with default headers values

func (*GetPPMCloseoutInternalServerError) SetPayload

func (o *GetPPMCloseoutInternalServerError) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m closeout internal server error response

func (*GetPPMCloseoutInternalServerError) WithPayload

WithPayload adds the payload to the get p p m closeout internal server error response

func (*GetPPMCloseoutInternalServerError) WriteResponse

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

WriteResponse to the client

type GetPPMCloseoutNotFound

type GetPPMCloseoutNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMCloseoutNotFound The requested resource wasn't found

swagger:response getPPMCloseoutNotFound

func NewGetPPMCloseoutNotFound

func NewGetPPMCloseoutNotFound() *GetPPMCloseoutNotFound

NewGetPPMCloseoutNotFound creates GetPPMCloseoutNotFound with default headers values

func (*GetPPMCloseoutNotFound) SetPayload

func (o *GetPPMCloseoutNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m closeout not found response

func (*GetPPMCloseoutNotFound) WithPayload

WithPayload adds the payload to the get p p m closeout not found response

func (*GetPPMCloseoutNotFound) WriteResponse

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

WriteResponse to the client

type GetPPMCloseoutOK

type GetPPMCloseoutOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.PPMCloseout `json:"body,omitempty"`
}

GetPPMCloseoutOK Returns closeout for the specified PPM shipment.

swagger:response getPPMCloseoutOK

func NewGetPPMCloseoutOK

func NewGetPPMCloseoutOK() *GetPPMCloseoutOK

NewGetPPMCloseoutOK creates GetPPMCloseoutOK with default headers values

func (*GetPPMCloseoutOK) SetPayload

func (o *GetPPMCloseoutOK) SetPayload(payload *ghcmessages.PPMCloseout)

SetPayload sets the payload to the get p p m closeout o k response

func (*GetPPMCloseoutOK) WithPayload

func (o *GetPPMCloseoutOK) WithPayload(payload *ghcmessages.PPMCloseout) *GetPPMCloseoutOK

WithPayload adds the payload to the get p p m closeout o k response

func (*GetPPMCloseoutOK) WriteResponse

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

WriteResponse to the client

type GetPPMCloseoutParams

type GetPPMCloseoutParams struct {

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

	/*UUID of the PPM shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
}

GetPPMCloseoutParams contains all the bound params for the get p p m closeout operation typically these are obtained from a http.Request

swagger:parameters getPPMCloseout

func NewGetPPMCloseoutParams

func NewGetPPMCloseoutParams() GetPPMCloseoutParams

NewGetPPMCloseoutParams creates a new GetPPMCloseoutParams object

There are no default values defined in the spec.

func (*GetPPMCloseoutParams) BindRequest

func (o *GetPPMCloseoutParams) 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 NewGetPPMCloseoutParams() beforehand.

type GetPPMCloseoutURL

type GetPPMCloseoutURL struct {
	PpmShipmentID strfmt.UUID
	// contains filtered or unexported fields
}

GetPPMCloseoutURL generates an URL for the get p p m closeout operation

func (*GetPPMCloseoutURL) Build

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

Build a url path and query string

func (*GetPPMCloseoutURL) BuildFull

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

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

func (*GetPPMCloseoutURL) Must

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

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

func (*GetPPMCloseoutURL) SetBasePath

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

func (o *GetPPMCloseoutURL) String() string

String returns the string representation of the path with query string

func (*GetPPMCloseoutURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPPMCloseoutURL) WithBasePath

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

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 GetPPMCloseoutUnprocessableEntity

type GetPPMCloseoutUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

GetPPMCloseoutUnprocessableEntity The payload was unprocessable.

swagger:response getPPMCloseoutUnprocessableEntity

func NewGetPPMCloseoutUnprocessableEntity

func NewGetPPMCloseoutUnprocessableEntity() *GetPPMCloseoutUnprocessableEntity

NewGetPPMCloseoutUnprocessableEntity creates GetPPMCloseoutUnprocessableEntity with default headers values

func (*GetPPMCloseoutUnprocessableEntity) SetPayload

SetPayload sets the payload to the get p p m closeout unprocessable entity response

func (*GetPPMCloseoutUnprocessableEntity) WithPayload

WithPayload adds the payload to the get p p m closeout unprocessable entity response

func (*GetPPMCloseoutUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type GetPPMDocuments

type GetPPMDocuments struct {
	Context *middleware.Context
	Handler GetPPMDocumentsHandler
}
GetPPMDocuments swagger:route GET /shipments/{shipmentID}/ppm-documents ppm getPPMDocuments

Gets all the PPM documents for a PPM shipment

Retrieves all of the documents and associated uploads for each ppm document type connected to a PPM shipment. This excludes any deleted PPM documents.

func NewGetPPMDocuments

func NewGetPPMDocuments(ctx *middleware.Context, handler GetPPMDocumentsHandler) *GetPPMDocuments

NewGetPPMDocuments creates a new http.Handler for the get p p m documents operation

func (*GetPPMDocuments) ServeHTTP

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

type GetPPMDocumentsForbidden

type GetPPMDocumentsForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMDocumentsForbidden The request was denied

swagger:response getPPMDocumentsForbidden

func NewGetPPMDocumentsForbidden

func NewGetPPMDocumentsForbidden() *GetPPMDocumentsForbidden

NewGetPPMDocumentsForbidden creates GetPPMDocumentsForbidden with default headers values

func (*GetPPMDocumentsForbidden) SetPayload

func (o *GetPPMDocumentsForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m documents forbidden response

func (*GetPPMDocumentsForbidden) WithPayload

WithPayload adds the payload to the get p p m documents forbidden response

func (*GetPPMDocumentsForbidden) WriteResponse

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

WriteResponse to the client

type GetPPMDocumentsHandler

type GetPPMDocumentsHandler interface {
	Handle(GetPPMDocumentsParams) middleware.Responder
}

GetPPMDocumentsHandler interface for that can handle valid get p p m documents params

type GetPPMDocumentsHandlerFunc

type GetPPMDocumentsHandlerFunc func(GetPPMDocumentsParams) middleware.Responder

GetPPMDocumentsHandlerFunc turns a function with the right signature into a get p p m documents handler

func (GetPPMDocumentsHandlerFunc) Handle

Handle executing the request and returning a response

type GetPPMDocumentsInternalServerError

type GetPPMDocumentsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMDocumentsInternalServerError A server error occurred

swagger:response getPPMDocumentsInternalServerError

func NewGetPPMDocumentsInternalServerError

func NewGetPPMDocumentsInternalServerError() *GetPPMDocumentsInternalServerError

NewGetPPMDocumentsInternalServerError creates GetPPMDocumentsInternalServerError with default headers values

func (*GetPPMDocumentsInternalServerError) SetPayload

func (o *GetPPMDocumentsInternalServerError) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m documents internal server error response

func (*GetPPMDocumentsInternalServerError) WithPayload

WithPayload adds the payload to the get p p m documents internal server error response

func (*GetPPMDocumentsInternalServerError) WriteResponse

WriteResponse to the client

type GetPPMDocumentsOK

type GetPPMDocumentsOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.PPMDocuments `json:"body,omitempty"`
}

GetPPMDocumentsOK All PPM documents and associated uploads for the specified PPM shipment.

swagger:response getPPMDocumentsOK

func NewGetPPMDocumentsOK

func NewGetPPMDocumentsOK() *GetPPMDocumentsOK

NewGetPPMDocumentsOK creates GetPPMDocumentsOK with default headers values

func (*GetPPMDocumentsOK) SetPayload

func (o *GetPPMDocumentsOK) SetPayload(payload *ghcmessages.PPMDocuments)

SetPayload sets the payload to the get p p m documents o k response

func (*GetPPMDocumentsOK) WithPayload

func (o *GetPPMDocumentsOK) WithPayload(payload *ghcmessages.PPMDocuments) *GetPPMDocumentsOK

WithPayload adds the payload to the get p p m documents o k response

func (*GetPPMDocumentsOK) WriteResponse

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

WriteResponse to the client

type GetPPMDocumentsParams

type GetPPMDocumentsParams struct {

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

	/*ID of the shipment
	  Required: true
	  In: path
	*/
	ShipmentID strfmt.UUID
}

GetPPMDocumentsParams contains all the bound params for the get p p m documents operation typically these are obtained from a http.Request

swagger:parameters getPPMDocuments

func NewGetPPMDocumentsParams

func NewGetPPMDocumentsParams() GetPPMDocumentsParams

NewGetPPMDocumentsParams creates a new GetPPMDocumentsParams object

There are no default values defined in the spec.

func (*GetPPMDocumentsParams) BindRequest

func (o *GetPPMDocumentsParams) 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 NewGetPPMDocumentsParams() beforehand.

type GetPPMDocumentsURL

type GetPPMDocumentsURL struct {
	ShipmentID strfmt.UUID
	// contains filtered or unexported fields
}

GetPPMDocumentsURL generates an URL for the get p p m documents operation

func (*GetPPMDocumentsURL) Build

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

Build a url path and query string

func (*GetPPMDocumentsURL) BuildFull

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

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

func (*GetPPMDocumentsURL) Must

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

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

func (*GetPPMDocumentsURL) SetBasePath

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

func (o *GetPPMDocumentsURL) String() string

String returns the string representation of the path with query string

func (*GetPPMDocumentsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPPMDocumentsURL) WithBasePath

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

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 GetPPMDocumentsUnauthorized

type GetPPMDocumentsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

GetPPMDocumentsUnauthorized The request was denied

swagger:response getPPMDocumentsUnauthorized

func NewGetPPMDocumentsUnauthorized

func NewGetPPMDocumentsUnauthorized() *GetPPMDocumentsUnauthorized

NewGetPPMDocumentsUnauthorized creates GetPPMDocumentsUnauthorized with default headers values

func (*GetPPMDocumentsUnauthorized) SetPayload

func (o *GetPPMDocumentsUnauthorized) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get p p m documents unauthorized response

func (*GetPPMDocumentsUnauthorized) WithPayload

WithPayload adds the payload to the get p p m documents unauthorized response

func (*GetPPMDocumentsUnauthorized) WriteResponse

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

WriteResponse to the client

type GetPPMDocumentsUnprocessableEntity

type GetPPMDocumentsUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

GetPPMDocumentsUnprocessableEntity The payload was unprocessable.

swagger:response getPPMDocumentsUnprocessableEntity

func NewGetPPMDocumentsUnprocessableEntity

func NewGetPPMDocumentsUnprocessableEntity() *GetPPMDocumentsUnprocessableEntity

NewGetPPMDocumentsUnprocessableEntity creates GetPPMDocumentsUnprocessableEntity with default headers values

func (*GetPPMDocumentsUnprocessableEntity) SetPayload

SetPayload sets the payload to the get p p m documents unprocessable entity response

func (*GetPPMDocumentsUnprocessableEntity) WithPayload

WithPayload adds the payload to the get p p m documents unprocessable entity response

func (*GetPPMDocumentsUnprocessableEntity) WriteResponse

WriteResponse to the client

type ShowAOAPacket

type ShowAOAPacket struct {
	Context *middleware.Context
	Handler ShowAOAPacketHandler
}
ShowAOAPacket swagger:route GET /ppm-shipments/{ppmShipmentId}/aoa-packet ppm showAOAPacket

Downloads AOA Packet form PPMShipment as a PDF

### Functionality This endpoint downloads all uploaded move order documentation combined with the Shipment Summary Worksheet into a single PDF. ### Errors * The PPMShipment must have requested an AOA. * The PPMShipment AOA Request must have been approved.

func NewShowAOAPacket

func NewShowAOAPacket(ctx *middleware.Context, handler ShowAOAPacketHandler) *ShowAOAPacket

NewShowAOAPacket creates a new http.Handler for the show a o a packet operation

func (*ShowAOAPacket) ServeHTTP

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

type ShowAOAPacketBadRequest

type ShowAOAPacketBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

ShowAOAPacketBadRequest The request payload is invalid

swagger:response showAOAPacketBadRequest

func NewShowAOAPacketBadRequest

func NewShowAOAPacketBadRequest() *ShowAOAPacketBadRequest

NewShowAOAPacketBadRequest creates ShowAOAPacketBadRequest with default headers values

func (*ShowAOAPacketBadRequest) SetPayload

func (o *ShowAOAPacketBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the show a o a packet bad request response

func (*ShowAOAPacketBadRequest) WithPayload

WithPayload adds the payload to the show a o a packet bad request response

func (*ShowAOAPacketBadRequest) WriteResponse

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

WriteResponse to the client

type ShowAOAPacketForbidden

type ShowAOAPacketForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

ShowAOAPacketForbidden The request was denied

swagger:response showAOAPacketForbidden

func NewShowAOAPacketForbidden

func NewShowAOAPacketForbidden() *ShowAOAPacketForbidden

NewShowAOAPacketForbidden creates ShowAOAPacketForbidden with default headers values

func (*ShowAOAPacketForbidden) SetPayload

func (o *ShowAOAPacketForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the show a o a packet forbidden response

func (*ShowAOAPacketForbidden) WithPayload

WithPayload adds the payload to the show a o a packet forbidden response

func (*ShowAOAPacketForbidden) WriteResponse

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

WriteResponse to the client

type ShowAOAPacketHandler

type ShowAOAPacketHandler interface {
	Handle(ShowAOAPacketParams) middleware.Responder
}

ShowAOAPacketHandler interface for that can handle valid show a o a packet params

type ShowAOAPacketHandlerFunc

type ShowAOAPacketHandlerFunc func(ShowAOAPacketParams) middleware.Responder

ShowAOAPacketHandlerFunc turns a function with the right signature into a show a o a packet handler

func (ShowAOAPacketHandlerFunc) Handle

Handle executing the request and returning a response

type ShowAOAPacketInternalServerError

type ShowAOAPacketInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

ShowAOAPacketInternalServerError A server error occurred

swagger:response showAOAPacketInternalServerError

func NewShowAOAPacketInternalServerError

func NewShowAOAPacketInternalServerError() *ShowAOAPacketInternalServerError

NewShowAOAPacketInternalServerError creates ShowAOAPacketInternalServerError with default headers values

func (*ShowAOAPacketInternalServerError) SetPayload

func (o *ShowAOAPacketInternalServerError) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the show a o a packet internal server error response

func (*ShowAOAPacketInternalServerError) WithPayload

WithPayload adds the payload to the show a o a packet internal server error response

func (*ShowAOAPacketInternalServerError) WriteResponse

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

WriteResponse to the client

type ShowAOAPacketNotFound

type ShowAOAPacketNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

ShowAOAPacketNotFound The requested resource wasn't found

swagger:response showAOAPacketNotFound

func NewShowAOAPacketNotFound

func NewShowAOAPacketNotFound() *ShowAOAPacketNotFound

NewShowAOAPacketNotFound creates ShowAOAPacketNotFound with default headers values

func (*ShowAOAPacketNotFound) SetPayload

func (o *ShowAOAPacketNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the show a o a packet not found response

func (*ShowAOAPacketNotFound) WithPayload

WithPayload adds the payload to the show a o a packet not found response

func (*ShowAOAPacketNotFound) WriteResponse

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

WriteResponse to the client

type ShowAOAPacketOK

type ShowAOAPacketOK struct {
	/*File name to download

	 */
	ContentDisposition string `json:"Content-Disposition"`

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

ShowAOAPacketOK AOA PDF

swagger:response showAOAPacketOK

func NewShowAOAPacketOK

func NewShowAOAPacketOK() *ShowAOAPacketOK

NewShowAOAPacketOK creates ShowAOAPacketOK with default headers values

func (*ShowAOAPacketOK) SetContentDisposition

func (o *ShowAOAPacketOK) SetContentDisposition(contentDisposition string)

SetContentDisposition sets the contentDisposition to the show a o a packet o k response

func (*ShowAOAPacketOK) SetPayload

func (o *ShowAOAPacketOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the show a o a packet o k response

func (*ShowAOAPacketOK) WithContentDisposition

func (o *ShowAOAPacketOK) WithContentDisposition(contentDisposition string) *ShowAOAPacketOK

WithContentDisposition adds the contentDisposition to the show a o a packet o k response

func (*ShowAOAPacketOK) WithPayload

func (o *ShowAOAPacketOK) WithPayload(payload io.ReadCloser) *ShowAOAPacketOK

WithPayload adds the payload to the show a o a packet o k response

func (*ShowAOAPacketOK) WriteResponse

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

WriteResponse to the client

type ShowAOAPacketParams

type ShowAOAPacketParams struct {

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

	/*the id for the ppmshipment with aoa to be downloaded
	  Required: true
	  In: path
	*/
	PpmShipmentID string
}

ShowAOAPacketParams contains all the bound params for the show a o a packet operation typically these are obtained from a http.Request

swagger:parameters showAOAPacket

func NewShowAOAPacketParams

func NewShowAOAPacketParams() ShowAOAPacketParams

NewShowAOAPacketParams creates a new ShowAOAPacketParams object

There are no default values defined in the spec.

func (*ShowAOAPacketParams) BindRequest

func (o *ShowAOAPacketParams) 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 NewShowAOAPacketParams() beforehand.

type ShowAOAPacketURL

type ShowAOAPacketURL struct {
	PpmShipmentID string
	// contains filtered or unexported fields
}

ShowAOAPacketURL generates an URL for the show a o a packet operation

func (*ShowAOAPacketURL) Build

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

Build a url path and query string

func (*ShowAOAPacketURL) BuildFull

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

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

func (*ShowAOAPacketURL) Must

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

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

func (*ShowAOAPacketURL) SetBasePath

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

func (o *ShowAOAPacketURL) String() string

String returns the string representation of the path with query string

func (*ShowAOAPacketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ShowAOAPacketURL) WithBasePath

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

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 ShowAOAPacketUnprocessableEntity

type ShowAOAPacketUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

ShowAOAPacketUnprocessableEntity The payload was unprocessable.

swagger:response showAOAPacketUnprocessableEntity

func NewShowAOAPacketUnprocessableEntity

func NewShowAOAPacketUnprocessableEntity() *ShowAOAPacketUnprocessableEntity

NewShowAOAPacketUnprocessableEntity creates ShowAOAPacketUnprocessableEntity with default headers values

func (*ShowAOAPacketUnprocessableEntity) SetPayload

SetPayload sets the payload to the show a o a packet unprocessable entity response

func (*ShowAOAPacketUnprocessableEntity) WithPayload

WithPayload adds the payload to the show a o a packet unprocessable entity response

func (*ShowAOAPacketUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type ShowPaymentPacket

type ShowPaymentPacket struct {
	Context *middleware.Context
	Handler ShowPaymentPacketHandler
}
ShowPaymentPacket swagger:route GET /ppm-shipments/{ppmShipmentId}/payment-packet ppm showPaymentPacket

Returns PPM payment packet

Generates a PDF containing all user uploaded documentations for PPM. Contains SSW form, orders, weight and expense documentations.

func NewShowPaymentPacket

func NewShowPaymentPacket(ctx *middleware.Context, handler ShowPaymentPacketHandler) *ShowPaymentPacket

NewShowPaymentPacket creates a new http.Handler for the show payment packet operation

func (*ShowPaymentPacket) ServeHTTP

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

type ShowPaymentPacketBadRequest

type ShowPaymentPacketBadRequest struct {
}

ShowPaymentPacketBadRequest invalid request

swagger:response showPaymentPacketBadRequest

func NewShowPaymentPacketBadRequest

func NewShowPaymentPacketBadRequest() *ShowPaymentPacketBadRequest

NewShowPaymentPacketBadRequest creates ShowPaymentPacketBadRequest with default headers values

func (*ShowPaymentPacketBadRequest) WriteResponse

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

WriteResponse to the client

type ShowPaymentPacketForbidden

type ShowPaymentPacketForbidden struct {
}

ShowPaymentPacketForbidden user is not authorized

swagger:response showPaymentPacketForbidden

func NewShowPaymentPacketForbidden

func NewShowPaymentPacketForbidden() *ShowPaymentPacketForbidden

NewShowPaymentPacketForbidden creates ShowPaymentPacketForbidden with default headers values

func (*ShowPaymentPacketForbidden) WriteResponse

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

WriteResponse to the client

type ShowPaymentPacketHandler

type ShowPaymentPacketHandler interface {
	Handle(ShowPaymentPacketParams) middleware.Responder
}

ShowPaymentPacketHandler interface for that can handle valid show payment packet params

type ShowPaymentPacketHandlerFunc

type ShowPaymentPacketHandlerFunc func(ShowPaymentPacketParams) middleware.Responder

ShowPaymentPacketHandlerFunc turns a function with the right signature into a show payment packet handler

func (ShowPaymentPacketHandlerFunc) Handle

Handle executing the request and returning a response

type ShowPaymentPacketInternalServerError

type ShowPaymentPacketInternalServerError struct {
}

ShowPaymentPacketInternalServerError internal server error

swagger:response showPaymentPacketInternalServerError

func NewShowPaymentPacketInternalServerError

func NewShowPaymentPacketInternalServerError() *ShowPaymentPacketInternalServerError

NewShowPaymentPacketInternalServerError creates ShowPaymentPacketInternalServerError with default headers values

func (*ShowPaymentPacketInternalServerError) WriteResponse

WriteResponse to the client

type ShowPaymentPacketNotFound

type ShowPaymentPacketNotFound struct {
}

ShowPaymentPacketNotFound ppm not found

swagger:response showPaymentPacketNotFound

func NewShowPaymentPacketNotFound

func NewShowPaymentPacketNotFound() *ShowPaymentPacketNotFound

NewShowPaymentPacketNotFound creates ShowPaymentPacketNotFound with default headers values

func (*ShowPaymentPacketNotFound) WriteResponse

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

WriteResponse to the client

type ShowPaymentPacketOK

type ShowPaymentPacketOK struct {
	/*File name to download

	 */
	ContentDisposition string `json:"Content-Disposition"`

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

ShowPaymentPacketOK PPM Payment Packet PDF

swagger:response showPaymentPacketOK

func NewShowPaymentPacketOK

func NewShowPaymentPacketOK() *ShowPaymentPacketOK

NewShowPaymentPacketOK creates ShowPaymentPacketOK with default headers values

func (*ShowPaymentPacketOK) SetContentDisposition

func (o *ShowPaymentPacketOK) SetContentDisposition(contentDisposition string)

SetContentDisposition sets the contentDisposition to the show payment packet o k response

func (*ShowPaymentPacketOK) SetPayload

func (o *ShowPaymentPacketOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the show payment packet o k response

func (*ShowPaymentPacketOK) WithContentDisposition

func (o *ShowPaymentPacketOK) WithContentDisposition(contentDisposition string) *ShowPaymentPacketOK

WithContentDisposition adds the contentDisposition to the show payment packet o k response

func (*ShowPaymentPacketOK) WithPayload

func (o *ShowPaymentPacketOK) WithPayload(payload io.ReadCloser) *ShowPaymentPacketOK

WithPayload adds the payload to the show payment packet o k response

func (*ShowPaymentPacketOK) WriteResponse

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

WriteResponse to the client

type ShowPaymentPacketParams

type ShowPaymentPacketParams struct {

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

	/*UUID of the ppmShipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
}

ShowPaymentPacketParams contains all the bound params for the show payment packet operation typically these are obtained from a http.Request

swagger:parameters showPaymentPacket

func NewShowPaymentPacketParams

func NewShowPaymentPacketParams() ShowPaymentPacketParams

NewShowPaymentPacketParams creates a new ShowPaymentPacketParams object

There are no default values defined in the spec.

func (*ShowPaymentPacketParams) BindRequest

func (o *ShowPaymentPacketParams) 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 NewShowPaymentPacketParams() beforehand.

type ShowPaymentPacketURL

type ShowPaymentPacketURL struct {
	PpmShipmentID strfmt.UUID
	// contains filtered or unexported fields
}

ShowPaymentPacketURL generates an URL for the show payment packet operation

func (*ShowPaymentPacketURL) Build

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

Build a url path and query string

func (*ShowPaymentPacketURL) BuildFull

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

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

func (*ShowPaymentPacketURL) Must

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

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

func (*ShowPaymentPacketURL) SetBasePath

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

func (o *ShowPaymentPacketURL) String() string

String returns the string representation of the path with query string

func (*ShowPaymentPacketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ShowPaymentPacketURL) WithBasePath

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

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 ShowPaymentPacketUnauthorized

type ShowPaymentPacketUnauthorized struct {
}

ShowPaymentPacketUnauthorized request requires user authentication

swagger:response showPaymentPacketUnauthorized

func NewShowPaymentPacketUnauthorized

func NewShowPaymentPacketUnauthorized() *ShowPaymentPacketUnauthorized

NewShowPaymentPacketUnauthorized creates ShowPaymentPacketUnauthorized with default headers values

func (*ShowPaymentPacketUnauthorized) WriteResponse

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

WriteResponse to the client

type UpdateMovingExpense

type UpdateMovingExpense struct {
	Context *middleware.Context
	Handler UpdateMovingExpenseHandler
}
UpdateMovingExpense swagger:route PATCH /ppm-shipments/{ppmShipmentId}/moving-expenses/{movingExpenseId} ppm updateMovingExpense

Updates the moving expense

Updates a PPM shipment's moving expense with new information. Only some of the moving expense's fields are editable because some have to be set by the customer, e.g. the description and the moving expense type.

func NewUpdateMovingExpense

func NewUpdateMovingExpense(ctx *middleware.Context, handler UpdateMovingExpenseHandler) *UpdateMovingExpense

NewUpdateMovingExpense creates a new http.Handler for the update moving expense operation

func (*UpdateMovingExpense) ServeHTTP

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

type UpdateMovingExpenseBadRequest

type UpdateMovingExpenseBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateMovingExpenseBadRequest The request payload is invalid

swagger:response updateMovingExpenseBadRequest

func NewUpdateMovingExpenseBadRequest

func NewUpdateMovingExpenseBadRequest() *UpdateMovingExpenseBadRequest

NewUpdateMovingExpenseBadRequest creates UpdateMovingExpenseBadRequest with default headers values

func (*UpdateMovingExpenseBadRequest) SetPayload

func (o *UpdateMovingExpenseBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update moving expense bad request response

func (*UpdateMovingExpenseBadRequest) WithPayload

WithPayload adds the payload to the update moving expense bad request response

func (*UpdateMovingExpenseBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateMovingExpenseForbidden

type UpdateMovingExpenseForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateMovingExpenseForbidden The request was denied

swagger:response updateMovingExpenseForbidden

func NewUpdateMovingExpenseForbidden

func NewUpdateMovingExpenseForbidden() *UpdateMovingExpenseForbidden

NewUpdateMovingExpenseForbidden creates UpdateMovingExpenseForbidden with default headers values

func (*UpdateMovingExpenseForbidden) SetPayload

func (o *UpdateMovingExpenseForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update moving expense forbidden response

func (*UpdateMovingExpenseForbidden) WithPayload

WithPayload adds the payload to the update moving expense forbidden response

func (*UpdateMovingExpenseForbidden) WriteResponse

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

WriteResponse to the client

type UpdateMovingExpenseHandler

type UpdateMovingExpenseHandler interface {
	Handle(UpdateMovingExpenseParams) middleware.Responder
}

UpdateMovingExpenseHandler interface for that can handle valid update moving expense params

type UpdateMovingExpenseHandlerFunc

type UpdateMovingExpenseHandlerFunc func(UpdateMovingExpenseParams) middleware.Responder

UpdateMovingExpenseHandlerFunc turns a function with the right signature into a update moving expense handler

func (UpdateMovingExpenseHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateMovingExpenseInternalServerError

type UpdateMovingExpenseInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateMovingExpenseInternalServerError A server error occurred

swagger:response updateMovingExpenseInternalServerError

func NewUpdateMovingExpenseInternalServerError

func NewUpdateMovingExpenseInternalServerError() *UpdateMovingExpenseInternalServerError

NewUpdateMovingExpenseInternalServerError creates UpdateMovingExpenseInternalServerError with default headers values

func (*UpdateMovingExpenseInternalServerError) SetPayload

SetPayload sets the payload to the update moving expense internal server error response

func (*UpdateMovingExpenseInternalServerError) WithPayload

WithPayload adds the payload to the update moving expense internal server error response

func (*UpdateMovingExpenseInternalServerError) WriteResponse

WriteResponse to the client

type UpdateMovingExpenseNotFound

type UpdateMovingExpenseNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateMovingExpenseNotFound The requested resource wasn't found

swagger:response updateMovingExpenseNotFound

func NewUpdateMovingExpenseNotFound

func NewUpdateMovingExpenseNotFound() *UpdateMovingExpenseNotFound

NewUpdateMovingExpenseNotFound creates UpdateMovingExpenseNotFound with default headers values

func (*UpdateMovingExpenseNotFound) SetPayload

func (o *UpdateMovingExpenseNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update moving expense not found response

func (*UpdateMovingExpenseNotFound) WithPayload

WithPayload adds the payload to the update moving expense not found response

func (*UpdateMovingExpenseNotFound) WriteResponse

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

WriteResponse to the client

type UpdateMovingExpenseOK

type UpdateMovingExpenseOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.MovingExpense `json:"body,omitempty"`
}

UpdateMovingExpenseOK returns an updated moving expense object

swagger:response updateMovingExpenseOK

func NewUpdateMovingExpenseOK

func NewUpdateMovingExpenseOK() *UpdateMovingExpenseOK

NewUpdateMovingExpenseOK creates UpdateMovingExpenseOK with default headers values

func (*UpdateMovingExpenseOK) SetPayload

func (o *UpdateMovingExpenseOK) SetPayload(payload *ghcmessages.MovingExpense)

SetPayload sets the payload to the update moving expense o k response

func (*UpdateMovingExpenseOK) WithPayload

WithPayload adds the payload to the update moving expense o k response

func (*UpdateMovingExpenseOK) WriteResponse

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

WriteResponse to the client

type UpdateMovingExpenseParams

type UpdateMovingExpenseParams 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 moving expense
	  Required: true
	  In: path
	*/
	MovingExpenseID strfmt.UUID
	/*UUID of the PPM shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	UpdateMovingExpense *ghcmessages.UpdateMovingExpense
}

UpdateMovingExpenseParams contains all the bound params for the update moving expense operation typically these are obtained from a http.Request

swagger:parameters updateMovingExpense

func NewUpdateMovingExpenseParams

func NewUpdateMovingExpenseParams() UpdateMovingExpenseParams

NewUpdateMovingExpenseParams creates a new UpdateMovingExpenseParams object

There are no default values defined in the spec.

func (*UpdateMovingExpenseParams) 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 NewUpdateMovingExpenseParams() beforehand.

type UpdateMovingExpensePreconditionFailed

type UpdateMovingExpensePreconditionFailed struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateMovingExpensePreconditionFailed Precondition failed

swagger:response updateMovingExpensePreconditionFailed

func NewUpdateMovingExpensePreconditionFailed

func NewUpdateMovingExpensePreconditionFailed() *UpdateMovingExpensePreconditionFailed

NewUpdateMovingExpensePreconditionFailed creates UpdateMovingExpensePreconditionFailed with default headers values

func (*UpdateMovingExpensePreconditionFailed) SetPayload

SetPayload sets the payload to the update moving expense precondition failed response

func (*UpdateMovingExpensePreconditionFailed) WithPayload

WithPayload adds the payload to the update moving expense precondition failed response

func (*UpdateMovingExpensePreconditionFailed) WriteResponse

WriteResponse to the client

type UpdateMovingExpenseURL

type UpdateMovingExpenseURL struct {
	MovingExpenseID strfmt.UUID
	PpmShipmentID   strfmt.UUID
	// contains filtered or unexported fields
}

UpdateMovingExpenseURL generates an URL for the update moving expense operation

func (*UpdateMovingExpenseURL) Build

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

Build a url path and query string

func (*UpdateMovingExpenseURL) BuildFull

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

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

func (*UpdateMovingExpenseURL) Must

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

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

func (*UpdateMovingExpenseURL) SetBasePath

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

func (o *UpdateMovingExpenseURL) String() string

String returns the string representation of the path with query string

func (*UpdateMovingExpenseURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateMovingExpenseURL) 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 UpdateMovingExpenseUnauthorized

type UpdateMovingExpenseUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateMovingExpenseUnauthorized The request was denied

swagger:response updateMovingExpenseUnauthorized

func NewUpdateMovingExpenseUnauthorized

func NewUpdateMovingExpenseUnauthorized() *UpdateMovingExpenseUnauthorized

NewUpdateMovingExpenseUnauthorized creates UpdateMovingExpenseUnauthorized with default headers values

func (*UpdateMovingExpenseUnauthorized) SetPayload

func (o *UpdateMovingExpenseUnauthorized) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update moving expense unauthorized response

func (*UpdateMovingExpenseUnauthorized) WithPayload

WithPayload adds the payload to the update moving expense unauthorized response

func (*UpdateMovingExpenseUnauthorized) WriteResponse

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

WriteResponse to the client

type UpdateMovingExpenseUnprocessableEntity

type UpdateMovingExpenseUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

UpdateMovingExpenseUnprocessableEntity The payload was unprocessable.

swagger:response updateMovingExpenseUnprocessableEntity

func NewUpdateMovingExpenseUnprocessableEntity

func NewUpdateMovingExpenseUnprocessableEntity() *UpdateMovingExpenseUnprocessableEntity

NewUpdateMovingExpenseUnprocessableEntity creates UpdateMovingExpenseUnprocessableEntity with default headers values

func (*UpdateMovingExpenseUnprocessableEntity) SetPayload

SetPayload sets the payload to the update moving expense unprocessable entity response

func (*UpdateMovingExpenseUnprocessableEntity) WithPayload

WithPayload adds the payload to the update moving expense unprocessable entity response

func (*UpdateMovingExpenseUnprocessableEntity) WriteResponse

WriteResponse to the client

type UpdateProGearWeightTicket

type UpdateProGearWeightTicket struct {
	Context *middleware.Context
	Handler UpdateProGearWeightTicketHandler
}
UpdateProGearWeightTicket swagger:route PATCH /ppm-shipments/{ppmShipmentId}/pro-gear-weight-tickets/{proGearWeightTicketId} ppm updateProGearWeightTicket

Updates a pro-gear weight ticket

Updates a PPM shipment's pro-gear weight ticket with new information. Only some of the fields are editable because some have to be set by the customer, e.g. the description.

func NewUpdateProGearWeightTicket

func NewUpdateProGearWeightTicket(ctx *middleware.Context, handler UpdateProGearWeightTicketHandler) *UpdateProGearWeightTicket

NewUpdateProGearWeightTicket creates a new http.Handler for the update pro gear weight ticket operation

func (*UpdateProGearWeightTicket) ServeHTTP

type UpdateProGearWeightTicketBadRequest

type UpdateProGearWeightTicketBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateProGearWeightTicketBadRequest The request payload is invalid

swagger:response updateProGearWeightTicketBadRequest

func NewUpdateProGearWeightTicketBadRequest

func NewUpdateProGearWeightTicketBadRequest() *UpdateProGearWeightTicketBadRequest

NewUpdateProGearWeightTicketBadRequest creates UpdateProGearWeightTicketBadRequest with default headers values

func (*UpdateProGearWeightTicketBadRequest) SetPayload

func (o *UpdateProGearWeightTicketBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update pro gear weight ticket bad request response

func (*UpdateProGearWeightTicketBadRequest) WithPayload

WithPayload adds the payload to the update pro gear weight ticket bad request response

func (*UpdateProGearWeightTicketBadRequest) WriteResponse

WriteResponse to the client

type UpdateProGearWeightTicketForbidden

type UpdateProGearWeightTicketForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateProGearWeightTicketForbidden The request was denied

swagger:response updateProGearWeightTicketForbidden

func NewUpdateProGearWeightTicketForbidden

func NewUpdateProGearWeightTicketForbidden() *UpdateProGearWeightTicketForbidden

NewUpdateProGearWeightTicketForbidden creates UpdateProGearWeightTicketForbidden with default headers values

func (*UpdateProGearWeightTicketForbidden) SetPayload

func (o *UpdateProGearWeightTicketForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update pro gear weight ticket forbidden response

func (*UpdateProGearWeightTicketForbidden) WithPayload

WithPayload adds the payload to the update pro gear weight ticket forbidden response

func (*UpdateProGearWeightTicketForbidden) WriteResponse

WriteResponse to the client

type UpdateProGearWeightTicketHandler

type UpdateProGearWeightTicketHandler interface {
	Handle(UpdateProGearWeightTicketParams) middleware.Responder
}

UpdateProGearWeightTicketHandler interface for that can handle valid update pro gear weight ticket params

type UpdateProGearWeightTicketHandlerFunc

type UpdateProGearWeightTicketHandlerFunc func(UpdateProGearWeightTicketParams) middleware.Responder

UpdateProGearWeightTicketHandlerFunc turns a function with the right signature into a update pro gear weight ticket handler

func (UpdateProGearWeightTicketHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateProGearWeightTicketInternalServerError

type UpdateProGearWeightTicketInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateProGearWeightTicketInternalServerError A server error occurred

swagger:response updateProGearWeightTicketInternalServerError

func NewUpdateProGearWeightTicketInternalServerError

func NewUpdateProGearWeightTicketInternalServerError() *UpdateProGearWeightTicketInternalServerError

NewUpdateProGearWeightTicketInternalServerError creates UpdateProGearWeightTicketInternalServerError with default headers values

func (*UpdateProGearWeightTicketInternalServerError) SetPayload

SetPayload sets the payload to the update pro gear weight ticket internal server error response

func (*UpdateProGearWeightTicketInternalServerError) WithPayload

WithPayload adds the payload to the update pro gear weight ticket internal server error response

func (*UpdateProGearWeightTicketInternalServerError) WriteResponse

WriteResponse to the client

type UpdateProGearWeightTicketNotFound

type UpdateProGearWeightTicketNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateProGearWeightTicketNotFound The requested resource wasn't found

swagger:response updateProGearWeightTicketNotFound

func NewUpdateProGearWeightTicketNotFound

func NewUpdateProGearWeightTicketNotFound() *UpdateProGearWeightTicketNotFound

NewUpdateProGearWeightTicketNotFound creates UpdateProGearWeightTicketNotFound with default headers values

func (*UpdateProGearWeightTicketNotFound) SetPayload

func (o *UpdateProGearWeightTicketNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update pro gear weight ticket not found response

func (*UpdateProGearWeightTicketNotFound) WithPayload

WithPayload adds the payload to the update pro gear weight ticket not found response

func (*UpdateProGearWeightTicketNotFound) WriteResponse

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

WriteResponse to the client

type UpdateProGearWeightTicketOK

type UpdateProGearWeightTicketOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ProGearWeightTicket `json:"body,omitempty"`
}

UpdateProGearWeightTicketOK returns an updated pro-gear weight ticket object

swagger:response updateProGearWeightTicketOK

func NewUpdateProGearWeightTicketOK

func NewUpdateProGearWeightTicketOK() *UpdateProGearWeightTicketOK

NewUpdateProGearWeightTicketOK creates UpdateProGearWeightTicketOK with default headers values

func (*UpdateProGearWeightTicketOK) SetPayload

SetPayload sets the payload to the update pro gear weight ticket o k response

func (*UpdateProGearWeightTicketOK) WithPayload

WithPayload adds the payload to the update pro gear weight ticket o k response

func (*UpdateProGearWeightTicketOK) WriteResponse

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

WriteResponse to the client

type UpdateProGearWeightTicketParams

type UpdateProGearWeightTicketParams 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 PPM shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
	/*UUID of the pro-gear weight ticket
	  Required: true
	  In: path
	*/
	ProGearWeightTicketID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	UpdateProGearWeightTicket *ghcmessages.UpdateProGearWeightTicket
}

UpdateProGearWeightTicketParams contains all the bound params for the update pro gear weight ticket operation typically these are obtained from a http.Request

swagger:parameters updateProGearWeightTicket

func NewUpdateProGearWeightTicketParams

func NewUpdateProGearWeightTicketParams() UpdateProGearWeightTicketParams

NewUpdateProGearWeightTicketParams creates a new UpdateProGearWeightTicketParams object

There are no default values defined in the spec.

func (*UpdateProGearWeightTicketParams) 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 NewUpdateProGearWeightTicketParams() beforehand.

type UpdateProGearWeightTicketPreconditionFailed

type UpdateProGearWeightTicketPreconditionFailed struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateProGearWeightTicketPreconditionFailed Precondition failed

swagger:response updateProGearWeightTicketPreconditionFailed

func NewUpdateProGearWeightTicketPreconditionFailed

func NewUpdateProGearWeightTicketPreconditionFailed() *UpdateProGearWeightTicketPreconditionFailed

NewUpdateProGearWeightTicketPreconditionFailed creates UpdateProGearWeightTicketPreconditionFailed with default headers values

func (*UpdateProGearWeightTicketPreconditionFailed) SetPayload

SetPayload sets the payload to the update pro gear weight ticket precondition failed response

func (*UpdateProGearWeightTicketPreconditionFailed) WithPayload

WithPayload adds the payload to the update pro gear weight ticket precondition failed response

func (*UpdateProGearWeightTicketPreconditionFailed) WriteResponse

WriteResponse to the client

type UpdateProGearWeightTicketURL

type UpdateProGearWeightTicketURL struct {
	PpmShipmentID         strfmt.UUID
	ProGearWeightTicketID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateProGearWeightTicketURL generates an URL for the update pro gear weight ticket operation

func (*UpdateProGearWeightTicketURL) Build

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

Build a url path and query string

func (*UpdateProGearWeightTicketURL) BuildFull

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

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

func (*UpdateProGearWeightTicketURL) Must

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

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

func (*UpdateProGearWeightTicketURL) SetBasePath

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

String returns the string representation of the path with query string

func (*UpdateProGearWeightTicketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateProGearWeightTicketURL) 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 UpdateProGearWeightTicketUnauthorized

type UpdateProGearWeightTicketUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateProGearWeightTicketUnauthorized The request was denied

swagger:response updateProGearWeightTicketUnauthorized

func NewUpdateProGearWeightTicketUnauthorized

func NewUpdateProGearWeightTicketUnauthorized() *UpdateProGearWeightTicketUnauthorized

NewUpdateProGearWeightTicketUnauthorized creates UpdateProGearWeightTicketUnauthorized with default headers values

func (*UpdateProGearWeightTicketUnauthorized) SetPayload

SetPayload sets the payload to the update pro gear weight ticket unauthorized response

func (*UpdateProGearWeightTicketUnauthorized) WithPayload

WithPayload adds the payload to the update pro gear weight ticket unauthorized response

func (*UpdateProGearWeightTicketUnauthorized) WriteResponse

WriteResponse to the client

type UpdateProGearWeightTicketUnprocessableEntity

type UpdateProGearWeightTicketUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

UpdateProGearWeightTicketUnprocessableEntity The payload was unprocessable.

swagger:response updateProGearWeightTicketUnprocessableEntity

func NewUpdateProGearWeightTicketUnprocessableEntity

func NewUpdateProGearWeightTicketUnprocessableEntity() *UpdateProGearWeightTicketUnprocessableEntity

NewUpdateProGearWeightTicketUnprocessableEntity creates UpdateProGearWeightTicketUnprocessableEntity with default headers values

func (*UpdateProGearWeightTicketUnprocessableEntity) SetPayload

SetPayload sets the payload to the update pro gear weight ticket unprocessable entity response

func (*UpdateProGearWeightTicketUnprocessableEntity) WithPayload

WithPayload adds the payload to the update pro gear weight ticket unprocessable entity response

func (*UpdateProGearWeightTicketUnprocessableEntity) WriteResponse

WriteResponse to the client

type UpdateWeightTicket

type UpdateWeightTicket struct {
	Context *middleware.Context
	Handler UpdateWeightTicketHandler
}
UpdateWeightTicket swagger:route PATCH /ppm-shipments/{ppmShipmentId}/weight-ticket/{weightTicketId} ppm updateWeightTicket

Updates a weight ticket document

Updates a PPM shipment's weight ticket document with new information. Only some of the weight ticket document's fields are editable because some have to be set by the customer, e.g. vehicle description.

func NewUpdateWeightTicket

func NewUpdateWeightTicket(ctx *middleware.Context, handler UpdateWeightTicketHandler) *UpdateWeightTicket

NewUpdateWeightTicket creates a new http.Handler for the update weight ticket operation

func (*UpdateWeightTicket) ServeHTTP

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

type UpdateWeightTicketBadRequest

type UpdateWeightTicketBadRequest struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateWeightTicketBadRequest The request payload is invalid

swagger:response updateWeightTicketBadRequest

func NewUpdateWeightTicketBadRequest

func NewUpdateWeightTicketBadRequest() *UpdateWeightTicketBadRequest

NewUpdateWeightTicketBadRequest creates UpdateWeightTicketBadRequest with default headers values

func (*UpdateWeightTicketBadRequest) SetPayload

func (o *UpdateWeightTicketBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update weight ticket bad request response

func (*UpdateWeightTicketBadRequest) WithPayload

WithPayload adds the payload to the update weight ticket bad request response

func (*UpdateWeightTicketBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateWeightTicketForbidden

type UpdateWeightTicketForbidden struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateWeightTicketForbidden The request was denied

swagger:response updateWeightTicketForbidden

func NewUpdateWeightTicketForbidden

func NewUpdateWeightTicketForbidden() *UpdateWeightTicketForbidden

NewUpdateWeightTicketForbidden creates UpdateWeightTicketForbidden with default headers values

func (*UpdateWeightTicketForbidden) SetPayload

func (o *UpdateWeightTicketForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update weight ticket forbidden response

func (*UpdateWeightTicketForbidden) WithPayload

WithPayload adds the payload to the update weight ticket forbidden response

func (*UpdateWeightTicketForbidden) WriteResponse

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

WriteResponse to the client

type UpdateWeightTicketHandler

type UpdateWeightTicketHandler interface {
	Handle(UpdateWeightTicketParams) middleware.Responder
}

UpdateWeightTicketHandler interface for that can handle valid update weight ticket params

type UpdateWeightTicketHandlerFunc

type UpdateWeightTicketHandlerFunc func(UpdateWeightTicketParams) middleware.Responder

UpdateWeightTicketHandlerFunc turns a function with the right signature into a update weight ticket handler

func (UpdateWeightTicketHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateWeightTicketInternalServerError

type UpdateWeightTicketInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateWeightTicketInternalServerError A server error occurred

swagger:response updateWeightTicketInternalServerError

func NewUpdateWeightTicketInternalServerError

func NewUpdateWeightTicketInternalServerError() *UpdateWeightTicketInternalServerError

NewUpdateWeightTicketInternalServerError creates UpdateWeightTicketInternalServerError with default headers values

func (*UpdateWeightTicketInternalServerError) SetPayload

SetPayload sets the payload to the update weight ticket internal server error response

func (*UpdateWeightTicketInternalServerError) WithPayload

WithPayload adds the payload to the update weight ticket internal server error response

func (*UpdateWeightTicketInternalServerError) WriteResponse

WriteResponse to the client

type UpdateWeightTicketNotFound

type UpdateWeightTicketNotFound struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateWeightTicketNotFound The requested resource wasn't found

swagger:response updateWeightTicketNotFound

func NewUpdateWeightTicketNotFound

func NewUpdateWeightTicketNotFound() *UpdateWeightTicketNotFound

NewUpdateWeightTicketNotFound creates UpdateWeightTicketNotFound with default headers values

func (*UpdateWeightTicketNotFound) SetPayload

func (o *UpdateWeightTicketNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update weight ticket not found response

func (*UpdateWeightTicketNotFound) WithPayload

WithPayload adds the payload to the update weight ticket not found response

func (*UpdateWeightTicketNotFound) WriteResponse

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

WriteResponse to the client

type UpdateWeightTicketOK

type UpdateWeightTicketOK struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.WeightTicket `json:"body,omitempty"`
}

UpdateWeightTicketOK returns an updated weight ticket object

swagger:response updateWeightTicketOK

func NewUpdateWeightTicketOK

func NewUpdateWeightTicketOK() *UpdateWeightTicketOK

NewUpdateWeightTicketOK creates UpdateWeightTicketOK with default headers values

func (*UpdateWeightTicketOK) SetPayload

func (o *UpdateWeightTicketOK) SetPayload(payload *ghcmessages.WeightTicket)

SetPayload sets the payload to the update weight ticket o k response

func (*UpdateWeightTicketOK) WithPayload

WithPayload adds the payload to the update weight ticket o k response

func (*UpdateWeightTicketOK) WriteResponse

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

WriteResponse to the client

type UpdateWeightTicketParams

type UpdateWeightTicketParams 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 PPM shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	UpdateWeightTicketPayload *ghcmessages.UpdateWeightTicket
	/*UUID of the weight ticket
	  Required: true
	  In: path
	*/
	WeightTicketID strfmt.UUID
}

UpdateWeightTicketParams contains all the bound params for the update weight ticket operation typically these are obtained from a http.Request

swagger:parameters updateWeightTicket

func NewUpdateWeightTicketParams

func NewUpdateWeightTicketParams() UpdateWeightTicketParams

NewUpdateWeightTicketParams creates a new UpdateWeightTicketParams object

There are no default values defined in the spec.

func (*UpdateWeightTicketParams) 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 NewUpdateWeightTicketParams() beforehand.

type UpdateWeightTicketPreconditionFailed

type UpdateWeightTicketPreconditionFailed struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateWeightTicketPreconditionFailed Precondition failed

swagger:response updateWeightTicketPreconditionFailed

func NewUpdateWeightTicketPreconditionFailed

func NewUpdateWeightTicketPreconditionFailed() *UpdateWeightTicketPreconditionFailed

NewUpdateWeightTicketPreconditionFailed creates UpdateWeightTicketPreconditionFailed with default headers values

func (*UpdateWeightTicketPreconditionFailed) SetPayload

func (o *UpdateWeightTicketPreconditionFailed) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update weight ticket precondition failed response

func (*UpdateWeightTicketPreconditionFailed) WithPayload

WithPayload adds the payload to the update weight ticket precondition failed response

func (*UpdateWeightTicketPreconditionFailed) WriteResponse

WriteResponse to the client

type UpdateWeightTicketURL

type UpdateWeightTicketURL struct {
	PpmShipmentID  strfmt.UUID
	WeightTicketID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateWeightTicketURL generates an URL for the update weight ticket operation

func (*UpdateWeightTicketURL) Build

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

Build a url path and query string

func (*UpdateWeightTicketURL) BuildFull

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

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

func (*UpdateWeightTicketURL) Must

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

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

func (*UpdateWeightTicketURL) SetBasePath

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

func (o *UpdateWeightTicketURL) String() string

String returns the string representation of the path with query string

func (*UpdateWeightTicketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateWeightTicketURL) WithBasePath

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

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 UpdateWeightTicketUnauthorized

type UpdateWeightTicketUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.Error `json:"body,omitempty"`
}

UpdateWeightTicketUnauthorized The request was denied

swagger:response updateWeightTicketUnauthorized

func NewUpdateWeightTicketUnauthorized

func NewUpdateWeightTicketUnauthorized() *UpdateWeightTicketUnauthorized

NewUpdateWeightTicketUnauthorized creates UpdateWeightTicketUnauthorized with default headers values

func (*UpdateWeightTicketUnauthorized) SetPayload

func (o *UpdateWeightTicketUnauthorized) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update weight ticket unauthorized response

func (*UpdateWeightTicketUnauthorized) WithPayload

WithPayload adds the payload to the update weight ticket unauthorized response

func (*UpdateWeightTicketUnauthorized) WriteResponse

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

WriteResponse to the client

type UpdateWeightTicketUnprocessableEntity

type UpdateWeightTicketUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *ghcmessages.ValidationError `json:"body,omitempty"`
}

UpdateWeightTicketUnprocessableEntity The payload was unprocessable.

swagger:response updateWeightTicketUnprocessableEntity

func NewUpdateWeightTicketUnprocessableEntity

func NewUpdateWeightTicketUnprocessableEntity() *UpdateWeightTicketUnprocessableEntity

NewUpdateWeightTicketUnprocessableEntity creates UpdateWeightTicketUnprocessableEntity with default headers values

func (*UpdateWeightTicketUnprocessableEntity) SetPayload

SetPayload sets the payload to the update weight ticket unprocessable entity response

func (*UpdateWeightTicketUnprocessableEntity) WithPayload

WithPayload adds the payload to the update weight ticket unprocessable entity response

func (*UpdateWeightTicketUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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