ppm

package
v0.0.0-...-bc01b9c Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CreateMovingExpenseBadRequestCode int = 400

CreateMovingExpenseBadRequestCode is the HTTP code returned for type CreateMovingExpenseBadRequest

View Source
const CreateMovingExpenseCreatedCode int = 201

CreateMovingExpenseCreatedCode is the HTTP code returned for type CreateMovingExpenseCreated

View Source
const CreateMovingExpenseForbiddenCode int = 403

CreateMovingExpenseForbiddenCode is the HTTP code returned for type CreateMovingExpenseForbidden

View Source
const CreateMovingExpenseInternalServerErrorCode int = 500

CreateMovingExpenseInternalServerErrorCode is the HTTP code returned for type CreateMovingExpenseInternalServerError

View Source
const CreateMovingExpenseNotFoundCode int = 404

CreateMovingExpenseNotFoundCode is the HTTP code returned for type CreateMovingExpenseNotFound

View Source
const CreateMovingExpenseUnauthorizedCode int = 401

CreateMovingExpenseUnauthorizedCode is the HTTP code returned for type CreateMovingExpenseUnauthorized

View Source
const CreateMovingExpenseUnprocessableEntityCode int = 422

CreateMovingExpenseUnprocessableEntityCode is the HTTP code returned for type CreateMovingExpenseUnprocessableEntity

View Source
const CreatePPMUploadBadRequestCode int = 400

CreatePPMUploadBadRequestCode is the HTTP code returned for type CreatePPMUploadBadRequest

View Source
const CreatePPMUploadCreatedCode int = 201

CreatePPMUploadCreatedCode is the HTTP code returned for type CreatePPMUploadCreated

View Source
const CreatePPMUploadForbiddenCode int = 403

CreatePPMUploadForbiddenCode is the HTTP code returned for type CreatePPMUploadForbidden

View Source
const CreatePPMUploadInternalServerErrorCode int = 500

CreatePPMUploadInternalServerErrorCode is the HTTP code returned for type CreatePPMUploadInternalServerError

View Source
const CreatePPMUploadNotFoundCode int = 404

CreatePPMUploadNotFoundCode is the HTTP code returned for type CreatePPMUploadNotFound

View Source
const CreatePPMUploadRequestEntityTooLargeCode int = 413

CreatePPMUploadRequestEntityTooLargeCode is the HTTP code returned for type CreatePPMUploadRequestEntityTooLarge

View Source
const CreatePPMUploadUnprocessableEntityCode int = 422

CreatePPMUploadUnprocessableEntityCode is the HTTP code returned for type CreatePPMUploadUnprocessableEntity

View Source
const CreateProGearWeightTicketBadRequestCode int = 400

CreateProGearWeightTicketBadRequestCode is the HTTP code returned for type CreateProGearWeightTicketBadRequest

View Source
const CreateProGearWeightTicketCreatedCode int = 201

CreateProGearWeightTicketCreatedCode is the HTTP code returned for type CreateProGearWeightTicketCreated

View Source
const CreateProGearWeightTicketForbiddenCode int = 403

CreateProGearWeightTicketForbiddenCode is the HTTP code returned for type CreateProGearWeightTicketForbidden

View Source
const CreateProGearWeightTicketInternalServerErrorCode int = 500

CreateProGearWeightTicketInternalServerErrorCode is the HTTP code returned for type CreateProGearWeightTicketInternalServerError

View Source
const CreateProGearWeightTicketNotFoundCode int = 404

CreateProGearWeightTicketNotFoundCode is the HTTP code returned for type CreateProGearWeightTicketNotFound

View Source
const CreateProGearWeightTicketPreconditionFailedCode int = 412

CreateProGearWeightTicketPreconditionFailedCode is the HTTP code returned for type CreateProGearWeightTicketPreconditionFailed

View Source
const CreateProGearWeightTicketUnauthorizedCode int = 401

CreateProGearWeightTicketUnauthorizedCode is the HTTP code returned for type CreateProGearWeightTicketUnauthorized

View Source
const CreateProGearWeightTicketUnprocessableEntityCode int = 422

CreateProGearWeightTicketUnprocessableEntityCode is the HTTP code returned for type CreateProGearWeightTicketUnprocessableEntity

View Source
const CreateWeightTicketBadRequestCode int = 400

CreateWeightTicketBadRequestCode is the HTTP code returned for type CreateWeightTicketBadRequest

View Source
const CreateWeightTicketForbiddenCode int = 403

CreateWeightTicketForbiddenCode is the HTTP code returned for type CreateWeightTicketForbidden

View Source
const CreateWeightTicketInternalServerErrorCode int = 500

CreateWeightTicketInternalServerErrorCode is the HTTP code returned for type CreateWeightTicketInternalServerError

View Source
const CreateWeightTicketNotFoundCode int = 404

CreateWeightTicketNotFoundCode is the HTTP code returned for type CreateWeightTicketNotFound

View Source
const CreateWeightTicketOKCode int = 200

CreateWeightTicketOKCode is the HTTP code returned for type CreateWeightTicketOK

View Source
const CreateWeightTicketUnauthorizedCode int = 401

CreateWeightTicketUnauthorizedCode is the HTTP code returned for type CreateWeightTicketUnauthorized

View Source
const CreateWeightTicketUnprocessableEntityCode int = 422

CreateWeightTicketUnprocessableEntityCode is the HTTP code returned for type CreateWeightTicketUnprocessableEntity

View Source
const DeleteMovingExpenseBadRequestCode int = 400

DeleteMovingExpenseBadRequestCode is the HTTP code returned for type DeleteMovingExpenseBadRequest

View Source
const DeleteMovingExpenseConflictCode int = 409

DeleteMovingExpenseConflictCode is the HTTP code returned for type DeleteMovingExpenseConflict

View Source
const DeleteMovingExpenseForbiddenCode int = 403

DeleteMovingExpenseForbiddenCode is the HTTP code returned for type DeleteMovingExpenseForbidden

View Source
const DeleteMovingExpenseInternalServerErrorCode int = 500

DeleteMovingExpenseInternalServerErrorCode is the HTTP code returned for type DeleteMovingExpenseInternalServerError

View Source
const DeleteMovingExpenseNoContentCode int = 204

DeleteMovingExpenseNoContentCode is the HTTP code returned for type DeleteMovingExpenseNoContent

View Source
const DeleteMovingExpenseNotFoundCode int = 404

DeleteMovingExpenseNotFoundCode is the HTTP code returned for type DeleteMovingExpenseNotFound

View Source
const DeleteMovingExpenseUnauthorizedCode int = 401

DeleteMovingExpenseUnauthorizedCode is the HTTP code returned for type DeleteMovingExpenseUnauthorized

View Source
const DeleteMovingExpenseUnprocessableEntityCode int = 422

DeleteMovingExpenseUnprocessableEntityCode is the HTTP code returned for type DeleteMovingExpenseUnprocessableEntity

View Source
const DeleteProGearWeightTicketBadRequestCode int = 400

DeleteProGearWeightTicketBadRequestCode is the HTTP code returned for type DeleteProGearWeightTicketBadRequest

View Source
const DeleteProGearWeightTicketConflictCode int = 409

DeleteProGearWeightTicketConflictCode is the HTTP code returned for type DeleteProGearWeightTicketConflict

View Source
const DeleteProGearWeightTicketForbiddenCode int = 403

DeleteProGearWeightTicketForbiddenCode is the HTTP code returned for type DeleteProGearWeightTicketForbidden

View Source
const DeleteProGearWeightTicketInternalServerErrorCode int = 500

DeleteProGearWeightTicketInternalServerErrorCode is the HTTP code returned for type DeleteProGearWeightTicketInternalServerError

View Source
const DeleteProGearWeightTicketNoContentCode int = 204

DeleteProGearWeightTicketNoContentCode is the HTTP code returned for type DeleteProGearWeightTicketNoContent

View Source
const DeleteProGearWeightTicketNotFoundCode int = 404

DeleteProGearWeightTicketNotFoundCode is the HTTP code returned for type DeleteProGearWeightTicketNotFound

View Source
const DeleteProGearWeightTicketUnauthorizedCode int = 401

DeleteProGearWeightTicketUnauthorizedCode is the HTTP code returned for type DeleteProGearWeightTicketUnauthorized

View Source
const DeleteProGearWeightTicketUnprocessableEntityCode int = 422

DeleteProGearWeightTicketUnprocessableEntityCode is the HTTP code returned for type DeleteProGearWeightTicketUnprocessableEntity

View Source
const DeleteWeightTicketBadRequestCode int = 400

DeleteWeightTicketBadRequestCode is the HTTP code returned for type DeleteWeightTicketBadRequest

View Source
const DeleteWeightTicketConflictCode int = 409

DeleteWeightTicketConflictCode is the HTTP code returned for type DeleteWeightTicketConflict

View Source
const DeleteWeightTicketForbiddenCode int = 403

DeleteWeightTicketForbiddenCode is the HTTP code returned for type DeleteWeightTicketForbidden

View Source
const DeleteWeightTicketInternalServerErrorCode int = 500

DeleteWeightTicketInternalServerErrorCode is the HTTP code returned for type DeleteWeightTicketInternalServerError

View Source
const DeleteWeightTicketNoContentCode int = 204

DeleteWeightTicketNoContentCode is the HTTP code returned for type DeleteWeightTicketNoContent

View Source
const DeleteWeightTicketNotFoundCode int = 404

DeleteWeightTicketNotFoundCode is the HTTP code returned for type DeleteWeightTicketNotFound

View Source
const DeleteWeightTicketUnauthorizedCode int = 401

DeleteWeightTicketUnauthorizedCode is the HTTP code returned for type DeleteWeightTicketUnauthorized

View Source
const DeleteWeightTicketUnprocessableEntityCode int = 422

DeleteWeightTicketUnprocessableEntityCode is the HTTP code returned for type DeleteWeightTicketUnprocessableEntity

View Source
const ResubmitPPMShipmentDocumentationBadRequestCode int = 400

ResubmitPPMShipmentDocumentationBadRequestCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationBadRequest

View Source
const ResubmitPPMShipmentDocumentationConflictCode int = 409

ResubmitPPMShipmentDocumentationConflictCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationConflict

View Source
const ResubmitPPMShipmentDocumentationForbiddenCode int = 403

ResubmitPPMShipmentDocumentationForbiddenCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationForbidden

View Source
const ResubmitPPMShipmentDocumentationInternalServerErrorCode int = 500

ResubmitPPMShipmentDocumentationInternalServerErrorCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationInternalServerError

View Source
const ResubmitPPMShipmentDocumentationNotFoundCode int = 404

ResubmitPPMShipmentDocumentationNotFoundCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationNotFound

View Source
const ResubmitPPMShipmentDocumentationOKCode int = 200

ResubmitPPMShipmentDocumentationOKCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationOK

View Source
const ResubmitPPMShipmentDocumentationPreconditionFailedCode int = 412

ResubmitPPMShipmentDocumentationPreconditionFailedCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationPreconditionFailed

View Source
const ResubmitPPMShipmentDocumentationUnauthorizedCode int = 401

ResubmitPPMShipmentDocumentationUnauthorizedCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationUnauthorized

View Source
const ResubmitPPMShipmentDocumentationUnprocessableEntityCode int = 422

ResubmitPPMShipmentDocumentationUnprocessableEntityCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationUnprocessableEntity

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

SubmitPPMShipmentDocumentationBadRequestCode is the HTTP code returned for type SubmitPPMShipmentDocumentationBadRequest

View Source
const SubmitPPMShipmentDocumentationConflictCode int = 409

SubmitPPMShipmentDocumentationConflictCode is the HTTP code returned for type SubmitPPMShipmentDocumentationConflict

