shipment

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

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

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

Documentation

Index

Constants

View Source
const (

	// ReviewShipmentAddressUpdateBodyStatusREJECTED captures enum value "REJECTED"
	ReviewShipmentAddressUpdateBodyStatusREJECTED string = "REJECTED"

	// ReviewShipmentAddressUpdateBodyStatusAPPROVED captures enum value "APPROVED"
	ReviewShipmentAddressUpdateBodyStatusAPPROVED string = "APPROVED"
)
View Source
const ApproveSITExtensionConflictCode int = 409

ApproveSITExtensionConflictCode is the HTTP code returned for type ApproveSITExtensionConflict

View Source
const ApproveSITExtensionForbiddenCode int = 403

ApproveSITExtensionForbiddenCode is the HTTP code returned for type ApproveSITExtensionForbidden

View Source
const ApproveSITExtensionInternalServerErrorCode int = 500

ApproveSITExtensionInternalServerErrorCode is the HTTP code returned for type ApproveSITExtensionInternalServerError

View Source
const ApproveSITExtensionNotFoundCode int = 404

ApproveSITExtensionNotFoundCode is the HTTP code returned for type ApproveSITExtensionNotFound

View Source
const ApproveSITExtensionOKCode int = 200

ApproveSITExtensionOKCode is the HTTP code returned for type ApproveSITExtensionOK

View Source
const ApproveSITExtensionPreconditionFailedCode int = 412

ApproveSITExtensionPreconditionFailedCode is the HTTP code returned for type ApproveSITExtensionPreconditionFailed

View Source
const ApproveSITExtensionUnprocessableEntityCode int = 422

ApproveSITExtensionUnprocessableEntityCode is the HTTP code returned for type ApproveSITExtensionUnprocessableEntity

View Source
const ApproveShipmentConflictCode int = 409

ApproveShipmentConflictCode is the HTTP code returned for type ApproveShipmentConflict

View Source
const ApproveShipmentDiversionConflictCode int = 409

ApproveShipmentDiversionConflictCode is the HTTP code returned for type ApproveShipmentDiversionConflict

View Source
const ApproveShipmentDiversionForbiddenCode int = 403

ApproveShipmentDiversionForbiddenCode is the HTTP code returned for type ApproveShipmentDiversionForbidden

View Source
const ApproveShipmentDiversionInternalServerErrorCode int = 500

ApproveShipmentDiversionInternalServerErrorCode is the HTTP code returned for type ApproveShipmentDiversionInternalServerError

View Source
const ApproveShipmentDiversionNotFoundCode int = 404

ApproveShipmentDiversionNotFoundCode is the HTTP code returned for type ApproveShipmentDiversionNotFound

View Source
const ApproveShipmentDiversionOKCode int = 200

ApproveShipmentDiversionOKCode is the HTTP code returned for type ApproveShipmentDiversionOK

View Source
const ApproveShipmentDiversionPreconditionFailedCode int = 412

ApproveShipmentDiversionPreconditionFailedCode is the HTTP code returned for type ApproveShipmentDiversionPreconditionFailed

View Source
const ApproveShipmentDiversionUnprocessableEntityCode int = 422

ApproveShipmentDiversionUnprocessableEntityCode is the HTTP code returned for type ApproveShipmentDiversionUnprocessableEntity

View Source
const ApproveShipmentForbiddenCode int = 403

ApproveShipmentForbiddenCode is the HTTP code returned for type ApproveShipmentForbidden

View Source
const ApproveShipmentInternalServerErrorCode int = 500

ApproveShipmentInternalServerErrorCode is the HTTP code returned for type ApproveShipmentInternalServerError

View Source
const ApproveShipmentNotFoundCode int = 404

ApproveShipmentNotFoundCode is the HTTP code returned for type ApproveShipmentNotFound

View Source
const ApproveShipmentOKCode int = 200

ApproveShipmentOKCode is the HTTP code returned for type ApproveShipmentOK

View Source
const ApproveShipmentPreconditionFailedCode int = 412

ApproveShipmentPreconditionFailedCode is the HTTP code returned for type ApproveShipmentPreconditionFailed

View Source
const ApproveShipmentUnprocessableEntityCode int = 422

ApproveShipmentUnprocessableEntityCode is the HTTP code returned for type ApproveShipmentUnprocessableEntity

View Source
const CreateApprovedSITDurationUpdateBadRequestCode int = 400

CreateApprovedSITDurationUpdateBadRequestCode is the HTTP code returned for type CreateApprovedSITDurationUpdateBadRequest

View Source
const CreateApprovedSITDurationUpdateForbiddenCode int = 403

CreateApprovedSITDurationUpdateForbiddenCode is the HTTP code returned for type CreateApprovedSITDurationUpdateForbidden

View Source
const CreateApprovedSITDurationUpdateInternalServerErrorCode int = 500

CreateApprovedSITDurationUpdateInternalServerErrorCode is the HTTP code returned for type CreateApprovedSITDurationUpdateInternalServerError

View Source
const CreateApprovedSITDurationUpdateNotFoundCode int = 404

CreateApprovedSITDurationUpdateNotFoundCode is the HTTP code returned for type CreateApprovedSITDurationUpdateNotFound

View Source
const CreateApprovedSITDurationUpdateOKCode int = 200

CreateApprovedSITDurationUpdateOKCode is the HTTP code returned for type CreateApprovedSITDurationUpdateOK

View Source
const CreateApprovedSITDurationUpdateUnprocessableEntityCode int = 422

CreateApprovedSITDurationUpdateUnprocessableEntityCode is the HTTP code returned for type CreateApprovedSITDurationUpdateUnprocessableEntity

View Source
const DeleteShipmentBadRequestCode int = 400

DeleteShipmentBadRequestCode is the HTTP code returned for type DeleteShipmentBadRequest

View Source
const DeleteShipmentConflictCode int = 409

DeleteShipmentConflictCode is the HTTP code returned for type DeleteShipmentConflict

View Source
const DeleteShipmentForbiddenCode int = 403

DeleteShipmentForbiddenCode is the HTTP code returned for type DeleteShipmentForbidden

View Source
const DeleteShipmentInternalServerErrorCode int = 500

DeleteShipmentInternalServerErrorCode is the HTTP code returned for type DeleteShipmentInternalServerError

View Source
const DeleteShipmentNoContentCode int = 204

DeleteShipmentNoContentCode is the HTTP code returned for type DeleteShipmentNoContent

View Source
const DeleteShipmentNotFoundCode int = 404

DeleteShipmentNotFoundCode is the HTTP code returned for type DeleteShipmentNotFound

View Source
const DeleteShipmentUnprocessableEntityCode int = 422

DeleteShipmentUnprocessableEntityCode is the HTTP code returned for type DeleteShipmentUnprocessableEntity

View Source
const DenySITExtensionConflictCode int = 409

DenySITExtensionConflictCode is the HTTP code returned for type DenySITExtensionConflict

View Source
const DenySITExtensionForbiddenCode int = 403

DenySITExtensionForbiddenCode is the HTTP code returned for type DenySITExtensionForbidden

View Source
const DenySITExtensionInternalServerErrorCode int = 500

DenySITExtensionInternalServerErrorCode is the HTTP code returned for type DenySITExtensionInternalServerError

View Source
const DenySITExtensionNotFoundCode int = 404

DenySITExtensionNotFoundCode is the HTTP code returned for type DenySITExtensionNotFound

View Source
const DenySITExtensionOKCode int = 200

DenySITExtensionOKCode is the HTTP code returned for type DenySITExtensionOK

View Source
const DenySITExtensionPreconditionFailedCode int = 412

DenySITExtensionPreconditionFailedCode is the HTTP code returned for type DenySITExtensionPreconditionFailed

View Source
const DenySITExtensionUnprocessableEntityCode int = 422

DenySITExtensionUnprocessableEntityCode is the HTTP code returned for type DenySITExtensionUnprocessableEntity

View Source
const RejectShipmentConflictCode int = 409

RejectShipmentConflictCode is the HTTP code returned for type RejectShipmentConflict

View Source
const RejectShipmentForbiddenCode int = 403

RejectShipmentForbiddenCode is the HTTP code returned for type RejectShipmentForbidden

View Source
const RejectShipmentInternalServerErrorCode int = 500

RejectShipmentInternalServerErrorCode is the HTTP code returned for type RejectShipmentInternalServerError

View Source
const RejectShipmentNotFoundCode int = 404

RejectShipmentNotFoundCode is the HTTP code returned for type RejectShipmentNotFound

View Source
const RejectShipmentOKCode int = 200

RejectShipmentOKCode is the HTTP code returned for type RejectShipmentOK

View Source
const RejectShipmentPreconditionFailedCode int = 412

RejectShipmentPreconditionFailedCode is the HTTP code returned for type RejectShipmentPreconditionFailed

View Source
const RejectShipmentUnprocessableEntityCode int = 422

RejectShipmentUnprocessableEntityCode is the HTTP code returned for type RejectShipmentUnprocessableEntity

View Source
const RequestShipmentCancellationConflictCode int = 409

RequestShipmentCancellationConflictCode is the HTTP code returned for type RequestShipmentCancellationConflict

View Source
const RequestShipmentCancellationForbiddenCode int = 403

RequestShipmentCancellationForbiddenCode is the HTTP code returned for type RequestShipmentCancellationForbidden

View Source
const RequestShipmentCancellationInternalServerErrorCode int = 500

RequestShipmentCancellationInternalServerErrorCode is the HTTP code returned for type RequestShipmentCancellationInternalServerError

View Source
const RequestShipmentCancellationNotFoundCode int = 404

RequestShipmentCancellationNotFoundCode is the HTTP code returned for type RequestShipmentCancellationNotFound

View Source
const RequestShipmentCancellationOKCode int = 200

RequestShipmentCancellationOKCode is the HTTP code returned for type RequestShipmentCancellationOK

View Source
const RequestShipmentCancellationPreconditionFailedCode int = 412

RequestShipmentCancellationPreconditionFailedCode is the HTTP code returned for type RequestShipmentCancellationPreconditionFailed

View Source
const RequestShipmentCancellationUnprocessableEntityCode int = 422

RequestShipmentCancellationUnprocessableEntityCode is the HTTP code returned for type RequestShipmentCancellationUnprocessableEntity

View Source
const RequestShipmentDiversionConflictCode int = 409

RequestShipmentDiversionConflictCode is the HTTP code returned for type RequestShipmentDiversionConflict

View Source
const RequestShipmentDiversionForbiddenCode int = 403

RequestShipmentDiversionForbiddenCode is the HTTP code returned for type RequestShipmentDiversionForbidden

View Source
const RequestShipmentDiversionInternalServerErrorCode int = 500

RequestShipmentDiversionInternalServerErrorCode is the HTTP code returned for type RequestShipmentDiversionInternalServerError

View Source
const RequestShipmentDiversionNotFoundCode int = 404

RequestShipmentDiversionNotFoundCode is the HTTP code returned for type RequestShipmentDiversionNotFound

View Source
const RequestShipmentDiversionOKCode int = 200

RequestShipmentDiversionOKCode is the HTTP code returned for type RequestShipmentDiversionOK

View Source
const RequestShipmentDiversionPreconditionFailedCode int = 412

RequestShipmentDiversionPreconditionFailedCode is the HTTP code returned for type RequestShipmentDiversionPreconditionFailed

View Source
const RequestShipmentDiversionUnprocessableEntityCode int = 422

RequestShipmentDiversionUnprocessableEntityCode is the HTTP code returned for type RequestShipmentDiversionUnprocessableEntity

View Source
const RequestShipmentReweighConflictCode int = 409

RequestShipmentReweighConflictCode is the HTTP code returned for type RequestShipmentReweighConflict

View Source
const RequestShipmentReweighForbiddenCode int = 403

RequestShipmentReweighForbiddenCode is the HTTP code returned for type RequestShipmentReweighForbidden

View Source
const RequestShipmentReweighInternalServerErrorCode int = 500

RequestShipmentReweighInternalServerErrorCode is the HTTP code returned for type RequestShipmentReweighInternalServerError

View Source
const RequestShipmentReweighNotFoundCode int = 404

RequestShipmentReweighNotFoundCode is the HTTP code returned for type RequestShipmentReweighNotFound

View Source
const RequestShipmentReweighOKCode int = 200

RequestShipmentReweighOKCode is the HTTP code returned for type RequestShipmentReweighOK

View Source
const RequestShipmentReweighPreconditionFailedCode int = 412

RequestShipmentReweighPreconditionFailedCode is the HTTP code returned for type RequestShipmentReweighPreconditionFailed

View Source
const RequestShipmentReweighUnprocessableEntityCode int = 422

RequestShipmentReweighUnprocessableEntityCode is the HTTP code returned for type RequestShipmentReweighUnprocessableEntity

View Source
const ReviewShipmentAddressUpdateConflictCode int = 409

ReviewShipmentAddressUpdateConflictCode is the HTTP code returned for type ReviewShipmentAddressUpdateConflict

View Source
const ReviewShipmentAddressUpdateForbiddenCode int = 403

ReviewShipmentAddressUpdateForbiddenCode is the HTTP code returned for type ReviewShipmentAddressUpdateForbidden

View Source
const ReviewShipmentAddressUpdateInternalServerErrorCode int = 500

ReviewShipmentAddressUpdateInternalServerErrorCode is the HTTP code returned for type ReviewShipmentAddressUpdateInternalServerError

View Source
const ReviewShipmentAddressUpdateNotFoundCode int = 404

ReviewShipmentAddressUpdateNotFoundCode is the HTTP code returned for type ReviewShipmentAddressUpdateNotFound

View Source
const ReviewShipmentAddressUpdateOKCode int = 200

ReviewShipmentAddressUpdateOKCode is the HTTP code returned for type ReviewShipmentAddressUpdateOK

View Source
const ReviewShipmentAddressUpdatePreconditionFailedCode int = 412

ReviewShipmentAddressUpdatePreconditionFailedCode is the HTTP code returned for type ReviewShipmentAddressUpdatePreconditionFailed

View Source
const ReviewShipmentAddressUpdateUnprocessableEntityCode int = 422

ReviewShipmentAddressUpdateUnprocessableEntityCode is the HTTP code returned for type ReviewShipmentAddressUpdateUnprocessableEntity

