Documentation ¶
Index ¶
- Constants
- type GetMoveTaskOrder
- type GetMoveTaskOrderForbidden
- type GetMoveTaskOrderHandler
- type GetMoveTaskOrderHandlerFunc
- type GetMoveTaskOrderInternalServerError
- func (o *GetMoveTaskOrderInternalServerError) SetPayload(payload *primev3messages.Error)
- func (o *GetMoveTaskOrderInternalServerError) WithPayload(payload *primev3messages.Error) *GetMoveTaskOrderInternalServerError
- func (o *GetMoveTaskOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetMoveTaskOrderNotFound
- type GetMoveTaskOrderOK
- type GetMoveTaskOrderParams
- type GetMoveTaskOrderURL
- func (o *GetMoveTaskOrderURL) Build() (*url.URL, error)
- func (o *GetMoveTaskOrderURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMoveTaskOrderURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMoveTaskOrderURL) SetBasePath(bp string)
- func (o *GetMoveTaskOrderURL) String() string
- func (o *GetMoveTaskOrderURL) StringFull(scheme, host string) string
- func (o *GetMoveTaskOrderURL) WithBasePath(bp string) *GetMoveTaskOrderURL
- type GetMoveTaskOrderUnauthorized
- func (o *GetMoveTaskOrderUnauthorized) SetPayload(payload *primev3messages.ClientError)
- func (o *GetMoveTaskOrderUnauthorized) WithPayload(payload *primev3messages.ClientError) *GetMoveTaskOrderUnauthorized
- func (o *GetMoveTaskOrderUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const GetMoveTaskOrderForbiddenCode int = 403
GetMoveTaskOrderForbiddenCode is the HTTP code returned for type GetMoveTaskOrderForbidden
const GetMoveTaskOrderInternalServerErrorCode int = 500
GetMoveTaskOrderInternalServerErrorCode is the HTTP code returned for type GetMoveTaskOrderInternalServerError
const GetMoveTaskOrderNotFoundCode int = 404
GetMoveTaskOrderNotFoundCode is the HTTP code returned for type GetMoveTaskOrderNotFound
const GetMoveTaskOrderOKCode int = 200
GetMoveTaskOrderOKCode is the HTTP code returned for type GetMoveTaskOrderOK
GetMoveTaskOrderUnauthorizedCode is the HTTP code returned for type GetMoveTaskOrderUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetMoveTaskOrder ¶
type GetMoveTaskOrder struct { Context *middleware.Context Handler GetMoveTaskOrderHandler }
GetMoveTaskOrder swagger:route GET /move-task-orders/{moveID} moveTaskOrder getMoveTaskOrder
getMoveTaskOrder
### Functionality This endpoint gets an individual MoveTaskOrder by ID.
It will provide information about the Customer and any associated MTOShipments, MTOServiceItems and PaymentRequests.
func NewGetMoveTaskOrder ¶
func NewGetMoveTaskOrder(ctx *middleware.Context, handler GetMoveTaskOrderHandler) *GetMoveTaskOrder
NewGetMoveTaskOrder creates a new http.Handler for the get move task order operation
func (*GetMoveTaskOrder) ServeHTTP ¶
func (o *GetMoveTaskOrder) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetMoveTaskOrderForbidden ¶
type GetMoveTaskOrderForbidden struct { /* In: Body */ Payload *primev3messages.ClientError `json:"body,omitempty"` }
GetMoveTaskOrderForbidden The request was denied.
swagger:response getMoveTaskOrderForbidden
func NewGetMoveTaskOrderForbidden ¶
func NewGetMoveTaskOrderForbidden() *GetMoveTaskOrderForbidden
NewGetMoveTaskOrderForbidden creates GetMoveTaskOrderForbidden with default headers values
func (*GetMoveTaskOrderForbidden) SetPayload ¶
func (o *GetMoveTaskOrderForbidden) SetPayload(payload *primev3messages.ClientError)
SetPayload sets the payload to the get move task order forbidden response
func (*GetMoveTaskOrderForbidden) WithPayload ¶
func (o *GetMoveTaskOrderForbidden) WithPayload(payload *primev3messages.ClientError) *GetMoveTaskOrderForbidden
WithPayload adds the payload to the get move task order forbidden response
func (*GetMoveTaskOrderForbidden) WriteResponse ¶
func (o *GetMoveTaskOrderForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMoveTaskOrderHandler ¶
type GetMoveTaskOrderHandler interface {
Handle(GetMoveTaskOrderParams) middleware.Responder
}
GetMoveTaskOrderHandler interface for that can handle valid get move task order params
type GetMoveTaskOrderHandlerFunc ¶
type GetMoveTaskOrderHandlerFunc func(GetMoveTaskOrderParams) middleware.Responder
GetMoveTaskOrderHandlerFunc turns a function with the right signature into a get move task order handler
func (GetMoveTaskOrderHandlerFunc) Handle ¶
func (fn GetMoveTaskOrderHandlerFunc) Handle(params GetMoveTaskOrderParams) middleware.Responder
Handle executing the request and returning a response
type GetMoveTaskOrderInternalServerError ¶
type GetMoveTaskOrderInternalServerError struct { /* In: Body */ Payload *primev3messages.Error `json:"body,omitempty"` }
GetMoveTaskOrderInternalServerError A server error occurred.
swagger:response getMoveTaskOrderInternalServerError
func NewGetMoveTaskOrderInternalServerError ¶
func NewGetMoveTaskOrderInternalServerError() *GetMoveTaskOrderInternalServerError
NewGetMoveTaskOrderInternalServerError creates GetMoveTaskOrderInternalServerError with default headers values
func (*GetMoveTaskOrderInternalServerError) SetPayload ¶
func (o *GetMoveTaskOrderInternalServerError) SetPayload(payload *primev3messages.Error)
SetPayload sets the payload to the get move task order internal server error response
func (*GetMoveTaskOrderInternalServerError) WithPayload ¶
func (o *GetMoveTaskOrderInternalServerError) WithPayload(payload *primev3messages.Error) *GetMoveTaskOrderInternalServerError
WithPayload adds the payload to the get move task order internal server error response
func (*GetMoveTaskOrderInternalServerError) WriteResponse ¶
func (o *GetMoveTaskOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMoveTaskOrderNotFound ¶
type GetMoveTaskOrderNotFound struct { /* In: Body */ Payload *primev3messages.ClientError `json:"body,omitempty"` }
GetMoveTaskOrderNotFound The requested resource wasn't found.
swagger:response getMoveTaskOrderNotFound
func NewGetMoveTaskOrderNotFound ¶
func NewGetMoveTaskOrderNotFound() *GetMoveTaskOrderNotFound
NewGetMoveTaskOrderNotFound creates GetMoveTaskOrderNotFound with default headers values
func (*GetMoveTaskOrderNotFound) SetPayload ¶
func (o *GetMoveTaskOrderNotFound) SetPayload(payload *primev3messages.ClientError)
SetPayload sets the payload to the get move task order not found response
func (*GetMoveTaskOrderNotFound) WithPayload ¶
func (o *GetMoveTaskOrderNotFound) WithPayload(payload *primev3messages.ClientError) *GetMoveTaskOrderNotFound
WithPayload adds the payload to the get move task order not found response
func (*GetMoveTaskOrderNotFound) WriteResponse ¶
func (o *GetMoveTaskOrderNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMoveTaskOrderOK ¶
type GetMoveTaskOrderOK struct { /* In: Body */ Payload *primev3messages.MoveTaskOrder `json:"body,omitempty"` }
GetMoveTaskOrderOK Successfully retrieve an individual move task order.
swagger:response getMoveTaskOrderOK
func NewGetMoveTaskOrderOK ¶
func NewGetMoveTaskOrderOK() *GetMoveTaskOrderOK
NewGetMoveTaskOrderOK creates GetMoveTaskOrderOK with default headers values
func (*GetMoveTaskOrderOK) SetPayload ¶
func (o *GetMoveTaskOrderOK) SetPayload(payload *primev3messages.MoveTaskOrder)
SetPayload sets the payload to the get move task order o k response
func (*GetMoveTaskOrderOK) WithPayload ¶
func (o *GetMoveTaskOrderOK) WithPayload(payload *primev3messages.MoveTaskOrder) *GetMoveTaskOrderOK
WithPayload adds the payload to the get move task order o k response
func (*GetMoveTaskOrderOK) WriteResponse ¶
func (o *GetMoveTaskOrderOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMoveTaskOrderParams ¶
type GetMoveTaskOrderParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID or MoveCode of move task order to use........ Required: true In: path */ MoveID string }
GetMoveTaskOrderParams contains all the bound params for the get move task order operation typically these are obtained from a http.Request
swagger:parameters getMoveTaskOrder
func NewGetMoveTaskOrderParams ¶
func NewGetMoveTaskOrderParams() GetMoveTaskOrderParams
NewGetMoveTaskOrderParams creates a new GetMoveTaskOrderParams object
There are no default values defined in the spec.
func (*GetMoveTaskOrderParams) BindRequest ¶
func (o *GetMoveTaskOrderParams) 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 NewGetMoveTaskOrderParams() beforehand.
type GetMoveTaskOrderURL ¶
type GetMoveTaskOrderURL struct { MoveID string // contains filtered or unexported fields }
GetMoveTaskOrderURL generates an URL for the get move task order operation
func (*GetMoveTaskOrderURL) Build ¶
func (o *GetMoveTaskOrderURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetMoveTaskOrderURL) BuildFull ¶
func (o *GetMoveTaskOrderURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetMoveTaskOrderURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetMoveTaskOrderURL) SetBasePath ¶
func (o *GetMoveTaskOrderURL) 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 (*GetMoveTaskOrderURL) String ¶
func (o *GetMoveTaskOrderURL) String() string
String returns the string representation of the path with query string
func (*GetMoveTaskOrderURL) StringFull ¶
func (o *GetMoveTaskOrderURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetMoveTaskOrderURL) WithBasePath ¶
func (o *GetMoveTaskOrderURL) WithBasePath(bp string) *GetMoveTaskOrderURL
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 GetMoveTaskOrderUnauthorized ¶
type GetMoveTaskOrderUnauthorized struct { primev3messages.ClientError `json:"body,omitempty"` }Payload *
GetMoveTaskOrderUnauthorized The request was denied.
swagger:response getMoveTaskOrderUnauthorized
func NewGetMoveTaskOrderUnauthorized ¶
func NewGetMoveTaskOrderUnauthorized() *GetMoveTaskOrderUnauthorized
NewGetMoveTaskOrderUnauthorized creates GetMoveTaskOrderUnauthorized with default headers values
func (*GetMoveTaskOrderUnauthorized) SetPayload ¶
func (o *GetMoveTaskOrderUnauthorized) SetPayload(payload *primev3messages.ClientError)
SetPayload sets the payload to the get move task order unauthorized response
func (*GetMoveTaskOrderUnauthorized) WithPayload ¶
func (o *GetMoveTaskOrderUnauthorized) WithPayload(payload *primev3messages.ClientError) *GetMoveTaskOrderUnauthorized
WithPayload adds the payload to the get move task order unauthorized response
func (*GetMoveTaskOrderUnauthorized) WriteResponse ¶
func (o *GetMoveTaskOrderUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client