View Source
const SubmitPPMShipmentDocumentationForbiddenCode int = 403

SubmitPPMShipmentDocumentationForbiddenCode is the HTTP code returned for type SubmitPPMShipmentDocumentationForbidden

View Source
const SubmitPPMShipmentDocumentationInternalServerErrorCode int = 500

SubmitPPMShipmentDocumentationInternalServerErrorCode is the HTTP code returned for type SubmitPPMShipmentDocumentationInternalServerError

View Source
const SubmitPPMShipmentDocumentationNotFoundCode int = 404

SubmitPPMShipmentDocumentationNotFoundCode is the HTTP code returned for type SubmitPPMShipmentDocumentationNotFound

View Source
const SubmitPPMShipmentDocumentationOKCode int = 200

SubmitPPMShipmentDocumentationOKCode is the HTTP code returned for type SubmitPPMShipmentDocumentationOK

View Source
const SubmitPPMShipmentDocumentationUnauthorizedCode int = 401

SubmitPPMShipmentDocumentationUnauthorizedCode is the HTTP code returned for type SubmitPPMShipmentDocumentationUnauthorized

View Source
const SubmitPPMShipmentDocumentationUnprocessableEntityCode int = 422

SubmitPPMShipmentDocumentationUnprocessableEntityCode is the HTTP code returned for type SubmitPPMShipmentDocumentationUnprocessableEntity

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

View Source
var CreatePPMUploadMaxParseMemory int64 = 32 << 20

CreatePPMUploadMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.

The default value is 32 MB. The multipart parser stores up to this + 10MB.

Functions

This section is empty.

Types

type CreateMovingExpense

type CreateMovingExpense struct {
	Context *middleware.Context
	Handler CreateMovingExpenseHandler
}
CreateMovingExpense swagger:route POST /ppm-shipments/{ppmShipmentId}/moving-expenses ppm createMovingExpense

Creates moving expense document

Creates a moving expense document for the PPM shipment

func NewCreateMovingExpense

func NewCreateMovingExpense(ctx *middleware.Context, handler CreateMovingExpenseHandler) *CreateMovingExpense

NewCreateMovingExpense creates a new http.Handler for the create moving expense operation

func (*CreateMovingExpense) ServeHTTP

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

type CreateMovingExpenseBadRequest

