order

package
v0.0.0-...-c486877 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const AcknowledgeExcessWeightRiskForbiddenCode int = 403

AcknowledgeExcessWeightRiskForbiddenCode is the HTTP code returned for type AcknowledgeExcessWeightRiskForbidden

View Source
const AcknowledgeExcessWeightRiskInternalServerErrorCode int = 500

AcknowledgeExcessWeightRiskInternalServerErrorCode is the HTTP code returned for type AcknowledgeExcessWeightRiskInternalServerError

View Source
const AcknowledgeExcessWeightRiskNotFoundCode int = 404

AcknowledgeExcessWeightRiskNotFoundCode is the HTTP code returned for type AcknowledgeExcessWeightRiskNotFound

View Source
const AcknowledgeExcessWeightRiskOKCode int = 200

AcknowledgeExcessWeightRiskOKCode is the HTTP code returned for type AcknowledgeExcessWeightRiskOK

View Source
const AcknowledgeExcessWeightRiskPreconditionFailedCode int = 412

AcknowledgeExcessWeightRiskPreconditionFailedCode is the HTTP code returned for type AcknowledgeExcessWeightRiskPreconditionFailed

View Source
const AcknowledgeExcessWeightRiskUnprocessableEntityCode int = 422

AcknowledgeExcessWeightRiskUnprocessableEntityCode is the HTTP code returned for type AcknowledgeExcessWeightRiskUnprocessableEntity

View Source
const CounselingUpdateAllowanceForbiddenCode int = 403

CounselingUpdateAllowanceForbiddenCode is the HTTP code returned for type CounselingUpdateAllowanceForbidden

View Source
const CounselingUpdateAllowanceInternalServerErrorCode int = 500

CounselingUpdateAllowanceInternalServerErrorCode is the HTTP code returned for type CounselingUpdateAllowanceInternalServerError

View Source
const CounselingUpdateAllowanceNotFoundCode int = 404

CounselingUpdateAllowanceNotFoundCode is the HTTP code returned for type CounselingUpdateAllowanceNotFound

View Source
const CounselingUpdateAllowanceOKCode int = 200

CounselingUpdateAllowanceOKCode is the HTTP code returned for type CounselingUpdateAllowanceOK

View Source
const CounselingUpdateAllowancePreconditionFailedCode int = 412

CounselingUpdateAllowancePreconditionFailedCode is the HTTP code returned for type CounselingUpdateAllowancePreconditionFailed

View Source
const CounselingUpdateAllowanceUnprocessableEntityCode int = 422

CounselingUpdateAllowanceUnprocessableEntityCode is the HTTP code returned for type CounselingUpdateAllowanceUnprocessableEntity

View Source
const CounselingUpdateOrderForbiddenCode int = 403

CounselingUpdateOrderForbiddenCode is the HTTP code returned for type CounselingUpdateOrderForbidden

View Source
const CounselingUpdateOrderInternalServerErrorCode int = 500

CounselingUpdateOrderInternalServerErrorCode is the HTTP code returned for type CounselingUpdateOrderInternalServerError

View Source
const CounselingUpdateOrderNotFoundCode int = 404

CounselingUpdateOrderNotFoundCode is the HTTP code returned for type CounselingUpdateOrderNotFound

View Source
const CounselingUpdateOrderOKCode int = 200

CounselingUpdateOrderOKCode is the HTTP code returned for type CounselingUpdateOrderOK

View Source
const CounselingUpdateOrderPreconditionFailedCode int = 412

CounselingUpdateOrderPreconditionFailedCode is the HTTP code returned for type CounselingUpdateOrderPreconditionFailed

View Source
const CounselingUpdateOrderUnprocessableEntityCode int = 422

CounselingUpdateOrderUnprocessableEntityCode is the HTTP code returned for type CounselingUpdateOrderUnprocessableEntity

View Source
const CreateOrderBadRequestCode int = 400

CreateOrderBadRequestCode is the HTTP code returned for type CreateOrderBadRequest

View Source
const CreateOrderForbiddenCode int = 403

CreateOrderForbiddenCode is the HTTP code returned for type CreateOrderForbidden

View Source
const CreateOrderInternalServerErrorCode int = 500

CreateOrderInternalServerErrorCode is the HTTP code returned for type CreateOrderInternalServerError

View Source
const CreateOrderOKCode int = 200

CreateOrderOKCode is the HTTP code returned for type CreateOrderOK

View Source
const CreateOrderUnauthorizedCode int = 401

CreateOrderUnauthorizedCode is the HTTP code returned for type CreateOrderUnauthorized

View Source
const CreateOrderUnprocessableEntityCode int = 422

CreateOrderUnprocessableEntityCode is the HTTP code returned for type CreateOrderUnprocessableEntity

View Source
const GetOrderBadRequestCode int = 400

GetOrderBadRequestCode is the HTTP code returned for type GetOrderBadRequest

View Source
const GetOrderForbiddenCode int = 403

GetOrderForbiddenCode is the HTTP code returned for type GetOrderForbidden

View Source
const GetOrderInternalServerErrorCode int = 500

GetOrderInternalServerErrorCode is the HTTP code returned for type GetOrderInternalServerError

View Source
const GetOrderNotFoundCode int = 404

GetOrderNotFoundCode is the HTTP code returned for type GetOrderNotFound

View Source
const GetOrderOKCode int = 200

GetOrderOKCode is the HTTP code returned for type GetOrderOK

View Source
const GetOrderUnauthorizedCode int = 401

GetOrderUnauthorizedCode is the HTTP code returned for type GetOrderUnauthorized

View Source
const UpdateAllowanceForbiddenCode int = 403

UpdateAllowanceForbiddenCode is the HTTP code returned for type UpdateAllowanceForbidden

View Source
const UpdateAllowanceInternalServerErrorCode int = 500

UpdateAllowanceInternalServerErrorCode is the HTTP code returned for type UpdateAllowanceInternalServerError

View Source
const UpdateAllowanceNotFoundCode int = 404

UpdateAllowanceNotFoundCode is the HTTP code returned for type UpdateAllowanceNotFound

View Source
const UpdateAllowanceOKCode int = 200

UpdateAllowanceOKCode is the HTTP code returned for type UpdateAllowanceOK

View Source
const UpdateAllowancePreconditionFailedCode int = 412

UpdateAllowancePreconditionFailedCode is the HTTP code returned for type UpdateAllowancePreconditionFailed

View Source
const UpdateAllowanceUnprocessableEntityCode int = 422

UpdateAllowanceUnprocessableEntityCode is the HTTP code returned for type UpdateAllowanceUnprocessableEntity

View Source
const UpdateBillableWeightForbiddenCode int = 403

UpdateBillableWeightForbiddenCode is the HTTP code returned for type UpdateBillableWeightForbidden

View Source
const UpdateBillableWeightInternalServerErrorCode int = 500

UpdateBillableWeightInternalServerErrorCode is the HTTP code returned for type UpdateBillableWeightInternalServerError

View Source
const UpdateBillableWeightNotFoundCode int = 404

UpdateBillableWeightNotFoundCode is the HTTP code returned for type UpdateBillableWeightNotFound

View Source
const UpdateBillableWeightOKCode int = 200

UpdateBillableWeightOKCode is the HTTP code returned for type UpdateBillableWeightOK

View Source
const UpdateBillableWeightPreconditionFailedCode int = 412

UpdateBillableWeightPreconditionFailedCode is the HTTP code returned for type UpdateBillableWeightPreconditionFailed

View Source
const UpdateBillableWeightUnprocessableEntityCode int = 422

UpdateBillableWeightUnprocessableEntityCode is the HTTP code returned for type UpdateBillableWeightUnprocessableEntity

View Source
const UpdateMaxBillableWeightAsTIOForbiddenCode int = 403

UpdateMaxBillableWeightAsTIOForbiddenCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOForbidden

View Source
const UpdateMaxBillableWeightAsTIOInternalServerErrorCode int = 500

UpdateMaxBillableWeightAsTIOInternalServerErrorCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOInternalServerError

View Source
const UpdateMaxBillableWeightAsTIONotFoundCode int = 404

UpdateMaxBillableWeightAsTIONotFoundCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIONotFound

View Source
const UpdateMaxBillableWeightAsTIOOKCode int = 200

UpdateMaxBillableWeightAsTIOOKCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOOK

View Source
const UpdateMaxBillableWeightAsTIOPreconditionFailedCode int = 412

UpdateMaxBillableWeightAsTIOPreconditionFailedCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOPreconditionFailed

View Source
const UpdateMaxBillableWeightAsTIOUnprocessableEntityCode int = 422

UpdateMaxBillableWeightAsTIOUnprocessableEntityCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOUnprocessableEntity

View Source
const UpdateOrderBadRequestCode int = 400

UpdateOrderBadRequestCode is the HTTP code returned for type UpdateOrderBadRequest

View Source
const UpdateOrderConflictCode int = 409

UpdateOrderConflictCode is the HTTP code returned for type UpdateOrderConflict

View Source
const UpdateOrderForbiddenCode int = 403

UpdateOrderForbiddenCode is the HTTP code returned for type UpdateOrderForbidden

View Source
const UpdateOrderInternalServerErrorCode int = 500

UpdateOrderInternalServerErrorCode is the HTTP code returned for type UpdateOrderInternalServerError

View Source
const UpdateOrderNotFoundCode int = 404

UpdateOrderNotFoundCode is the HTTP code returned for type UpdateOrderNotFound

View Source
const UpdateOrderOKCode int = 200

UpdateOrderOKCode is the HTTP code returned for type UpdateOrderOK

View Source
const UpdateOrderPreconditionFailedCode int = 412

UpdateOrderPreconditionFailedCode is the HTTP code returned for type UpdateOrderPreconditionFailed

View Source
const UpdateOrderUnprocessableEntityCode int = 422

UpdateOrderUnprocessableEntityCode is the HTTP code returned for type UpdateOrderUnprocessableEntity

View Source
const UploadAmendedOrdersBadRequestCode int = 400

UploadAmendedOrdersBadRequestCode is the HTTP code returned for type UploadAmendedOrdersBadRequest

View Source
const UploadAmendedOrdersCreatedCode int = 201

UploadAmendedOrdersCreatedCode is the HTTP code returned for type UploadAmendedOrdersCreated

View Source
const UploadAmendedOrdersForbiddenCode int = 403

UploadAmendedOrdersForbiddenCode is the HTTP code returned for type UploadAmendedOrdersForbidden

View Source
const UploadAmendedOrdersInternalServerErrorCode int = 500

UploadAmendedOrdersInternalServerErrorCode is the HTTP code returned for type UploadAmendedOrdersInternalServerError