View Source
const UpdateSITServiceItemCustomerExpenseConflictCode int = 409

UpdateSITServiceItemCustomerExpenseConflictCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseConflict

View Source
const UpdateSITServiceItemCustomerExpenseForbiddenCode int = 403

UpdateSITServiceItemCustomerExpenseForbiddenCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseForbidden

View Source
const UpdateSITServiceItemCustomerExpenseInternalServerErrorCode int = 500

UpdateSITServiceItemCustomerExpenseInternalServerErrorCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseInternalServerError

View Source
const UpdateSITServiceItemCustomerExpenseNotFoundCode int = 404

UpdateSITServiceItemCustomerExpenseNotFoundCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseNotFound

View Source
const UpdateSITServiceItemCustomerExpenseOKCode int = 200

UpdateSITServiceItemCustomerExpenseOKCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseOK

View Source
const UpdateSITServiceItemCustomerExpensePreconditionFailedCode int = 412

UpdateSITServiceItemCustomerExpensePreconditionFailedCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpensePreconditionFailed

View Source
const UpdateSITServiceItemCustomerExpenseUnprocessableEntityCode int = 422

UpdateSITServiceItemCustomerExpenseUnprocessableEntityCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproveSITExtension

type ApproveSITExtension struct {
	Context *middleware.Context
	Handler ApproveSITExtensionHandler
}
ApproveSITExtension swagger:route PATCH /shipments/{shipmentID}/sit-extensions/{sitExtensionID}/approve shipment sitExtension approveSITExtension

Approves a SIT extension

Approves a SIT extension

func NewApproveSITExtension

func NewApproveSITExtension(ctx *middleware.Context, handler ApproveSITExtensionHandler) *ApproveSITExtension

NewApproveSITExtension creates a new http.Handler for the approve s i t extension operation

func (*ApproveSITExtension) ServeHTTP

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

type ApproveSITExtensionConflict