type CreateMovingExpenseBadRequest struct {

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

CreateMovingExpenseBadRequest The request payload is invalid.

swagger:response createMovingExpenseBadRequest

func NewCreateMovingExpenseBadRequest

func NewCreateMovingExpenseBadRequest() *CreateMovingExpenseBadRequest

NewCreateMovingExpenseBadRequest creates CreateMovingExpenseBadRequest with default headers values

func (*CreateMovingExpenseBadRequest) SetPayload

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

func (*CreateMovingExpenseBadRequest) WithPayload

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

func (*CreateMovingExpenseBadRequest) WriteResponse

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

WriteResponse to the client

type CreateMovingExpenseCreated

type CreateMovingExpenseCreated struct {

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

CreateMovingExpenseCreated returns new moving expense object

swagger:response createMovingExpenseCreated

func NewCreateMovingExpenseCreated

func NewCreateMovingExpenseCreated() *CreateMovingExpenseCreated

NewCreateMovingExpenseCreated creates CreateMovingExpenseCreated with default headers values

func (*CreateMovingExpenseCreated) SetPayload

SetPayload sets the payload to the create moving expense created response

func (*CreateMovingExpenseCreated) WithPayload

WithPayload adds the payload to the create moving expense created response

func (*CreateMovingExpenseCreated) WriteResponse

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

WriteResponse to the client

type CreateMovingExpenseForbidden

type CreateMovingExpenseForbidden struct {

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

CreateMovingExpenseForbidden The request was denied.

swagger:response createMovingExpenseForbidden

func NewCreateMovingExpenseForbidden

func NewCreateMovingExpenseForbidden() *CreateMovingExpenseForbidden

NewCreateMovingExpenseForbidden creates CreateMovingExpenseForbidden with default headers values

func (*CreateMovingExpenseForbidden) SetPayload

SetPayload sets the payload to the create moving expense forbidden response

func (*CreateMovingExpenseForbidden) WithPayload

WithPayload adds the payload to the create moving expense forbidden response

func (*CreateMovingExpenseForbidden) WriteResponse

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

WriteResponse to the client

type CreateMovingExpenseHandler

type CreateMovingExpenseHandler interface {
	Handle(CreateMovingExpenseParams) middleware.Responder
}

CreateMovingExpenseHandler interface for that can handle valid create moving expense params

type CreateMovingExpenseHandlerFunc

type CreateMovingExpenseHandlerFunc func(CreateMovingExpenseParams) middleware.Responder

CreateMovingExpenseHandlerFunc turns a function with the right signature into a create moving expense handler

func (CreateMovingExpenseHandlerFunc) Handle

Handle executing the request and returning a response

type CreateMovingExpenseInternalServerError

type CreateMovingExpenseInternalServerError struct {

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

CreateMovingExpenseInternalServerError A server error occurred.

swagger:response createMovingExpenseInternalServerError

func NewCreateMovingExpenseInternalServerError

func NewCreateMovingExpenseInternalServerError() *CreateMovingExpenseInternalServerError

NewCreateMovingExpenseInternalServerError creates CreateMovingExpenseInternalServerError with default headers values

func (*CreateMovingExpenseInternalServerError) SetPayload

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

func (*CreateMovingExpenseInternalServerError) WithPayload

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

func (*CreateMovingExpenseInternalServerError) WriteResponse

WriteResponse to the client

type CreateMovingExpenseNotFound

type CreateMovingExpenseNotFound struct {

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

CreateMovingExpenseNotFound The requested resource wasn't found.

swagger:response createMovingExpenseNotFound

func NewCreateMovingExpenseNotFound

func NewCreateMovingExpenseNotFound() *CreateMovingExpenseNotFound

NewCreateMovingExpenseNotFound creates CreateMovingExpenseNotFound with default headers values

func (*CreateMovingExpenseNotFound) SetPayload

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

func (*CreateMovingExpenseNotFound) WithPayload

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

func (*CreateMovingExpenseNotFound) WriteResponse

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

WriteResponse to the client

type CreateMovingExpenseParams

type CreateMovingExpenseParams struct {

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

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

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

swagger:parameters createMovingExpense

func NewCreateMovingExpenseParams

func NewCreateMovingExpenseParams() CreateMovingExpenseParams

NewCreateMovingExpenseParams creates a new CreateMovingExpenseParams object

There are no default values defined in the spec.

func (*CreateMovingExpenseParams) 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 NewCreateMovingExpenseParams() beforehand.

type CreateMovingExpenseURL

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

CreateMovingExpenseURL generates an URL for the create moving expense operation

func (*CreateMovingExpenseURL) Build

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

Build a url path and query string

func (*CreateMovingExpenseURL) BuildFull

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

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

func (*CreateMovingExpenseURL) Must

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

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

func (*CreateMovingExpenseURL) SetBasePath

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

func (o *CreateMovingExpenseURL) String() string

String returns the string representation of the path with query string

func (*CreateMovingExpenseURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateMovingExpenseURL) 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 CreateMovingExpenseUnauthorized

type CreateMovingExpenseUnauthorized struct {

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

CreateMovingExpenseUnauthorized The request was denied.

swagger:response createMovingExpenseUnauthorized

func NewCreateMovingExpenseUnauthorized

func NewCreateMovingExpenseUnauthorized() *CreateMovingExpenseUnauthorized

NewCreateMovingExpenseUnauthorized creates CreateMovingExpenseUnauthorized with default headers values

func (*CreateMovingExpenseUnauthorized) SetPayload

SetPayload sets the payload to the create moving expense unauthorized response

func (*CreateMovingExpenseUnauthorized) WithPayload

WithPayload adds the payload to the create moving expense unauthorized response

func (*CreateMovingExpenseUnauthorized) WriteResponse

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

WriteResponse to the client

type CreateMovingExpenseUnprocessableEntity

type CreateMovingExpenseUnprocessableEntity struct {

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

CreateMovingExpenseUnprocessableEntity The payload was unprocessable.

swagger:response createMovingExpenseUnprocessableEntity

func NewCreateMovingExpenseUnprocessableEntity

func NewCreateMovingExpenseUnprocessableEntity() *CreateMovingExpenseUnprocessableEntity

NewCreateMovingExpenseUnprocessableEntity creates CreateMovingExpenseUnprocessableEntity with default headers values

func (*CreateMovingExpenseUnprocessableEntity) SetPayload

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

func (*CreateMovingExpenseUnprocessableEntity) WithPayload

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

func (*CreateMovingExpenseUnprocessableEntity) WriteResponse

WriteResponse to the client

type CreatePPMUpload

type CreatePPMUpload struct {
	Context *middleware.Context
	Handler CreatePPMUploadHandler
}
CreatePPMUpload swagger:route POST /ppm-shipments/{ppmShipmentId}/uploads ppm createPPMUpload

Create a new upload for a PPM weight ticket, pro-gear, or moving expense document

Uploads represent a single digital file, such as a PNG, JPEG, PDF, or spreadsheet.

func NewCreatePPMUpload

func NewCreatePPMUpload(ctx *middleware.Context, handler CreatePPMUploadHandler) *CreatePPMUpload

NewCreatePPMUpload creates a new http.Handler for the create p p m upload operation

func (*CreatePPMUpload) ServeHTTP

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

type CreatePPMUploadBadRequest

type CreatePPMUploadBadRequest struct {

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

CreatePPMUploadBadRequest invalid request

swagger:response createPPMUploadBadRequest

func NewCreatePPMUploadBadRequest

func NewCreatePPMUploadBadRequest() *CreatePPMUploadBadRequest

NewCreatePPMUploadBadRequest creates CreatePPMUploadBadRequest with default headers values

func (*CreatePPMUploadBadRequest) SetPayload

SetPayload sets the payload to the create p p m upload bad request response

func (*CreatePPMUploadBadRequest) WithPayload

WithPayload adds the payload to the create p p m upload bad request response

func (*CreatePPMUploadBadRequest) WriteResponse

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

WriteResponse to the client

type CreatePPMUploadCreated

type CreatePPMUploadCreated struct {

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

CreatePPMUploadCreated created upload

swagger:response createPPMUploadCreated

func NewCreatePPMUploadCreated

func NewCreatePPMUploadCreated() *CreatePPMUploadCreated

NewCreatePPMUploadCreated creates CreatePPMUploadCreated with default headers values

func (*CreatePPMUploadCreated) SetPayload

func (o *CreatePPMUploadCreated) SetPayload(payload *internalmessages.Upload)

SetPayload sets the payload to the create p p m upload created response

func (*CreatePPMUploadCreated) WithPayload

WithPayload adds the payload to the create p p m upload created response

func (*CreatePPMUploadCreated) WriteResponse

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

WriteResponse to the client

type CreatePPMUploadForbidden

type CreatePPMUploadForbidden struct {

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

CreatePPMUploadForbidden The request was denied.

swagger:response createPPMUploadForbidden

func NewCreatePPMUploadForbidden

func NewCreatePPMUploadForbidden() *CreatePPMUploadForbidden

NewCreatePPMUploadForbidden creates CreatePPMUploadForbidden with default headers values

func (*CreatePPMUploadForbidden) SetPayload

func (o *CreatePPMUploadForbidden) SetPayload(payload *internalmessages.ClientError)

SetPayload sets the payload to the create p p m upload forbidden response

func (*CreatePPMUploadForbidden) WithPayload

WithPayload adds the payload to the create p p m upload forbidden response

func (*CreatePPMUploadForbidden) WriteResponse

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

WriteResponse to the client

type CreatePPMUploadHandler

type CreatePPMUploadHandler interface {
	Handle(CreatePPMUploadParams) middleware.Responder
}

CreatePPMUploadHandler interface for that can handle valid create p p m upload params

type CreatePPMUploadHandlerFunc

type CreatePPMUploadHandlerFunc func(CreatePPMUploadParams) middleware.Responder

CreatePPMUploadHandlerFunc turns a function with the right signature into a create p p m upload handler

func (CreatePPMUploadHandlerFunc) Handle

Handle executing the request and returning a response

type CreatePPMUploadInternalServerError

type CreatePPMUploadInternalServerError struct {

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

CreatePPMUploadInternalServerError A server error occurred.

swagger:response createPPMUploadInternalServerError

func NewCreatePPMUploadInternalServerError

func NewCreatePPMUploadInternalServerError() *CreatePPMUploadInternalServerError

NewCreatePPMUploadInternalServerError creates CreatePPMUploadInternalServerError with default headers values

func (*CreatePPMUploadInternalServerError) SetPayload

SetPayload sets the payload to the create p p m upload internal server error response

func (*CreatePPMUploadInternalServerError) WithPayload

WithPayload adds the payload to the create p p m upload internal server error response

func (*CreatePPMUploadInternalServerError) WriteResponse

WriteResponse to the client

type CreatePPMUploadNotFound

type CreatePPMUploadNotFound struct {

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

CreatePPMUploadNotFound The requested resource wasn't found.

swagger:response createPPMUploadNotFound

func NewCreatePPMUploadNotFound

func NewCreatePPMUploadNotFound() *CreatePPMUploadNotFound

NewCreatePPMUploadNotFound creates CreatePPMUploadNotFound with default headers values

func (*CreatePPMUploadNotFound) SetPayload

func (o *CreatePPMUploadNotFound) SetPayload(payload *internalmessages.ClientError)

SetPayload sets the payload to the create p p m upload not found response

func (*CreatePPMUploadNotFound) WithPayload

WithPayload adds the payload to the create p p m upload not found response

func (*CreatePPMUploadNotFound) WriteResponse

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

WriteResponse to the client

type CreatePPMUploadParams

type CreatePPMUploadParams struct {

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

	/*UUID of the document to add an upload to
	  Required: true
	  In: query
	*/
	DocumentID strfmt.UUID
	/*The file to upload.
	  Required: true
	  In: formData
	*/
	File io.ReadCloser
	/*UUID of the ppm shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
	/*If the upload is a Weight Receipt
	  Required: true
	  In: query
	*/
	WeightReceipt bool
}

CreatePPMUploadParams contains all the bound params for the create p p m upload operation typically these are obtained from a http.Request

swagger:parameters createPPMUpload

func NewCreatePPMUploadParams

func NewCreatePPMUploadParams() CreatePPMUploadParams

NewCreatePPMUploadParams creates a new CreatePPMUploadParams object

There are no default values defined in the spec.

func (*CreatePPMUploadParams) BindRequest

func (o *CreatePPMUploadParams) 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 NewCreatePPMUploadParams() beforehand.

type CreatePPMUploadRequestEntityTooLarge

type CreatePPMUploadRequestEntityTooLarge struct {
}

CreatePPMUploadRequestEntityTooLarge payload is too large

swagger:response createPPMUploadRequestEntityTooLarge

func NewCreatePPMUploadRequestEntityTooLarge

func NewCreatePPMUploadRequestEntityTooLarge() *CreatePPMUploadRequestEntityTooLarge

NewCreatePPMUploadRequestEntityTooLarge creates CreatePPMUploadRequestEntityTooLarge with default headers values

func (*CreatePPMUploadRequestEntityTooLarge) WriteResponse

WriteResponse to the client

type CreatePPMUploadURL

type CreatePPMUploadURL struct {
	PpmShipmentID strfmt.UUID

	DocumentID    strfmt.UUID
	WeightReceipt bool
	// contains filtered or unexported fields
}

CreatePPMUploadURL generates an URL for the create p p m upload operation

func (*CreatePPMUploadURL) Build

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

Build a url path and query string

func (*CreatePPMUploadURL) BuildFull

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

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

func (*CreatePPMUploadURL) Must

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

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

func (*CreatePPMUploadURL) SetBasePath

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

func (o *CreatePPMUploadURL) String() string

String returns the string representation of the path with query string

func (*CreatePPMUploadURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreatePPMUploadURL) WithBasePath

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

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 CreatePPMUploadUnprocessableEntity

type CreatePPMUploadUnprocessableEntity struct {

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

CreatePPMUploadUnprocessableEntity The payload was unprocessable.

swagger:response createPPMUploadUnprocessableEntity

func NewCreatePPMUploadUnprocessableEntity

func NewCreatePPMUploadUnprocessableEntity() *CreatePPMUploadUnprocessableEntity

NewCreatePPMUploadUnprocessableEntity creates CreatePPMUploadUnprocessableEntity with default headers values

func (*CreatePPMUploadUnprocessableEntity) SetPayload

SetPayload sets the payload to the create p p m upload unprocessable entity response

func (*CreatePPMUploadUnprocessableEntity) WithPayload

WithPayload adds the payload to the create p p m upload unprocessable entity response

func (*CreatePPMUploadUnprocessableEntity) WriteResponse

WriteResponse to the client

type CreateProGearWeightTicket

type CreateProGearWeightTicket struct {
	Context *middleware.Context
	Handler CreateProGearWeightTicketHandler
}
CreateProGearWeightTicket swagger:route POST /ppm-shipments/{ppmShipmentId}/pro-gear-weight-tickets ppm createProGearWeightTicket

Creates a pro-gear weight ticket

Creates a PPM shipment's pro-gear weight ticket. This will only contain the minimum necessary fields for a pro-gear weight ticket. Data should be filled in using the patch endpoint.

func NewCreateProGearWeightTicket

func NewCreateProGearWeightTicket(ctx *middleware.Context, handler CreateProGearWeightTicketHandler) *CreateProGearWeightTicket

NewCreateProGearWeightTicket creates a new http.Handler for the create pro gear weight ticket operation

func (*CreateProGearWeightTicket) ServeHTTP

type CreateProGearWeightTicketBadRequest

type CreateProGearWeightTicketBadRequest struct {

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

CreateProGearWeightTicketBadRequest The request payload is invalid.

swagger:response createProGearWeightTicketBadRequest

func NewCreateProGearWeightTicketBadRequest

func NewCreateProGearWeightTicketBadRequest() *CreateProGearWeightTicketBadRequest

NewCreateProGearWeightTicketBadRequest creates CreateProGearWeightTicketBadRequest with default headers values

func (*CreateProGearWeightTicketBadRequest) SetPayload

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

func (*CreateProGearWeightTicketBadRequest) WithPayload

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

func (*CreateProGearWeightTicketBadRequest) WriteResponse

WriteResponse to the client

type CreateProGearWeightTicketCreated

type CreateProGearWeightTicketCreated struct {

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

CreateProGearWeightTicketCreated returns a new pro-gear weight ticket object

swagger:response createProGearWeightTicketCreated

func NewCreateProGearWeightTicketCreated

func NewCreateProGearWeightTicketCreated() *CreateProGearWeightTicketCreated

NewCreateProGearWeightTicketCreated creates CreateProGearWeightTicketCreated with default headers values

func (*CreateProGearWeightTicketCreated) SetPayload

SetPayload sets the payload to the create pro gear weight ticket created response

func (*CreateProGearWeightTicketCreated) WithPayload

WithPayload adds the payload to the create pro gear weight ticket created response

func (*CreateProGearWeightTicketCreated) WriteResponse

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

WriteResponse to the client

type CreateProGearWeightTicketForbidden

type CreateProGearWeightTicketForbidden struct {

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

CreateProGearWeightTicketForbidden The request was denied.

swagger:response createProGearWeightTicketForbidden

func NewCreateProGearWeightTicketForbidden

func NewCreateProGearWeightTicketForbidden() *CreateProGearWeightTicketForbidden

NewCreateProGearWeightTicketForbidden creates CreateProGearWeightTicketForbidden with default headers values

func (*CreateProGearWeightTicketForbidden) SetPayload

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

func (*CreateProGearWeightTicketForbidden) WithPayload

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

func (*CreateProGearWeightTicketForbidden) WriteResponse

WriteResponse to the client

type CreateProGearWeightTicketHandler

type CreateProGearWeightTicketHandler interface {
	Handle(CreateProGearWeightTicketParams) middleware.Responder
}

CreateProGearWeightTicketHandler interface for that can handle valid create pro gear weight ticket params

type CreateProGearWeightTicketHandlerFunc

type CreateProGearWeightTicketHandlerFunc func(CreateProGearWeightTicketParams) middleware.Responder

CreateProGearWeightTicketHandlerFunc turns a function with the right signature into a create pro gear weight ticket handler

func (CreateProGearWeightTicketHandlerFunc) Handle

Handle executing the request and returning a response

type CreateProGearWeightTicketInternalServerError

type CreateProGearWeightTicketInternalServerError struct {

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

CreateProGearWeightTicketInternalServerError A server error occurred.

swagger:response createProGearWeightTicketInternalServerError

func NewCreateProGearWeightTicketInternalServerError

func NewCreateProGearWeightTicketInternalServerError() *CreateProGearWeightTicketInternalServerError

NewCreateProGearWeightTicketInternalServerError creates CreateProGearWeightTicketInternalServerError with default headers values

func (*CreateProGearWeightTicketInternalServerError) SetPayload

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

func (*CreateProGearWeightTicketInternalServerError) WithPayload

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

func (*CreateProGearWeightTicketInternalServerError) WriteResponse

WriteResponse to the client

type CreateProGearWeightTicketNotFound

type CreateProGearWeightTicketNotFound struct {

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

CreateProGearWeightTicketNotFound The requested resource wasn't found.

swagger:response createProGearWeightTicketNotFound

func NewCreateProGearWeightTicketNotFound

func NewCreateProGearWeightTicketNotFound() *CreateProGearWeightTicketNotFound

NewCreateProGearWeightTicketNotFound creates CreateProGearWeightTicketNotFound with default headers values

func (*CreateProGearWeightTicketNotFound) SetPayload

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

func (*CreateProGearWeightTicketNotFound) WithPayload

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

func (*CreateProGearWeightTicketNotFound) WriteResponse

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

WriteResponse to the client

type CreateProGearWeightTicketParams

type CreateProGearWeightTicketParams struct {

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

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

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

swagger:parameters createProGearWeightTicket

func NewCreateProGearWeightTicketParams

func NewCreateProGearWeightTicketParams() CreateProGearWeightTicketParams

NewCreateProGearWeightTicketParams creates a new CreateProGearWeightTicketParams object

There are no default values defined in the spec.

func (*CreateProGearWeightTicketParams) 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 NewCreateProGearWeightTicketParams() beforehand.

type CreateProGearWeightTicketPreconditionFailed

type CreateProGearWeightTicketPreconditionFailed struct {

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

CreateProGearWeightTicketPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.

swagger:response createProGearWeightTicketPreconditionFailed

func NewCreateProGearWeightTicketPreconditionFailed

func NewCreateProGearWeightTicketPreconditionFailed() *CreateProGearWeightTicketPreconditionFailed

NewCreateProGearWeightTicketPreconditionFailed creates CreateProGearWeightTicketPreconditionFailed with default headers values

func (*CreateProGearWeightTicketPreconditionFailed) SetPayload

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

func (*CreateProGearWeightTicketPreconditionFailed) WithPayload

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

func (*CreateProGearWeightTicketPreconditionFailed) WriteResponse

WriteResponse to the client

type CreateProGearWeightTicketURL

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

CreateProGearWeightTicketURL generates an URL for the create pro gear weight ticket operation

func (*CreateProGearWeightTicketURL) Build

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

Build a url path and query string

func (*CreateProGearWeightTicketURL) BuildFull

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

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

func (*CreateProGearWeightTicketURL) Must

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

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

func (*CreateProGearWeightTicketURL) SetBasePath

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

String returns the string representation of the path with query string

func (*CreateProGearWeightTicketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateProGearWeightTicketURL) 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 CreateProGearWeightTicketUnauthorized

type CreateProGearWeightTicketUnauthorized struct {

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

CreateProGearWeightTicketUnauthorized The request was denied.

swagger:response createProGearWeightTicketUnauthorized

func NewCreateProGearWeightTicketUnauthorized

func NewCreateProGearWeightTicketUnauthorized() *CreateProGearWeightTicketUnauthorized

NewCreateProGearWeightTicketUnauthorized creates CreateProGearWeightTicketUnauthorized with default headers values

func (*CreateProGearWeightTicketUnauthorized) SetPayload

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

func (*CreateProGearWeightTicketUnauthorized) WithPayload

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

func (*CreateProGearWeightTicketUnauthorized) WriteResponse

WriteResponse to the client

type CreateProGearWeightTicketUnprocessableEntity

type CreateProGearWeightTicketUnprocessableEntity struct {

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

CreateProGearWeightTicketUnprocessableEntity The payload was unprocessable.

swagger:response createProGearWeightTicketUnprocessableEntity

func NewCreateProGearWeightTicketUnprocessableEntity

func NewCreateProGearWeightTicketUnprocessableEntity() *CreateProGearWeightTicketUnprocessableEntity

NewCreateProGearWeightTicketUnprocessableEntity creates CreateProGearWeightTicketUnprocessableEntity with default headers values

func (*CreateProGearWeightTicketUnprocessableEntity) SetPayload

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

func (*CreateProGearWeightTicketUnprocessableEntity) WithPayload

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

func (*CreateProGearWeightTicketUnprocessableEntity) WriteResponse

WriteResponse to the client

type CreateWeightTicket

type CreateWeightTicket struct {
	Context *middleware.Context
	Handler CreateWeightTicketHandler
}
CreateWeightTicket swagger:route POST /ppm-shipments/{ppmShipmentId}/weight-ticket ppm createWeightTicket

Creates a weight ticket document

Created a weight ticket document with the given information

func NewCreateWeightTicket

func NewCreateWeightTicket(ctx *middleware.Context, handler CreateWeightTicketHandler) *CreateWeightTicket

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

func (*CreateWeightTicket) ServeHTTP

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

type CreateWeightTicketBadRequest

type CreateWeightTicketBadRequest struct {

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

CreateWeightTicketBadRequest The request payload is invalid.

swagger:response createWeightTicketBadRequest

func NewCreateWeightTicketBadRequest

func NewCreateWeightTicketBadRequest() *CreateWeightTicketBadRequest

NewCreateWeightTicketBadRequest creates CreateWeightTicketBadRequest with default headers values

func (*CreateWeightTicketBadRequest) SetPayload

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

func (*CreateWeightTicketBadRequest) WithPayload

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

func (*CreateWeightTicketBadRequest) WriteResponse

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

WriteResponse to the client

type CreateWeightTicketForbidden

type CreateWeightTicketForbidden struct {

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

CreateWeightTicketForbidden The request was denied.

swagger:response createWeightTicketForbidden

func NewCreateWeightTicketForbidden

func NewCreateWeightTicketForbidden() *CreateWeightTicketForbidden

NewCreateWeightTicketForbidden creates CreateWeightTicketForbidden with default headers values

func (*CreateWeightTicketForbidden) SetPayload

SetPayload sets the payload to the create weight ticket forbidden response

func (*CreateWeightTicketForbidden) WithPayload

WithPayload adds the payload to the create weight ticket forbidden response

func (*CreateWeightTicketForbidden) WriteResponse

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

WriteResponse to the client

type CreateWeightTicketHandler

type CreateWeightTicketHandler interface {
	Handle(CreateWeightTicketParams) middleware.Responder
}

CreateWeightTicketHandler interface for that can handle valid create weight ticket params

type CreateWeightTicketHandlerFunc

type CreateWeightTicketHandlerFunc func(CreateWeightTicketParams) middleware.Responder

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

func (CreateWeightTicketHandlerFunc) Handle

Handle executing the request and returning a response

type CreateWeightTicketInternalServerError

type CreateWeightTicketInternalServerError struct {

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

CreateWeightTicketInternalServerError A server error occurred.

swagger:response createWeightTicketInternalServerError

func NewCreateWeightTicketInternalServerError

func NewCreateWeightTicketInternalServerError() *CreateWeightTicketInternalServerError

NewCreateWeightTicketInternalServerError creates CreateWeightTicketInternalServerError with default headers values

func (*CreateWeightTicketInternalServerError) SetPayload

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

func (*CreateWeightTicketInternalServerError) WithPayload

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

func (*CreateWeightTicketInternalServerError) WriteResponse

WriteResponse to the client

type CreateWeightTicketNotFound

type CreateWeightTicketNotFound struct {

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

CreateWeightTicketNotFound The requested resource wasn't found.

swagger:response createWeightTicketNotFound

func NewCreateWeightTicketNotFound

func NewCreateWeightTicketNotFound() *CreateWeightTicketNotFound

NewCreateWeightTicketNotFound creates CreateWeightTicketNotFound with default headers values

func (*CreateWeightTicketNotFound) SetPayload

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

func (*CreateWeightTicketNotFound) WithPayload

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

func (*CreateWeightTicketNotFound) WriteResponse

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

WriteResponse to the client

type CreateWeightTicketOK

type CreateWeightTicketOK struct {

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

CreateWeightTicketOK returns new weight ticket object

swagger:response createWeightTicketOK

func NewCreateWeightTicketOK

func NewCreateWeightTicketOK() *CreateWeightTicketOK

NewCreateWeightTicketOK creates CreateWeightTicketOK with default headers values

func (*CreateWeightTicketOK) SetPayload

func (o *CreateWeightTicketOK) SetPayload(payload *internalmessages.WeightTicket)

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

func (*CreateWeightTicketOK) WithPayload

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

func (*CreateWeightTicketOK) WriteResponse

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

WriteResponse to the client

type CreateWeightTicketParams

type CreateWeightTicketParams struct {

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

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

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

swagger:parameters createWeightTicket

func NewCreateWeightTicketParams

func NewCreateWeightTicketParams() CreateWeightTicketParams

NewCreateWeightTicketParams creates a new CreateWeightTicketParams object

There are no default values defined in the spec.

func (*CreateWeightTicketParams) 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 NewCreateWeightTicketParams() beforehand.

type CreateWeightTicketURL

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

CreateWeightTicketURL generates an URL for the create weight ticket operation

func (*CreateWeightTicketURL) Build

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

Build a url path and query string

func (*CreateWeightTicketURL) BuildFull

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

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

func (*CreateWeightTicketURL) Must

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

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

func (*CreateWeightTicketURL) SetBasePath

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

func (o *CreateWeightTicketURL) String() string

String returns the string representation of the path with query string

func (*CreateWeightTicketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateWeightTicketURL) WithBasePath

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

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 CreateWeightTicketUnauthorized

type CreateWeightTicketUnauthorized struct {

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

CreateWeightTicketUnauthorized The request was denied.

swagger:response createWeightTicketUnauthorized

func NewCreateWeightTicketUnauthorized

func NewCreateWeightTicketUnauthorized() *CreateWeightTicketUnauthorized

NewCreateWeightTicketUnauthorized creates CreateWeightTicketUnauthorized with default headers values

func (*CreateWeightTicketUnauthorized) SetPayload

SetPayload sets the payload to the create weight ticket unauthorized response

func (*CreateWeightTicketUnauthorized) WithPayload

WithPayload adds the payload to the create weight ticket unauthorized response

func (*CreateWeightTicketUnauthorized) WriteResponse

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

WriteResponse to the client

type CreateWeightTicketUnprocessableEntity

type CreateWeightTicketUnprocessableEntity struct {

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

CreateWeightTicketUnprocessableEntity The payload was unprocessable.

swagger:response createWeightTicketUnprocessableEntity

func NewCreateWeightTicketUnprocessableEntity

func NewCreateWeightTicketUnprocessableEntity() *CreateWeightTicketUnprocessableEntity

NewCreateWeightTicketUnprocessableEntity creates CreateWeightTicketUnprocessableEntity with default headers values

func (*CreateWeightTicketUnprocessableEntity) SetPayload

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

func (*CreateWeightTicketUnprocessableEntity) WithPayload

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

func (*CreateWeightTicketUnprocessableEntity) WriteResponse

WriteResponse to the client

type DeleteMovingExpense

type DeleteMovingExpense struct {
	Context *middleware.Context
	Handler DeleteMovingExpenseHandler
}
DeleteMovingExpense swagger:route DELETE /ppm-shipments/{ppmShipmentId}/moving-expenses/{movingExpenseId} ppm deleteMovingExpense

Soft deletes a moving expense by ID

Removes a single moving expense receipt from the closeout line items for a PPM shipment. Soft deleted records are not visible in milmove, but are kept in the database.

func NewDeleteMovingExpense

func NewDeleteMovingExpense(ctx *middleware.Context, handler DeleteMovingExpenseHandler) *DeleteMovingExpense

NewDeleteMovingExpense creates a new http.Handler for the delete moving expense operation

func (*DeleteMovingExpense) ServeHTTP

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

type DeleteMovingExpenseBadRequest

type DeleteMovingExpenseBadRequest struct {

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

DeleteMovingExpenseBadRequest The request payload is invalid.

swagger:response deleteMovingExpenseBadRequest

func NewDeleteMovingExpenseBadRequest

func NewDeleteMovingExpenseBadRequest() *DeleteMovingExpenseBadRequest

NewDeleteMovingExpenseBadRequest creates DeleteMovingExpenseBadRequest with default headers values

func (*DeleteMovingExpenseBadRequest) SetPayload

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

func (*DeleteMovingExpenseBadRequest) WithPayload

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

func (*DeleteMovingExpenseBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteMovingExpenseConflict

type DeleteMovingExpenseConflict struct {

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

DeleteMovingExpenseConflict The request could not be processed because of conflict in the current state of the resource.

swagger:response deleteMovingExpenseConflict

func NewDeleteMovingExpenseConflict

func NewDeleteMovingExpenseConflict() *DeleteMovingExpenseConflict

NewDeleteMovingExpenseConflict creates DeleteMovingExpenseConflict with default headers values

func (*DeleteMovingExpenseConflict) SetPayload

SetPayload sets the payload to the delete moving expense conflict response

func (*DeleteMovingExpenseConflict) WithPayload

WithPayload adds the payload to the delete moving expense conflict response

func (*DeleteMovingExpenseConflict) WriteResponse

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

WriteResponse to the client

type DeleteMovingExpenseForbidden

type DeleteMovingExpenseForbidden struct {

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

DeleteMovingExpenseForbidden The request was denied.

swagger:response deleteMovingExpenseForbidden

func NewDeleteMovingExpenseForbidden

func NewDeleteMovingExpenseForbidden() *DeleteMovingExpenseForbidden

NewDeleteMovingExpenseForbidden creates DeleteMovingExpenseForbidden with default headers values

func (*DeleteMovingExpenseForbidden) SetPayload

SetPayload sets the payload to the delete moving expense forbidden response

func (*DeleteMovingExpenseForbidden) WithPayload

WithPayload adds the payload to the delete moving expense forbidden response

func (*DeleteMovingExpenseForbidden) WriteResponse

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

WriteResponse to the client

type DeleteMovingExpenseHandler

type DeleteMovingExpenseHandler interface {
	Handle(DeleteMovingExpenseParams) middleware.Responder
}

DeleteMovingExpenseHandler interface for that can handle valid delete moving expense params

type DeleteMovingExpenseHandlerFunc

type DeleteMovingExpenseHandlerFunc func(DeleteMovingExpenseParams) middleware.Responder

DeleteMovingExpenseHandlerFunc turns a function with the right signature into a delete moving expense handler

func (DeleteMovingExpenseHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteMovingExpenseInternalServerError

type DeleteMovingExpenseInternalServerError struct {

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

DeleteMovingExpenseInternalServerError A server error occurred.

swagger:response deleteMovingExpenseInternalServerError

func NewDeleteMovingExpenseInternalServerError

func NewDeleteMovingExpenseInternalServerError() *DeleteMovingExpenseInternalServerError

NewDeleteMovingExpenseInternalServerError creates DeleteMovingExpenseInternalServerError with default headers values

func (*DeleteMovingExpenseInternalServerError) SetPayload

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

func (*DeleteMovingExpenseInternalServerError) WithPayload

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

func (*DeleteMovingExpenseInternalServerError) WriteResponse

WriteResponse to the client

type DeleteMovingExpenseNoContent

type DeleteMovingExpenseNoContent struct {
}

DeleteMovingExpenseNoContent Successfully soft deleted the moving expense

swagger:response deleteMovingExpenseNoContent

func NewDeleteMovingExpenseNoContent

func NewDeleteMovingExpenseNoContent() *DeleteMovingExpenseNoContent

NewDeleteMovingExpenseNoContent creates DeleteMovingExpenseNoContent with default headers values

func (*DeleteMovingExpenseNoContent) WriteResponse

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

WriteResponse to the client

type DeleteMovingExpenseNotFound

type DeleteMovingExpenseNotFound struct {

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

DeleteMovingExpenseNotFound The requested resource wasn't found.

swagger:response deleteMovingExpenseNotFound

func NewDeleteMovingExpenseNotFound

func NewDeleteMovingExpenseNotFound() *DeleteMovingExpenseNotFound

NewDeleteMovingExpenseNotFound creates DeleteMovingExpenseNotFound with default headers values

func (*DeleteMovingExpenseNotFound) SetPayload

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

func (*DeleteMovingExpenseNotFound) WithPayload

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

func (*DeleteMovingExpenseNotFound) WriteResponse

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

WriteResponse to the client

type DeleteMovingExpenseParams

type DeleteMovingExpenseParams struct {

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

	/*ID of the moving expense to be deleted
	  Required: true
	  In: path
	*/
	MovingExpenseID strfmt.UUID
	/*UUID of the PPM shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
}

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

swagger:parameters deleteMovingExpense

func NewDeleteMovingExpenseParams

func NewDeleteMovingExpenseParams() DeleteMovingExpenseParams

NewDeleteMovingExpenseParams creates a new DeleteMovingExpenseParams object

There are no default values defined in the spec.

func (*DeleteMovingExpenseParams) 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 NewDeleteMovingExpenseParams() beforehand.

type DeleteMovingExpenseURL

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

DeleteMovingExpenseURL generates an URL for the delete moving expense operation

func (*DeleteMovingExpenseURL) Build

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

Build a url path and query string

func (*DeleteMovingExpenseURL) BuildFull

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

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

func (*DeleteMovingExpenseURL) Must

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

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

func (*DeleteMovingExpenseURL) SetBasePath

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

func (o *DeleteMovingExpenseURL) String() string

String returns the string representation of the path with query string

func (*DeleteMovingExpenseURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteMovingExpenseURL) 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 DeleteMovingExpenseUnauthorized

type DeleteMovingExpenseUnauthorized struct {

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

DeleteMovingExpenseUnauthorized The request was denied.

swagger:response deleteMovingExpenseUnauthorized

func NewDeleteMovingExpenseUnauthorized

func NewDeleteMovingExpenseUnauthorized() *DeleteMovingExpenseUnauthorized

NewDeleteMovingExpenseUnauthorized creates DeleteMovingExpenseUnauthorized with default headers values

func (*DeleteMovingExpenseUnauthorized) SetPayload

SetPayload sets the payload to the delete moving expense unauthorized response

func (*DeleteMovingExpenseUnauthorized) WithPayload

WithPayload adds the payload to the delete moving expense unauthorized response

func (*DeleteMovingExpenseUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteMovingExpenseUnprocessableEntity

type DeleteMovingExpenseUnprocessableEntity struct {

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

DeleteMovingExpenseUnprocessableEntity The payload was unprocessable.

swagger:response deleteMovingExpenseUnprocessableEntity

func NewDeleteMovingExpenseUnprocessableEntity

func NewDeleteMovingExpenseUnprocessableEntity() *DeleteMovingExpenseUnprocessableEntity

NewDeleteMovingExpenseUnprocessableEntity creates DeleteMovingExpenseUnprocessableEntity with default headers values

func (*DeleteMovingExpenseUnprocessableEntity) SetPayload

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

func (*DeleteMovingExpenseUnprocessableEntity) WithPayload

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

func (*DeleteMovingExpenseUnprocessableEntity) WriteResponse

WriteResponse to the client

type DeleteProGearWeightTicket

type DeleteProGearWeightTicket struct {
	Context *middleware.Context
	Handler DeleteProGearWeightTicketHandler
}
DeleteProGearWeightTicket swagger:route DELETE /ppm-shipments/{ppmShipmentId}/pro-gear-weight-tickets/{proGearWeightTicketId} ppm deleteProGearWeightTicket

Soft deletes a pro-gear weight line item by ID

Removes a single pro-gear weight ticket set from the closeout line items for a PPM shipment. Soft deleted records are not visible in milmove, but are kept in the database.

func NewDeleteProGearWeightTicket

func NewDeleteProGearWeightTicket(ctx *middleware.Context, handler DeleteProGearWeightTicketHandler) *DeleteProGearWeightTicket

NewDeleteProGearWeightTicket creates a new http.Handler for the delete pro gear weight ticket operation

func (*DeleteProGearWeightTicket) ServeHTTP

type DeleteProGearWeightTicketBadRequest

type DeleteProGearWeightTicketBadRequest struct {

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

DeleteProGearWeightTicketBadRequest The request payload is invalid.

swagger:response deleteProGearWeightTicketBadRequest

func NewDeleteProGearWeightTicketBadRequest

func NewDeleteProGearWeightTicketBadRequest() *DeleteProGearWeightTicketBadRequest

NewDeleteProGearWeightTicketBadRequest creates DeleteProGearWeightTicketBadRequest with default headers values

func (*DeleteProGearWeightTicketBadRequest) SetPayload

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

func (*DeleteProGearWeightTicketBadRequest) WithPayload

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

func (*DeleteProGearWeightTicketBadRequest) WriteResponse

WriteResponse to the client

type DeleteProGearWeightTicketConflict

type DeleteProGearWeightTicketConflict struct {

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

DeleteProGearWeightTicketConflict The request could not be processed because of conflict in the current state of the resource.

swagger:response deleteProGearWeightTicketConflict

func NewDeleteProGearWeightTicketConflict

func NewDeleteProGearWeightTicketConflict() *DeleteProGearWeightTicketConflict

NewDeleteProGearWeightTicketConflict creates DeleteProGearWeightTicketConflict with default headers values

func (*DeleteProGearWeightTicketConflict) SetPayload

SetPayload sets the payload to the delete pro gear weight ticket conflict response

func (*DeleteProGearWeightTicketConflict) WithPayload

WithPayload adds the payload to the delete pro gear weight ticket conflict response

func (*DeleteProGearWeightTicketConflict) WriteResponse

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

WriteResponse to the client

type DeleteProGearWeightTicketForbidden

type DeleteProGearWeightTicketForbidden struct {

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

DeleteProGearWeightTicketForbidden The request was denied.

swagger:response deleteProGearWeightTicketForbidden

func NewDeleteProGearWeightTicketForbidden

func NewDeleteProGearWeightTicketForbidden() *DeleteProGearWeightTicketForbidden

NewDeleteProGearWeightTicketForbidden creates DeleteProGearWeightTicketForbidden with default headers values

func (*DeleteProGearWeightTicketForbidden) SetPayload

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

func (*DeleteProGearWeightTicketForbidden) WithPayload

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

func (*DeleteProGearWeightTicketForbidden) WriteResponse

WriteResponse to the client

type DeleteProGearWeightTicketHandler

type DeleteProGearWeightTicketHandler interface {
	Handle(DeleteProGearWeightTicketParams) middleware.Responder
}

DeleteProGearWeightTicketHandler interface for that can handle valid delete pro gear weight ticket params

type DeleteProGearWeightTicketHandlerFunc

type DeleteProGearWeightTicketHandlerFunc func(DeleteProGearWeightTicketParams) middleware.Responder

DeleteProGearWeightTicketHandlerFunc turns a function with the right signature into a delete pro gear weight ticket handler

func (DeleteProGearWeightTicketHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteProGearWeightTicketInternalServerError

type DeleteProGearWeightTicketInternalServerError struct {

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

DeleteProGearWeightTicketInternalServerError A server error occurred.

swagger:response deleteProGearWeightTicketInternalServerError

func NewDeleteProGearWeightTicketInternalServerError

func NewDeleteProGearWeightTicketInternalServerError() *DeleteProGearWeightTicketInternalServerError

NewDeleteProGearWeightTicketInternalServerError creates DeleteProGearWeightTicketInternalServerError with default headers values

func (*DeleteProGearWeightTicketInternalServerError) SetPayload

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

func (*DeleteProGearWeightTicketInternalServerError) WithPayload

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

func (*DeleteProGearWeightTicketInternalServerError) WriteResponse

WriteResponse to the client

type DeleteProGearWeightTicketNoContent

type DeleteProGearWeightTicketNoContent struct {
}

DeleteProGearWeightTicketNoContent Successfully soft deleted the pro-gear weight ticket

swagger:response deleteProGearWeightTicketNoContent

func NewDeleteProGearWeightTicketNoContent

func NewDeleteProGearWeightTicketNoContent() *DeleteProGearWeightTicketNoContent

NewDeleteProGearWeightTicketNoContent creates DeleteProGearWeightTicketNoContent with default headers values

func (*DeleteProGearWeightTicketNoContent) WriteResponse

WriteResponse to the client

type DeleteProGearWeightTicketNotFound

type DeleteProGearWeightTicketNotFound struct {

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

DeleteProGearWeightTicketNotFound The requested resource wasn't found.

swagger:response deleteProGearWeightTicketNotFound

func NewDeleteProGearWeightTicketNotFound

func NewDeleteProGearWeightTicketNotFound() *DeleteProGearWeightTicketNotFound

NewDeleteProGearWeightTicketNotFound creates DeleteProGearWeightTicketNotFound with default headers values

func (*DeleteProGearWeightTicketNotFound) SetPayload

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

func (*DeleteProGearWeightTicketNotFound) WithPayload

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

func (*DeleteProGearWeightTicketNotFound) WriteResponse

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

WriteResponse to the client

type DeleteProGearWeightTicketParams

type DeleteProGearWeightTicketParams struct {

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

	/*UUID of the PPM shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
	/*ID of the pro-gear weight ticket to be deleted
	  Required: true
	  In: path
	*/
	ProGearWeightTicketID strfmt.UUID
}

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

swagger:parameters deleteProGearWeightTicket

func NewDeleteProGearWeightTicketParams

func NewDeleteProGearWeightTicketParams() DeleteProGearWeightTicketParams

NewDeleteProGearWeightTicketParams creates a new DeleteProGearWeightTicketParams object

There are no default values defined in the spec.

func (*DeleteProGearWeightTicketParams) 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 NewDeleteProGearWeightTicketParams() beforehand.

type DeleteProGearWeightTicketURL

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

DeleteProGearWeightTicketURL generates an URL for the delete pro gear weight ticket operation

func (*DeleteProGearWeightTicketURL) Build

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

Build a url path and query string

func (*DeleteProGearWeightTicketURL) BuildFull

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

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

func (*DeleteProGearWeightTicketURL) Must

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

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

func (*DeleteProGearWeightTicketURL) SetBasePath

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

String returns the string representation of the path with query string

func (*DeleteProGearWeightTicketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteProGearWeightTicketURL) 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 DeleteProGearWeightTicketUnauthorized

type DeleteProGearWeightTicketUnauthorized struct {

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

DeleteProGearWeightTicketUnauthorized The request was denied.

swagger:response deleteProGearWeightTicketUnauthorized

func NewDeleteProGearWeightTicketUnauthorized

func NewDeleteProGearWeightTicketUnauthorized() *DeleteProGearWeightTicketUnauthorized

NewDeleteProGearWeightTicketUnauthorized creates DeleteProGearWeightTicketUnauthorized with default headers values

func (*DeleteProGearWeightTicketUnauthorized) SetPayload

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

func (*DeleteProGearWeightTicketUnauthorized) WithPayload

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

func (*DeleteProGearWeightTicketUnauthorized) WriteResponse

WriteResponse to the client

type DeleteProGearWeightTicketUnprocessableEntity

type DeleteProGearWeightTicketUnprocessableEntity struct {

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

DeleteProGearWeightTicketUnprocessableEntity The payload was unprocessable.

swagger:response deleteProGearWeightTicketUnprocessableEntity

func NewDeleteProGearWeightTicketUnprocessableEntity

func NewDeleteProGearWeightTicketUnprocessableEntity() *DeleteProGearWeightTicketUnprocessableEntity

NewDeleteProGearWeightTicketUnprocessableEntity creates DeleteProGearWeightTicketUnprocessableEntity with default headers values

func (*DeleteProGearWeightTicketUnprocessableEntity) SetPayload

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

func (*DeleteProGearWeightTicketUnprocessableEntity) WithPayload

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

func (*DeleteProGearWeightTicketUnprocessableEntity) WriteResponse

WriteResponse to the client

type DeleteWeightTicket

type DeleteWeightTicket struct {
	Context *middleware.Context
	Handler DeleteWeightTicketHandler
}
DeleteWeightTicket swagger:route DELETE /ppm-shipments/{ppmShipmentId}/weight-ticket/{weightTicketId} ppm deleteWeightTicket

Soft deletes a weight ticket by ID

Removes a single weight ticket from the closeout line items for a PPM shipment. Soft deleted records are not visible in milmove, but are kept in the database. This may change the PPM shipment's final incentive.

func NewDeleteWeightTicket

func NewDeleteWeightTicket(ctx *middleware.Context, handler DeleteWeightTicketHandler) *DeleteWeightTicket

NewDeleteWeightTicket creates a new http.Handler for the delete weight ticket operation

func (*DeleteWeightTicket) ServeHTTP

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

type DeleteWeightTicketBadRequest

type DeleteWeightTicketBadRequest struct {

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

DeleteWeightTicketBadRequest The request payload is invalid.

swagger:response deleteWeightTicketBadRequest

func NewDeleteWeightTicketBadRequest

func NewDeleteWeightTicketBadRequest() *DeleteWeightTicketBadRequest

NewDeleteWeightTicketBadRequest creates DeleteWeightTicketBadRequest with default headers values

func (*DeleteWeightTicketBadRequest) SetPayload

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

func (*DeleteWeightTicketBadRequest) WithPayload

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

func (*DeleteWeightTicketBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteWeightTicketConflict

type DeleteWeightTicketConflict struct {

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

DeleteWeightTicketConflict The request could not be processed because of conflict in the current state of the resource.

swagger:response deleteWeightTicketConflict

func NewDeleteWeightTicketConflict

func NewDeleteWeightTicketConflict() *DeleteWeightTicketConflict

NewDeleteWeightTicketConflict creates DeleteWeightTicketConflict with default headers values

func (*DeleteWeightTicketConflict) SetPayload

SetPayload sets the payload to the delete weight ticket conflict response

func (*DeleteWeightTicketConflict) WithPayload

WithPayload adds the payload to the delete weight ticket conflict response

func (*DeleteWeightTicketConflict) WriteResponse

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

WriteResponse to the client

type DeleteWeightTicketForbidden

type DeleteWeightTicketForbidden struct {

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

DeleteWeightTicketForbidden The request was denied.

swagger:response deleteWeightTicketForbidden

func NewDeleteWeightTicketForbidden

func NewDeleteWeightTicketForbidden() *DeleteWeightTicketForbidden

NewDeleteWeightTicketForbidden creates DeleteWeightTicketForbidden with default headers values

func (*DeleteWeightTicketForbidden) SetPayload

SetPayload sets the payload to the delete weight ticket forbidden response

func (*DeleteWeightTicketForbidden) WithPayload

WithPayload adds the payload to the delete weight ticket forbidden response

func (*DeleteWeightTicketForbidden) WriteResponse

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

WriteResponse to the client

type DeleteWeightTicketHandler

type DeleteWeightTicketHandler interface {
	Handle(DeleteWeightTicketParams) middleware.Responder
}

DeleteWeightTicketHandler interface for that can handle valid delete weight ticket params

type DeleteWeightTicketHandlerFunc

type DeleteWeightTicketHandlerFunc func(DeleteWeightTicketParams) middleware.Responder

DeleteWeightTicketHandlerFunc turns a function with the right signature into a delete weight ticket handler

func (DeleteWeightTicketHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteWeightTicketInternalServerError

type DeleteWeightTicketInternalServerError struct {

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

DeleteWeightTicketInternalServerError A server error occurred.

swagger:response deleteWeightTicketInternalServerError

func NewDeleteWeightTicketInternalServerError

func NewDeleteWeightTicketInternalServerError() *DeleteWeightTicketInternalServerError

NewDeleteWeightTicketInternalServerError creates DeleteWeightTicketInternalServerError with default headers values

func (*DeleteWeightTicketInternalServerError) SetPayload

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

func (*DeleteWeightTicketInternalServerError) WithPayload

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

func (*DeleteWeightTicketInternalServerError) WriteResponse

WriteResponse to the client

type DeleteWeightTicketNoContent

type DeleteWeightTicketNoContent struct {
}

DeleteWeightTicketNoContent Successfully soft deleted the weight ticket

swagger:response deleteWeightTicketNoContent

func NewDeleteWeightTicketNoContent

func NewDeleteWeightTicketNoContent() *DeleteWeightTicketNoContent

NewDeleteWeightTicketNoContent creates DeleteWeightTicketNoContent with default headers values

func (*DeleteWeightTicketNoContent) WriteResponse

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

WriteResponse to the client

type DeleteWeightTicketNotFound

type DeleteWeightTicketNotFound struct {

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

DeleteWeightTicketNotFound The requested resource wasn't found.

swagger:response deleteWeightTicketNotFound

func NewDeleteWeightTicketNotFound

func NewDeleteWeightTicketNotFound() *DeleteWeightTicketNotFound

NewDeleteWeightTicketNotFound creates DeleteWeightTicketNotFound with default headers values

func (*DeleteWeightTicketNotFound) SetPayload

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

func (*DeleteWeightTicketNotFound) WithPayload

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

func (*DeleteWeightTicketNotFound) WriteResponse

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

WriteResponse to the client

type DeleteWeightTicketParams

type DeleteWeightTicketParams struct {

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

	/*UUID of the PPM shipment
	  Required: true
	  In: path
	*/
	PpmShipmentID strfmt.UUID
	/*ID of the weight ticket to be deleted
	  Required: true
	  In: path
	*/
	WeightTicketID strfmt.UUID
}

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

swagger:parameters deleteWeightTicket

func NewDeleteWeightTicketParams

func NewDeleteWeightTicketParams() DeleteWeightTicketParams

NewDeleteWeightTicketParams creates a new DeleteWeightTicketParams object

There are no default values defined in the spec.

func (*DeleteWeightTicketParams) 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 NewDeleteWeightTicketParams() beforehand.

type DeleteWeightTicketURL

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

DeleteWeightTicketURL generates an URL for the delete weight ticket operation

func (*DeleteWeightTicketURL) Build

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

Build a url path and query string

func (*DeleteWeightTicketURL) BuildFull

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

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

func (*DeleteWeightTicketURL) Must

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

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

func (*DeleteWeightTicketURL) SetBasePath

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

func (o *DeleteWeightTicketURL) String() string

String returns the string representation of the path with query string

func (*DeleteWeightTicketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteWeightTicketURL) WithBasePath

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

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 DeleteWeightTicketUnauthorized

type DeleteWeightTicketUnauthorized struct {

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

DeleteWeightTicketUnauthorized The request was denied.

swagger:response deleteWeightTicketUnauthorized

func NewDeleteWeightTicketUnauthorized

func NewDeleteWeightTicketUnauthorized() *DeleteWeightTicketUnauthorized

NewDeleteWeightTicketUnauthorized creates DeleteWeightTicketUnauthorized with default headers values

func (*DeleteWeightTicketUnauthorized) SetPayload

SetPayload sets the payload to the delete weight ticket unauthorized response

func (*DeleteWeightTicketUnauthorized) WithPayload

WithPayload adds the payload to the delete weight ticket unauthorized response

func (*DeleteWeightTicketUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteWeightTicketUnprocessableEntity

type DeleteWeightTicketUnprocessableEntity struct {

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

DeleteWeightTicketUnprocessableEntity The payload was unprocessable.

swagger:response deleteWeightTicketUnprocessableEntity

func NewDeleteWeightTicketUnprocessableEntity

func NewDeleteWeightTicketUnprocessableEntity() *DeleteWeightTicketUnprocessableEntity

NewDeleteWeightTicketUnprocessableEntity creates DeleteWeightTicketUnprocessableEntity with default headers values

func (*DeleteWeightTicketUnprocessableEntity) SetPayload

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

func (*DeleteWeightTicketUnprocessableEntity) WithPayload

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

func (*DeleteWeightTicketUnprocessableEntity) WriteResponse

WriteResponse to the client

type ResubmitPPMShipmentDocumentation

type ResubmitPPMShipmentDocumentation struct {
	Context *middleware.Context
	Handler ResubmitPPMShipmentDocumentationHandler
}
ResubmitPPMShipmentDocumentation swagger:route PUT /ppm-shipments/{ppmShipmentId}/resubmit-ppm-shipment-documentation/{signedCertificationId} ppm resubmitPPMShipmentDocumentation

Updates signature and routes PPM shipment to service counselor

Updates customer signature along with the text they agreed to, and then routes the PPM shipment to the service counselor queue for review.

func NewResubmitPPMShipmentDocumentation

func NewResubmitPPMShipmentDocumentation(ctx *middleware.Context, handler ResubmitPPMShipmentDocumentationHandler) *ResubmitPPMShipmentDocumentation

NewResubmitPPMShipmentDocumentation creates a new http.Handler for the resubmit p p m shipment documentation operation

func (*ResubmitPPMShipmentDocumentation) ServeHTTP

type ResubmitPPMShipmentDocumentationBadRequest

type ResubmitPPMShipmentDocumentationBadRequest struct {

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

ResubmitPPMShipmentDocumentationBadRequest The request payload is invalid.

swagger:response resubmitPPMShipmentDocumentationBadRequest

func NewResubmitPPMShipmentDocumentationBadRequest

func NewResubmitPPMShipmentDocumentationBadRequest() *ResubmitPPMShipmentDocumentationBadRequest

NewResubmitPPMShipmentDocumentationBadRequest creates ResubmitPPMShipmentDocumentationBadRequest with default headers values

func (*ResubmitPPMShipmentDocumentationBadRequest) SetPayload

SetPayload sets the payload to the resubmit p p m shipment documentation bad request response

func (*ResubmitPPMShipmentDocumentationBadRequest) WithPayload

WithPayload adds the payload to the resubmit p p m shipment documentation bad request response

func (*ResubmitPPMShipmentDocumentationBadRequest) WriteResponse

WriteResponse to the client

type ResubmitPPMShipmentDocumentationConflict

type ResubmitPPMShipmentDocumentationConflict struct {

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

ResubmitPPMShipmentDocumentationConflict The request could not be processed because of conflict in the current state of the resource.

swagger:response resubmitPPMShipmentDocumentationConflict

func NewResubmitPPMShipmentDocumentationConflict

func NewResubmitPPMShipmentDocumentationConflict() *ResubmitPPMShipmentDocumentationConflict

NewResubmitPPMShipmentDocumentationConflict creates ResubmitPPMShipmentDocumentationConflict with default headers values

func (*ResubmitPPMShipmentDocumentationConflict) SetPayload

SetPayload sets the payload to the resubmit p p m shipment documentation conflict response

func (*ResubmitPPMShipmentDocumentationConflict) WithPayload

WithPayload adds the payload to the resubmit p p m shipment documentation conflict response

func (*ResubmitPPMShipmentDocumentationConflict) WriteResponse

WriteResponse to the client

type ResubmitPPMShipmentDocumentationForbidden

type ResubmitPPMShipmentDocumentationForbidden struct {

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

ResubmitPPMShipmentDocumentationForbidden The request was denied.

swagger:response resubmitPPMShipmentDocumentationForbidden

func NewResubmitPPMShipmentDocumentationForbidden

func NewResubmitPPMShipmentDocumentationForbidden() *ResubmitPPMShipmentDocumentationForbidden

NewResubmitPPMShipmentDocumentationForbidden creates ResubmitPPMShipmentDocumentationForbidden with default headers values

func (*ResubmitPPMShipmentDocumentationForbidden) SetPayload

SetPayload sets the payload to the resubmit p p m shipment documentation forbidden response

func (*ResubmitPPMShipmentDocumentationForbidden) WithPayload

WithPayload adds the payload to the resubmit p p m shipment documentation forbidden response

func (*ResubmitPPMShipmentDocumentationForbidden) WriteResponse

WriteResponse to the client

type ResubmitPPMShipmentDocumentationHandler

type ResubmitPPMShipmentDocumentationHandler interface {
	Handle(ResubmitPPMShipmentDocumentationParams) middleware.Responder
}

ResubmitPPMShipmentDocumentationHandler interface for that can handle valid resubmit p p m shipment documentation params

type ResubmitPPMShipmentDocumentationHandlerFunc

type ResubmitPPMShipmentDocumentationHandlerFunc func(ResubmitPPMShipmentDocumentationParams) middleware.Responder

ResubmitPPMShipmentDocumentationHandlerFunc turns a function with the right signature into a resubmit p p m shipment documentation handler

func (ResubmitPPMShipmentDocumentationHandlerFunc) Handle

Handle executing the request and returning a response

type ResubmitPPMShipmentDocumentationInternalServerError

type ResubmitPPMShipmentDocumentationInternalServerError struct {

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

ResubmitPPMShipmentDocumentationInternalServerError A server error occurred.

swagger:response resubmitPPMShipmentDocumentationInternalServerError

func NewResubmitPPMShipmentDocumentationInternalServerError

func NewResubmitPPMShipmentDocumentationInternalServerError() *ResubmitPPMShipmentDocumentationInternalServerError

NewResubmitPPMShipmentDocumentationInternalServerError creates ResubmitPPMShipmentDocumentationInternalServerError with default headers values

func (*ResubmitPPMShipmentDocumentationInternalServerError) SetPayload

SetPayload sets the payload to the resubmit p p m shipment documentation internal server error response

func (*ResubmitPPMShipmentDocumentationInternalServerError) WithPayload

WithPayload adds the payload to the resubmit p p m shipment documentation internal server error response

func (*ResubmitPPMShipmentDocumentationInternalServerError) WriteResponse

WriteResponse to the client

type ResubmitPPMShipmentDocumentationNotFound

type ResubmitPPMShipmentDocumentationNotFound struct {

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

ResubmitPPMShipmentDocumentationNotFound The requested resource wasn't found.

swagger:response resubmitPPMShipmentDocumentationNotFound

func NewResubmitPPMShipmentDocumentationNotFound

func NewResubmitPPMShipmentDocumentationNotFound() *ResubmitPPMShipmentDocumentationNotFound

NewResubmitPPMShipmentDocumentationNotFound creates ResubmitPPMShipmentDocumentationNotFound with default headers values

func (*ResubmitPPMShipmentDocumentationNotFound) SetPayload

SetPayload sets the payload to the resubmit p p m shipment documentation not found response

func (*ResubmitPPMShipmentDocumentationNotFound) WithPayload

WithPayload adds the payload to the resubmit p p m shipment documentation not found response

func (*ResubmitPPMShipmentDocumentationNotFound) WriteResponse

WriteResponse to the client

type ResubmitPPMShipmentDocumentationOK

type ResubmitPPMShipmentDocumentationOK struct {

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

ResubmitPPMShipmentDocumentationOK Returns the updated PPM shipment

swagger:response resubmitPPMShipmentDocumentationOK

func NewResubmitPPMShipmentDocumentationOK

func NewResubmitPPMShipmentDocumentationOK() *ResubmitPPMShipmentDocumentationOK

NewResubmitPPMShipmentDocumentationOK creates ResubmitPPMShipmentDocumentationOK with default headers values

func (*ResubmitPPMShipmentDocumentationOK) SetPayload

SetPayload sets the payload to the resubmit p p m shipment documentation o k response

func (*ResubmitPPMShipmentDocumentationOK) WithPayload

WithPayload adds the payload to the resubmit p p m shipment documentation o k response

func (*ResubmitPPMShipmentDocumentationOK) WriteResponse

WriteResponse to the client

type ResubmitPPMShipmentDocumentationParams

type ResubmitPPMShipmentDocumentationParams 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
	*/
	SavePPMShipmentSignedCertificationPayload *internalmessages.SavePPMShipmentSignedCertification
	/*UUID of the signed certification
	  Required: true
	  In: path
	*/
	SignedCertificationID strfmt.UUID
}

ResubmitPPMShipmentDocumentationParams contains all the bound params for the resubmit p p m shipment documentation operation typically these are obtained from a http.Request

swagger:parameters resubmitPPMShipmentDocumentation

func NewResubmitPPMShipmentDocumentationParams

func NewResubmitPPMShipmentDocumentationParams() ResubmitPPMShipmentDocumentationParams

NewResubmitPPMShipmentDocumentationParams creates a new ResubmitPPMShipmentDocumentationParams object

There are no default values defined in the spec.

func (*ResubmitPPMShipmentDocumentationParams) 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 NewResubmitPPMShipmentDocumentationParams() beforehand.

type ResubmitPPMShipmentDocumentationPreconditionFailed

type ResubmitPPMShipmentDocumentationPreconditionFailed struct {

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

ResubmitPPMShipmentDocumentationPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.

swagger:response resubmitPPMShipmentDocumentationPreconditionFailed

func NewResubmitPPMShipmentDocumentationPreconditionFailed

func NewResubmitPPMShipmentDocumentationPreconditionFailed() *ResubmitPPMShipmentDocumentationPreconditionFailed

NewResubmitPPMShipmentDocumentationPreconditionFailed creates ResubmitPPMShipmentDocumentationPreconditionFailed with default headers values

func (*ResubmitPPMShipmentDocumentationPreconditionFailed) SetPayload

SetPayload sets the payload to the resubmit p p m shipment documentation precondition failed response

func (*ResubmitPPMShipmentDocumentationPreconditionFailed) WithPayload

WithPayload adds the payload to the resubmit p p m shipment documentation precondition failed response

func (*ResubmitPPMShipmentDocumentationPreconditionFailed) WriteResponse

WriteResponse to the client

type ResubmitPPMShipmentDocumentationURL

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

ResubmitPPMShipmentDocumentationURL generates an URL for the resubmit p p m shipment documentation operation

func (*ResubmitPPMShipmentDocumentationURL) Build

Build a url path and query string

func (*ResubmitPPMShipmentDocumentationURL) BuildFull

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

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

func (*ResubmitPPMShipmentDocumentationURL) Must

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

func (*ResubmitPPMShipmentDocumentationURL) SetBasePath

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

String returns the string representation of the path with query string

func (*ResubmitPPMShipmentDocumentationURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ResubmitPPMShipmentDocumentationURL) 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 ResubmitPPMShipmentDocumentationUnauthorized

type ResubmitPPMShipmentDocumentationUnauthorized struct {

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

ResubmitPPMShipmentDocumentationUnauthorized The request was denied.

swagger:response resubmitPPMShipmentDocumentationUnauthorized

func NewResubmitPPMShipmentDocumentationUnauthorized

func NewResubmitPPMShipmentDocumentationUnauthorized() *ResubmitPPMShipmentDocumentationUnauthorized

NewResubmitPPMShipmentDocumentationUnauthorized creates ResubmitPPMShipmentDocumentationUnauthorized with default headers values

func (*ResubmitPPMShipmentDocumentationUnauthorized) SetPayload

SetPayload sets the payload to the resubmit p p m shipment documentation unauthorized response

func (*ResubmitPPMShipmentDocumentationUnauthorized) WithPayload

WithPayload adds the payload to the resubmit p p m shipment documentation unauthorized response

func (*ResubmitPPMShipmentDocumentationUnauthorized) WriteResponse

WriteResponse to the client

type ResubmitPPMShipmentDocumentationUnprocessableEntity

type ResubmitPPMShipmentDocumentationUnprocessableEntity struct {

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

ResubmitPPMShipmentDocumentationUnprocessableEntity The payload was unprocessable.

swagger:response resubmitPPMShipmentDocumentationUnprocessableEntity

func NewResubmitPPMShipmentDocumentationUnprocessableEntity

func NewResubmitPPMShipmentDocumentationUnprocessableEntity() *ResubmitPPMShipmentDocumentationUnprocessableEntity

NewResubmitPPMShipmentDocumentationUnprocessableEntity creates ResubmitPPMShipmentDocumentationUnprocessableEntity with default headers values

func (*ResubmitPPMShipmentDocumentationUnprocessableEntity) SetPayload

SetPayload sets the payload to the resubmit p p m shipment documentation unprocessable entity response

func (*ResubmitPPMShipmentDocumentationUnprocessableEntity) WithPayload

WithPayload adds the payload to the resubmit p p m shipment documentation unprocessable entity response

func (*ResubmitPPMShipmentDocumentationUnprocessableEntity) 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 *internalmessages.ClientError `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 *internalmessages.ClientError)

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 *internalmessages.ClientError `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 *internalmessages.ClientError)

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 *internalmessages.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

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 *internalmessages.ClientError `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 *internalmessages.ClientError)

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 *internalmessages.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 SubmitPPMShipmentDocumentation

type SubmitPPMShipmentDocumentation struct {
	Context *middleware.Context
	Handler SubmitPPMShipmentDocumentationHandler
}
SubmitPPMShipmentDocumentation swagger:route POST /ppm-shipments/{ppmShipmentId}/submit-ppm-shipment-documentation ppm submitPPMShipmentDocumentation

Saves signature and routes PPM shipment to service counselor

Saves customer signature along with the text they agreed to, and then routes the PPM shipment to the service counselor queue for review.

func NewSubmitPPMShipmentDocumentation

func NewSubmitPPMShipmentDocumentation(ctx *middleware.Context, handler SubmitPPMShipmentDocumentationHandler) *SubmitPPMShipmentDocumentation

NewSubmitPPMShipmentDocumentation creates a new http.Handler for the submit p p m shipment documentation operation

func (*SubmitPPMShipmentDocumentation) ServeHTTP

type SubmitPPMShipmentDocumentationBadRequest

type SubmitPPMShipmentDocumentationBadRequest struct {

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

SubmitPPMShipmentDocumentationBadRequest The request payload is invalid.

swagger:response submitPPMShipmentDocumentationBadRequest

func NewSubmitPPMShipmentDocumentationBadRequest

func NewSubmitPPMShipmentDocumentationBadRequest() *SubmitPPMShipmentDocumentationBadRequest

NewSubmitPPMShipmentDocumentationBadRequest creates SubmitPPMShipmentDocumentationBadRequest with default headers values

func (*SubmitPPMShipmentDocumentationBadRequest) SetPayload

SetPayload sets the payload to the submit p p m shipment documentation bad request response

func (*SubmitPPMShipmentDocumentationBadRequest) WithPayload

WithPayload adds the payload to the submit p p m shipment documentation bad request response

func (*SubmitPPMShipmentDocumentationBadRequest) WriteResponse

WriteResponse to the client

type SubmitPPMShipmentDocumentationConflict

type SubmitPPMShipmentDocumentationConflict struct {

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

SubmitPPMShipmentDocumentationConflict The request could not be processed because of conflict in the current state of the resource.

swagger:response submitPPMShipmentDocumentationConflict

func NewSubmitPPMShipmentDocumentationConflict

func NewSubmitPPMShipmentDocumentationConflict() *SubmitPPMShipmentDocumentationConflict

NewSubmitPPMShipmentDocumentationConflict creates SubmitPPMShipmentDocumentationConflict with default headers values

func (*SubmitPPMShipmentDocumentationConflict) SetPayload

SetPayload sets the payload to the submit p p m shipment documentation conflict response

func (*SubmitPPMShipmentDocumentationConflict) WithPayload

WithPayload adds the payload to the submit p p m shipment documentation conflict response

func (*SubmitPPMShipmentDocumentationConflict) WriteResponse

WriteResponse to the client

type SubmitPPMShipmentDocumentationForbidden

type SubmitPPMShipmentDocumentationForbidden struct {

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

SubmitPPMShipmentDocumentationForbidden The request was denied.

swagger:response submitPPMShipmentDocumentationForbidden

func NewSubmitPPMShipmentDocumentationForbidden

func NewSubmitPPMShipmentDocumentationForbidden() *SubmitPPMShipmentDocumentationForbidden

NewSubmitPPMShipmentDocumentationForbidden creates SubmitPPMShipmentDocumentationForbidden with default headers values

func (*SubmitPPMShipmentDocumentationForbidden) SetPayload

SetPayload sets the payload to the submit p p m shipment documentation forbidden response

func (*SubmitPPMShipmentDocumentationForbidden) WithPayload

WithPayload adds the payload to the submit p p m shipment documentation forbidden response

func (*SubmitPPMShipmentDocumentationForbidden) WriteResponse

WriteResponse to the client

type SubmitPPMShipmentDocumentationHandler

type SubmitPPMShipmentDocumentationHandler interface {
	Handle(SubmitPPMShipmentDocumentationParams) middleware.Responder
}

SubmitPPMShipmentDocumentationHandler interface for that can handle valid submit p p m shipment documentation params

type SubmitPPMShipmentDocumentationHandlerFunc

type SubmitPPMShipmentDocumentationHandlerFunc func(SubmitPPMShipmentDocumentationParams) middleware.Responder

SubmitPPMShipmentDocumentationHandlerFunc turns a function with the right signature into a submit p p m shipment documentation handler

func (SubmitPPMShipmentDocumentationHandlerFunc) Handle

Handle executing the request and returning a response

type SubmitPPMShipmentDocumentationInternalServerError

type SubmitPPMShipmentDocumentationInternalServerError struct {

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

SubmitPPMShipmentDocumentationInternalServerError A server error occurred.

swagger:response submitPPMShipmentDocumentationInternalServerError

func NewSubmitPPMShipmentDocumentationInternalServerError

func NewSubmitPPMShipmentDocumentationInternalServerError() *SubmitPPMShipmentDocumentationInternalServerError

NewSubmitPPMShipmentDocumentationInternalServerError creates SubmitPPMShipmentDocumentationInternalServerError with default headers values

func (*SubmitPPMShipmentDocumentationInternalServerError) SetPayload

SetPayload sets the payload to the submit p p m shipment documentation internal server error response

func (*SubmitPPMShipmentDocumentationInternalServerError) WithPayload

WithPayload adds the payload to the submit p p m shipment documentation internal server error response

func (*SubmitPPMShipmentDocumentationInternalServerError) WriteResponse

WriteResponse to the client

type SubmitPPMShipmentDocumentationNotFound

type SubmitPPMShipmentDocumentationNotFound struct {

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

SubmitPPMShipmentDocumentationNotFound The requested resource wasn't found.

swagger:response submitPPMShipmentDocumentationNotFound

func NewSubmitPPMShipmentDocumentationNotFound

func NewSubmitPPMShipmentDocumentationNotFound() *SubmitPPMShipmentDocumentationNotFound

NewSubmitPPMShipmentDocumentationNotFound creates SubmitPPMShipmentDocumentationNotFound with default headers values

func (*SubmitPPMShipmentDocumentationNotFound) SetPayload

SetPayload sets the payload to the submit p p m shipment documentation not found response

func (*SubmitPPMShipmentDocumentationNotFound) WithPayload

WithPayload adds the payload to the submit p p m shipment documentation not found response

func (*SubmitPPMShipmentDocumentationNotFound) WriteResponse

WriteResponse to the client

type SubmitPPMShipmentDocumentationOK

type SubmitPPMShipmentDocumentationOK struct {

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

SubmitPPMShipmentDocumentationOK Returns the updated PPM shipment

swagger:response submitPPMShipmentDocumentationOK

func NewSubmitPPMShipmentDocumentationOK

func NewSubmitPPMShipmentDocumentationOK() *SubmitPPMShipmentDocumentationOK

NewSubmitPPMShipmentDocumentationOK creates SubmitPPMShipmentDocumentationOK with default headers values

func (*SubmitPPMShipmentDocumentationOK) SetPayload

SetPayload sets the payload to the submit p p m shipment documentation o k response

func (*SubmitPPMShipmentDocumentationOK) WithPayload

WithPayload adds the payload to the submit p p m shipment documentation o k response

func (*SubmitPPMShipmentDocumentationOK) WriteResponse

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

WriteResponse to the client

type SubmitPPMShipmentDocumentationParams

type SubmitPPMShipmentDocumentationParams struct {

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

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

SubmitPPMShipmentDocumentationParams contains all the bound params for the submit p p m shipment documentation operation typically these are obtained from a http.Request

swagger:parameters submitPPMShipmentDocumentation

func NewSubmitPPMShipmentDocumentationParams

func NewSubmitPPMShipmentDocumentationParams() SubmitPPMShipmentDocumentationParams

NewSubmitPPMShipmentDocumentationParams creates a new SubmitPPMShipmentDocumentationParams object

There are no default values defined in the spec.

func (*SubmitPPMShipmentDocumentationParams) 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 NewSubmitPPMShipmentDocumentationParams() beforehand.

type SubmitPPMShipmentDocumentationURL

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

SubmitPPMShipmentDocumentationURL generates an URL for the submit p p m shipment documentation operation

func (*SubmitPPMShipmentDocumentationURL) Build

Build a url path and query string

func (*SubmitPPMShipmentDocumentationURL) BuildFull

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

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

func (*SubmitPPMShipmentDocumentationURL) Must

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

func (*SubmitPPMShipmentDocumentationURL) SetBasePath

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

String returns the string representation of the path with query string

func (*SubmitPPMShipmentDocumentationURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SubmitPPMShipmentDocumentationURL) 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 SubmitPPMShipmentDocumentationUnauthorized

type SubmitPPMShipmentDocumentationUnauthorized struct {

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

SubmitPPMShipmentDocumentationUnauthorized The request was denied.

swagger:response submitPPMShipmentDocumentationUnauthorized

func NewSubmitPPMShipmentDocumentationUnauthorized

func NewSubmitPPMShipmentDocumentationUnauthorized() *SubmitPPMShipmentDocumentationUnauthorized

NewSubmitPPMShipmentDocumentationUnauthorized creates SubmitPPMShipmentDocumentationUnauthorized with default headers values

func (*SubmitPPMShipmentDocumentationUnauthorized) SetPayload

SetPayload sets the payload to the submit p p m shipment documentation unauthorized response

func (*SubmitPPMShipmentDocumentationUnauthorized) WithPayload

WithPayload adds the payload to the submit p p m shipment documentation unauthorized response

func (*SubmitPPMShipmentDocumentationUnauthorized) WriteResponse

WriteResponse to the client

type SubmitPPMShipmentDocumentationUnprocessableEntity

type SubmitPPMShipmentDocumentationUnprocessableEntity struct {

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

SubmitPPMShipmentDocumentationUnprocessableEntity The payload was unprocessable.

swagger:response submitPPMShipmentDocumentationUnprocessableEntity

func NewSubmitPPMShipmentDocumentationUnprocessableEntity

func NewSubmitPPMShipmentDocumentationUnprocessableEntity() *SubmitPPMShipmentDocumentationUnprocessableEntity

NewSubmitPPMShipmentDocumentationUnprocessableEntity creates SubmitPPMShipmentDocumentationUnprocessableEntity with default headers values

func (*SubmitPPMShipmentDocumentationUnprocessableEntity) SetPayload

SetPayload sets the payload to the submit p p m shipment documentation unprocessable entity response

func (*SubmitPPMShipmentDocumentationUnprocessableEntity) WithPayload

WithPayload adds the payload to the submit p p m shipment documentation unprocessable entity response

func (*SubmitPPMShipmentDocumentationUnprocessableEntity) WriteResponse

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

Any fields sent in this request will be set on the moving expense referenced

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 *internalmessages.ClientError `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

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 *internalmessages.ClientError `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

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 *internalmessages.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 *internalmessages.ClientError `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

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 *internalmessages.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 *internalmessages.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 *internalmessages.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 *internalmessages.ClientError `json:"body,omitempty"`
}

UpdateMovingExpensePreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.

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 *internalmessages.ClientError `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

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 *internalmessages.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 *internalmessages.ClientError `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

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 *internalmessages.ClientError `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

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 *internalmessages.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 *internalmessages.ClientError `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

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 *internalmessages.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 *internalmessages.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 *internalmessages.ClientError `json:"body,omitempty"`
}

UpdateProGearWeightTicketPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.

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 *internalmessages.ClientError `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 *internalmessages.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 weight ticket document with the new information

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 *internalmessages.ClientError `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

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 *internalmessages.ClientError `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

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 *internalmessages.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 *internalmessages.ClientError `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

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 *internalmessages.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 *internalmessages.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 *internalmessages.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 *internalmessages.ClientError `json:"body,omitempty"`
}

UpdateWeightTicketPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.

swagger:response updateWeightTicketPreconditionFailed

func NewUpdateWeightTicketPreconditionFailed

func NewUpdateWeightTicketPreconditionFailed() *UpdateWeightTicketPreconditionFailed

NewUpdateWeightTicketPreconditionFailed creates UpdateWeightTicketPreconditionFailed with default headers values

func (*UpdateWeightTicketPreconditionFailed) SetPayload

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 *internalmessages.ClientError `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

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 *internalmessages.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

Source Files

Jump to

Keyboard shortcuts

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