View Source
const UploadAmendedOrdersNotFoundCode int = 404

UploadAmendedOrdersNotFoundCode is the HTTP code returned for type UploadAmendedOrdersNotFound

View Source
const UploadAmendedOrdersRequestEntityTooLargeCode int = 413

UploadAmendedOrdersRequestEntityTooLargeCode is the HTTP code returned for type UploadAmendedOrdersRequestEntityTooLarge

Variables

View Source
var UploadAmendedOrdersMaxParseMemory int64 = 32 << 20

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

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

Functions

This section is empty.

Types

type AcknowledgeExcessWeightRisk

type AcknowledgeExcessWeightRisk struct {
	Context *middleware.Context
	Handler AcknowledgeExcessWeightRiskHandler
}
AcknowledgeExcessWeightRisk swagger:route POST /orders/{orderID}/acknowledge-excess-weight-risk order acknowledgeExcessWeightRisk

Saves the date and time a TOO acknowledged the excess weight risk by dismissing the alert

Saves the date and time a TOO acknowledged the excess weight risk by dismissing the alert

func NewAcknowledgeExcessWeightRisk

func NewAcknowledgeExcessWeightRisk(ctx *middleware.Context, handler AcknowledgeExcessWeightRiskHandler) *AcknowledgeExcessWeightRisk

NewAcknowledgeExcessWeightRisk creates a new http.Handler for the acknowledge excess weight risk operation

func (*AcknowledgeExcessWeightRisk) ServeHTTP

type AcknowledgeExcessWeightRiskForbidden

