Documentation ¶
Index ¶
- Constants
- type FetchMTOAgentList
- type FetchMTOAgentListHandler
- type FetchMTOAgentListHandlerFunc
- type FetchMTOAgentListInternalServerError
- func (o *FetchMTOAgentListInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *FetchMTOAgentListInternalServerError) WithPayload(payload *ghcmessages.Error) *FetchMTOAgentListInternalServerError
- func (o *FetchMTOAgentListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type FetchMTOAgentListNotFound
- type FetchMTOAgentListOK
- type FetchMTOAgentListParams
- type FetchMTOAgentListURL
- func (o *FetchMTOAgentListURL) Build() (*url.URL, error)
- func (o *FetchMTOAgentListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FetchMTOAgentListURL) Must(u *url.URL, err error) *url.URL
- func (o *FetchMTOAgentListURL) SetBasePath(bp string)
- func (o *FetchMTOAgentListURL) String() string
- func (o *FetchMTOAgentListURL) StringFull(scheme, host string) string
- func (o *FetchMTOAgentListURL) WithBasePath(bp string) *FetchMTOAgentListURL
- type FetchMTOAgentListUnprocessableEntity
- func (o *FetchMTOAgentListUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *FetchMTOAgentListUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *FetchMTOAgentListUnprocessableEntity
- func (o *FetchMTOAgentListUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const FetchMTOAgentListInternalServerErrorCode int = 500
FetchMTOAgentListInternalServerErrorCode is the HTTP code returned for type FetchMTOAgentListInternalServerError
const FetchMTOAgentListNotFoundCode int = 404
FetchMTOAgentListNotFoundCode is the HTTP code returned for type FetchMTOAgentListNotFound
const FetchMTOAgentListOKCode int = 200
FetchMTOAgentListOKCode is the HTTP code returned for type FetchMTOAgentListOK
const FetchMTOAgentListUnprocessableEntityCode int = 422
FetchMTOAgentListUnprocessableEntityCode is the HTTP code returned for type FetchMTOAgentListUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchMTOAgentList ¶
type FetchMTOAgentList struct { Context *middleware.Context Handler FetchMTOAgentListHandler }
FetchMTOAgentList swagger:route GET /move_task_orders/{moveTaskOrderID}/mto_shipments/{shipmentID}/mto-agents mtoAgent fetchMTOAgentList
Fetch move task order agents.
Fetches a list of agents associated with a move task order.
func NewFetchMTOAgentList ¶
func NewFetchMTOAgentList(ctx *middleware.Context, handler FetchMTOAgentListHandler) *FetchMTOAgentList
NewFetchMTOAgentList creates a new http.Handler for the fetch m t o agent list operation
func (*FetchMTOAgentList) ServeHTTP ¶
func (o *FetchMTOAgentList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type FetchMTOAgentListHandler ¶
type FetchMTOAgentListHandler interface {
Handle(FetchMTOAgentListParams) middleware.Responder
}
FetchMTOAgentListHandler interface for that can handle valid fetch m t o agent list params
type FetchMTOAgentListHandlerFunc ¶
type FetchMTOAgentListHandlerFunc func(FetchMTOAgentListParams) middleware.Responder
FetchMTOAgentListHandlerFunc turns a function with the right signature into a fetch m t o agent list handler
func (FetchMTOAgentListHandlerFunc) Handle ¶
func (fn FetchMTOAgentListHandlerFunc) Handle(params FetchMTOAgentListParams) middleware.Responder
Handle executing the request and returning a response
type FetchMTOAgentListInternalServerError ¶
type FetchMTOAgentListInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
FetchMTOAgentListInternalServerError A server error occurred
swagger:response fetchMTOAgentListInternalServerError
func NewFetchMTOAgentListInternalServerError ¶
func NewFetchMTOAgentListInternalServerError() *FetchMTOAgentListInternalServerError
NewFetchMTOAgentListInternalServerError creates FetchMTOAgentListInternalServerError with default headers values
func (*FetchMTOAgentListInternalServerError) SetPayload ¶
func (o *FetchMTOAgentListInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the fetch m t o agent list internal server error response
func (*FetchMTOAgentListInternalServerError) WithPayload ¶
func (o *FetchMTOAgentListInternalServerError) WithPayload(payload *ghcmessages.Error) *FetchMTOAgentListInternalServerError
WithPayload adds the payload to the fetch m t o agent list internal server error response
func (*FetchMTOAgentListInternalServerError) WriteResponse ¶
func (o *FetchMTOAgentListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FetchMTOAgentListNotFound ¶
type FetchMTOAgentListNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
FetchMTOAgentListNotFound The requested resource wasn't found
swagger:response fetchMTOAgentListNotFound
func NewFetchMTOAgentListNotFound ¶
func NewFetchMTOAgentListNotFound() *FetchMTOAgentListNotFound
NewFetchMTOAgentListNotFound creates FetchMTOAgentListNotFound with default headers values
func (*FetchMTOAgentListNotFound) SetPayload ¶
func (o *FetchMTOAgentListNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the fetch m t o agent list not found response
func (*FetchMTOAgentListNotFound) WithPayload ¶
func (o *FetchMTOAgentListNotFound) WithPayload(payload *ghcmessages.Error) *FetchMTOAgentListNotFound
WithPayload adds the payload to the fetch m t o agent list not found response
func (*FetchMTOAgentListNotFound) WriteResponse ¶
func (o *FetchMTOAgentListNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FetchMTOAgentListOK ¶
type FetchMTOAgentListOK struct { /* In: Body */ Payload ghcmessages.MTOAgents `json:"body,omitempty"` }
FetchMTOAgentListOK Successfully retrieved all agents for a move task order
swagger:response fetchMTOAgentListOK
func NewFetchMTOAgentListOK ¶
func NewFetchMTOAgentListOK() *FetchMTOAgentListOK
NewFetchMTOAgentListOK creates FetchMTOAgentListOK with default headers values
func (*FetchMTOAgentListOK) SetPayload ¶
func (o *FetchMTOAgentListOK) SetPayload(payload ghcmessages.MTOAgents)
SetPayload sets the payload to the fetch m t o agent list o k response
func (*FetchMTOAgentListOK) WithPayload ¶
func (o *FetchMTOAgentListOK) WithPayload(payload ghcmessages.MTOAgents) *FetchMTOAgentListOK
WithPayload adds the payload to the fetch m t o agent list o k response
func (*FetchMTOAgentListOK) WriteResponse ¶
func (o *FetchMTOAgentListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FetchMTOAgentListParams ¶
type FetchMTOAgentListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of move task order Required: true In: path */ MoveTaskOrderID strfmt.UUID /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
FetchMTOAgentListParams contains all the bound params for the fetch m t o agent list operation typically these are obtained from a http.Request
swagger:parameters fetchMTOAgentList
func NewFetchMTOAgentListParams ¶
func NewFetchMTOAgentListParams() FetchMTOAgentListParams
NewFetchMTOAgentListParams creates a new FetchMTOAgentListParams object
There are no default values defined in the spec.
func (*FetchMTOAgentListParams) BindRequest ¶
func (o *FetchMTOAgentListParams) 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 NewFetchMTOAgentListParams() beforehand.
type FetchMTOAgentListURL ¶
type FetchMTOAgentListURL struct { MoveTaskOrderID strfmt.UUID ShipmentID strfmt.UUID // contains filtered or unexported fields }
FetchMTOAgentListURL generates an URL for the fetch m t o agent list operation
func (*FetchMTOAgentListURL) Build ¶
func (o *FetchMTOAgentListURL) Build() (*url.URL, error)
Build a url path and query string
func (*FetchMTOAgentListURL) BuildFull ¶
func (o *FetchMTOAgentListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*FetchMTOAgentListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*FetchMTOAgentListURL) SetBasePath ¶
func (o *FetchMTOAgentListURL) 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 (*FetchMTOAgentListURL) String ¶
func (o *FetchMTOAgentListURL) String() string
String returns the string representation of the path with query string
func (*FetchMTOAgentListURL) StringFull ¶
func (o *FetchMTOAgentListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*FetchMTOAgentListURL) WithBasePath ¶
func (o *FetchMTOAgentListURL) WithBasePath(bp string) *FetchMTOAgentListURL
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 FetchMTOAgentListUnprocessableEntity ¶
type FetchMTOAgentListUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
FetchMTOAgentListUnprocessableEntity The payload was unprocessable.
swagger:response fetchMTOAgentListUnprocessableEntity
func NewFetchMTOAgentListUnprocessableEntity ¶
func NewFetchMTOAgentListUnprocessableEntity() *FetchMTOAgentListUnprocessableEntity
NewFetchMTOAgentListUnprocessableEntity creates FetchMTOAgentListUnprocessableEntity with default headers values
func (*FetchMTOAgentListUnprocessableEntity) SetPayload ¶
func (o *FetchMTOAgentListUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the fetch m t o agent list unprocessable entity response
func (*FetchMTOAgentListUnprocessableEntity) WithPayload ¶
func (o *FetchMTOAgentListUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *FetchMTOAgentListUnprocessableEntity
WithPayload adds the payload to the fetch m t o agent list unprocessable entity response
func (*FetchMTOAgentListUnprocessableEntity) WriteResponse ¶
func (o *FetchMTOAgentListUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client