type ApproveSITExtensionConflict struct {

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

ApproveSITExtensionConflict Conflict error

swagger:response approveSITExtensionConflict

func NewApproveSITExtensionConflict

func NewApproveSITExtensionConflict() *ApproveSITExtensionConflict

NewApproveSITExtensionConflict creates ApproveSITExtensionConflict with default headers values

func (*ApproveSITExtensionConflict) SetPayload

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

SetPayload sets the payload to the approve s i t extension conflict response

func (*ApproveSITExtensionConflict) WithPayload

WithPayload adds the payload to the approve s i t extension conflict response

func (*ApproveSITExtensionConflict) WriteResponse

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

WriteResponse to the client

type ApproveSITExtensionForbidden

type ApproveSITExtensionForbidden struct {

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

ApproveSITExtensionForbidden The request was denied

swagger:response approveSITExtensionForbidden

func NewApproveSITExtensionForbidden

func NewApproveSITExtensionForbidden() *ApproveSITExtensionForbidden

NewApproveSITExtensionForbidden creates ApproveSITExtensionForbidden with default headers values

func (*ApproveSITExtensionForbidden) SetPayload

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

SetPayload sets the payload to the approve s i t extension forbidden response

func (*ApproveSITExtensionForbidden) WithPayload

WithPayload adds the payload to the approve s i t extension forbidden response

func (*ApproveSITExtensionForbidden) WriteResponse

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

WriteResponse to the client

type ApproveSITExtensionHandler

type ApproveSITExtensionHandler interface {
	Handle(ApproveSITExtensionParams) middleware.Responder
}

ApproveSITExtensionHandler interface for that can handle valid approve s i t extension params

type ApproveSITExtensionHandlerFunc

type ApproveSITExtensionHandlerFunc func(ApproveSITExtensionParams) middleware.Responder

ApproveSITExtensionHandlerFunc turns a function with the right signature into a approve s i t extension handler

func (ApproveSITExtensionHandlerFunc) Handle

Handle executing the request and returning a response

type ApproveSITExtensionInternalServerError

type ApproveSITExtensionInternalServerError struct {

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

ApproveSITExtensionInternalServerError A server error occurred

swagger:response approveSITExtensionInternalServerError

func NewApproveSITExtensionInternalServerError

func NewApproveSITExtensionInternalServerError() *ApproveSITExtensionInternalServerError

NewApproveSITExtensionInternalServerError creates ApproveSITExtensionInternalServerError with default headers values

func (*ApproveSITExtensionInternalServerError) SetPayload

SetPayload sets the payload to the approve s i t extension internal server error response

func (*ApproveSITExtensionInternalServerError) WithPayload

WithPayload adds the payload to the approve s i t extension internal server error response

func (*ApproveSITExtensionInternalServerError) WriteResponse

WriteResponse to the client

type ApproveSITExtensionNotFound

type ApproveSITExtensionNotFound struct {

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

ApproveSITExtensionNotFound The requested resource wasn't found

swagger:response approveSITExtensionNotFound

func NewApproveSITExtensionNotFound

func NewApproveSITExtensionNotFound() *ApproveSITExtensionNotFound

NewApproveSITExtensionNotFound creates ApproveSITExtensionNotFound with default headers values

func (*ApproveSITExtensionNotFound) SetPayload

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

SetPayload sets the payload to the approve s i t extension not found response

func (*ApproveSITExtensionNotFound) WithPayload

WithPayload adds the payload to the approve s i t extension not found response

func (*ApproveSITExtensionNotFound) WriteResponse

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

WriteResponse to the client

type ApproveSITExtensionOK

type ApproveSITExtensionOK struct {

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

ApproveSITExtensionOK Successfully approved a SIT extension

swagger:response approveSITExtensionOK

func NewApproveSITExtensionOK

func NewApproveSITExtensionOK() *ApproveSITExtensionOK

NewApproveSITExtensionOK creates ApproveSITExtensionOK with default headers values

func (*ApproveSITExtensionOK) SetPayload

func (o *ApproveSITExtensionOK) SetPayload(payload *ghcmessages.MTOShipment)

SetPayload sets the payload to the approve s i t extension o k response

func (*ApproveSITExtensionOK) WithPayload

WithPayload adds the payload to the approve s i t extension o k response

func (*ApproveSITExtensionOK) WriteResponse

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

WriteResponse to the client

type ApproveSITExtensionParams

type ApproveSITExtensionParams struct {

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

	/*We want the shipment's eTag rather than the SIT extension eTag as the SIT extension is always associated with a shipment
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.ApproveSITExtension
	/*ID of the shipment
	  Required: true
	  In: path
	*/
	ShipmentID strfmt.UUID
	/*ID of the SIT extension
	  Required: true
	  In: path
	*/
	SitExtensionID strfmt.UUID
}

ApproveSITExtensionParams contains all the bound params for the approve s i t extension operation typically these are obtained from a http.Request

swagger:parameters approveSITExtension

func NewApproveSITExtensionParams

func NewApproveSITExtensionParams() ApproveSITExtensionParams

NewApproveSITExtensionParams creates a new ApproveSITExtensionParams object

There are no default values defined in the spec.

func (*ApproveSITExtensionParams) 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 NewApproveSITExtensionParams() beforehand.

type ApproveSITExtensionPreconditionFailed

type ApproveSITExtensionPreconditionFailed struct {

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

ApproveSITExtensionPreconditionFailed Precondition failed

swagger:response approveSITExtensionPreconditionFailed

func NewApproveSITExtensionPreconditionFailed

func NewApproveSITExtensionPreconditionFailed() *ApproveSITExtensionPreconditionFailed

NewApproveSITExtensionPreconditionFailed creates ApproveSITExtensionPreconditionFailed with default headers values

func (*ApproveSITExtensionPreconditionFailed) SetPayload

SetPayload sets the payload to the approve s i t extension precondition failed response

func (*ApproveSITExtensionPreconditionFailed) WithPayload

WithPayload adds the payload to the approve s i t extension precondition failed response

func (*ApproveSITExtensionPreconditionFailed) WriteResponse

WriteResponse to the client

type ApproveSITExtensionURL

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

ApproveSITExtensionURL generates an URL for the approve s i t extension operation

func (*ApproveSITExtensionURL) Build

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

Build a url path and query string

func (*ApproveSITExtensionURL) BuildFull

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

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

func (*ApproveSITExtensionURL) Must

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

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

func (*ApproveSITExtensionURL) SetBasePath

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

func (o *ApproveSITExtensionURL) String() string

String returns the string representation of the path with query string

func (*ApproveSITExtensionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ApproveSITExtensionURL) 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 ApproveSITExtensionUnprocessableEntity

type ApproveSITExtensionUnprocessableEntity struct {

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

ApproveSITExtensionUnprocessableEntity The payload was unprocessable.

swagger:response approveSITExtensionUnprocessableEntity

func NewApproveSITExtensionUnprocessableEntity

func NewApproveSITExtensionUnprocessableEntity() *ApproveSITExtensionUnprocessableEntity

NewApproveSITExtensionUnprocessableEntity creates ApproveSITExtensionUnprocessableEntity with default headers values

func (*ApproveSITExtensionUnprocessableEntity) SetPayload

SetPayload sets the payload to the approve s i t extension unprocessable entity response

func (*ApproveSITExtensionUnprocessableEntity) WithPayload

WithPayload adds the payload to the approve s i t extension unprocessable entity response

func (*ApproveSITExtensionUnprocessableEntity) WriteResponse

WriteResponse to the client

type ApproveShipment

type ApproveShipment struct {
	Context *middleware.Context
	Handler ApproveShipmentHandler
}
ApproveShipment swagger:route POST /shipments/{shipmentID}/approve shipment approveShipment

Approves a shipment

Approves a shipment

func NewApproveShipment

func NewApproveShipment(ctx *middleware.Context, handler ApproveShipmentHandler) *ApproveShipment

NewApproveShipment creates a new http.Handler for the approve shipment operation

func (*ApproveShipment) ServeHTTP

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

type ApproveShipmentConflict

type ApproveShipmentConflict struct {

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

ApproveShipmentConflict Conflict error

swagger:response approveShipmentConflict

func NewApproveShipmentConflict

func NewApproveShipmentConflict() *ApproveShipmentConflict

NewApproveShipmentConflict creates ApproveShipmentConflict with default headers values

func (*ApproveShipmentConflict) SetPayload

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

SetPayload sets the payload to the approve shipment conflict response

func (*ApproveShipmentConflict) WithPayload

WithPayload adds the payload to the approve shipment conflict response

func (*ApproveShipmentConflict) WriteResponse

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

WriteResponse to the client

type ApproveShipmentDiversion

type ApproveShipmentDiversion struct {
	Context *middleware.Context
	Handler ApproveShipmentDiversionHandler
}
ApproveShipmentDiversion swagger:route POST /shipments/{shipmentID}/approve-diversion shipment approveShipmentDiversion

Approves a shipment diversion

Approves a shipment diversion

func NewApproveShipmentDiversion

func NewApproveShipmentDiversion(ctx *middleware.Context, handler ApproveShipmentDiversionHandler) *ApproveShipmentDiversion

NewApproveShipmentDiversion creates a new http.Handler for the approve shipment diversion operation

func (*ApproveShipmentDiversion) ServeHTTP

type ApproveShipmentDiversionConflict

type ApproveShipmentDiversionConflict struct {

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

ApproveShipmentDiversionConflict Conflict error

swagger:response approveShipmentDiversionConflict

func NewApproveShipmentDiversionConflict

func NewApproveShipmentDiversionConflict() *ApproveShipmentDiversionConflict

NewApproveShipmentDiversionConflict creates ApproveShipmentDiversionConflict with default headers values

func (*ApproveShipmentDiversionConflict) SetPayload

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

SetPayload sets the payload to the approve shipment diversion conflict response

func (*ApproveShipmentDiversionConflict) WithPayload

WithPayload adds the payload to the approve shipment diversion conflict response

func (*ApproveShipmentDiversionConflict) WriteResponse

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

WriteResponse to the client

type ApproveShipmentDiversionForbidden

type ApproveShipmentDiversionForbidden struct {

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

ApproveShipmentDiversionForbidden The request was denied

swagger:response approveShipmentDiversionForbidden

func NewApproveShipmentDiversionForbidden

func NewApproveShipmentDiversionForbidden() *ApproveShipmentDiversionForbidden

NewApproveShipmentDiversionForbidden creates ApproveShipmentDiversionForbidden with default headers values

func (*ApproveShipmentDiversionForbidden) SetPayload

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

SetPayload sets the payload to the approve shipment diversion forbidden response

func (*ApproveShipmentDiversionForbidden) WithPayload

WithPayload adds the payload to the approve shipment diversion forbidden response

func (*ApproveShipmentDiversionForbidden) WriteResponse

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

WriteResponse to the client

type ApproveShipmentDiversionHandler

type ApproveShipmentDiversionHandler interface {
	Handle(ApproveShipmentDiversionParams) middleware.Responder
}

ApproveShipmentDiversionHandler interface for that can handle valid approve shipment diversion params

type ApproveShipmentDiversionHandlerFunc

type ApproveShipmentDiversionHandlerFunc func(ApproveShipmentDiversionParams) middleware.Responder

ApproveShipmentDiversionHandlerFunc turns a function with the right signature into a approve shipment diversion handler

func (ApproveShipmentDiversionHandlerFunc) Handle

Handle executing the request and returning a response

type ApproveShipmentDiversionInternalServerError

type ApproveShipmentDiversionInternalServerError struct {

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

ApproveShipmentDiversionInternalServerError A server error occurred

swagger:response approveShipmentDiversionInternalServerError

func NewApproveShipmentDiversionInternalServerError

func NewApproveShipmentDiversionInternalServerError() *ApproveShipmentDiversionInternalServerError

NewApproveShipmentDiversionInternalServerError creates ApproveShipmentDiversionInternalServerError with default headers values

func (*ApproveShipmentDiversionInternalServerError) SetPayload

SetPayload sets the payload to the approve shipment diversion internal server error response

func (*ApproveShipmentDiversionInternalServerError) WithPayload

WithPayload adds the payload to the approve shipment diversion internal server error response

func (*ApproveShipmentDiversionInternalServerError) WriteResponse

WriteResponse to the client

type ApproveShipmentDiversionNotFound

type ApproveShipmentDiversionNotFound struct {

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

ApproveShipmentDiversionNotFound The requested resource wasn't found

swagger:response approveShipmentDiversionNotFound

func NewApproveShipmentDiversionNotFound

func NewApproveShipmentDiversionNotFound() *ApproveShipmentDiversionNotFound

NewApproveShipmentDiversionNotFound creates ApproveShipmentDiversionNotFound with default headers values

func (*ApproveShipmentDiversionNotFound) SetPayload

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

SetPayload sets the payload to the approve shipment diversion not found response

func (*ApproveShipmentDiversionNotFound) WithPayload

WithPayload adds the payload to the approve shipment diversion not found response

func (*ApproveShipmentDiversionNotFound) WriteResponse

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

WriteResponse to the client

type ApproveShipmentDiversionOK

type ApproveShipmentDiversionOK struct {

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

ApproveShipmentDiversionOK Successfully approved the shipment diversion

swagger:response approveShipmentDiversionOK

func NewApproveShipmentDiversionOK

func NewApproveShipmentDiversionOK() *ApproveShipmentDiversionOK

NewApproveShipmentDiversionOK creates ApproveShipmentDiversionOK with default headers values

func (*ApproveShipmentDiversionOK) SetPayload

func (o *ApproveShipmentDiversionOK) SetPayload(payload *ghcmessages.MTOShipment)

SetPayload sets the payload to the approve shipment diversion o k response

func (*ApproveShipmentDiversionOK) WithPayload

WithPayload adds the payload to the approve shipment diversion o k response

func (*ApproveShipmentDiversionOK) WriteResponse

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

WriteResponse to the client

type ApproveShipmentDiversionParams

type ApproveShipmentDiversionParams struct {

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

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

ApproveShipmentDiversionParams contains all the bound params for the approve shipment diversion operation typically these are obtained from a http.Request

swagger:parameters approveShipmentDiversion

func NewApproveShipmentDiversionParams

func NewApproveShipmentDiversionParams() ApproveShipmentDiversionParams

NewApproveShipmentDiversionParams creates a new ApproveShipmentDiversionParams object

There are no default values defined in the spec.

func (*ApproveShipmentDiversionParams) 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 NewApproveShipmentDiversionParams() beforehand.

type ApproveShipmentDiversionPreconditionFailed

type ApproveShipmentDiversionPreconditionFailed struct {

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

ApproveShipmentDiversionPreconditionFailed Precondition failed

swagger:response approveShipmentDiversionPreconditionFailed

func NewApproveShipmentDiversionPreconditionFailed

func NewApproveShipmentDiversionPreconditionFailed() *ApproveShipmentDiversionPreconditionFailed

NewApproveShipmentDiversionPreconditionFailed creates ApproveShipmentDiversionPreconditionFailed with default headers values

func (*ApproveShipmentDiversionPreconditionFailed) SetPayload

SetPayload sets the payload to the approve shipment diversion precondition failed response

func (*ApproveShipmentDiversionPreconditionFailed) WithPayload

WithPayload adds the payload to the approve shipment diversion precondition failed response

func (*ApproveShipmentDiversionPreconditionFailed) WriteResponse

WriteResponse to the client

type ApproveShipmentDiversionURL

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

ApproveShipmentDiversionURL generates an URL for the approve shipment diversion operation

func (*ApproveShipmentDiversionURL) Build

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

Build a url path and query string

func (*ApproveShipmentDiversionURL) BuildFull

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

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

func (*ApproveShipmentDiversionURL) Must

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

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

func (*ApproveShipmentDiversionURL) SetBasePath

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

func (o *ApproveShipmentDiversionURL) String() string

String returns the string representation of the path with query string

func (*ApproveShipmentDiversionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ApproveShipmentDiversionURL) 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 ApproveShipmentDiversionUnprocessableEntity

type ApproveShipmentDiversionUnprocessableEntity struct {

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

ApproveShipmentDiversionUnprocessableEntity The payload was unprocessable.

swagger:response approveShipmentDiversionUnprocessableEntity

func NewApproveShipmentDiversionUnprocessableEntity

func NewApproveShipmentDiversionUnprocessableEntity() *ApproveShipmentDiversionUnprocessableEntity

NewApproveShipmentDiversionUnprocessableEntity creates ApproveShipmentDiversionUnprocessableEntity with default headers values

func (*ApproveShipmentDiversionUnprocessableEntity) SetPayload

SetPayload sets the payload to the approve shipment diversion unprocessable entity response

func (*ApproveShipmentDiversionUnprocessableEntity) WithPayload

WithPayload adds the payload to the approve shipment diversion unprocessable entity response

func (*ApproveShipmentDiversionUnprocessableEntity) WriteResponse

WriteResponse to the client

type ApproveShipmentForbidden

type ApproveShipmentForbidden struct {

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

ApproveShipmentForbidden The request was denied

swagger:response approveShipmentForbidden

func NewApproveShipmentForbidden

func NewApproveShipmentForbidden() *ApproveShipmentForbidden

NewApproveShipmentForbidden creates ApproveShipmentForbidden with default headers values

func (*ApproveShipmentForbidden) SetPayload

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

SetPayload sets the payload to the approve shipment forbidden response

func (*ApproveShipmentForbidden) WithPayload

WithPayload adds the payload to the approve shipment forbidden response

func (*ApproveShipmentForbidden) WriteResponse

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

WriteResponse to the client

type ApproveShipmentHandler

type ApproveShipmentHandler interface {
	Handle(ApproveShipmentParams) middleware.Responder
}

ApproveShipmentHandler interface for that can handle valid approve shipment params

type ApproveShipmentHandlerFunc

type ApproveShipmentHandlerFunc func(ApproveShipmentParams) middleware.Responder

ApproveShipmentHandlerFunc turns a function with the right signature into a approve shipment handler

func (ApproveShipmentHandlerFunc) Handle

Handle executing the request and returning a response

type ApproveShipmentInternalServerError

type ApproveShipmentInternalServerError struct {

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

ApproveShipmentInternalServerError A server error occurred

swagger:response approveShipmentInternalServerError

func NewApproveShipmentInternalServerError

func NewApproveShipmentInternalServerError() *ApproveShipmentInternalServerError

NewApproveShipmentInternalServerError creates ApproveShipmentInternalServerError with default headers values

func (*ApproveShipmentInternalServerError) SetPayload

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

SetPayload sets the payload to the approve shipment internal server error response

func (*ApproveShipmentInternalServerError) WithPayload

WithPayload adds the payload to the approve shipment internal server error response

func (*ApproveShipmentInternalServerError) WriteResponse

WriteResponse to the client

type ApproveShipmentNotFound

type ApproveShipmentNotFound struct {

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

ApproveShipmentNotFound The requested resource wasn't found

swagger:response approveShipmentNotFound

func NewApproveShipmentNotFound

func NewApproveShipmentNotFound() *ApproveShipmentNotFound

NewApproveShipmentNotFound creates ApproveShipmentNotFound with default headers values

func (*ApproveShipmentNotFound) SetPayload

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

SetPayload sets the payload to the approve shipment not found response

func (*ApproveShipmentNotFound) WithPayload

WithPayload adds the payload to the approve shipment not found response

func (*ApproveShipmentNotFound) WriteResponse

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

WriteResponse to the client

type ApproveShipmentOK

type ApproveShipmentOK struct {

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

ApproveShipmentOK Successfully approved the shipment

swagger:response approveShipmentOK

func NewApproveShipmentOK

func NewApproveShipmentOK() *ApproveShipmentOK

NewApproveShipmentOK creates ApproveShipmentOK with default headers values

func (*ApproveShipmentOK) SetPayload

func (o *ApproveShipmentOK) SetPayload(payload *ghcmessages.MTOShipment)

SetPayload sets the payload to the approve shipment o k response

func (*ApproveShipmentOK) WithPayload

func (o *ApproveShipmentOK) WithPayload(payload *ghcmessages.MTOShipment) *ApproveShipmentOK

WithPayload adds the payload to the approve shipment o k response

func (*ApproveShipmentOK) WriteResponse

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

WriteResponse to the client

type ApproveShipmentParams

type ApproveShipmentParams struct {

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

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

ApproveShipmentParams contains all the bound params for the approve shipment operation typically these are obtained from a http.Request

swagger:parameters approveShipment

func NewApproveShipmentParams

func NewApproveShipmentParams() ApproveShipmentParams

NewApproveShipmentParams creates a new ApproveShipmentParams object

There are no default values defined in the spec.

func (*ApproveShipmentParams) BindRequest

func (o *ApproveShipmentParams) 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 NewApproveShipmentParams() beforehand.

type ApproveShipmentPreconditionFailed

type ApproveShipmentPreconditionFailed struct {

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

ApproveShipmentPreconditionFailed Precondition failed

swagger:response approveShipmentPreconditionFailed

func NewApproveShipmentPreconditionFailed

func NewApproveShipmentPreconditionFailed() *ApproveShipmentPreconditionFailed

NewApproveShipmentPreconditionFailed creates ApproveShipmentPreconditionFailed with default headers values

func (*ApproveShipmentPreconditionFailed) SetPayload

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

SetPayload sets the payload to the approve shipment precondition failed response

func (*ApproveShipmentPreconditionFailed) WithPayload

WithPayload adds the payload to the approve shipment precondition failed response

func (*ApproveShipmentPreconditionFailed) WriteResponse

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

WriteResponse to the client

type ApproveShipmentURL

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

ApproveShipmentURL generates an URL for the approve shipment operation

func (*ApproveShipmentURL) Build

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

Build a url path and query string

func (*ApproveShipmentURL) BuildFull

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

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

func (*ApproveShipmentURL) Must

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

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

func (*ApproveShipmentURL) SetBasePath

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

func (o *ApproveShipmentURL) String() string

String returns the string representation of the path with query string

func (*ApproveShipmentURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ApproveShipmentURL) WithBasePath

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

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 ApproveShipmentUnprocessableEntity

type ApproveShipmentUnprocessableEntity struct {

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

ApproveShipmentUnprocessableEntity The payload was unprocessable.

swagger:response approveShipmentUnprocessableEntity

func NewApproveShipmentUnprocessableEntity

func NewApproveShipmentUnprocessableEntity() *ApproveShipmentUnprocessableEntity

NewApproveShipmentUnprocessableEntity creates ApproveShipmentUnprocessableEntity with default headers values

func (*ApproveShipmentUnprocessableEntity) SetPayload

SetPayload sets the payload to the approve shipment unprocessable entity response

func (*ApproveShipmentUnprocessableEntity) WithPayload

WithPayload adds the payload to the approve shipment unprocessable entity response

func (*ApproveShipmentUnprocessableEntity) WriteResponse

WriteResponse to the client

type CreateApprovedSITDurationUpdate

type CreateApprovedSITDurationUpdate struct {
	Context *middleware.Context
	Handler CreateApprovedSITDurationUpdateHandler
}
CreateApprovedSITDurationUpdate swagger:route POST /shipments/{shipmentID}/sit-extensions shipment sitExtension createApprovedSITDurationUpdate

Create an approved SIT Duration Update

TOO can creates an already-approved SIT Duration Update on behalf of a customer

func NewCreateApprovedSITDurationUpdate

func NewCreateApprovedSITDurationUpdate(ctx *middleware.Context, handler CreateApprovedSITDurationUpdateHandler) *CreateApprovedSITDurationUpdate

NewCreateApprovedSITDurationUpdate creates a new http.Handler for the create approved s i t duration update operation

func (*CreateApprovedSITDurationUpdate) ServeHTTP

type CreateApprovedSITDurationUpdateBadRequest

type CreateApprovedSITDurationUpdateBadRequest struct {

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

CreateApprovedSITDurationUpdateBadRequest The request payload is invalid

swagger:response createApprovedSITDurationUpdateBadRequest

func NewCreateApprovedSITDurationUpdateBadRequest

func NewCreateApprovedSITDurationUpdateBadRequest() *CreateApprovedSITDurationUpdateBadRequest

NewCreateApprovedSITDurationUpdateBadRequest creates CreateApprovedSITDurationUpdateBadRequest with default headers values

func (*CreateApprovedSITDurationUpdateBadRequest) SetPayload

SetPayload sets the payload to the create approved s i t duration update bad request response

func (*CreateApprovedSITDurationUpdateBadRequest) WithPayload

WithPayload adds the payload to the create approved s i t duration update bad request response

func (*CreateApprovedSITDurationUpdateBadRequest) WriteResponse

WriteResponse to the client

type CreateApprovedSITDurationUpdateForbidden

type CreateApprovedSITDurationUpdateForbidden struct {

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

CreateApprovedSITDurationUpdateForbidden The request was denied

swagger:response createApprovedSITDurationUpdateForbidden

func NewCreateApprovedSITDurationUpdateForbidden

func NewCreateApprovedSITDurationUpdateForbidden() *CreateApprovedSITDurationUpdateForbidden

NewCreateApprovedSITDurationUpdateForbidden creates CreateApprovedSITDurationUpdateForbidden with default headers values

func (*CreateApprovedSITDurationUpdateForbidden) SetPayload

SetPayload sets the payload to the create approved s i t duration update forbidden response

func (*CreateApprovedSITDurationUpdateForbidden) WithPayload

WithPayload adds the payload to the create approved s i t duration update forbidden response

func (*CreateApprovedSITDurationUpdateForbidden) WriteResponse

WriteResponse to the client

type CreateApprovedSITDurationUpdateHandler

type CreateApprovedSITDurationUpdateHandler interface {
	Handle(CreateApprovedSITDurationUpdateParams) middleware.Responder
}

CreateApprovedSITDurationUpdateHandler interface for that can handle valid create approved s i t duration update params

type CreateApprovedSITDurationUpdateHandlerFunc

type CreateApprovedSITDurationUpdateHandlerFunc func(CreateApprovedSITDurationUpdateParams) middleware.Responder

CreateApprovedSITDurationUpdateHandlerFunc turns a function with the right signature into a create approved s i t duration update handler

func (CreateApprovedSITDurationUpdateHandlerFunc) Handle

Handle executing the request and returning a response

type CreateApprovedSITDurationUpdateInternalServerError

type CreateApprovedSITDurationUpdateInternalServerError struct {

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

CreateApprovedSITDurationUpdateInternalServerError A server error occurred

swagger:response createApprovedSITDurationUpdateInternalServerError

func NewCreateApprovedSITDurationUpdateInternalServerError

func NewCreateApprovedSITDurationUpdateInternalServerError() *CreateApprovedSITDurationUpdateInternalServerError

NewCreateApprovedSITDurationUpdateInternalServerError creates CreateApprovedSITDurationUpdateInternalServerError with default headers values

func (*CreateApprovedSITDurationUpdateInternalServerError) SetPayload

SetPayload sets the payload to the create approved s i t duration update internal server error response

func (*CreateApprovedSITDurationUpdateInternalServerError) WithPayload

WithPayload adds the payload to the create approved s i t duration update internal server error response

func (*CreateApprovedSITDurationUpdateInternalServerError) WriteResponse

WriteResponse to the client

type CreateApprovedSITDurationUpdateNotFound

type CreateApprovedSITDurationUpdateNotFound struct {

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

CreateApprovedSITDurationUpdateNotFound The requested resource wasn't found

swagger:response createApprovedSITDurationUpdateNotFound

func NewCreateApprovedSITDurationUpdateNotFound

func NewCreateApprovedSITDurationUpdateNotFound() *CreateApprovedSITDurationUpdateNotFound

NewCreateApprovedSITDurationUpdateNotFound creates CreateApprovedSITDurationUpdateNotFound with default headers values

func (*CreateApprovedSITDurationUpdateNotFound) SetPayload

SetPayload sets the payload to the create approved s i t duration update not found response

func (*CreateApprovedSITDurationUpdateNotFound) WithPayload

WithPayload adds the payload to the create approved s i t duration update not found response

func (*CreateApprovedSITDurationUpdateNotFound) WriteResponse

WriteResponse to the client

type CreateApprovedSITDurationUpdateOK

type CreateApprovedSITDurationUpdateOK struct {

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

CreateApprovedSITDurationUpdateOK Successfully created a SIT Extension.

swagger:response createApprovedSITDurationUpdateOK

func NewCreateApprovedSITDurationUpdateOK

func NewCreateApprovedSITDurationUpdateOK() *CreateApprovedSITDurationUpdateOK

NewCreateApprovedSITDurationUpdateOK creates CreateApprovedSITDurationUpdateOK with default headers values

func (*CreateApprovedSITDurationUpdateOK) SetPayload

SetPayload sets the payload to the create approved s i t duration update o k response

func (*CreateApprovedSITDurationUpdateOK) WithPayload

WithPayload adds the payload to the create approved s i t duration update o k response

func (*CreateApprovedSITDurationUpdateOK) WriteResponse

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

WriteResponse to the client

type CreateApprovedSITDurationUpdateParams

type CreateApprovedSITDurationUpdateParams struct {

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

	/*We want the shipment's eTag rather than the SIT Duration Update eTag as the SIT Duration Update is always associated with a shipment
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.CreateApprovedSITDurationUpdate
	/*ID of the shipment
	  Required: true
	  In: path
	*/
	ShipmentID strfmt.UUID
}

CreateApprovedSITDurationUpdateParams contains all the bound params for the create approved s i t duration update operation typically these are obtained from a http.Request

swagger:parameters createApprovedSITDurationUpdate

func NewCreateApprovedSITDurationUpdateParams

func NewCreateApprovedSITDurationUpdateParams() CreateApprovedSITDurationUpdateParams

NewCreateApprovedSITDurationUpdateParams creates a new CreateApprovedSITDurationUpdateParams object

There are no default values defined in the spec.

func (*CreateApprovedSITDurationUpdateParams) 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 NewCreateApprovedSITDurationUpdateParams() beforehand.

type CreateApprovedSITDurationUpdateURL

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

CreateApprovedSITDurationUpdateURL generates an URL for the create approved s i t duration update operation

func (*CreateApprovedSITDurationUpdateURL) Build

Build a url path and query string

func (*CreateApprovedSITDurationUpdateURL) BuildFull

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

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

func (*CreateApprovedSITDurationUpdateURL) Must

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

func (*CreateApprovedSITDurationUpdateURL) SetBasePath

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

String returns the string representation of the path with query string

func (*CreateApprovedSITDurationUpdateURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateApprovedSITDurationUpdateURL) 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 CreateApprovedSITDurationUpdateUnprocessableEntity

type CreateApprovedSITDurationUpdateUnprocessableEntity struct {

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

CreateApprovedSITDurationUpdateUnprocessableEntity The payload was unprocessable.

swagger:response createApprovedSITDurationUpdateUnprocessableEntity

func NewCreateApprovedSITDurationUpdateUnprocessableEntity

func NewCreateApprovedSITDurationUpdateUnprocessableEntity() *CreateApprovedSITDurationUpdateUnprocessableEntity

NewCreateApprovedSITDurationUpdateUnprocessableEntity creates CreateApprovedSITDurationUpdateUnprocessableEntity with default headers values

func (*CreateApprovedSITDurationUpdateUnprocessableEntity) SetPayload

SetPayload sets the payload to the create approved s i t duration update unprocessable entity response

func (*CreateApprovedSITDurationUpdateUnprocessableEntity) WithPayload

WithPayload adds the payload to the create approved s i t duration update unprocessable entity response

func (*CreateApprovedSITDurationUpdateUnprocessableEntity) WriteResponse

WriteResponse to the client

type DeleteShipment

type DeleteShipment struct {
	Context *middleware.Context
	Handler DeleteShipmentHandler
}
DeleteShipment swagger:route DELETE /shipments/{shipmentID} shipment deleteShipment

Soft deletes a shipment by ID

Soft deletes a shipment by ID

func NewDeleteShipment

func NewDeleteShipment(ctx *middleware.Context, handler DeleteShipmentHandler) *DeleteShipment

NewDeleteShipment creates a new http.Handler for the delete shipment operation

func (*DeleteShipment) ServeHTTP

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

type DeleteShipmentBadRequest

type DeleteShipmentBadRequest struct {

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

DeleteShipmentBadRequest The request payload is invalid

swagger:response deleteShipmentBadRequest

func NewDeleteShipmentBadRequest

func NewDeleteShipmentBadRequest() *DeleteShipmentBadRequest

NewDeleteShipmentBadRequest creates DeleteShipmentBadRequest with default headers values

func (*DeleteShipmentBadRequest) SetPayload

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

SetPayload sets the payload to the delete shipment bad request response

func (*DeleteShipmentBadRequest) WithPayload

WithPayload adds the payload to the delete shipment bad request response

func (*DeleteShipmentBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteShipmentConflict

type DeleteShipmentConflict struct {

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

DeleteShipmentConflict Conflict error

swagger:response deleteShipmentConflict

func NewDeleteShipmentConflict

func NewDeleteShipmentConflict() *DeleteShipmentConflict

NewDeleteShipmentConflict creates DeleteShipmentConflict with default headers values

func (*DeleteShipmentConflict) SetPayload

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

SetPayload sets the payload to the delete shipment conflict response

func (*DeleteShipmentConflict) WithPayload

WithPayload adds the payload to the delete shipment conflict response

func (*DeleteShipmentConflict) WriteResponse

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

WriteResponse to the client

type DeleteShipmentForbidden

type DeleteShipmentForbidden struct {

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

DeleteShipmentForbidden The request was denied

swagger:response deleteShipmentForbidden

func NewDeleteShipmentForbidden

func NewDeleteShipmentForbidden() *DeleteShipmentForbidden

NewDeleteShipmentForbidden creates DeleteShipmentForbidden with default headers values

func (*DeleteShipmentForbidden) SetPayload

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

SetPayload sets the payload to the delete shipment forbidden response

func (*DeleteShipmentForbidden) WithPayload

WithPayload adds the payload to the delete shipment forbidden response

func (*DeleteShipmentForbidden) WriteResponse

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

WriteResponse to the client

type DeleteShipmentHandler

type DeleteShipmentHandler interface {
	Handle(DeleteShipmentParams) middleware.Responder
}

DeleteShipmentHandler interface for that can handle valid delete shipment params

type DeleteShipmentHandlerFunc

type DeleteShipmentHandlerFunc func(DeleteShipmentParams) middleware.Responder

DeleteShipmentHandlerFunc turns a function with the right signature into a delete shipment handler

func (DeleteShipmentHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteShipmentInternalServerError

type DeleteShipmentInternalServerError struct {

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

DeleteShipmentInternalServerError A server error occurred

swagger:response deleteShipmentInternalServerError

func NewDeleteShipmentInternalServerError

func NewDeleteShipmentInternalServerError() *DeleteShipmentInternalServerError

NewDeleteShipmentInternalServerError creates DeleteShipmentInternalServerError with default headers values

func (*DeleteShipmentInternalServerError) SetPayload

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

SetPayload sets the payload to the delete shipment internal server error response

func (*DeleteShipmentInternalServerError) WithPayload

WithPayload adds the payload to the delete shipment internal server error response

func (*DeleteShipmentInternalServerError) WriteResponse

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

WriteResponse to the client

type DeleteShipmentNoContent

type DeleteShipmentNoContent struct {
}

DeleteShipmentNoContent Successfully soft deleted the shipment

swagger:response deleteShipmentNoContent

func NewDeleteShipmentNoContent

func NewDeleteShipmentNoContent() *DeleteShipmentNoContent

NewDeleteShipmentNoContent creates DeleteShipmentNoContent with default headers values

func (*DeleteShipmentNoContent) WriteResponse

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

WriteResponse to the client

type DeleteShipmentNotFound

type DeleteShipmentNotFound struct {

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

DeleteShipmentNotFound The requested resource wasn't found

swagger:response deleteShipmentNotFound

func NewDeleteShipmentNotFound

func NewDeleteShipmentNotFound() *DeleteShipmentNotFound

NewDeleteShipmentNotFound creates DeleteShipmentNotFound with default headers values

func (*DeleteShipmentNotFound) SetPayload

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

SetPayload sets the payload to the delete shipment not found response

func (*DeleteShipmentNotFound) WithPayload

WithPayload adds the payload to the delete shipment not found response

func (*DeleteShipmentNotFound) WriteResponse

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

WriteResponse to the client

type DeleteShipmentParams

type DeleteShipmentParams struct {

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

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

DeleteShipmentParams contains all the bound params for the delete shipment operation typically these are obtained from a http.Request

swagger:parameters deleteShipment

func NewDeleteShipmentParams

func NewDeleteShipmentParams() DeleteShipmentParams

NewDeleteShipmentParams creates a new DeleteShipmentParams object

There are no default values defined in the spec.

func (*DeleteShipmentParams) BindRequest

func (o *DeleteShipmentParams) 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 NewDeleteShipmentParams() beforehand.

type DeleteShipmentURL

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

DeleteShipmentURL generates an URL for the delete shipment operation

func (*DeleteShipmentURL) Build

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

Build a url path and query string

func (*DeleteShipmentURL) BuildFull

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

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

func (*DeleteShipmentURL) Must

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

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

func (*DeleteShipmentURL) SetBasePath

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

func (o *DeleteShipmentURL) String() string

String returns the string representation of the path with query string

func (*DeleteShipmentURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteShipmentURL) WithBasePath

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

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 DeleteShipmentUnprocessableEntity

type DeleteShipmentUnprocessableEntity struct {

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

DeleteShipmentUnprocessableEntity The payload was unprocessable.

swagger:response deleteShipmentUnprocessableEntity

func NewDeleteShipmentUnprocessableEntity

func NewDeleteShipmentUnprocessableEntity() *DeleteShipmentUnprocessableEntity

NewDeleteShipmentUnprocessableEntity creates DeleteShipmentUnprocessableEntity with default headers values

func (*DeleteShipmentUnprocessableEntity) SetPayload

SetPayload sets the payload to the delete shipment unprocessable entity response

func (*DeleteShipmentUnprocessableEntity) WithPayload

WithPayload adds the payload to the delete shipment unprocessable entity response

func (*DeleteShipmentUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type DenySITExtension

type DenySITExtension struct {
	Context *middleware.Context
	Handler DenySITExtensionHandler
}
DenySITExtension swagger:route PATCH /shipments/{shipmentID}/sit-extensions/{sitExtensionID}/deny shipment sitExtension denySITExtension

Denies a SIT extension

Denies a SIT extension

func NewDenySITExtension

func NewDenySITExtension(ctx *middleware.Context, handler DenySITExtensionHandler) *DenySITExtension

NewDenySITExtension creates a new http.Handler for the deny s i t extension operation

func (*DenySITExtension) ServeHTTP

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

type DenySITExtensionConflict

type DenySITExtensionConflict struct {

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

DenySITExtensionConflict Conflict error

swagger:response denySITExtensionConflict

func NewDenySITExtensionConflict

func NewDenySITExtensionConflict() *DenySITExtensionConflict

NewDenySITExtensionConflict creates DenySITExtensionConflict with default headers values

func (*DenySITExtensionConflict) SetPayload

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

SetPayload sets the payload to the deny s i t extension conflict response

func (*DenySITExtensionConflict) WithPayload

WithPayload adds the payload to the deny s i t extension conflict response

func (*DenySITExtensionConflict) WriteResponse

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

WriteResponse to the client

type DenySITExtensionForbidden

type DenySITExtensionForbidden struct {

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

DenySITExtensionForbidden The request was denied

swagger:response denySITExtensionForbidden

func NewDenySITExtensionForbidden

func NewDenySITExtensionForbidden() *DenySITExtensionForbidden

NewDenySITExtensionForbidden creates DenySITExtensionForbidden with default headers values

func (*DenySITExtensionForbidden) SetPayload

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

SetPayload sets the payload to the deny s i t extension forbidden response

func (*DenySITExtensionForbidden) WithPayload

WithPayload adds the payload to the deny s i t extension forbidden response

func (*DenySITExtensionForbidden) WriteResponse

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

WriteResponse to the client

type DenySITExtensionHandler

type DenySITExtensionHandler interface {
	Handle(DenySITExtensionParams) middleware.Responder
}

DenySITExtensionHandler interface for that can handle valid deny s i t extension params

type DenySITExtensionHandlerFunc

type DenySITExtensionHandlerFunc func(DenySITExtensionParams) middleware.Responder

DenySITExtensionHandlerFunc turns a function with the right signature into a deny s i t extension handler

func (DenySITExtensionHandlerFunc) Handle

Handle executing the request and returning a response

type DenySITExtensionInternalServerError

type DenySITExtensionInternalServerError struct {

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

DenySITExtensionInternalServerError A server error occurred

swagger:response denySITExtensionInternalServerError

func NewDenySITExtensionInternalServerError

func NewDenySITExtensionInternalServerError() *DenySITExtensionInternalServerError

NewDenySITExtensionInternalServerError creates DenySITExtensionInternalServerError with default headers values

func (*DenySITExtensionInternalServerError) SetPayload

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

SetPayload sets the payload to the deny s i t extension internal server error response

func (*DenySITExtensionInternalServerError) WithPayload

WithPayload adds the payload to the deny s i t extension internal server error response

func (*DenySITExtensionInternalServerError) WriteResponse

WriteResponse to the client

type DenySITExtensionNotFound

type DenySITExtensionNotFound struct {

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

DenySITExtensionNotFound The requested resource wasn't found

swagger:response denySITExtensionNotFound

func NewDenySITExtensionNotFound

func NewDenySITExtensionNotFound() *DenySITExtensionNotFound

NewDenySITExtensionNotFound creates DenySITExtensionNotFound with default headers values

func (*DenySITExtensionNotFound) SetPayload

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

SetPayload sets the payload to the deny s i t extension not found response

func (*DenySITExtensionNotFound) WithPayload

WithPayload adds the payload to the deny s i t extension not found response

func (*DenySITExtensionNotFound) WriteResponse

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

WriteResponse to the client

type DenySITExtensionOK

type DenySITExtensionOK struct {

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

DenySITExtensionOK Successfully denied a SIT extension

swagger:response denySITExtensionOK

func NewDenySITExtensionOK

func NewDenySITExtensionOK() *DenySITExtensionOK

NewDenySITExtensionOK creates DenySITExtensionOK with default headers values

func (*DenySITExtensionOK) SetPayload

func (o *DenySITExtensionOK) SetPayload(payload *ghcmessages.MTOShipment)

SetPayload sets the payload to the deny s i t extension o k response

func (*DenySITExtensionOK) WithPayload

WithPayload adds the payload to the deny s i t extension o k response

func (*DenySITExtensionOK) WriteResponse

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

WriteResponse to the client

type DenySITExtensionParams

type DenySITExtensionParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.DenySITExtension
	/*ID of the shipment
	  Required: true
	  In: path
	*/
	ShipmentID strfmt.UUID
	/*ID of the SIT extension
	  Required: true
	  In: path
	*/
	SitExtensionID strfmt.UUID
}

DenySITExtensionParams contains all the bound params for the deny s i t extension operation typically these are obtained from a http.Request

swagger:parameters denySITExtension

func NewDenySITExtensionParams

func NewDenySITExtensionParams() DenySITExtensionParams

NewDenySITExtensionParams creates a new DenySITExtensionParams object

There are no default values defined in the spec.

func (*DenySITExtensionParams) BindRequest

func (o *DenySITExtensionParams) 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 NewDenySITExtensionParams() beforehand.

type DenySITExtensionPreconditionFailed

type DenySITExtensionPreconditionFailed struct {

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

DenySITExtensionPreconditionFailed Precondition failed

swagger:response denySITExtensionPreconditionFailed

func NewDenySITExtensionPreconditionFailed

func NewDenySITExtensionPreconditionFailed() *DenySITExtensionPreconditionFailed

NewDenySITExtensionPreconditionFailed creates DenySITExtensionPreconditionFailed with default headers values

func (*DenySITExtensionPreconditionFailed) SetPayload

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

SetPayload sets the payload to the deny s i t extension precondition failed response

func (*DenySITExtensionPreconditionFailed) WithPayload

WithPayload adds the payload to the deny s i t extension precondition failed response

func (*DenySITExtensionPreconditionFailed) WriteResponse

WriteResponse to the client

type DenySITExtensionURL

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

DenySITExtensionURL generates an URL for the deny s i t extension operation

func (*DenySITExtensionURL) Build

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

Build a url path and query string

func (*DenySITExtensionURL) BuildFull

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

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

func (*DenySITExtensionURL) Must

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

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

func (*DenySITExtensionURL) SetBasePath

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

func (o *DenySITExtensionURL) String() string

String returns the string representation of the path with query string

func (*DenySITExtensionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DenySITExtensionURL) WithBasePath

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

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 DenySITExtensionUnprocessableEntity

type DenySITExtensionUnprocessableEntity struct {

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

DenySITExtensionUnprocessableEntity The payload was unprocessable.

swagger:response denySITExtensionUnprocessableEntity

func NewDenySITExtensionUnprocessableEntity

func NewDenySITExtensionUnprocessableEntity() *DenySITExtensionUnprocessableEntity

NewDenySITExtensionUnprocessableEntity creates DenySITExtensionUnprocessableEntity with default headers values

func (*DenySITExtensionUnprocessableEntity) SetPayload

SetPayload sets the payload to the deny s i t extension unprocessable entity response

func (*DenySITExtensionUnprocessableEntity) WithPayload

WithPayload adds the payload to the deny s i t extension unprocessable entity response

func (*DenySITExtensionUnprocessableEntity) WriteResponse

WriteResponse to the client

type RejectShipment

type RejectShipment struct {
	Context *middleware.Context
	Handler RejectShipmentHandler
}
RejectShipment swagger:route POST /shipments/{shipmentID}/reject shipment rejectShipment

rejects a shipment

rejects a shipment

func NewRejectShipment

func NewRejectShipment(ctx *middleware.Context, handler RejectShipmentHandler) *RejectShipment

NewRejectShipment creates a new http.Handler for the reject shipment operation

func (*RejectShipment) ServeHTTP

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

type RejectShipmentConflict

type RejectShipmentConflict struct {

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

RejectShipmentConflict Conflict error

swagger:response rejectShipmentConflict

func NewRejectShipmentConflict

func NewRejectShipmentConflict() *RejectShipmentConflict

NewRejectShipmentConflict creates RejectShipmentConflict with default headers values

func (*RejectShipmentConflict) SetPayload

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

SetPayload sets the payload to the reject shipment conflict response

func (*RejectShipmentConflict) WithPayload

WithPayload adds the payload to the reject shipment conflict response

func (*RejectShipmentConflict) WriteResponse

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

WriteResponse to the client

type RejectShipmentForbidden

type RejectShipmentForbidden struct {

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

RejectShipmentForbidden The request was denied

swagger:response rejectShipmentForbidden

func NewRejectShipmentForbidden

func NewRejectShipmentForbidden() *RejectShipmentForbidden

NewRejectShipmentForbidden creates RejectShipmentForbidden with default headers values

func (*RejectShipmentForbidden) SetPayload

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

SetPayload sets the payload to the reject shipment forbidden response

func (*RejectShipmentForbidden) WithPayload

WithPayload adds the payload to the reject shipment forbidden response

func (*RejectShipmentForbidden) WriteResponse

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

WriteResponse to the client

type RejectShipmentHandler

type RejectShipmentHandler interface {
	Handle(RejectShipmentParams) middleware.Responder
}

RejectShipmentHandler interface for that can handle valid reject shipment params

type RejectShipmentHandlerFunc

type RejectShipmentHandlerFunc func(RejectShipmentParams) middleware.Responder

RejectShipmentHandlerFunc turns a function with the right signature into a reject shipment handler

func (RejectShipmentHandlerFunc) Handle

Handle executing the request and returning a response

type RejectShipmentInternalServerError

type RejectShipmentInternalServerError struct {

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

RejectShipmentInternalServerError A server error occurred

swagger:response rejectShipmentInternalServerError

func NewRejectShipmentInternalServerError

func NewRejectShipmentInternalServerError() *RejectShipmentInternalServerError

NewRejectShipmentInternalServerError creates RejectShipmentInternalServerError with default headers values

func (*RejectShipmentInternalServerError) SetPayload

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

SetPayload sets the payload to the reject shipment internal server error response

func (*RejectShipmentInternalServerError) WithPayload

WithPayload adds the payload to the reject shipment internal server error response

func (*RejectShipmentInternalServerError) WriteResponse

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

WriteResponse to the client

type RejectShipmentNotFound

type RejectShipmentNotFound struct {

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

RejectShipmentNotFound The requested resource wasn't found

swagger:response rejectShipmentNotFound

func NewRejectShipmentNotFound

func NewRejectShipmentNotFound() *RejectShipmentNotFound

NewRejectShipmentNotFound creates RejectShipmentNotFound with default headers values

func (*RejectShipmentNotFound) SetPayload

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

SetPayload sets the payload to the reject shipment not found response

func (*RejectShipmentNotFound) WithPayload

WithPayload adds the payload to the reject shipment not found response

func (*RejectShipmentNotFound) WriteResponse

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

WriteResponse to the client

type RejectShipmentOK

type RejectShipmentOK struct {

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

RejectShipmentOK Successfully rejected the shipment

swagger:response rejectShipmentOK

func NewRejectShipmentOK

func NewRejectShipmentOK() *RejectShipmentOK

NewRejectShipmentOK creates RejectShipmentOK with default headers values

func (*RejectShipmentOK) SetPayload

func (o *RejectShipmentOK) SetPayload(payload *ghcmessages.MTOShipment)

SetPayload sets the payload to the reject shipment o k response

func (*RejectShipmentOK) WithPayload

func (o *RejectShipmentOK) WithPayload(payload *ghcmessages.MTOShipment) *RejectShipmentOK

WithPayload adds the payload to the reject shipment o k response

func (*RejectShipmentOK) WriteResponse

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

WriteResponse to the client

type RejectShipmentParams

type RejectShipmentParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.RejectShipment
	/*ID of the shipment
	  Required: true
	  In: path
	*/
	ShipmentID strfmt.UUID
}

RejectShipmentParams contains all the bound params for the reject shipment operation typically these are obtained from a http.Request

swagger:parameters rejectShipment

func NewRejectShipmentParams

func NewRejectShipmentParams() RejectShipmentParams

NewRejectShipmentParams creates a new RejectShipmentParams object

There are no default values defined in the spec.

func (*RejectShipmentParams) BindRequest

func (o *RejectShipmentParams) 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 NewRejectShipmentParams() beforehand.

type RejectShipmentPreconditionFailed

type RejectShipmentPreconditionFailed struct {

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

RejectShipmentPreconditionFailed Precondition failed

swagger:response rejectShipmentPreconditionFailed

func NewRejectShipmentPreconditionFailed

func NewRejectShipmentPreconditionFailed() *RejectShipmentPreconditionFailed

NewRejectShipmentPreconditionFailed creates RejectShipmentPreconditionFailed with default headers values

func (*RejectShipmentPreconditionFailed) SetPayload

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

SetPayload sets the payload to the reject shipment precondition failed response

func (*RejectShipmentPreconditionFailed) WithPayload

WithPayload adds the payload to the reject shipment precondition failed response

func (*RejectShipmentPreconditionFailed) WriteResponse

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

WriteResponse to the client

type RejectShipmentURL

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

RejectShipmentURL generates an URL for the reject shipment operation

func (*RejectShipmentURL) Build

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

Build a url path and query string

func (*RejectShipmentURL) BuildFull

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

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

func (*RejectShipmentURL) Must

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

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

func (*RejectShipmentURL) SetBasePath

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

func (o *RejectShipmentURL) String() string

String returns the string representation of the path with query string

func (*RejectShipmentURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RejectShipmentURL) WithBasePath

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

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 RejectShipmentUnprocessableEntity

type RejectShipmentUnprocessableEntity struct {

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

RejectShipmentUnprocessableEntity The payload was unprocessable.

swagger:response rejectShipmentUnprocessableEntity

func NewRejectShipmentUnprocessableEntity

func NewRejectShipmentUnprocessableEntity() *RejectShipmentUnprocessableEntity

NewRejectShipmentUnprocessableEntity creates RejectShipmentUnprocessableEntity with default headers values

func (*RejectShipmentUnprocessableEntity) SetPayload

SetPayload sets the payload to the reject shipment unprocessable entity response

func (*RejectShipmentUnprocessableEntity) WithPayload

WithPayload adds the payload to the reject shipment unprocessable entity response

func (*RejectShipmentUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type RequestShipmentCancellation

type RequestShipmentCancellation struct {
	Context *middleware.Context
	Handler RequestShipmentCancellationHandler
}
RequestShipmentCancellation swagger:route POST /shipments/{shipmentID}/request-cancellation shipment requestShipmentCancellation

Requests a shipment cancellation

Requests a shipment cancellation

func NewRequestShipmentCancellation

func NewRequestShipmentCancellation(ctx *middleware.Context, handler RequestShipmentCancellationHandler) *RequestShipmentCancellation

NewRequestShipmentCancellation creates a new http.Handler for the request shipment cancellation operation

func (*RequestShipmentCancellation) ServeHTTP

type RequestShipmentCancellationConflict

type RequestShipmentCancellationConflict struct {

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

RequestShipmentCancellationConflict Conflict error

swagger:response requestShipmentCancellationConflict

func NewRequestShipmentCancellationConflict

func NewRequestShipmentCancellationConflict() *RequestShipmentCancellationConflict

NewRequestShipmentCancellationConflict creates RequestShipmentCancellationConflict with default headers values

func (*RequestShipmentCancellationConflict) SetPayload

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

SetPayload sets the payload to the request shipment cancellation conflict response

func (*RequestShipmentCancellationConflict) WithPayload

WithPayload adds the payload to the request shipment cancellation conflict response

func (*RequestShipmentCancellationConflict) WriteResponse

WriteResponse to the client

type RequestShipmentCancellationForbidden

type RequestShipmentCancellationForbidden struct {

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

RequestShipmentCancellationForbidden The request was denied

swagger:response requestShipmentCancellationForbidden

func NewRequestShipmentCancellationForbidden

func NewRequestShipmentCancellationForbidden() *RequestShipmentCancellationForbidden

NewRequestShipmentCancellationForbidden creates RequestShipmentCancellationForbidden with default headers values

func (*RequestShipmentCancellationForbidden) SetPayload

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

SetPayload sets the payload to the request shipment cancellation forbidden response

func (*RequestShipmentCancellationForbidden) WithPayload

WithPayload adds the payload to the request shipment cancellation forbidden response

func (*RequestShipmentCancellationForbidden) WriteResponse

WriteResponse to the client

type RequestShipmentCancellationHandler

type RequestShipmentCancellationHandler interface {
	Handle(RequestShipmentCancellationParams) middleware.Responder
}

RequestShipmentCancellationHandler interface for that can handle valid request shipment cancellation params

type RequestShipmentCancellationHandlerFunc

type RequestShipmentCancellationHandlerFunc func(RequestShipmentCancellationParams) middleware.Responder

RequestShipmentCancellationHandlerFunc turns a function with the right signature into a request shipment cancellation handler

func (RequestShipmentCancellationHandlerFunc) Handle

Handle executing the request and returning a response

type RequestShipmentCancellationInternalServerError

type RequestShipmentCancellationInternalServerError struct {

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

RequestShipmentCancellationInternalServerError A server error occurred

swagger:response requestShipmentCancellationInternalServerError

func NewRequestShipmentCancellationInternalServerError

func NewRequestShipmentCancellationInternalServerError() *RequestShipmentCancellationInternalServerError

NewRequestShipmentCancellationInternalServerError creates RequestShipmentCancellationInternalServerError with default headers values

func (*RequestShipmentCancellationInternalServerError) SetPayload

SetPayload sets the payload to the request shipment cancellation internal server error response

func (*RequestShipmentCancellationInternalServerError) WithPayload

WithPayload adds the payload to the request shipment cancellation internal server error response

func (*RequestShipmentCancellationInternalServerError) WriteResponse

WriteResponse to the client

type RequestShipmentCancellationNotFound

type RequestShipmentCancellationNotFound struct {

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

RequestShipmentCancellationNotFound The requested resource wasn't found

swagger:response requestShipmentCancellationNotFound

func NewRequestShipmentCancellationNotFound

func NewRequestShipmentCancellationNotFound() *RequestShipmentCancellationNotFound

NewRequestShipmentCancellationNotFound creates RequestShipmentCancellationNotFound with default headers values

func (*RequestShipmentCancellationNotFound) SetPayload

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

SetPayload sets the payload to the request shipment cancellation not found response

func (*RequestShipmentCancellationNotFound) WithPayload

WithPayload adds the payload to the request shipment cancellation not found response

func (*RequestShipmentCancellationNotFound) WriteResponse

WriteResponse to the client

type RequestShipmentCancellationOK

type RequestShipmentCancellationOK struct {

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

RequestShipmentCancellationOK Successfully requested the shipment cancellation

swagger:response requestShipmentCancellationOK

func NewRequestShipmentCancellationOK

func NewRequestShipmentCancellationOK() *RequestShipmentCancellationOK

NewRequestShipmentCancellationOK creates RequestShipmentCancellationOK with default headers values

func (*RequestShipmentCancellationOK) SetPayload

func (o *RequestShipmentCancellationOK) SetPayload(payload *ghcmessages.MTOShipment)

SetPayload sets the payload to the request shipment cancellation o k response

func (*RequestShipmentCancellationOK) WithPayload

WithPayload adds the payload to the request shipment cancellation o k response

func (*RequestShipmentCancellationOK) WriteResponse

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

WriteResponse to the client

type RequestShipmentCancellationParams

type RequestShipmentCancellationParams struct {

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

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

RequestShipmentCancellationParams contains all the bound params for the request shipment cancellation operation typically these are obtained from a http.Request

swagger:parameters requestShipmentCancellation

func NewRequestShipmentCancellationParams

func NewRequestShipmentCancellationParams() RequestShipmentCancellationParams

NewRequestShipmentCancellationParams creates a new RequestShipmentCancellationParams object

There are no default values defined in the spec.

func (*RequestShipmentCancellationParams) 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 NewRequestShipmentCancellationParams() beforehand.

type RequestShipmentCancellationPreconditionFailed

type RequestShipmentCancellationPreconditionFailed struct {

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

RequestShipmentCancellationPreconditionFailed Precondition failed

swagger:response requestShipmentCancellationPreconditionFailed

func NewRequestShipmentCancellationPreconditionFailed

func NewRequestShipmentCancellationPreconditionFailed() *RequestShipmentCancellationPreconditionFailed

NewRequestShipmentCancellationPreconditionFailed creates RequestShipmentCancellationPreconditionFailed with default headers values

func (*RequestShipmentCancellationPreconditionFailed) SetPayload

SetPayload sets the payload to the request shipment cancellation precondition failed response

func (*RequestShipmentCancellationPreconditionFailed) WithPayload

WithPayload adds the payload to the request shipment cancellation precondition failed response

func (*RequestShipmentCancellationPreconditionFailed) WriteResponse

WriteResponse to the client

type RequestShipmentCancellationURL

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

RequestShipmentCancellationURL generates an URL for the request shipment cancellation operation

func (*RequestShipmentCancellationURL) Build

Build a url path and query string

func (*RequestShipmentCancellationURL) BuildFull

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

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

func (*RequestShipmentCancellationURL) Must

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

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

func (*RequestShipmentCancellationURL) SetBasePath

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

String returns the string representation of the path with query string

func (*RequestShipmentCancellationURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RequestShipmentCancellationURL) 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 RequestShipmentCancellationUnprocessableEntity

type RequestShipmentCancellationUnprocessableEntity struct {

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

RequestShipmentCancellationUnprocessableEntity The payload was unprocessable.

swagger:response requestShipmentCancellationUnprocessableEntity

func NewRequestShipmentCancellationUnprocessableEntity

func NewRequestShipmentCancellationUnprocessableEntity() *RequestShipmentCancellationUnprocessableEntity

NewRequestShipmentCancellationUnprocessableEntity creates RequestShipmentCancellationUnprocessableEntity with default headers values

func (*RequestShipmentCancellationUnprocessableEntity) SetPayload

SetPayload sets the payload to the request shipment cancellation unprocessable entity response

func (*RequestShipmentCancellationUnprocessableEntity) WithPayload

WithPayload adds the payload to the request shipment cancellation unprocessable entity response

func (*RequestShipmentCancellationUnprocessableEntity) WriteResponse

WriteResponse to the client

type RequestShipmentDiversion

type RequestShipmentDiversion struct {
	Context *middleware.Context
	Handler RequestShipmentDiversionHandler
}
RequestShipmentDiversion swagger:route POST /shipments/{shipmentID}/request-diversion shipment requestShipmentDiversion

Requests a shipment diversion

Requests a shipment diversion

func NewRequestShipmentDiversion

func NewRequestShipmentDiversion(ctx *middleware.Context, handler RequestShipmentDiversionHandler) *RequestShipmentDiversion

NewRequestShipmentDiversion creates a new http.Handler for the request shipment diversion operation

func (*RequestShipmentDiversion) ServeHTTP

type RequestShipmentDiversionConflict

type RequestShipmentDiversionConflict struct {

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

RequestShipmentDiversionConflict Conflict error

swagger:response requestShipmentDiversionConflict

func NewRequestShipmentDiversionConflict

func NewRequestShipmentDiversionConflict() *RequestShipmentDiversionConflict

NewRequestShipmentDiversionConflict creates RequestShipmentDiversionConflict with default headers values

func (*RequestShipmentDiversionConflict) SetPayload

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

SetPayload sets the payload to the request shipment diversion conflict response

func (*RequestShipmentDiversionConflict) WithPayload

WithPayload adds the payload to the request shipment diversion conflict response

func (*RequestShipmentDiversionConflict) WriteResponse

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

WriteResponse to the client

type RequestShipmentDiversionForbidden

type RequestShipmentDiversionForbidden struct {

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

RequestShipmentDiversionForbidden The request was denied

swagger:response requestShipmentDiversionForbidden

func NewRequestShipmentDiversionForbidden

func NewRequestShipmentDiversionForbidden() *RequestShipmentDiversionForbidden

NewRequestShipmentDiversionForbidden creates RequestShipmentDiversionForbidden with default headers values

func (*RequestShipmentDiversionForbidden) SetPayload

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

SetPayload sets the payload to the request shipment diversion forbidden response

func (*RequestShipmentDiversionForbidden) WithPayload

WithPayload adds the payload to the request shipment diversion forbidden response

func (*RequestShipmentDiversionForbidden) WriteResponse

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

WriteResponse to the client

type RequestShipmentDiversionHandler

type RequestShipmentDiversionHandler interface {
	Handle(RequestShipmentDiversionParams) middleware.Responder
}

RequestShipmentDiversionHandler interface for that can handle valid request shipment diversion params

type RequestShipmentDiversionHandlerFunc

type RequestShipmentDiversionHandlerFunc func(RequestShipmentDiversionParams) middleware.Responder

RequestShipmentDiversionHandlerFunc turns a function with the right signature into a request shipment diversion handler

func (RequestShipmentDiversionHandlerFunc) Handle

Handle executing the request and returning a response

type RequestShipmentDiversionInternalServerError

type RequestShipmentDiversionInternalServerError struct {

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

RequestShipmentDiversionInternalServerError A server error occurred

swagger:response requestShipmentDiversionInternalServerError

func NewRequestShipmentDiversionInternalServerError

func NewRequestShipmentDiversionInternalServerError() *RequestShipmentDiversionInternalServerError

NewRequestShipmentDiversionInternalServerError creates RequestShipmentDiversionInternalServerError with default headers values

func (*RequestShipmentDiversionInternalServerError) SetPayload

SetPayload sets the payload to the request shipment diversion internal server error response

func (*RequestShipmentDiversionInternalServerError) WithPayload

WithPayload adds the payload to the request shipment diversion internal server error response

func (*RequestShipmentDiversionInternalServerError) WriteResponse

WriteResponse to the client

type RequestShipmentDiversionNotFound

type RequestShipmentDiversionNotFound struct {

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

RequestShipmentDiversionNotFound The requested resource wasn't found

swagger:response requestShipmentDiversionNotFound

func NewRequestShipmentDiversionNotFound

func NewRequestShipmentDiversionNotFound() *RequestShipmentDiversionNotFound

NewRequestShipmentDiversionNotFound creates RequestShipmentDiversionNotFound with default headers values

func (*RequestShipmentDiversionNotFound) SetPayload

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

SetPayload sets the payload to the request shipment diversion not found response

func (*RequestShipmentDiversionNotFound) WithPayload

WithPayload adds the payload to the request shipment diversion not found response

func (*RequestShipmentDiversionNotFound) WriteResponse

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

WriteResponse to the client

type RequestShipmentDiversionOK

type RequestShipmentDiversionOK struct {

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

RequestShipmentDiversionOK Successfully requested the shipment diversion

swagger:response requestShipmentDiversionOK

func NewRequestShipmentDiversionOK

func NewRequestShipmentDiversionOK() *RequestShipmentDiversionOK

NewRequestShipmentDiversionOK creates RequestShipmentDiversionOK with default headers values

func (*RequestShipmentDiversionOK) SetPayload

func (o *RequestShipmentDiversionOK) SetPayload(payload *ghcmessages.MTOShipment)

SetPayload sets the payload to the request shipment diversion o k response

func (*RequestShipmentDiversionOK) WithPayload

WithPayload adds the payload to the request shipment diversion o k response

func (*RequestShipmentDiversionOK) WriteResponse

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

WriteResponse to the client

type RequestShipmentDiversionParams

type RequestShipmentDiversionParams struct {

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

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

RequestShipmentDiversionParams contains all the bound params for the request shipment diversion operation typically these are obtained from a http.Request

swagger:parameters requestShipmentDiversion

func NewRequestShipmentDiversionParams

func NewRequestShipmentDiversionParams() RequestShipmentDiversionParams

NewRequestShipmentDiversionParams creates a new RequestShipmentDiversionParams object

There are no default values defined in the spec.

func (*RequestShipmentDiversionParams) 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 NewRequestShipmentDiversionParams() beforehand.

type RequestShipmentDiversionPreconditionFailed

type RequestShipmentDiversionPreconditionFailed struct {

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

RequestShipmentDiversionPreconditionFailed Precondition failed

swagger:response requestShipmentDiversionPreconditionFailed

func NewRequestShipmentDiversionPreconditionFailed

func NewRequestShipmentDiversionPreconditionFailed() *RequestShipmentDiversionPreconditionFailed

NewRequestShipmentDiversionPreconditionFailed creates RequestShipmentDiversionPreconditionFailed with default headers values

func (*RequestShipmentDiversionPreconditionFailed) SetPayload

SetPayload sets the payload to the request shipment diversion precondition failed response

func (*RequestShipmentDiversionPreconditionFailed) WithPayload

WithPayload adds the payload to the request shipment diversion precondition failed response

func (*RequestShipmentDiversionPreconditionFailed) WriteResponse

WriteResponse to the client

type RequestShipmentDiversionURL

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

RequestShipmentDiversionURL generates an URL for the request shipment diversion operation

func (*RequestShipmentDiversionURL) Build

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

Build a url path and query string

func (*RequestShipmentDiversionURL) BuildFull

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

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

func (*RequestShipmentDiversionURL) Must

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

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

func (*RequestShipmentDiversionURL) SetBasePath

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

func (o *RequestShipmentDiversionURL) String() string

String returns the string representation of the path with query string

func (*RequestShipmentDiversionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RequestShipmentDiversionURL) 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 RequestShipmentDiversionUnprocessableEntity

type RequestShipmentDiversionUnprocessableEntity struct {

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

RequestShipmentDiversionUnprocessableEntity The payload was unprocessable.

swagger:response requestShipmentDiversionUnprocessableEntity

func NewRequestShipmentDiversionUnprocessableEntity

func NewRequestShipmentDiversionUnprocessableEntity() *RequestShipmentDiversionUnprocessableEntity

NewRequestShipmentDiversionUnprocessableEntity creates RequestShipmentDiversionUnprocessableEntity with default headers values

func (*RequestShipmentDiversionUnprocessableEntity) SetPayload

SetPayload sets the payload to the request shipment diversion unprocessable entity response

func (*RequestShipmentDiversionUnprocessableEntity) WithPayload

WithPayload adds the payload to the request shipment diversion unprocessable entity response

func (*RequestShipmentDiversionUnprocessableEntity) WriteResponse

WriteResponse to the client

type RequestShipmentReweigh

type RequestShipmentReweigh struct {
	Context *middleware.Context
	Handler RequestShipmentReweighHandler
}
RequestShipmentReweigh swagger:route POST /shipments/{shipmentID}/request-reweigh shipment reweigh requestShipmentReweigh

Requests a shipment reweigh

Requests a shipment reweigh

func NewRequestShipmentReweigh

func NewRequestShipmentReweigh(ctx *middleware.Context, handler RequestShipmentReweighHandler) *RequestShipmentReweigh

NewRequestShipmentReweigh creates a new http.Handler for the request shipment reweigh operation

func (*RequestShipmentReweigh) ServeHTTP

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

type RequestShipmentReweighConflict

type RequestShipmentReweighConflict struct {

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

RequestShipmentReweighConflict Conflict error

swagger:response requestShipmentReweighConflict

func NewRequestShipmentReweighConflict

func NewRequestShipmentReweighConflict() *RequestShipmentReweighConflict

NewRequestShipmentReweighConflict creates RequestShipmentReweighConflict with default headers values

func (*RequestShipmentReweighConflict) SetPayload

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

SetPayload sets the payload to the request shipment reweigh conflict response

func (*RequestShipmentReweighConflict) WithPayload

WithPayload adds the payload to the request shipment reweigh conflict response

func (*RequestShipmentReweighConflict) WriteResponse

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

WriteResponse to the client

type RequestShipmentReweighForbidden

type RequestShipmentReweighForbidden struct {

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

RequestShipmentReweighForbidden The request was denied

swagger:response requestShipmentReweighForbidden

func NewRequestShipmentReweighForbidden

func NewRequestShipmentReweighForbidden() *RequestShipmentReweighForbidden

NewRequestShipmentReweighForbidden creates RequestShipmentReweighForbidden with default headers values

func (*RequestShipmentReweighForbidden) SetPayload

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

SetPayload sets the payload to the request shipment reweigh forbidden response

func (*RequestShipmentReweighForbidden) WithPayload

WithPayload adds the payload to the request shipment reweigh forbidden response

func (*RequestShipmentReweighForbidden) WriteResponse

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

WriteResponse to the client

type RequestShipmentReweighHandler

type RequestShipmentReweighHandler interface {
	Handle(RequestShipmentReweighParams) middleware.Responder
}

RequestShipmentReweighHandler interface for that can handle valid request shipment reweigh params

type RequestShipmentReweighHandlerFunc

type RequestShipmentReweighHandlerFunc func(RequestShipmentReweighParams) middleware.Responder

RequestShipmentReweighHandlerFunc turns a function with the right signature into a request shipment reweigh handler

func (RequestShipmentReweighHandlerFunc) Handle

Handle executing the request and returning a response

type RequestShipmentReweighInternalServerError

type RequestShipmentReweighInternalServerError struct {

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

RequestShipmentReweighInternalServerError A server error occurred

swagger:response requestShipmentReweighInternalServerError

func NewRequestShipmentReweighInternalServerError

func NewRequestShipmentReweighInternalServerError() *RequestShipmentReweighInternalServerError

NewRequestShipmentReweighInternalServerError creates RequestShipmentReweighInternalServerError with default headers values

func (*RequestShipmentReweighInternalServerError) SetPayload

SetPayload sets the payload to the request shipment reweigh internal server error response

func (*RequestShipmentReweighInternalServerError) WithPayload

WithPayload adds the payload to the request shipment reweigh internal server error response

func (*RequestShipmentReweighInternalServerError) WriteResponse

WriteResponse to the client

type RequestShipmentReweighNotFound

type RequestShipmentReweighNotFound struct {

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

RequestShipmentReweighNotFound The requested resource wasn't found

swagger:response requestShipmentReweighNotFound

func NewRequestShipmentReweighNotFound

func NewRequestShipmentReweighNotFound() *RequestShipmentReweighNotFound

NewRequestShipmentReweighNotFound creates RequestShipmentReweighNotFound with default headers values

func (*RequestShipmentReweighNotFound) SetPayload

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

SetPayload sets the payload to the request shipment reweigh not found response

func (*RequestShipmentReweighNotFound) WithPayload

WithPayload adds the payload to the request shipment reweigh not found response

func (*RequestShipmentReweighNotFound) WriteResponse

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

WriteResponse to the client

type RequestShipmentReweighOK

type RequestShipmentReweighOK struct {

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

RequestShipmentReweighOK Successfully requested a reweigh of the shipment

swagger:response requestShipmentReweighOK

func NewRequestShipmentReweighOK

func NewRequestShipmentReweighOK() *RequestShipmentReweighOK

NewRequestShipmentReweighOK creates RequestShipmentReweighOK with default headers values

func (*RequestShipmentReweighOK) SetPayload

func (o *RequestShipmentReweighOK) SetPayload(payload *ghcmessages.Reweigh)

SetPayload sets the payload to the request shipment reweigh o k response

func (*RequestShipmentReweighOK) WithPayload

WithPayload adds the payload to the request shipment reweigh o k response

func (*RequestShipmentReweighOK) WriteResponse

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

WriteResponse to the client

type RequestShipmentReweighParams

type RequestShipmentReweighParams struct {

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

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

RequestShipmentReweighParams contains all the bound params for the request shipment reweigh operation typically these are obtained from a http.Request

swagger:parameters requestShipmentReweigh

func NewRequestShipmentReweighParams

func NewRequestShipmentReweighParams() RequestShipmentReweighParams

NewRequestShipmentReweighParams creates a new RequestShipmentReweighParams object

There are no default values defined in the spec.

func (*RequestShipmentReweighParams) 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 NewRequestShipmentReweighParams() beforehand.

type RequestShipmentReweighPreconditionFailed

type RequestShipmentReweighPreconditionFailed struct {

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

RequestShipmentReweighPreconditionFailed Precondition failed

swagger:response requestShipmentReweighPreconditionFailed

func NewRequestShipmentReweighPreconditionFailed

func NewRequestShipmentReweighPreconditionFailed() *RequestShipmentReweighPreconditionFailed

NewRequestShipmentReweighPreconditionFailed creates RequestShipmentReweighPreconditionFailed with default headers values

func (*RequestShipmentReweighPreconditionFailed) SetPayload

SetPayload sets the payload to the request shipment reweigh precondition failed response

func (*RequestShipmentReweighPreconditionFailed) WithPayload

WithPayload adds the payload to the request shipment reweigh precondition failed response

func (*RequestShipmentReweighPreconditionFailed) WriteResponse

WriteResponse to the client

type RequestShipmentReweighURL

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

RequestShipmentReweighURL generates an URL for the request shipment reweigh operation

func (*RequestShipmentReweighURL) Build

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

Build a url path and query string

func (*RequestShipmentReweighURL) BuildFull

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

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

func (*RequestShipmentReweighURL) Must

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

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

func (*RequestShipmentReweighURL) SetBasePath

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

func (o *RequestShipmentReweighURL) String() string

String returns the string representation of the path with query string

func (*RequestShipmentReweighURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RequestShipmentReweighURL) 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 RequestShipmentReweighUnprocessableEntity

type RequestShipmentReweighUnprocessableEntity struct {

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

RequestShipmentReweighUnprocessableEntity The payload was unprocessable.

swagger:response requestShipmentReweighUnprocessableEntity

func NewRequestShipmentReweighUnprocessableEntity

func NewRequestShipmentReweighUnprocessableEntity() *RequestShipmentReweighUnprocessableEntity

NewRequestShipmentReweighUnprocessableEntity creates RequestShipmentReweighUnprocessableEntity with default headers values

func (*RequestShipmentReweighUnprocessableEntity) SetPayload

SetPayload sets the payload to the request shipment reweigh unprocessable entity response

func (*RequestShipmentReweighUnprocessableEntity) WithPayload

WithPayload adds the payload to the request shipment reweigh unprocessable entity response

func (*RequestShipmentReweighUnprocessableEntity) WriteResponse

WriteResponse to the client

type ReviewShipmentAddressUpdate

type ReviewShipmentAddressUpdate struct {
	Context *middleware.Context
	Handler ReviewShipmentAddressUpdateHandler
}
ReviewShipmentAddressUpdate swagger:route PATCH /shipments/{shipmentID}/review-shipment-address-update shipment reviewShipmentAddressUpdate

Allows TOO to review a shipment address update

This endpoint is used to approve a address update request. Office remarks are required. Approving the address update will update the Destination Final Address of the associated service item

func NewReviewShipmentAddressUpdate

func NewReviewShipmentAddressUpdate(ctx *middleware.Context, handler ReviewShipmentAddressUpdateHandler) *ReviewShipmentAddressUpdate

NewReviewShipmentAddressUpdate creates a new http.Handler for the review shipment address update operation

func (*ReviewShipmentAddressUpdate) ServeHTTP

type ReviewShipmentAddressUpdateBody

type ReviewShipmentAddressUpdateBody struct {

	// office remarks
	// Required: true
	OfficeRemarks *string `json:"officeRemarks"`

	// status
	// Required: true
	// Enum: [REJECTED APPROVED]
	Status *string `json:"status"`
}

ReviewShipmentAddressUpdateBody review shipment address update body

swagger:model ReviewShipmentAddressUpdateBody

func (*ReviewShipmentAddressUpdateBody) ContextValidate

func (o *ReviewShipmentAddressUpdateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this review shipment address update body based on context it is used

func (*ReviewShipmentAddressUpdateBody) MarshalBinary

func (o *ReviewShipmentAddressUpdateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReviewShipmentAddressUpdateBody) UnmarshalBinary

func (o *ReviewShipmentAddressUpdateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReviewShipmentAddressUpdateBody) Validate

Validate validates this review shipment address update body

type ReviewShipmentAddressUpdateConflict

type ReviewShipmentAddressUpdateConflict struct {

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

ReviewShipmentAddressUpdateConflict Conflict error

swagger:response reviewShipmentAddressUpdateConflict

func NewReviewShipmentAddressUpdateConflict

func NewReviewShipmentAddressUpdateConflict() *ReviewShipmentAddressUpdateConflict

NewReviewShipmentAddressUpdateConflict creates ReviewShipmentAddressUpdateConflict with default headers values

func (*ReviewShipmentAddressUpdateConflict) SetPayload

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

SetPayload sets the payload to the review shipment address update conflict response

func (*ReviewShipmentAddressUpdateConflict) WithPayload

WithPayload adds the payload to the review shipment address update conflict response

func (*ReviewShipmentAddressUpdateConflict) WriteResponse

WriteResponse to the client

type ReviewShipmentAddressUpdateForbidden

type ReviewShipmentAddressUpdateForbidden struct {

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

ReviewShipmentAddressUpdateForbidden The request was denied

swagger:response reviewShipmentAddressUpdateForbidden

func NewReviewShipmentAddressUpdateForbidden

func NewReviewShipmentAddressUpdateForbidden() *ReviewShipmentAddressUpdateForbidden

NewReviewShipmentAddressUpdateForbidden creates ReviewShipmentAddressUpdateForbidden with default headers values

func (*ReviewShipmentAddressUpdateForbidden) SetPayload

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

SetPayload sets the payload to the review shipment address update forbidden response

func (*ReviewShipmentAddressUpdateForbidden) WithPayload

WithPayload adds the payload to the review shipment address update forbidden response

func (*ReviewShipmentAddressUpdateForbidden) WriteResponse

WriteResponse to the client

type ReviewShipmentAddressUpdateHandler

type ReviewShipmentAddressUpdateHandler interface {
	Handle(ReviewShipmentAddressUpdateParams) middleware.Responder
}

ReviewShipmentAddressUpdateHandler interface for that can handle valid review shipment address update params

type ReviewShipmentAddressUpdateHandlerFunc

type ReviewShipmentAddressUpdateHandlerFunc func(ReviewShipmentAddressUpdateParams) middleware.Responder

ReviewShipmentAddressUpdateHandlerFunc turns a function with the right signature into a review shipment address update handler

func (ReviewShipmentAddressUpdateHandlerFunc) Handle

Handle executing the request and returning a response

type ReviewShipmentAddressUpdateInternalServerError

type ReviewShipmentAddressUpdateInternalServerError struct {

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

ReviewShipmentAddressUpdateInternalServerError A server error occurred

swagger:response reviewShipmentAddressUpdateInternalServerError

func NewReviewShipmentAddressUpdateInternalServerError

func NewReviewShipmentAddressUpdateInternalServerError() *ReviewShipmentAddressUpdateInternalServerError

NewReviewShipmentAddressUpdateInternalServerError creates ReviewShipmentAddressUpdateInternalServerError with default headers values

func (*ReviewShipmentAddressUpdateInternalServerError) SetPayload

SetPayload sets the payload to the review shipment address update internal server error response

func (*ReviewShipmentAddressUpdateInternalServerError) WithPayload

WithPayload adds the payload to the review shipment address update internal server error response

func (*ReviewShipmentAddressUpdateInternalServerError) WriteResponse

WriteResponse to the client

type ReviewShipmentAddressUpdateNotFound

type ReviewShipmentAddressUpdateNotFound struct {

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

ReviewShipmentAddressUpdateNotFound The requested resource wasn't found

swagger:response reviewShipmentAddressUpdateNotFound

func NewReviewShipmentAddressUpdateNotFound

func NewReviewShipmentAddressUpdateNotFound() *ReviewShipmentAddressUpdateNotFound

NewReviewShipmentAddressUpdateNotFound creates ReviewShipmentAddressUpdateNotFound with default headers values

func (*ReviewShipmentAddressUpdateNotFound) SetPayload

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

SetPayload sets the payload to the review shipment address update not found response

func (*ReviewShipmentAddressUpdateNotFound) WithPayload

WithPayload adds the payload to the review shipment address update not found response

func (*ReviewShipmentAddressUpdateNotFound) WriteResponse

WriteResponse to the client

type ReviewShipmentAddressUpdateOK

type ReviewShipmentAddressUpdateOK struct {

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

ReviewShipmentAddressUpdateOK Successfully requested a shipment address update

swagger:response reviewShipmentAddressUpdateOK

func NewReviewShipmentAddressUpdateOK

func NewReviewShipmentAddressUpdateOK() *ReviewShipmentAddressUpdateOK

NewReviewShipmentAddressUpdateOK creates ReviewShipmentAddressUpdateOK with default headers values

func (*ReviewShipmentAddressUpdateOK) SetPayload

SetPayload sets the payload to the review shipment address update o k response

func (*ReviewShipmentAddressUpdateOK) WithPayload

WithPayload adds the payload to the review shipment address update o k response

func (*ReviewShipmentAddressUpdateOK) WriteResponse

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

WriteResponse to the client

type ReviewShipmentAddressUpdateParams

type ReviewShipmentAddressUpdateParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body ReviewShipmentAddressUpdateBody
	/*ID of the shipment
	  Required: true
	  In: path
	*/
	ShipmentID strfmt.UUID
}

ReviewShipmentAddressUpdateParams contains all the bound params for the review shipment address update operation typically these are obtained from a http.Request

swagger:parameters reviewShipmentAddressUpdate

func NewReviewShipmentAddressUpdateParams

func NewReviewShipmentAddressUpdateParams() ReviewShipmentAddressUpdateParams

NewReviewShipmentAddressUpdateParams creates a new ReviewShipmentAddressUpdateParams object

There are no default values defined in the spec.

func (*ReviewShipmentAddressUpdateParams) 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 NewReviewShipmentAddressUpdateParams() beforehand.

type ReviewShipmentAddressUpdatePreconditionFailed

type ReviewShipmentAddressUpdatePreconditionFailed struct {

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

ReviewShipmentAddressUpdatePreconditionFailed Precondition failed

swagger:response reviewShipmentAddressUpdatePreconditionFailed

func NewReviewShipmentAddressUpdatePreconditionFailed

func NewReviewShipmentAddressUpdatePreconditionFailed() *ReviewShipmentAddressUpdatePreconditionFailed

NewReviewShipmentAddressUpdatePreconditionFailed creates ReviewShipmentAddressUpdatePreconditionFailed with default headers values

func (*ReviewShipmentAddressUpdatePreconditionFailed) SetPayload

SetPayload sets the payload to the review shipment address update precondition failed response

func (*ReviewShipmentAddressUpdatePreconditionFailed) WithPayload

WithPayload adds the payload to the review shipment address update precondition failed response

func (*ReviewShipmentAddressUpdatePreconditionFailed) WriteResponse

WriteResponse to the client

type ReviewShipmentAddressUpdateURL

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

ReviewShipmentAddressUpdateURL generates an URL for the review shipment address update operation

func (*ReviewShipmentAddressUpdateURL) Build

Build a url path and query string

func (*ReviewShipmentAddressUpdateURL) BuildFull

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

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

func (*ReviewShipmentAddressUpdateURL) Must

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

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

func (*ReviewShipmentAddressUpdateURL) SetBasePath

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

String returns the string representation of the path with query string

func (*ReviewShipmentAddressUpdateURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ReviewShipmentAddressUpdateURL) 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 ReviewShipmentAddressUpdateUnprocessableEntity

type ReviewShipmentAddressUpdateUnprocessableEntity struct {

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

ReviewShipmentAddressUpdateUnprocessableEntity The payload was unprocessable.

swagger:response reviewShipmentAddressUpdateUnprocessableEntity

func NewReviewShipmentAddressUpdateUnprocessableEntity

func NewReviewShipmentAddressUpdateUnprocessableEntity() *ReviewShipmentAddressUpdateUnprocessableEntity

NewReviewShipmentAddressUpdateUnprocessableEntity creates ReviewShipmentAddressUpdateUnprocessableEntity with default headers values

func (*ReviewShipmentAddressUpdateUnprocessableEntity) SetPayload

SetPayload sets the payload to the review shipment address update unprocessable entity response

func (*ReviewShipmentAddressUpdateUnprocessableEntity) WithPayload

WithPayload adds the payload to the review shipment address update unprocessable entity response

func (*ReviewShipmentAddressUpdateUnprocessableEntity) WriteResponse

WriteResponse to the client

type UpdateSITServiceItemCustomerExpense

type UpdateSITServiceItemCustomerExpense struct {
	Context *middleware.Context
	Handler UpdateSITServiceItemCustomerExpenseHandler
}
UpdateSITServiceItemCustomerExpense swagger:route PATCH /shipments/{shipmentID}/sit-service-item/convert-to-customer-expense shipment mtoServiceItem updateSITServiceItemCustomerExpense

Converts a SIT to customer expense

Converts a SIT to customer expense

func NewUpdateSITServiceItemCustomerExpense

func NewUpdateSITServiceItemCustomerExpense(ctx *middleware.Context, handler UpdateSITServiceItemCustomerExpenseHandler) *UpdateSITServiceItemCustomerExpense

NewUpdateSITServiceItemCustomerExpense creates a new http.Handler for the update s i t service item customer expense operation

func (*UpdateSITServiceItemCustomerExpense) ServeHTTP

type UpdateSITServiceItemCustomerExpenseConflict

type UpdateSITServiceItemCustomerExpenseConflict struct {

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

UpdateSITServiceItemCustomerExpenseConflict Conflict error

swagger:response updateSITServiceItemCustomerExpenseConflict

func NewUpdateSITServiceItemCustomerExpenseConflict

func NewUpdateSITServiceItemCustomerExpenseConflict() *UpdateSITServiceItemCustomerExpenseConflict

NewUpdateSITServiceItemCustomerExpenseConflict creates UpdateSITServiceItemCustomerExpenseConflict with default headers values

func (*UpdateSITServiceItemCustomerExpenseConflict) SetPayload

SetPayload sets the payload to the update s i t service item customer expense conflict response

func (*UpdateSITServiceItemCustomerExpenseConflict) WithPayload

WithPayload adds the payload to the update s i t service item customer expense conflict response

func (*UpdateSITServiceItemCustomerExpenseConflict) WriteResponse

WriteResponse to the client

type UpdateSITServiceItemCustomerExpenseForbidden

type UpdateSITServiceItemCustomerExpenseForbidden struct {

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

UpdateSITServiceItemCustomerExpenseForbidden The request was denied

swagger:response updateSITServiceItemCustomerExpenseForbidden

func NewUpdateSITServiceItemCustomerExpenseForbidden

func NewUpdateSITServiceItemCustomerExpenseForbidden() *UpdateSITServiceItemCustomerExpenseForbidden

NewUpdateSITServiceItemCustomerExpenseForbidden creates UpdateSITServiceItemCustomerExpenseForbidden with default headers values

func (*UpdateSITServiceItemCustomerExpenseForbidden) SetPayload

SetPayload sets the payload to the update s i t service item customer expense forbidden response

func (*UpdateSITServiceItemCustomerExpenseForbidden) WithPayload

WithPayload adds the payload to the update s i t service item customer expense forbidden response

func (*UpdateSITServiceItemCustomerExpenseForbidden) WriteResponse

WriteResponse to the client

type UpdateSITServiceItemCustomerExpenseHandler

type UpdateSITServiceItemCustomerExpenseHandler interface {
	Handle(UpdateSITServiceItemCustomerExpenseParams) middleware.Responder
}

UpdateSITServiceItemCustomerExpenseHandler interface for that can handle valid update s i t service item customer expense params

type UpdateSITServiceItemCustomerExpenseHandlerFunc

type UpdateSITServiceItemCustomerExpenseHandlerFunc func(UpdateSITServiceItemCustomerExpenseParams) middleware.Responder

UpdateSITServiceItemCustomerExpenseHandlerFunc turns a function with the right signature into a update s i t service item customer expense handler

func (UpdateSITServiceItemCustomerExpenseHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateSITServiceItemCustomerExpenseInternalServerError

type UpdateSITServiceItemCustomerExpenseInternalServerError struct {

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

UpdateSITServiceItemCustomerExpenseInternalServerError A server error occurred

swagger:response updateSITServiceItemCustomerExpenseInternalServerError

func NewUpdateSITServiceItemCustomerExpenseInternalServerError

func NewUpdateSITServiceItemCustomerExpenseInternalServerError() *UpdateSITServiceItemCustomerExpenseInternalServerError

NewUpdateSITServiceItemCustomerExpenseInternalServerError creates UpdateSITServiceItemCustomerExpenseInternalServerError with default headers values

func (*UpdateSITServiceItemCustomerExpenseInternalServerError) SetPayload

SetPayload sets the payload to the update s i t service item customer expense internal server error response

func (*UpdateSITServiceItemCustomerExpenseInternalServerError) WithPayload

WithPayload adds the payload to the update s i t service item customer expense internal server error response

func (*UpdateSITServiceItemCustomerExpenseInternalServerError) WriteResponse

WriteResponse to the client

type UpdateSITServiceItemCustomerExpenseNotFound

type UpdateSITServiceItemCustomerExpenseNotFound struct {

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

UpdateSITServiceItemCustomerExpenseNotFound The requested resource wasn't found

swagger:response updateSITServiceItemCustomerExpenseNotFound

func NewUpdateSITServiceItemCustomerExpenseNotFound

func NewUpdateSITServiceItemCustomerExpenseNotFound() *UpdateSITServiceItemCustomerExpenseNotFound

NewUpdateSITServiceItemCustomerExpenseNotFound creates UpdateSITServiceItemCustomerExpenseNotFound with default headers values

func (*UpdateSITServiceItemCustomerExpenseNotFound) SetPayload

SetPayload sets the payload to the update s i t service item customer expense not found response

func (*UpdateSITServiceItemCustomerExpenseNotFound) WithPayload

WithPayload adds the payload to the update s i t service item customer expense not found response

func (*UpdateSITServiceItemCustomerExpenseNotFound) WriteResponse

WriteResponse to the client

type UpdateSITServiceItemCustomerExpenseOK

type UpdateSITServiceItemCustomerExpenseOK struct {

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

UpdateSITServiceItemCustomerExpenseOK Successfully converted to customer expense

swagger:response updateSITServiceItemCustomerExpenseOK

func NewUpdateSITServiceItemCustomerExpenseOK

func NewUpdateSITServiceItemCustomerExpenseOK() *UpdateSITServiceItemCustomerExpenseOK

NewUpdateSITServiceItemCustomerExpenseOK creates UpdateSITServiceItemCustomerExpenseOK with default headers values

func (*UpdateSITServiceItemCustomerExpenseOK) SetPayload

SetPayload sets the payload to the update s i t service item customer expense o k response

func (*UpdateSITServiceItemCustomerExpenseOK) WithPayload

WithPayload adds the payload to the update s i t service item customer expense o k response

func (*UpdateSITServiceItemCustomerExpenseOK) WriteResponse

WriteResponse to the client

type UpdateSITServiceItemCustomerExpenseParams

type UpdateSITServiceItemCustomerExpenseParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.UpdateSITServiceItemCustomerExpense
	/*ID of the shipment
	  Required: true
	  In: path
	*/
	ShipmentID strfmt.UUID
}

UpdateSITServiceItemCustomerExpenseParams contains all the bound params for the update s i t service item customer expense operation typically these are obtained from a http.Request

swagger:parameters updateSITServiceItemCustomerExpense

func NewUpdateSITServiceItemCustomerExpenseParams

func NewUpdateSITServiceItemCustomerExpenseParams() UpdateSITServiceItemCustomerExpenseParams

NewUpdateSITServiceItemCustomerExpenseParams creates a new UpdateSITServiceItemCustomerExpenseParams object

There are no default values defined in the spec.

func (*UpdateSITServiceItemCustomerExpenseParams) 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 NewUpdateSITServiceItemCustomerExpenseParams() beforehand.

type UpdateSITServiceItemCustomerExpensePreconditionFailed

type UpdateSITServiceItemCustomerExpensePreconditionFailed struct {

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

UpdateSITServiceItemCustomerExpensePreconditionFailed Precondition failed

swagger:response updateSITServiceItemCustomerExpensePreconditionFailed

func NewUpdateSITServiceItemCustomerExpensePreconditionFailed

func NewUpdateSITServiceItemCustomerExpensePreconditionFailed() *UpdateSITServiceItemCustomerExpensePreconditionFailed

NewUpdateSITServiceItemCustomerExpensePreconditionFailed creates UpdateSITServiceItemCustomerExpensePreconditionFailed with default headers values

func (*UpdateSITServiceItemCustomerExpensePreconditionFailed) SetPayload

SetPayload sets the payload to the update s i t service item customer expense precondition failed response

func (*UpdateSITServiceItemCustomerExpensePreconditionFailed) WithPayload

WithPayload adds the payload to the update s i t service item customer expense precondition failed response

func (*UpdateSITServiceItemCustomerExpensePreconditionFailed) WriteResponse

WriteResponse to the client

type UpdateSITServiceItemCustomerExpenseURL

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

UpdateSITServiceItemCustomerExpenseURL generates an URL for the update s i t service item customer expense operation

func (*UpdateSITServiceItemCustomerExpenseURL) Build

Build a url path and query string

func (*UpdateSITServiceItemCustomerExpenseURL) BuildFull

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

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

func (*UpdateSITServiceItemCustomerExpenseURL) Must

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

func (*UpdateSITServiceItemCustomerExpenseURL) SetBasePath

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 (*UpdateSITServiceItemCustomerExpenseURL) String

String returns the string representation of the path with query string

func (*UpdateSITServiceItemCustomerExpenseURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateSITServiceItemCustomerExpenseURL) 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 UpdateSITServiceItemCustomerExpenseUnprocessableEntity

type UpdateSITServiceItemCustomerExpenseUnprocessableEntity struct {

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

UpdateSITServiceItemCustomerExpenseUnprocessableEntity The payload was unprocessable.

swagger:response updateSITServiceItemCustomerExpenseUnprocessableEntity

func NewUpdateSITServiceItemCustomerExpenseUnprocessableEntity

func NewUpdateSITServiceItemCustomerExpenseUnprocessableEntity() *UpdateSITServiceItemCustomerExpenseUnprocessableEntity

NewUpdateSITServiceItemCustomerExpenseUnprocessableEntity creates UpdateSITServiceItemCustomerExpenseUnprocessableEntity with default headers values

func (*UpdateSITServiceItemCustomerExpenseUnprocessableEntity) SetPayload

SetPayload sets the payload to the update s i t service item customer expense unprocessable entity response

func (*UpdateSITServiceItemCustomerExpenseUnprocessableEntity) WithPayload

WithPayload adds the payload to the update s i t service item customer expense unprocessable entity response

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