type AcknowledgeExcessWeightRiskForbidden struct {

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

AcknowledgeExcessWeightRiskForbidden The request was denied

swagger:response acknowledgeExcessWeightRiskForbidden

func NewAcknowledgeExcessWeightRiskForbidden

func NewAcknowledgeExcessWeightRiskForbidden() *AcknowledgeExcessWeightRiskForbidden

NewAcknowledgeExcessWeightRiskForbidden creates AcknowledgeExcessWeightRiskForbidden with default headers values

func (*AcknowledgeExcessWeightRiskForbidden) SetPayload

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

SetPayload sets the payload to the acknowledge excess weight risk forbidden response

func (*AcknowledgeExcessWeightRiskForbidden) WithPayload

WithPayload adds the payload to the acknowledge excess weight risk forbidden response

func (*AcknowledgeExcessWeightRiskForbidden) WriteResponse

WriteResponse to the client

type AcknowledgeExcessWeightRiskHandler

type AcknowledgeExcessWeightRiskHandler interface {
	Handle(AcknowledgeExcessWeightRiskParams) middleware.Responder
}

AcknowledgeExcessWeightRiskHandler interface for that can handle valid acknowledge excess weight risk params

type AcknowledgeExcessWeightRiskHandlerFunc

type AcknowledgeExcessWeightRiskHandlerFunc func(AcknowledgeExcessWeightRiskParams) middleware.Responder

AcknowledgeExcessWeightRiskHandlerFunc turns a function with the right signature into a acknowledge excess weight risk handler

func (AcknowledgeExcessWeightRiskHandlerFunc) Handle

Handle executing the request and returning a response

type AcknowledgeExcessWeightRiskInternalServerError

type AcknowledgeExcessWeightRiskInternalServerError struct {

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

AcknowledgeExcessWeightRiskInternalServerError A server error occurred

swagger:response acknowledgeExcessWeightRiskInternalServerError

func NewAcknowledgeExcessWeightRiskInternalServerError

func NewAcknowledgeExcessWeightRiskInternalServerError() *AcknowledgeExcessWeightRiskInternalServerError

NewAcknowledgeExcessWeightRiskInternalServerError creates AcknowledgeExcessWeightRiskInternalServerError with default headers values

func (*AcknowledgeExcessWeightRiskInternalServerError) SetPayload

SetPayload sets the payload to the acknowledge excess weight risk internal server error response

func (*AcknowledgeExcessWeightRiskInternalServerError) WithPayload

WithPayload adds the payload to the acknowledge excess weight risk internal server error response

func (*AcknowledgeExcessWeightRiskInternalServerError) WriteResponse

WriteResponse to the client

type AcknowledgeExcessWeightRiskNotFound

type AcknowledgeExcessWeightRiskNotFound struct {

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

AcknowledgeExcessWeightRiskNotFound The requested resource wasn't found

swagger:response acknowledgeExcessWeightRiskNotFound

func NewAcknowledgeExcessWeightRiskNotFound

func NewAcknowledgeExcessWeightRiskNotFound() *AcknowledgeExcessWeightRiskNotFound

NewAcknowledgeExcessWeightRiskNotFound creates AcknowledgeExcessWeightRiskNotFound with default headers values

func (*AcknowledgeExcessWeightRiskNotFound) SetPayload

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

SetPayload sets the payload to the acknowledge excess weight risk not found response

func (*AcknowledgeExcessWeightRiskNotFound) WithPayload

WithPayload adds the payload to the acknowledge excess weight risk not found response

func (*AcknowledgeExcessWeightRiskNotFound) WriteResponse

WriteResponse to the client

type AcknowledgeExcessWeightRiskOK

type AcknowledgeExcessWeightRiskOK struct {

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

AcknowledgeExcessWeightRiskOK updated Move

swagger:response acknowledgeExcessWeightRiskOK

func NewAcknowledgeExcessWeightRiskOK

func NewAcknowledgeExcessWeightRiskOK() *AcknowledgeExcessWeightRiskOK

NewAcknowledgeExcessWeightRiskOK creates AcknowledgeExcessWeightRiskOK with default headers values

func (*AcknowledgeExcessWeightRiskOK) SetPayload

func (o *AcknowledgeExcessWeightRiskOK) SetPayload(payload *ghcmessages.Move)

SetPayload sets the payload to the acknowledge excess weight risk o k response

func (*AcknowledgeExcessWeightRiskOK) WithPayload

WithPayload adds the payload to the acknowledge excess weight risk o k response

func (*AcknowledgeExcessWeightRiskOK) WriteResponse

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

WriteResponse to the client

type AcknowledgeExcessWeightRiskParams

type AcknowledgeExcessWeightRiskParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*ID of order to use
	  Required: true
	  In: path
	*/
	OrderID strfmt.UUID
}

AcknowledgeExcessWeightRiskParams contains all the bound params for the acknowledge excess weight risk operation typically these are obtained from a http.Request

swagger:parameters acknowledgeExcessWeightRisk

func NewAcknowledgeExcessWeightRiskParams

func NewAcknowledgeExcessWeightRiskParams() AcknowledgeExcessWeightRiskParams

NewAcknowledgeExcessWeightRiskParams creates a new AcknowledgeExcessWeightRiskParams object

There are no default values defined in the spec.

func (*AcknowledgeExcessWeightRiskParams) 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 NewAcknowledgeExcessWeightRiskParams() beforehand.

type AcknowledgeExcessWeightRiskPreconditionFailed

type AcknowledgeExcessWeightRiskPreconditionFailed struct {

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

AcknowledgeExcessWeightRiskPreconditionFailed Precondition failed

swagger:response acknowledgeExcessWeightRiskPreconditionFailed

func NewAcknowledgeExcessWeightRiskPreconditionFailed

func NewAcknowledgeExcessWeightRiskPreconditionFailed() *AcknowledgeExcessWeightRiskPreconditionFailed

NewAcknowledgeExcessWeightRiskPreconditionFailed creates AcknowledgeExcessWeightRiskPreconditionFailed with default headers values

func (*AcknowledgeExcessWeightRiskPreconditionFailed) SetPayload

SetPayload sets the payload to the acknowledge excess weight risk precondition failed response

func (*AcknowledgeExcessWeightRiskPreconditionFailed) WithPayload

WithPayload adds the payload to the acknowledge excess weight risk precondition failed response

func (*AcknowledgeExcessWeightRiskPreconditionFailed) WriteResponse

WriteResponse to the client

type AcknowledgeExcessWeightRiskURL

type AcknowledgeExcessWeightRiskURL struct {
	OrderID strfmt.UUID
	// contains filtered or unexported fields
}

AcknowledgeExcessWeightRiskURL generates an URL for the acknowledge excess weight risk operation

func (*AcknowledgeExcessWeightRiskURL) Build

Build a url path and query string

func (*AcknowledgeExcessWeightRiskURL) BuildFull

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

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

func (*AcknowledgeExcessWeightRiskURL) Must

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

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

func (*AcknowledgeExcessWeightRiskURL) SetBasePath

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

String returns the string representation of the path with query string

func (*AcknowledgeExcessWeightRiskURL) StringFull

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

StringFull returns the string representation of a complete url

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

type AcknowledgeExcessWeightRiskUnprocessableEntity struct {

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

AcknowledgeExcessWeightRiskUnprocessableEntity The payload was unprocessable.

swagger:response acknowledgeExcessWeightRiskUnprocessableEntity

func NewAcknowledgeExcessWeightRiskUnprocessableEntity

func NewAcknowledgeExcessWeightRiskUnprocessableEntity() *AcknowledgeExcessWeightRiskUnprocessableEntity

NewAcknowledgeExcessWeightRiskUnprocessableEntity creates AcknowledgeExcessWeightRiskUnprocessableEntity with default headers values

func (*AcknowledgeExcessWeightRiskUnprocessableEntity) SetPayload

SetPayload sets the payload to the acknowledge excess weight risk unprocessable entity response

func (*AcknowledgeExcessWeightRiskUnprocessableEntity) WithPayload

WithPayload adds the payload to the acknowledge excess weight risk unprocessable entity response

func (*AcknowledgeExcessWeightRiskUnprocessableEntity) WriteResponse

WriteResponse to the client

type CounselingUpdateAllowance

type CounselingUpdateAllowance struct {
	Context *middleware.Context
	Handler CounselingUpdateAllowanceHandler
}
CounselingUpdateAllowance swagger:route PATCH /counseling/orders/{orderID}/allowances order counselingUpdateAllowance

Updates an allowance (Orders with Entitlements)

All fields sent in this request will be set on the order referenced

func NewCounselingUpdateAllowance

func NewCounselingUpdateAllowance(ctx *middleware.Context, handler CounselingUpdateAllowanceHandler) *CounselingUpdateAllowance

NewCounselingUpdateAllowance creates a new http.Handler for the counseling update allowance operation

func (*CounselingUpdateAllowance) ServeHTTP

type CounselingUpdateAllowanceForbidden

type CounselingUpdateAllowanceForbidden struct {

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

CounselingUpdateAllowanceForbidden The request was denied

swagger:response counselingUpdateAllowanceForbidden

func NewCounselingUpdateAllowanceForbidden

func NewCounselingUpdateAllowanceForbidden() *CounselingUpdateAllowanceForbidden

NewCounselingUpdateAllowanceForbidden creates CounselingUpdateAllowanceForbidden with default headers values

func (*CounselingUpdateAllowanceForbidden) SetPayload

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

SetPayload sets the payload to the counseling update allowance forbidden response

func (*CounselingUpdateAllowanceForbidden) WithPayload

WithPayload adds the payload to the counseling update allowance forbidden response

func (*CounselingUpdateAllowanceForbidden) WriteResponse

WriteResponse to the client

type CounselingUpdateAllowanceHandler

type CounselingUpdateAllowanceHandler interface {
	Handle(CounselingUpdateAllowanceParams) middleware.Responder
}

CounselingUpdateAllowanceHandler interface for that can handle valid counseling update allowance params

type CounselingUpdateAllowanceHandlerFunc

type CounselingUpdateAllowanceHandlerFunc func(CounselingUpdateAllowanceParams) middleware.Responder

CounselingUpdateAllowanceHandlerFunc turns a function with the right signature into a counseling update allowance handler

func (CounselingUpdateAllowanceHandlerFunc) Handle

Handle executing the request and returning a response

type CounselingUpdateAllowanceInternalServerError

type CounselingUpdateAllowanceInternalServerError struct {

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

CounselingUpdateAllowanceInternalServerError A server error occurred

swagger:response counselingUpdateAllowanceInternalServerError

func NewCounselingUpdateAllowanceInternalServerError

func NewCounselingUpdateAllowanceInternalServerError() *CounselingUpdateAllowanceInternalServerError

NewCounselingUpdateAllowanceInternalServerError creates CounselingUpdateAllowanceInternalServerError with default headers values

func (*CounselingUpdateAllowanceInternalServerError) SetPayload

SetPayload sets the payload to the counseling update allowance internal server error response

func (*CounselingUpdateAllowanceInternalServerError) WithPayload

WithPayload adds the payload to the counseling update allowance internal server error response

func (*CounselingUpdateAllowanceInternalServerError) WriteResponse

WriteResponse to the client

type CounselingUpdateAllowanceNotFound

type CounselingUpdateAllowanceNotFound struct {

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

CounselingUpdateAllowanceNotFound The requested resource wasn't found

swagger:response counselingUpdateAllowanceNotFound

func NewCounselingUpdateAllowanceNotFound

func NewCounselingUpdateAllowanceNotFound() *CounselingUpdateAllowanceNotFound

NewCounselingUpdateAllowanceNotFound creates CounselingUpdateAllowanceNotFound with default headers values

func (*CounselingUpdateAllowanceNotFound) SetPayload

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

SetPayload sets the payload to the counseling update allowance not found response

func (*CounselingUpdateAllowanceNotFound) WithPayload

WithPayload adds the payload to the counseling update allowance not found response

func (*CounselingUpdateAllowanceNotFound) WriteResponse

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

WriteResponse to the client

type CounselingUpdateAllowanceOK

type CounselingUpdateAllowanceOK struct {

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

CounselingUpdateAllowanceOK updated instance of allowance

swagger:response counselingUpdateAllowanceOK

func NewCounselingUpdateAllowanceOK

func NewCounselingUpdateAllowanceOK() *CounselingUpdateAllowanceOK

NewCounselingUpdateAllowanceOK creates CounselingUpdateAllowanceOK with default headers values

func (*CounselingUpdateAllowanceOK) SetPayload

func (o *CounselingUpdateAllowanceOK) SetPayload(payload *ghcmessages.Order)

SetPayload sets the payload to the counseling update allowance o k response

func (*CounselingUpdateAllowanceOK) WithPayload

WithPayload adds the payload to the counseling update allowance o k response

func (*CounselingUpdateAllowanceOK) WriteResponse

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

WriteResponse to the client

type CounselingUpdateAllowanceParams

type CounselingUpdateAllowanceParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.CounselingUpdateAllowancePayload
	/*ID of order to use
	  Required: true
	  In: path
	*/
	OrderID strfmt.UUID
}

CounselingUpdateAllowanceParams contains all the bound params for the counseling update allowance operation typically these are obtained from a http.Request

swagger:parameters counselingUpdateAllowance

func NewCounselingUpdateAllowanceParams

func NewCounselingUpdateAllowanceParams() CounselingUpdateAllowanceParams

NewCounselingUpdateAllowanceParams creates a new CounselingUpdateAllowanceParams object

There are no default values defined in the spec.

func (*CounselingUpdateAllowanceParams) 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 NewCounselingUpdateAllowanceParams() beforehand.

type CounselingUpdateAllowancePreconditionFailed

type CounselingUpdateAllowancePreconditionFailed struct {

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

CounselingUpdateAllowancePreconditionFailed Precondition failed

swagger:response counselingUpdateAllowancePreconditionFailed

func NewCounselingUpdateAllowancePreconditionFailed

func NewCounselingUpdateAllowancePreconditionFailed() *CounselingUpdateAllowancePreconditionFailed

NewCounselingUpdateAllowancePreconditionFailed creates CounselingUpdateAllowancePreconditionFailed with default headers values

func (*CounselingUpdateAllowancePreconditionFailed) SetPayload

SetPayload sets the payload to the counseling update allowance precondition failed response

func (*CounselingUpdateAllowancePreconditionFailed) WithPayload

WithPayload adds the payload to the counseling update allowance precondition failed response

func (*CounselingUpdateAllowancePreconditionFailed) WriteResponse

WriteResponse to the client

type CounselingUpdateAllowanceURL

type CounselingUpdateAllowanceURL struct {
	OrderID strfmt.UUID
	// contains filtered or unexported fields
}

CounselingUpdateAllowanceURL generates an URL for the counseling update allowance operation

func (*CounselingUpdateAllowanceURL) Build

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

Build a url path and query string

func (*CounselingUpdateAllowanceURL) BuildFull

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

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

func (*CounselingUpdateAllowanceURL) Must

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

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

func (*CounselingUpdateAllowanceURL) SetBasePath

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

String returns the string representation of the path with query string

func (*CounselingUpdateAllowanceURL) StringFull

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

StringFull returns the string representation of a complete url

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

type CounselingUpdateAllowanceUnprocessableEntity struct {

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

CounselingUpdateAllowanceUnprocessableEntity The payload was unprocessable.

swagger:response counselingUpdateAllowanceUnprocessableEntity

func NewCounselingUpdateAllowanceUnprocessableEntity

func NewCounselingUpdateAllowanceUnprocessableEntity() *CounselingUpdateAllowanceUnprocessableEntity

NewCounselingUpdateAllowanceUnprocessableEntity creates CounselingUpdateAllowanceUnprocessableEntity with default headers values

func (*CounselingUpdateAllowanceUnprocessableEntity) SetPayload

SetPayload sets the payload to the counseling update allowance unprocessable entity response

func (*CounselingUpdateAllowanceUnprocessableEntity) WithPayload

WithPayload adds the payload to the counseling update allowance unprocessable entity response

func (*CounselingUpdateAllowanceUnprocessableEntity) WriteResponse

WriteResponse to the client

type CounselingUpdateOrder

type CounselingUpdateOrder struct {
	Context *middleware.Context
	Handler CounselingUpdateOrderHandler
}
CounselingUpdateOrder swagger:route PATCH /counseling/orders/{orderID} order counselingUpdateOrder

Updates an order (performed by a services counselor)

All fields sent in this request will be set on the order referenced

func NewCounselingUpdateOrder

func NewCounselingUpdateOrder(ctx *middleware.Context, handler CounselingUpdateOrderHandler) *CounselingUpdateOrder

NewCounselingUpdateOrder creates a new http.Handler for the counseling update order operation

func (*CounselingUpdateOrder) ServeHTTP

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

type CounselingUpdateOrderForbidden

type CounselingUpdateOrderForbidden struct {

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

CounselingUpdateOrderForbidden The request was denied

swagger:response counselingUpdateOrderForbidden

func NewCounselingUpdateOrderForbidden

func NewCounselingUpdateOrderForbidden() *CounselingUpdateOrderForbidden

NewCounselingUpdateOrderForbidden creates CounselingUpdateOrderForbidden with default headers values

func (*CounselingUpdateOrderForbidden) SetPayload

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

SetPayload sets the payload to the counseling update order forbidden response

func (*CounselingUpdateOrderForbidden) WithPayload

WithPayload adds the payload to the counseling update order forbidden response

func (*CounselingUpdateOrderForbidden) WriteResponse

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

WriteResponse to the client

type CounselingUpdateOrderHandler

type CounselingUpdateOrderHandler interface {
	Handle(CounselingUpdateOrderParams) middleware.Responder
}

CounselingUpdateOrderHandler interface for that can handle valid counseling update order params

type CounselingUpdateOrderHandlerFunc

type CounselingUpdateOrderHandlerFunc func(CounselingUpdateOrderParams) middleware.Responder

CounselingUpdateOrderHandlerFunc turns a function with the right signature into a counseling update order handler

func (CounselingUpdateOrderHandlerFunc) Handle

Handle executing the request and returning a response

type CounselingUpdateOrderInternalServerError

type CounselingUpdateOrderInternalServerError struct {

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

CounselingUpdateOrderInternalServerError A server error occurred

swagger:response counselingUpdateOrderInternalServerError

func NewCounselingUpdateOrderInternalServerError

func NewCounselingUpdateOrderInternalServerError() *CounselingUpdateOrderInternalServerError

NewCounselingUpdateOrderInternalServerError creates CounselingUpdateOrderInternalServerError with default headers values

func (*CounselingUpdateOrderInternalServerError) SetPayload

SetPayload sets the payload to the counseling update order internal server error response

func (*CounselingUpdateOrderInternalServerError) WithPayload

WithPayload adds the payload to the counseling update order internal server error response

func (*CounselingUpdateOrderInternalServerError) WriteResponse

WriteResponse to the client

type CounselingUpdateOrderNotFound

type CounselingUpdateOrderNotFound struct {

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

CounselingUpdateOrderNotFound The requested resource wasn't found

swagger:response counselingUpdateOrderNotFound

func NewCounselingUpdateOrderNotFound

func NewCounselingUpdateOrderNotFound() *CounselingUpdateOrderNotFound

NewCounselingUpdateOrderNotFound creates CounselingUpdateOrderNotFound with default headers values

func (*CounselingUpdateOrderNotFound) SetPayload

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

SetPayload sets the payload to the counseling update order not found response

func (*CounselingUpdateOrderNotFound) WithPayload

WithPayload adds the payload to the counseling update order not found response

func (*CounselingUpdateOrderNotFound) WriteResponse

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

WriteResponse to the client

type CounselingUpdateOrderOK

type CounselingUpdateOrderOK struct {

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

CounselingUpdateOrderOK updated instance of orders

swagger:response counselingUpdateOrderOK

func NewCounselingUpdateOrderOK

func NewCounselingUpdateOrderOK() *CounselingUpdateOrderOK

NewCounselingUpdateOrderOK creates CounselingUpdateOrderOK with default headers values

func (*CounselingUpdateOrderOK) SetPayload

func (o *CounselingUpdateOrderOK) SetPayload(payload *ghcmessages.Order)

SetPayload sets the payload to the counseling update order o k response

func (*CounselingUpdateOrderOK) WithPayload

WithPayload adds the payload to the counseling update order o k response

func (*CounselingUpdateOrderOK) WriteResponse

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

WriteResponse to the client

type CounselingUpdateOrderParams

type CounselingUpdateOrderParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.CounselingUpdateOrderPayload
	/*ID of order to update
	  Required: true
	  In: path
	*/
	OrderID strfmt.UUID
}

CounselingUpdateOrderParams contains all the bound params for the counseling update order operation typically these are obtained from a http.Request

swagger:parameters counselingUpdateOrder

func NewCounselingUpdateOrderParams

func NewCounselingUpdateOrderParams() CounselingUpdateOrderParams

NewCounselingUpdateOrderParams creates a new CounselingUpdateOrderParams object

There are no default values defined in the spec.

func (*CounselingUpdateOrderParams) 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 NewCounselingUpdateOrderParams() beforehand.

type CounselingUpdateOrderPreconditionFailed

type CounselingUpdateOrderPreconditionFailed struct {

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

CounselingUpdateOrderPreconditionFailed Precondition failed

swagger:response counselingUpdateOrderPreconditionFailed

func NewCounselingUpdateOrderPreconditionFailed

func NewCounselingUpdateOrderPreconditionFailed() *CounselingUpdateOrderPreconditionFailed

NewCounselingUpdateOrderPreconditionFailed creates CounselingUpdateOrderPreconditionFailed with default headers values

func (*CounselingUpdateOrderPreconditionFailed) SetPayload

SetPayload sets the payload to the counseling update order precondition failed response

func (*CounselingUpdateOrderPreconditionFailed) WithPayload

WithPayload adds the payload to the counseling update order precondition failed response

func (*CounselingUpdateOrderPreconditionFailed) WriteResponse

WriteResponse to the client

type CounselingUpdateOrderURL

type CounselingUpdateOrderURL struct {
	OrderID strfmt.UUID
	// contains filtered or unexported fields
}

CounselingUpdateOrderURL generates an URL for the counseling update order operation

func (*CounselingUpdateOrderURL) Build

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

Build a url path and query string

func (*CounselingUpdateOrderURL) BuildFull

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

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

func (*CounselingUpdateOrderURL) Must

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

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

func (*CounselingUpdateOrderURL) SetBasePath

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

func (o *CounselingUpdateOrderURL) String() string

String returns the string representation of the path with query string

func (*CounselingUpdateOrderURL) StringFull

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

StringFull returns the string representation of a complete url

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

type CounselingUpdateOrderUnprocessableEntity struct {

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

CounselingUpdateOrderUnprocessableEntity The payload was unprocessable.

swagger:response counselingUpdateOrderUnprocessableEntity

func NewCounselingUpdateOrderUnprocessableEntity

func NewCounselingUpdateOrderUnprocessableEntity() *CounselingUpdateOrderUnprocessableEntity

NewCounselingUpdateOrderUnprocessableEntity creates CounselingUpdateOrderUnprocessableEntity with default headers values

func (*CounselingUpdateOrderUnprocessableEntity) SetPayload

SetPayload sets the payload to the counseling update order unprocessable entity response

func (*CounselingUpdateOrderUnprocessableEntity) WithPayload

WithPayload adds the payload to the counseling update order unprocessable entity response

func (*CounselingUpdateOrderUnprocessableEntity) WriteResponse

WriteResponse to the client

type CreateOrder

type CreateOrder struct {
	Context *middleware.Context
	Handler CreateOrderHandler
}
CreateOrder swagger:route POST /orders order createOrder

Creates an orders model for a logged-in user

Creates an instance of orders tied to a service member, which allow for creation of a move and an entitlement. Orders are required before the creation of a move

func NewCreateOrder

func NewCreateOrder(ctx *middleware.Context, handler CreateOrderHandler) *CreateOrder

NewCreateOrder creates a new http.Handler for the create order operation

func (*CreateOrder) ServeHTTP

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

type CreateOrderBadRequest

type CreateOrderBadRequest struct {
}

CreateOrderBadRequest invalid request

swagger:response createOrderBadRequest

func NewCreateOrderBadRequest

func NewCreateOrderBadRequest() *CreateOrderBadRequest

NewCreateOrderBadRequest creates CreateOrderBadRequest with default headers values

func (*CreateOrderBadRequest) WriteResponse

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

WriteResponse to the client

type CreateOrderForbidden

type CreateOrderForbidden struct {
}

CreateOrderForbidden user is not authorized

swagger:response createOrderForbidden

func NewCreateOrderForbidden

func NewCreateOrderForbidden() *CreateOrderForbidden

NewCreateOrderForbidden creates CreateOrderForbidden with default headers values

func (*CreateOrderForbidden) WriteResponse

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

WriteResponse to the client

type CreateOrderHandler

type CreateOrderHandler interface {
	Handle(CreateOrderParams) middleware.Responder
}

CreateOrderHandler interface for that can handle valid create order params

type CreateOrderHandlerFunc

type CreateOrderHandlerFunc func(CreateOrderParams) middleware.Responder

CreateOrderHandlerFunc turns a function with the right signature into a create order handler

func (CreateOrderHandlerFunc) Handle

Handle executing the request and returning a response

type CreateOrderInternalServerError

type CreateOrderInternalServerError struct {
}

CreateOrderInternalServerError internal server error

swagger:response createOrderInternalServerError

func NewCreateOrderInternalServerError

func NewCreateOrderInternalServerError() *CreateOrderInternalServerError

NewCreateOrderInternalServerError creates CreateOrderInternalServerError with default headers values

func (*CreateOrderInternalServerError) WriteResponse

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

WriteResponse to the client

type CreateOrderOK

type CreateOrderOK struct {

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

CreateOrderOK created instance of orders

swagger:response createOrderOK

func NewCreateOrderOK

func NewCreateOrderOK() *CreateOrderOK

NewCreateOrderOK creates CreateOrderOK with default headers values

func (*CreateOrderOK) SetPayload

func (o *CreateOrderOK) SetPayload(payload *ghcmessages.Order)

SetPayload sets the payload to the create order o k response

func (*CreateOrderOK) WithPayload

func (o *CreateOrderOK) WithPayload(payload *ghcmessages.Order) *CreateOrderOK

WithPayload adds the payload to the create order o k response

func (*CreateOrderOK) WriteResponse

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

WriteResponse to the client

type CreateOrderParams

type CreateOrderParams struct {

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

	/*
	  In: body
	*/
	CreateOrders *ghcmessages.CreateOrders
}

CreateOrderParams contains all the bound params for the create order operation typically these are obtained from a http.Request

swagger:parameters createOrder

func NewCreateOrderParams

func NewCreateOrderParams() CreateOrderParams

NewCreateOrderParams creates a new CreateOrderParams object

There are no default values defined in the spec.

func (*CreateOrderParams) BindRequest

func (o *CreateOrderParams) 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 NewCreateOrderParams() beforehand.

type CreateOrderURL

type CreateOrderURL struct {
	// contains filtered or unexported fields
}

CreateOrderURL generates an URL for the create order operation

func (*CreateOrderURL) Build

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

Build a url path and query string

func (*CreateOrderURL) BuildFull

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

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

func (*CreateOrderURL) Must

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

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

func (*CreateOrderURL) SetBasePath

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

func (o *CreateOrderURL) String() string

String returns the string representation of the path with query string

func (*CreateOrderURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateOrderURL) WithBasePath

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

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 CreateOrderUnauthorized

type CreateOrderUnauthorized struct {
}

CreateOrderUnauthorized request requires user authentication

swagger:response createOrderUnauthorized

func NewCreateOrderUnauthorized

func NewCreateOrderUnauthorized() *CreateOrderUnauthorized

NewCreateOrderUnauthorized creates CreateOrderUnauthorized with default headers values

func (*CreateOrderUnauthorized) WriteResponse

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

WriteResponse to the client

type CreateOrderUnprocessableEntity

type CreateOrderUnprocessableEntity struct {

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

CreateOrderUnprocessableEntity The payload was unprocessable.

swagger:response createOrderUnprocessableEntity

func NewCreateOrderUnprocessableEntity

func NewCreateOrderUnprocessableEntity() *CreateOrderUnprocessableEntity

NewCreateOrderUnprocessableEntity creates CreateOrderUnprocessableEntity with default headers values

func (*CreateOrderUnprocessableEntity) SetPayload

SetPayload sets the payload to the create order unprocessable entity response

func (*CreateOrderUnprocessableEntity) WithPayload

WithPayload adds the payload to the create order unprocessable entity response

func (*CreateOrderUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type GetOrder

type GetOrder struct {
	Context *middleware.Context
	Handler GetOrderHandler
}
GetOrder swagger:route GET /orders/{orderID} order getOrder

Gets an order by ID

Gets an order

func NewGetOrder

func NewGetOrder(ctx *middleware.Context, handler GetOrderHandler) *GetOrder

NewGetOrder creates a new http.Handler for the get order operation

func (*GetOrder) ServeHTTP

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

type GetOrderBadRequest

type GetOrderBadRequest struct {

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

GetOrderBadRequest The request payload is invalid

swagger:response getOrderBadRequest

func NewGetOrderBadRequest

func NewGetOrderBadRequest() *GetOrderBadRequest

NewGetOrderBadRequest creates GetOrderBadRequest with default headers values

func (*GetOrderBadRequest) SetPayload

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

SetPayload sets the payload to the get order bad request response

func (*GetOrderBadRequest) WithPayload

func (o *GetOrderBadRequest) WithPayload(payload *ghcmessages.Error) *GetOrderBadRequest

WithPayload adds the payload to the get order bad request response

func (*GetOrderBadRequest) WriteResponse

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

WriteResponse to the client

type GetOrderForbidden

type GetOrderForbidden struct {

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

GetOrderForbidden The request was denied

swagger:response getOrderForbidden

func NewGetOrderForbidden

func NewGetOrderForbidden() *GetOrderForbidden

NewGetOrderForbidden creates GetOrderForbidden with default headers values

func (*GetOrderForbidden) SetPayload

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

SetPayload sets the payload to the get order forbidden response

func (*GetOrderForbidden) WithPayload

func (o *GetOrderForbidden) WithPayload(payload *ghcmessages.Error) *GetOrderForbidden

WithPayload adds the payload to the get order forbidden response

func (*GetOrderForbidden) WriteResponse

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

WriteResponse to the client

type GetOrderHandler

type GetOrderHandler interface {
	Handle(GetOrderParams) middleware.Responder
}

GetOrderHandler interface for that can handle valid get order params

type GetOrderHandlerFunc

type GetOrderHandlerFunc func(GetOrderParams) middleware.Responder

GetOrderHandlerFunc turns a function with the right signature into a get order handler

func (GetOrderHandlerFunc) Handle

Handle executing the request and returning a response

type GetOrderInternalServerError

type GetOrderInternalServerError struct {

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

GetOrderInternalServerError A server error occurred

swagger:response getOrderInternalServerError

func NewGetOrderInternalServerError

func NewGetOrderInternalServerError() *GetOrderInternalServerError

NewGetOrderInternalServerError creates GetOrderInternalServerError with default headers values

func (*GetOrderInternalServerError) SetPayload

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

SetPayload sets the payload to the get order internal server error response

func (*GetOrderInternalServerError) WithPayload

WithPayload adds the payload to the get order internal server error response

func (*GetOrderInternalServerError) WriteResponse

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

WriteResponse to the client

type GetOrderNotFound

type GetOrderNotFound struct {

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

GetOrderNotFound The requested resource wasn't found

swagger:response getOrderNotFound

func NewGetOrderNotFound

func NewGetOrderNotFound() *GetOrderNotFound

NewGetOrderNotFound creates GetOrderNotFound with default headers values

func (*GetOrderNotFound) SetPayload

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

SetPayload sets the payload to the get order not found response

func (*GetOrderNotFound) WithPayload

func (o *GetOrderNotFound) WithPayload(payload *ghcmessages.Error) *GetOrderNotFound

WithPayload adds the payload to the get order not found response

func (*GetOrderNotFound) WriteResponse

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

WriteResponse to the client

type GetOrderOK

type GetOrderOK struct {

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

GetOrderOK Successfully retrieved order

swagger:response getOrderOK

func NewGetOrderOK

func NewGetOrderOK() *GetOrderOK

NewGetOrderOK creates GetOrderOK with default headers values

func (*GetOrderOK) SetPayload

func (o *GetOrderOK) SetPayload(payload *ghcmessages.Order)

SetPayload sets the payload to the get order o k response

func (*GetOrderOK) WithPayload

func (o *GetOrderOK) WithPayload(payload *ghcmessages.Order) *GetOrderOK

WithPayload adds the payload to the get order o k response

func (*GetOrderOK) WriteResponse

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

WriteResponse to the client

type GetOrderParams

type GetOrderParams struct {

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

	/*ID of order to use
	  Required: true
	  In: path
	*/
	OrderID strfmt.UUID
}

GetOrderParams contains all the bound params for the get order operation typically these are obtained from a http.Request

swagger:parameters getOrder

func NewGetOrderParams

func NewGetOrderParams() GetOrderParams

NewGetOrderParams creates a new GetOrderParams object

There are no default values defined in the spec.

func (*GetOrderParams) BindRequest

func (o *GetOrderParams) 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 NewGetOrderParams() beforehand.

type GetOrderURL

type GetOrderURL struct {
	OrderID strfmt.UUID
	// contains filtered or unexported fields
}

GetOrderURL generates an URL for the get order operation

func (*GetOrderURL) Build

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

Build a url path and query string

func (*GetOrderURL) BuildFull

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

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

func (*GetOrderURL) Must

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

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

func (*GetOrderURL) SetBasePath

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

func (o *GetOrderURL) String() string

String returns the string representation of the path with query string

func (*GetOrderURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetOrderURL) WithBasePath

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

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 GetOrderUnauthorized

type GetOrderUnauthorized struct {

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

GetOrderUnauthorized The request was denied

swagger:response getOrderUnauthorized

func NewGetOrderUnauthorized

func NewGetOrderUnauthorized() *GetOrderUnauthorized

NewGetOrderUnauthorized creates GetOrderUnauthorized with default headers values

func (*GetOrderUnauthorized) SetPayload

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

SetPayload sets the payload to the get order unauthorized response

func (*GetOrderUnauthorized) WithPayload

func (o *GetOrderUnauthorized) WithPayload(payload *ghcmessages.Error) *GetOrderUnauthorized

WithPayload adds the payload to the get order unauthorized response

func (*GetOrderUnauthorized) WriteResponse

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

WriteResponse to the client

type UpdateAllowance

type UpdateAllowance struct {
	Context *middleware.Context
	Handler UpdateAllowanceHandler
}
UpdateAllowance swagger:route PATCH /orders/{orderID}/allowances order updateAllowance

Updates an allowance (Orders with Entitlements)

All fields sent in this request will be set on the order referenced

func NewUpdateAllowance

func NewUpdateAllowance(ctx *middleware.Context, handler UpdateAllowanceHandler) *UpdateAllowance

NewUpdateAllowance creates a new http.Handler for the update allowance operation

func (*UpdateAllowance) ServeHTTP

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

type UpdateAllowanceForbidden

type UpdateAllowanceForbidden struct {

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

UpdateAllowanceForbidden The request was denied

swagger:response updateAllowanceForbidden

func NewUpdateAllowanceForbidden

func NewUpdateAllowanceForbidden() *UpdateAllowanceForbidden

NewUpdateAllowanceForbidden creates UpdateAllowanceForbidden with default headers values

func (*UpdateAllowanceForbidden) SetPayload

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

SetPayload sets the payload to the update allowance forbidden response

func (*UpdateAllowanceForbidden) WithPayload

WithPayload adds the payload to the update allowance forbidden response

func (*UpdateAllowanceForbidden) WriteResponse

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

WriteResponse to the client

type UpdateAllowanceHandler

type UpdateAllowanceHandler interface {
	Handle(UpdateAllowanceParams) middleware.Responder
}

UpdateAllowanceHandler interface for that can handle valid update allowance params

type UpdateAllowanceHandlerFunc

type UpdateAllowanceHandlerFunc func(UpdateAllowanceParams) middleware.Responder

UpdateAllowanceHandlerFunc turns a function with the right signature into a update allowance handler

func (UpdateAllowanceHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateAllowanceInternalServerError

type UpdateAllowanceInternalServerError struct {

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

UpdateAllowanceInternalServerError A server error occurred

swagger:response updateAllowanceInternalServerError

func NewUpdateAllowanceInternalServerError

func NewUpdateAllowanceInternalServerError() *UpdateAllowanceInternalServerError

NewUpdateAllowanceInternalServerError creates UpdateAllowanceInternalServerError with default headers values

func (*UpdateAllowanceInternalServerError) SetPayload

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

SetPayload sets the payload to the update allowance internal server error response

func (*UpdateAllowanceInternalServerError) WithPayload

WithPayload adds the payload to the update allowance internal server error response

func (*UpdateAllowanceInternalServerError) WriteResponse

WriteResponse to the client

type UpdateAllowanceNotFound

type UpdateAllowanceNotFound struct {

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

UpdateAllowanceNotFound The requested resource wasn't found

swagger:response updateAllowanceNotFound

func NewUpdateAllowanceNotFound

func NewUpdateAllowanceNotFound() *UpdateAllowanceNotFound

NewUpdateAllowanceNotFound creates UpdateAllowanceNotFound with default headers values

func (*UpdateAllowanceNotFound) SetPayload

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

SetPayload sets the payload to the update allowance not found response

func (*UpdateAllowanceNotFound) WithPayload

WithPayload adds the payload to the update allowance not found response

func (*UpdateAllowanceNotFound) WriteResponse

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

WriteResponse to the client

type UpdateAllowanceOK

type UpdateAllowanceOK struct {

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

UpdateAllowanceOK updated instance of allowance

swagger:response updateAllowanceOK

func NewUpdateAllowanceOK

func NewUpdateAllowanceOK() *UpdateAllowanceOK

NewUpdateAllowanceOK creates UpdateAllowanceOK with default headers values

func (*UpdateAllowanceOK) SetPayload

func (o *UpdateAllowanceOK) SetPayload(payload *ghcmessages.Order)

SetPayload sets the payload to the update allowance o k response

func (*UpdateAllowanceOK) WithPayload

func (o *UpdateAllowanceOK) WithPayload(payload *ghcmessages.Order) *UpdateAllowanceOK

WithPayload adds the payload to the update allowance o k response

func (*UpdateAllowanceOK) WriteResponse

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

WriteResponse to the client

type UpdateAllowanceParams

type UpdateAllowanceParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.UpdateAllowancePayload
	/*ID of order to use
	  Required: true
	  In: path
	*/
	OrderID strfmt.UUID
}

UpdateAllowanceParams contains all the bound params for the update allowance operation typically these are obtained from a http.Request

swagger:parameters updateAllowance

func NewUpdateAllowanceParams

func NewUpdateAllowanceParams() UpdateAllowanceParams

NewUpdateAllowanceParams creates a new UpdateAllowanceParams object

There are no default values defined in the spec.

func (*UpdateAllowanceParams) BindRequest

func (o *UpdateAllowanceParams) 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 NewUpdateAllowanceParams() beforehand.

type UpdateAllowancePreconditionFailed

type UpdateAllowancePreconditionFailed struct {

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

UpdateAllowancePreconditionFailed Precondition failed

swagger:response updateAllowancePreconditionFailed

func NewUpdateAllowancePreconditionFailed

func NewUpdateAllowancePreconditionFailed() *UpdateAllowancePreconditionFailed

NewUpdateAllowancePreconditionFailed creates UpdateAllowancePreconditionFailed with default headers values

func (*UpdateAllowancePreconditionFailed) SetPayload

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

SetPayload sets the payload to the update allowance precondition failed response

func (*UpdateAllowancePreconditionFailed) WithPayload

WithPayload adds the payload to the update allowance precondition failed response

func (*UpdateAllowancePreconditionFailed) WriteResponse

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

WriteResponse to the client

type UpdateAllowanceURL

type UpdateAllowanceURL struct {
	OrderID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateAllowanceURL generates an URL for the update allowance operation

func (*UpdateAllowanceURL) Build

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

Build a url path and query string

func (*UpdateAllowanceURL) BuildFull

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

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

func (*UpdateAllowanceURL) Must

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

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

func (*UpdateAllowanceURL) SetBasePath

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

func (o *UpdateAllowanceURL) String() string

String returns the string representation of the path with query string

func (*UpdateAllowanceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateAllowanceURL) WithBasePath

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

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 UpdateAllowanceUnprocessableEntity

type UpdateAllowanceUnprocessableEntity struct {

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

UpdateAllowanceUnprocessableEntity The payload was unprocessable.

swagger:response updateAllowanceUnprocessableEntity

func NewUpdateAllowanceUnprocessableEntity

func NewUpdateAllowanceUnprocessableEntity() *UpdateAllowanceUnprocessableEntity

NewUpdateAllowanceUnprocessableEntity creates UpdateAllowanceUnprocessableEntity with default headers values

func (*UpdateAllowanceUnprocessableEntity) SetPayload

SetPayload sets the payload to the update allowance unprocessable entity response

func (*UpdateAllowanceUnprocessableEntity) WithPayload

WithPayload adds the payload to the update allowance unprocessable entity response

func (*UpdateAllowanceUnprocessableEntity) WriteResponse

WriteResponse to the client

type UpdateBillableWeight

type UpdateBillableWeight struct {
	Context *middleware.Context
	Handler UpdateBillableWeightHandler
}
UpdateBillableWeight swagger:route PATCH /orders/{orderID}/update-billable-weight order updateBillableWeight

Updates the max billable weight

Updates the DBAuthorizedWeight attribute for the Order Entitlements=

func NewUpdateBillableWeight

func NewUpdateBillableWeight(ctx *middleware.Context, handler UpdateBillableWeightHandler) *UpdateBillableWeight

NewUpdateBillableWeight creates a new http.Handler for the update billable weight operation

func (*UpdateBillableWeight) ServeHTTP

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

type UpdateBillableWeightForbidden

type UpdateBillableWeightForbidden struct {

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

UpdateBillableWeightForbidden The request was denied

swagger:response updateBillableWeightForbidden

func NewUpdateBillableWeightForbidden

func NewUpdateBillableWeightForbidden() *UpdateBillableWeightForbidden

NewUpdateBillableWeightForbidden creates UpdateBillableWeightForbidden with default headers values

func (*UpdateBillableWeightForbidden) SetPayload

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

SetPayload sets the payload to the update billable weight forbidden response

func (*UpdateBillableWeightForbidden) WithPayload

WithPayload adds the payload to the update billable weight forbidden response

func (*UpdateBillableWeightForbidden) WriteResponse

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

WriteResponse to the client

type UpdateBillableWeightHandler

type UpdateBillableWeightHandler interface {
	Handle(UpdateBillableWeightParams) middleware.Responder
}

UpdateBillableWeightHandler interface for that can handle valid update billable weight params

type UpdateBillableWeightHandlerFunc

type UpdateBillableWeightHandlerFunc func(UpdateBillableWeightParams) middleware.Responder

UpdateBillableWeightHandlerFunc turns a function with the right signature into a update billable weight handler

func (UpdateBillableWeightHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateBillableWeightInternalServerError

type UpdateBillableWeightInternalServerError struct {

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

UpdateBillableWeightInternalServerError A server error occurred

swagger:response updateBillableWeightInternalServerError

func NewUpdateBillableWeightInternalServerError

func NewUpdateBillableWeightInternalServerError() *UpdateBillableWeightInternalServerError

NewUpdateBillableWeightInternalServerError creates UpdateBillableWeightInternalServerError with default headers values

func (*UpdateBillableWeightInternalServerError) SetPayload

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

func (*UpdateBillableWeightInternalServerError) WithPayload

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

func (*UpdateBillableWeightInternalServerError) WriteResponse

WriteResponse to the client

type UpdateBillableWeightNotFound

type UpdateBillableWeightNotFound struct {

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

UpdateBillableWeightNotFound The requested resource wasn't found

swagger:response updateBillableWeightNotFound

func NewUpdateBillableWeightNotFound

func NewUpdateBillableWeightNotFound() *UpdateBillableWeightNotFound

NewUpdateBillableWeightNotFound creates UpdateBillableWeightNotFound with default headers values

func (*UpdateBillableWeightNotFound) SetPayload

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

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

func (*UpdateBillableWeightNotFound) WithPayload

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

func (*UpdateBillableWeightNotFound) WriteResponse

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

WriteResponse to the client

type UpdateBillableWeightOK

type UpdateBillableWeightOK struct {

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

UpdateBillableWeightOK updated Order

swagger:response updateBillableWeightOK

func NewUpdateBillableWeightOK

func NewUpdateBillableWeightOK() *UpdateBillableWeightOK

NewUpdateBillableWeightOK creates UpdateBillableWeightOK with default headers values

func (*UpdateBillableWeightOK) SetPayload

func (o *UpdateBillableWeightOK) SetPayload(payload *ghcmessages.Order)

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

func (*UpdateBillableWeightOK) WithPayload

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

func (*UpdateBillableWeightOK) WriteResponse

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

WriteResponse to the client

type UpdateBillableWeightParams

type UpdateBillableWeightParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.UpdateBillableWeightPayload
	/*ID of order to use
	  Required: true
	  In: path
	*/
	OrderID strfmt.UUID
}

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

swagger:parameters updateBillableWeight

func NewUpdateBillableWeightParams

func NewUpdateBillableWeightParams() UpdateBillableWeightParams

NewUpdateBillableWeightParams creates a new UpdateBillableWeightParams object

There are no default values defined in the spec.

func (*UpdateBillableWeightParams) 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 NewUpdateBillableWeightParams() beforehand.

type UpdateBillableWeightPreconditionFailed

type UpdateBillableWeightPreconditionFailed struct {

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

UpdateBillableWeightPreconditionFailed Precondition failed

swagger:response updateBillableWeightPreconditionFailed

func NewUpdateBillableWeightPreconditionFailed

func NewUpdateBillableWeightPreconditionFailed() *UpdateBillableWeightPreconditionFailed

NewUpdateBillableWeightPreconditionFailed creates UpdateBillableWeightPreconditionFailed with default headers values

func (*UpdateBillableWeightPreconditionFailed) SetPayload

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

func (*UpdateBillableWeightPreconditionFailed) WithPayload

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

func (*UpdateBillableWeightPreconditionFailed) WriteResponse

WriteResponse to the client

type UpdateBillableWeightURL

type UpdateBillableWeightURL struct {
	OrderID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateBillableWeightURL generates an URL for the update billable weight operation

func (*UpdateBillableWeightURL) Build

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

Build a url path and query string

func (*UpdateBillableWeightURL) BuildFull

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

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

func (*UpdateBillableWeightURL) Must

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

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

func (*UpdateBillableWeightURL) SetBasePath

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

func (o *UpdateBillableWeightURL) String() string

String returns the string representation of the path with query string

func (*UpdateBillableWeightURL) StringFull

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

StringFull returns the string representation of a complete url

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

type UpdateBillableWeightUnprocessableEntity struct {

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

UpdateBillableWeightUnprocessableEntity The payload was unprocessable.

swagger:response updateBillableWeightUnprocessableEntity

func NewUpdateBillableWeightUnprocessableEntity

func NewUpdateBillableWeightUnprocessableEntity() *UpdateBillableWeightUnprocessableEntity

NewUpdateBillableWeightUnprocessableEntity creates UpdateBillableWeightUnprocessableEntity with default headers values

func (*UpdateBillableWeightUnprocessableEntity) SetPayload

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

func (*UpdateBillableWeightUnprocessableEntity) WithPayload

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

func (*UpdateBillableWeightUnprocessableEntity) WriteResponse

WriteResponse to the client

type UpdateMaxBillableWeightAsTIO

type UpdateMaxBillableWeightAsTIO struct {
	Context *middleware.Context
	Handler UpdateMaxBillableWeightAsTIOHandler
}
UpdateMaxBillableWeightAsTIO swagger:route PATCH /orders/{orderID}/update-max-billable-weight/tio order updateMaxBillableWeightAsTIO

Updates the max billable weight with TIO remarks

Updates the DBAuthorizedWeight attribute for the Order Entitlements and move TIO remarks

func NewUpdateMaxBillableWeightAsTIO

func NewUpdateMaxBillableWeightAsTIO(ctx *middleware.Context, handler UpdateMaxBillableWeightAsTIOHandler) *UpdateMaxBillableWeightAsTIO

NewUpdateMaxBillableWeightAsTIO creates a new http.Handler for the update max billable weight as t i o operation

func (*UpdateMaxBillableWeightAsTIO) ServeHTTP

type UpdateMaxBillableWeightAsTIOForbidden

type UpdateMaxBillableWeightAsTIOForbidden struct {

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

UpdateMaxBillableWeightAsTIOForbidden The request was denied

swagger:response updateMaxBillableWeightAsTIOForbidden

func NewUpdateMaxBillableWeightAsTIOForbidden

func NewUpdateMaxBillableWeightAsTIOForbidden() *UpdateMaxBillableWeightAsTIOForbidden

NewUpdateMaxBillableWeightAsTIOForbidden creates UpdateMaxBillableWeightAsTIOForbidden with default headers values

func (*UpdateMaxBillableWeightAsTIOForbidden) SetPayload

SetPayload sets the payload to the update max billable weight as t i o forbidden response

func (*UpdateMaxBillableWeightAsTIOForbidden) WithPayload

WithPayload adds the payload to the update max billable weight as t i o forbidden response

func (*UpdateMaxBillableWeightAsTIOForbidden) WriteResponse

WriteResponse to the client

type UpdateMaxBillableWeightAsTIOHandler

type UpdateMaxBillableWeightAsTIOHandler interface {
	Handle(UpdateMaxBillableWeightAsTIOParams) middleware.Responder
}

UpdateMaxBillableWeightAsTIOHandler interface for that can handle valid update max billable weight as t i o params

type UpdateMaxBillableWeightAsTIOHandlerFunc

type UpdateMaxBillableWeightAsTIOHandlerFunc func(UpdateMaxBillableWeightAsTIOParams) middleware.Responder

UpdateMaxBillableWeightAsTIOHandlerFunc turns a function with the right signature into a update max billable weight as t i o handler

func (UpdateMaxBillableWeightAsTIOHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateMaxBillableWeightAsTIOInternalServerError

type UpdateMaxBillableWeightAsTIOInternalServerError struct {

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

UpdateMaxBillableWeightAsTIOInternalServerError A server error occurred

swagger:response updateMaxBillableWeightAsTIOInternalServerError

func NewUpdateMaxBillableWeightAsTIOInternalServerError

func NewUpdateMaxBillableWeightAsTIOInternalServerError() *UpdateMaxBillableWeightAsTIOInternalServerError

NewUpdateMaxBillableWeightAsTIOInternalServerError creates UpdateMaxBillableWeightAsTIOInternalServerError with default headers values

func (*UpdateMaxBillableWeightAsTIOInternalServerError) SetPayload

SetPayload sets the payload to the update max billable weight as t i o internal server error response

func (*UpdateMaxBillableWeightAsTIOInternalServerError) WithPayload

WithPayload adds the payload to the update max billable weight as t i o internal server error response

func (*UpdateMaxBillableWeightAsTIOInternalServerError) WriteResponse

WriteResponse to the client

type UpdateMaxBillableWeightAsTIONotFound

type UpdateMaxBillableWeightAsTIONotFound struct {

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

UpdateMaxBillableWeightAsTIONotFound The requested resource wasn't found

swagger:response updateMaxBillableWeightAsTIONotFound

func NewUpdateMaxBillableWeightAsTIONotFound

func NewUpdateMaxBillableWeightAsTIONotFound() *UpdateMaxBillableWeightAsTIONotFound

NewUpdateMaxBillableWeightAsTIONotFound creates UpdateMaxBillableWeightAsTIONotFound with default headers values

func (*UpdateMaxBillableWeightAsTIONotFound) SetPayload

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

SetPayload sets the payload to the update max billable weight as t i o not found response

func (*UpdateMaxBillableWeightAsTIONotFound) WithPayload

WithPayload adds the payload to the update max billable weight as t i o not found response

func (*UpdateMaxBillableWeightAsTIONotFound) WriteResponse

WriteResponse to the client

type UpdateMaxBillableWeightAsTIOOK

type UpdateMaxBillableWeightAsTIOOK struct {

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

UpdateMaxBillableWeightAsTIOOK updated Order

swagger:response updateMaxBillableWeightAsTIOOK

func NewUpdateMaxBillableWeightAsTIOOK

func NewUpdateMaxBillableWeightAsTIOOK() *UpdateMaxBillableWeightAsTIOOK

NewUpdateMaxBillableWeightAsTIOOK creates UpdateMaxBillableWeightAsTIOOK with default headers values

func (*UpdateMaxBillableWeightAsTIOOK) SetPayload

func (o *UpdateMaxBillableWeightAsTIOOK) SetPayload(payload *ghcmessages.Order)

SetPayload sets the payload to the update max billable weight as t i o o k response

func (*UpdateMaxBillableWeightAsTIOOK) WithPayload

WithPayload adds the payload to the update max billable weight as t i o o k response

func (*UpdateMaxBillableWeightAsTIOOK) WriteResponse

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

WriteResponse to the client

type UpdateMaxBillableWeightAsTIOParams

type UpdateMaxBillableWeightAsTIOParams struct {

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

	/*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error.

	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.UpdateMaxBillableWeightAsTIOPayload
	/*ID of order to use
	  Required: true
	  In: path
	*/
	OrderID strfmt.UUID
}

UpdateMaxBillableWeightAsTIOParams contains all the bound params for the update max billable weight as t i o operation typically these are obtained from a http.Request

swagger:parameters updateMaxBillableWeightAsTIO

func NewUpdateMaxBillableWeightAsTIOParams

func NewUpdateMaxBillableWeightAsTIOParams() UpdateMaxBillableWeightAsTIOParams

NewUpdateMaxBillableWeightAsTIOParams creates a new UpdateMaxBillableWeightAsTIOParams object

There are no default values defined in the spec.

func (*UpdateMaxBillableWeightAsTIOParams) 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 NewUpdateMaxBillableWeightAsTIOParams() beforehand.

type UpdateMaxBillableWeightAsTIOPreconditionFailed

type UpdateMaxBillableWeightAsTIOPreconditionFailed struct {

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

UpdateMaxBillableWeightAsTIOPreconditionFailed Precondition failed

swagger:response updateMaxBillableWeightAsTIOPreconditionFailed

func NewUpdateMaxBillableWeightAsTIOPreconditionFailed

func NewUpdateMaxBillableWeightAsTIOPreconditionFailed() *UpdateMaxBillableWeightAsTIOPreconditionFailed

NewUpdateMaxBillableWeightAsTIOPreconditionFailed creates UpdateMaxBillableWeightAsTIOPreconditionFailed with default headers values

func (*UpdateMaxBillableWeightAsTIOPreconditionFailed) SetPayload

SetPayload sets the payload to the update max billable weight as t i o precondition failed response

func (*UpdateMaxBillableWeightAsTIOPreconditionFailed) WithPayload

WithPayload adds the payload to the update max billable weight as t i o precondition failed response

func (*UpdateMaxBillableWeightAsTIOPreconditionFailed) WriteResponse

WriteResponse to the client

type UpdateMaxBillableWeightAsTIOURL

type UpdateMaxBillableWeightAsTIOURL struct {
	OrderID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateMaxBillableWeightAsTIOURL generates an URL for the update max billable weight as t i o operation

func (*UpdateMaxBillableWeightAsTIOURL) Build

Build a url path and query string

func (*UpdateMaxBillableWeightAsTIOURL) BuildFull

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

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

func (*UpdateMaxBillableWeightAsTIOURL) Must

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

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

func (*UpdateMaxBillableWeightAsTIOURL) SetBasePath

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

String returns the string representation of the path with query string

func (*UpdateMaxBillableWeightAsTIOURL) StringFull

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

StringFull returns the string representation of a complete url

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

type UpdateMaxBillableWeightAsTIOUnprocessableEntity struct {

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

UpdateMaxBillableWeightAsTIOUnprocessableEntity The payload was unprocessable.

swagger:response updateMaxBillableWeightAsTIOUnprocessableEntity

func NewUpdateMaxBillableWeightAsTIOUnprocessableEntity

func NewUpdateMaxBillableWeightAsTIOUnprocessableEntity() *UpdateMaxBillableWeightAsTIOUnprocessableEntity

NewUpdateMaxBillableWeightAsTIOUnprocessableEntity creates UpdateMaxBillableWeightAsTIOUnprocessableEntity with default headers values

func (*UpdateMaxBillableWeightAsTIOUnprocessableEntity) SetPayload

SetPayload sets the payload to the update max billable weight as t i o unprocessable entity response

func (*UpdateMaxBillableWeightAsTIOUnprocessableEntity) WithPayload

WithPayload adds the payload to the update max billable weight as t i o unprocessable entity response

func (*UpdateMaxBillableWeightAsTIOUnprocessableEntity) WriteResponse

WriteResponse to the client

type UpdateOrder

type UpdateOrder struct {
	Context *middleware.Context
	Handler UpdateOrderHandler
}
UpdateOrder swagger:route PATCH /orders/{orderID} order updateOrder

Updates an order

All fields sent in this request will be set on the order referenced

func NewUpdateOrder

func NewUpdateOrder(ctx *middleware.Context, handler UpdateOrderHandler) *UpdateOrder

NewUpdateOrder creates a new http.Handler for the update order operation

func (*UpdateOrder) ServeHTTP

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

type UpdateOrderBadRequest

type UpdateOrderBadRequest struct {

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

UpdateOrderBadRequest The request payload is invalid

swagger:response updateOrderBadRequest

func NewUpdateOrderBadRequest

func NewUpdateOrderBadRequest() *UpdateOrderBadRequest

NewUpdateOrderBadRequest creates UpdateOrderBadRequest with default headers values

func (*UpdateOrderBadRequest) SetPayload

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

SetPayload sets the payload to the update order bad request response

func (*UpdateOrderBadRequest) WithPayload

WithPayload adds the payload to the update order bad request response

func (*UpdateOrderBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateOrderConflict

type UpdateOrderConflict struct {

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

UpdateOrderConflict Conflict error

swagger:response updateOrderConflict

func NewUpdateOrderConflict

func NewUpdateOrderConflict() *UpdateOrderConflict

NewUpdateOrderConflict creates UpdateOrderConflict with default headers values

func (*UpdateOrderConflict) SetPayload

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

SetPayload sets the payload to the update order conflict response

func (*UpdateOrderConflict) WithPayload

func (o *UpdateOrderConflict) WithPayload(payload *ghcmessages.Error) *UpdateOrderConflict

WithPayload adds the payload to the update order conflict response

func (*UpdateOrderConflict) WriteResponse

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

WriteResponse to the client

type UpdateOrderForbidden

type UpdateOrderForbidden struct {

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

UpdateOrderForbidden The request was denied

swagger:response updateOrderForbidden

func NewUpdateOrderForbidden

func NewUpdateOrderForbidden() *UpdateOrderForbidden

NewUpdateOrderForbidden creates UpdateOrderForbidden with default headers values

func (*UpdateOrderForbidden) SetPayload

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

SetPayload sets the payload to the update order forbidden response

func (*UpdateOrderForbidden) WithPayload

func (o *UpdateOrderForbidden) WithPayload(payload *ghcmessages.Error) *UpdateOrderForbidden

WithPayload adds the payload to the update order forbidden response

func (*UpdateOrderForbidden) WriteResponse

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

WriteResponse to the client

type UpdateOrderHandler

type UpdateOrderHandler interface {
	Handle(UpdateOrderParams) middleware.Responder
}

UpdateOrderHandler interface for that can handle valid update order params

type UpdateOrderHandlerFunc

type UpdateOrderHandlerFunc func(UpdateOrderParams) middleware.Responder

UpdateOrderHandlerFunc turns a function with the right signature into a update order handler

func (UpdateOrderHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateOrderInternalServerError

type UpdateOrderInternalServerError struct {

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

UpdateOrderInternalServerError A server error occurred

swagger:response updateOrderInternalServerError

func NewUpdateOrderInternalServerError

func NewUpdateOrderInternalServerError() *UpdateOrderInternalServerError

NewUpdateOrderInternalServerError creates UpdateOrderInternalServerError with default headers values

func (*UpdateOrderInternalServerError) SetPayload

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

SetPayload sets the payload to the update order internal server error response

func (*UpdateOrderInternalServerError) WithPayload

WithPayload adds the payload to the update order internal server error response

func (*UpdateOrderInternalServerError) WriteResponse

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

WriteResponse to the client

type UpdateOrderNotFound

type UpdateOrderNotFound struct {

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

UpdateOrderNotFound The requested resource wasn't found

swagger:response updateOrderNotFound

func NewUpdateOrderNotFound

func NewUpdateOrderNotFound() *UpdateOrderNotFound

NewUpdateOrderNotFound creates UpdateOrderNotFound with default headers values

func (*UpdateOrderNotFound) SetPayload

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

SetPayload sets the payload to the update order not found response

func (*UpdateOrderNotFound) WithPayload

func (o *UpdateOrderNotFound) WithPayload(payload *ghcmessages.Error) *UpdateOrderNotFound

WithPayload adds the payload to the update order not found response

func (*UpdateOrderNotFound) WriteResponse

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

WriteResponse to the client

type UpdateOrderOK

type UpdateOrderOK struct {

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

UpdateOrderOK updated instance of orders

swagger:response updateOrderOK

func NewUpdateOrderOK

func NewUpdateOrderOK() *UpdateOrderOK

NewUpdateOrderOK creates UpdateOrderOK with default headers values

func (*UpdateOrderOK) SetPayload

func (o *UpdateOrderOK) SetPayload(payload *ghcmessages.Order)

SetPayload sets the payload to the update order o k response

func (*UpdateOrderOK) WithPayload

func (o *UpdateOrderOK) WithPayload(payload *ghcmessages.Order) *UpdateOrderOK

WithPayload adds the payload to the update order o k response

func (*UpdateOrderOK) WriteResponse

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

WriteResponse to the client

type UpdateOrderParams

type UpdateOrderParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  Required: true
	  In: body
	*/
	Body *ghcmessages.UpdateOrderPayload
	/*ID of order to use
	  Required: true
	  In: path
	*/
	OrderID strfmt.UUID
}

UpdateOrderParams contains all the bound params for the update order operation typically these are obtained from a http.Request

swagger:parameters updateOrder

func NewUpdateOrderParams

func NewUpdateOrderParams() UpdateOrderParams

NewUpdateOrderParams creates a new UpdateOrderParams object

There are no default values defined in the spec.

func (*UpdateOrderParams) BindRequest

func (o *UpdateOrderParams) 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 NewUpdateOrderParams() beforehand.

type UpdateOrderPreconditionFailed

type UpdateOrderPreconditionFailed struct {

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

UpdateOrderPreconditionFailed Precondition failed

swagger:response updateOrderPreconditionFailed

func NewUpdateOrderPreconditionFailed

func NewUpdateOrderPreconditionFailed() *UpdateOrderPreconditionFailed

NewUpdateOrderPreconditionFailed creates UpdateOrderPreconditionFailed with default headers values

func (*UpdateOrderPreconditionFailed) SetPayload

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

SetPayload sets the payload to the update order precondition failed response

func (*UpdateOrderPreconditionFailed) WithPayload

WithPayload adds the payload to the update order precondition failed response

func (*UpdateOrderPreconditionFailed) WriteResponse

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

WriteResponse to the client

type UpdateOrderURL

type UpdateOrderURL struct {
	OrderID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateOrderURL generates an URL for the update order operation

func (*UpdateOrderURL) Build

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

Build a url path and query string

func (*UpdateOrderURL) BuildFull

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

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

func (*UpdateOrderURL) Must

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

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

func (*UpdateOrderURL) SetBasePath

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

func (o *UpdateOrderURL) String() string

String returns the string representation of the path with query string

func (*UpdateOrderURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateOrderURL) WithBasePath

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

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 UpdateOrderUnprocessableEntity

type UpdateOrderUnprocessableEntity struct {

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

UpdateOrderUnprocessableEntity The payload was unprocessable.

swagger:response updateOrderUnprocessableEntity

func NewUpdateOrderUnprocessableEntity

func NewUpdateOrderUnprocessableEntity() *UpdateOrderUnprocessableEntity

NewUpdateOrderUnprocessableEntity creates UpdateOrderUnprocessableEntity with default headers values

func (*UpdateOrderUnprocessableEntity) SetPayload

SetPayload sets the payload to the update order unprocessable entity response

func (*UpdateOrderUnprocessableEntity) WithPayload

WithPayload adds the payload to the update order unprocessable entity response

func (*UpdateOrderUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type UploadAmendedOrders

type UploadAmendedOrders struct {
	Context *middleware.Context
	Handler UploadAmendedOrdersHandler
}
UploadAmendedOrders swagger:route POST /orders/{orderID}/upload_amended_orders order uploadAmendedOrders

Create an amended order for a given order

Create an amended order for a given order

func NewUploadAmendedOrders

func NewUploadAmendedOrders(ctx *middleware.Context, handler UploadAmendedOrdersHandler) *UploadAmendedOrders

NewUploadAmendedOrders creates a new http.Handler for the upload amended orders operation

func (*UploadAmendedOrders) ServeHTTP

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

type UploadAmendedOrdersBadRequest

type UploadAmendedOrdersBadRequest struct {

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

UploadAmendedOrdersBadRequest invalid request

swagger:response uploadAmendedOrdersBadRequest

func NewUploadAmendedOrdersBadRequest

func NewUploadAmendedOrdersBadRequest() *UploadAmendedOrdersBadRequest

NewUploadAmendedOrdersBadRequest creates UploadAmendedOrdersBadRequest with default headers values

func (*UploadAmendedOrdersBadRequest) SetPayload

SetPayload sets the payload to the upload amended orders bad request response

func (*UploadAmendedOrdersBadRequest) WithPayload

WithPayload adds the payload to the upload amended orders bad request response

func (*UploadAmendedOrdersBadRequest) WriteResponse

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

WriteResponse to the client

type UploadAmendedOrdersCreated

type UploadAmendedOrdersCreated struct {

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

UploadAmendedOrdersCreated created upload

swagger:response uploadAmendedOrdersCreated

func NewUploadAmendedOrdersCreated

func NewUploadAmendedOrdersCreated() *UploadAmendedOrdersCreated

NewUploadAmendedOrdersCreated creates UploadAmendedOrdersCreated with default headers values

func (*UploadAmendedOrdersCreated) SetPayload

func (o *UploadAmendedOrdersCreated) SetPayload(payload *ghcmessages.Upload)

SetPayload sets the payload to the upload amended orders created response

func (*UploadAmendedOrdersCreated) WithPayload

WithPayload adds the payload to the upload amended orders created response

func (*UploadAmendedOrdersCreated) WriteResponse

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

WriteResponse to the client

type UploadAmendedOrdersForbidden

type UploadAmendedOrdersForbidden struct {
}

UploadAmendedOrdersForbidden not authorized

swagger:response uploadAmendedOrdersForbidden

func NewUploadAmendedOrdersForbidden

func NewUploadAmendedOrdersForbidden() *UploadAmendedOrdersForbidden

NewUploadAmendedOrdersForbidden creates UploadAmendedOrdersForbidden with default headers values

func (*UploadAmendedOrdersForbidden) WriteResponse

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

WriteResponse to the client

type UploadAmendedOrdersHandler

type UploadAmendedOrdersHandler interface {
	Handle(UploadAmendedOrdersParams) middleware.Responder
}

UploadAmendedOrdersHandler interface for that can handle valid upload amended orders params

type UploadAmendedOrdersHandlerFunc

type UploadAmendedOrdersHandlerFunc func(UploadAmendedOrdersParams) middleware.Responder

UploadAmendedOrdersHandlerFunc turns a function with the right signature into a upload amended orders handler

func (UploadAmendedOrdersHandlerFunc) Handle

Handle executing the request and returning a response

type UploadAmendedOrdersInternalServerError

type UploadAmendedOrdersInternalServerError struct {
}

UploadAmendedOrdersInternalServerError server error

swagger:response uploadAmendedOrdersInternalServerError

func NewUploadAmendedOrdersInternalServerError

func NewUploadAmendedOrdersInternalServerError() *UploadAmendedOrdersInternalServerError

NewUploadAmendedOrdersInternalServerError creates UploadAmendedOrdersInternalServerError with default headers values

func (*UploadAmendedOrdersInternalServerError) WriteResponse

WriteResponse to the client

type UploadAmendedOrdersNotFound

type UploadAmendedOrdersNotFound struct {
}

UploadAmendedOrdersNotFound not found

swagger:response uploadAmendedOrdersNotFound

func NewUploadAmendedOrdersNotFound

func NewUploadAmendedOrdersNotFound() *UploadAmendedOrdersNotFound

NewUploadAmendedOrdersNotFound creates UploadAmendedOrdersNotFound with default headers values

func (*UploadAmendedOrdersNotFound) WriteResponse

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

WriteResponse to the client

type UploadAmendedOrdersParams

type UploadAmendedOrdersParams struct {

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

	/*The file to upload.
	  Required: true
	  In: formData
	*/
	File io.ReadCloser
	/*UUID of the order
	  Required: true
	  In: path
	*/
	OrderID strfmt.UUID
}

UploadAmendedOrdersParams contains all the bound params for the upload amended orders operation typically these are obtained from a http.Request

swagger:parameters uploadAmendedOrders

func NewUploadAmendedOrdersParams

func NewUploadAmendedOrdersParams() UploadAmendedOrdersParams

NewUploadAmendedOrdersParams creates a new UploadAmendedOrdersParams object

There are no default values defined in the spec.

func (*UploadAmendedOrdersParams) 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 NewUploadAmendedOrdersParams() beforehand.

type UploadAmendedOrdersRequestEntityTooLarge

type UploadAmendedOrdersRequestEntityTooLarge struct {
}

UploadAmendedOrdersRequestEntityTooLarge payload is too large

swagger:response uploadAmendedOrdersRequestEntityTooLarge

func NewUploadAmendedOrdersRequestEntityTooLarge

func NewUploadAmendedOrdersRequestEntityTooLarge() *UploadAmendedOrdersRequestEntityTooLarge

NewUploadAmendedOrdersRequestEntityTooLarge creates UploadAmendedOrdersRequestEntityTooLarge with default headers values

func (*UploadAmendedOrdersRequestEntityTooLarge) WriteResponse

WriteResponse to the client

type UploadAmendedOrdersURL

type UploadAmendedOrdersURL struct {
	OrderID strfmt.UUID
	// contains filtered or unexported fields
}

UploadAmendedOrdersURL generates an URL for the upload amended orders operation

func (*UploadAmendedOrdersURL) Build

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

Build a url path and query string

func (*UploadAmendedOrdersURL) BuildFull

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

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

func (*UploadAmendedOrdersURL) Must

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

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

func (*UploadAmendedOrdersURL) SetBasePath

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

func (o *UploadAmendedOrdersURL) String() string

String returns the string representation of the path with query string

func (*UploadAmendedOrdersURL) StringFull

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

StringFull returns the string representation of a complete url

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

Jump to

Keyboard shortcuts

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