Documentation ¶
Index ¶
- Constants
- type GetMTOServiceItem
- type GetMTOServiceItemBadRequest
- type GetMTOServiceItemForbidden
- type GetMTOServiceItemHandler
- type GetMTOServiceItemHandlerFunc
- type GetMTOServiceItemInternalServerError
- func (o *GetMTOServiceItemInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetMTOServiceItemInternalServerError) WithPayload(payload *ghcmessages.Error) *GetMTOServiceItemInternalServerError
- func (o *GetMTOServiceItemInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetMTOServiceItemNotFound
- type GetMTOServiceItemOK
- type GetMTOServiceItemParams
- type GetMTOServiceItemURL
- func (o *GetMTOServiceItemURL) Build() (*url.URL, error)
- func (o *GetMTOServiceItemURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMTOServiceItemURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMTOServiceItemURL) SetBasePath(bp string)
- func (o *GetMTOServiceItemURL) String() string
- func (o *GetMTOServiceItemURL) StringFull(scheme, host string) string
- func (o *GetMTOServiceItemURL) WithBasePath(bp string) *GetMTOServiceItemURL
- type GetMTOServiceItemUnauthorized
- type ListMTOServiceItems
- type ListMTOServiceItemsHandler
- type ListMTOServiceItemsHandlerFunc
- type ListMTOServiceItemsInternalServerError
- func (o *ListMTOServiceItemsInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *ListMTOServiceItemsInternalServerError) WithPayload(payload *ghcmessages.Error) *ListMTOServiceItemsInternalServerError
- func (o *ListMTOServiceItemsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListMTOServiceItemsNotFound
- type ListMTOServiceItemsOK
- type ListMTOServiceItemsParams
- type ListMTOServiceItemsURL
- func (o *ListMTOServiceItemsURL) Build() (*url.URL, error)
- func (o *ListMTOServiceItemsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListMTOServiceItemsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListMTOServiceItemsURL) SetBasePath(bp string)
- func (o *ListMTOServiceItemsURL) String() string
- func (o *ListMTOServiceItemsURL) StringFull(scheme, host string) string
- func (o *ListMTOServiceItemsURL) WithBasePath(bp string) *ListMTOServiceItemsURL
- type ListMTOServiceItemsUnprocessableEntity
- func (o *ListMTOServiceItemsUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *ListMTOServiceItemsUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ListMTOServiceItemsUnprocessableEntity
- func (o *ListMTOServiceItemsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOServiceItemStatus
- type UpdateMTOServiceItemStatusBadRequest
- func (o *UpdateMTOServiceItemStatusBadRequest) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMTOServiceItemStatusBadRequest) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusBadRequest
- func (o *UpdateMTOServiceItemStatusBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOServiceItemStatusForbidden
- func (o *UpdateMTOServiceItemStatusForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMTOServiceItemStatusForbidden) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusForbidden
- func (o *UpdateMTOServiceItemStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOServiceItemStatusHandler
- type UpdateMTOServiceItemStatusHandlerFunc
- type UpdateMTOServiceItemStatusInternalServerError
- func (o *UpdateMTOServiceItemStatusInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMTOServiceItemStatusInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusInternalServerError
- func (o *UpdateMTOServiceItemStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOServiceItemStatusNotFound
- func (o *UpdateMTOServiceItemStatusNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMTOServiceItemStatusNotFound) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusNotFound
- func (o *UpdateMTOServiceItemStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOServiceItemStatusOK
- func (o *UpdateMTOServiceItemStatusOK) SetPayload(payload *ghcmessages.MTOServiceItem)
- func (o *UpdateMTOServiceItemStatusOK) WithPayload(payload *ghcmessages.MTOServiceItem) *UpdateMTOServiceItemStatusOK
- func (o *UpdateMTOServiceItemStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOServiceItemStatusParams
- type UpdateMTOServiceItemStatusPreconditionFailed
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusPreconditionFailed
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOServiceItemStatusURL
- func (o *UpdateMTOServiceItemStatusURL) Build() (*url.URL, error)
- func (o *UpdateMTOServiceItemStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateMTOServiceItemStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateMTOServiceItemStatusURL) SetBasePath(bp string)
- func (o *UpdateMTOServiceItemStatusURL) String() string
- func (o *UpdateMTOServiceItemStatusURL) StringFull(scheme, host string) string
- func (o *UpdateMTOServiceItemStatusURL) WithBasePath(bp string) *UpdateMTOServiceItemStatusURL
- type UpdateMTOServiceItemStatusUnauthorized
- func (o *UpdateMTOServiceItemStatusUnauthorized) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMTOServiceItemStatusUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusUnauthorized
- func (o *UpdateMTOServiceItemStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOServiceItemStatusUnprocessableEntity
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateMTOServiceItemStatusUnprocessableEntity
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceItemSitEntryDate
- type UpdateServiceItemSitEntryDateBadRequest
- func (o *UpdateServiceItemSitEntryDateBadRequest) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateServiceItemSitEntryDateBadRequest) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateBadRequest
- func (o *UpdateServiceItemSitEntryDateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceItemSitEntryDateForbidden
- func (o *UpdateServiceItemSitEntryDateForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateServiceItemSitEntryDateForbidden) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateForbidden
- func (o *UpdateServiceItemSitEntryDateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceItemSitEntryDateHandler
- type UpdateServiceItemSitEntryDateHandlerFunc
- type UpdateServiceItemSitEntryDateInternalServerError
- func (o *UpdateServiceItemSitEntryDateInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateServiceItemSitEntryDateInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateInternalServerError
- func (o *UpdateServiceItemSitEntryDateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceItemSitEntryDateNotFound
- func (o *UpdateServiceItemSitEntryDateNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateServiceItemSitEntryDateNotFound) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateNotFound
- func (o *UpdateServiceItemSitEntryDateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceItemSitEntryDateOK
- func (o *UpdateServiceItemSitEntryDateOK) SetPayload(payload *ghcmessages.MTOServiceItemSingle)
- func (o *UpdateServiceItemSitEntryDateOK) WithPayload(payload *ghcmessages.MTOServiceItemSingle) *UpdateServiceItemSitEntryDateOK
- func (o *UpdateServiceItemSitEntryDateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceItemSitEntryDateParams
- type UpdateServiceItemSitEntryDatePreconditionFailed
- func (o *UpdateServiceItemSitEntryDatePreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateServiceItemSitEntryDatePreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDatePreconditionFailed
- func (o *UpdateServiceItemSitEntryDatePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceItemSitEntryDateURL
- func (o *UpdateServiceItemSitEntryDateURL) Build() (*url.URL, error)
- func (o *UpdateServiceItemSitEntryDateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServiceItemSitEntryDateURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServiceItemSitEntryDateURL) SetBasePath(bp string)
- func (o *UpdateServiceItemSitEntryDateURL) String() string
- func (o *UpdateServiceItemSitEntryDateURL) StringFull(scheme, host string) string
- func (o *UpdateServiceItemSitEntryDateURL) WithBasePath(bp string) *UpdateServiceItemSitEntryDateURL
- type UpdateServiceItemSitEntryDateUnauthorized
- func (o *UpdateServiceItemSitEntryDateUnauthorized) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateServiceItemSitEntryDateUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateUnauthorized
- func (o *UpdateServiceItemSitEntryDateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceItemSitEntryDateUnprocessableEntity
- func (o *UpdateServiceItemSitEntryDateUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateServiceItemSitEntryDateUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateServiceItemSitEntryDateUnprocessableEntity
- func (o *UpdateServiceItemSitEntryDateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const GetMTOServiceItemBadRequestCode int = 400
GetMTOServiceItemBadRequestCode is the HTTP code returned for type GetMTOServiceItemBadRequest
const GetMTOServiceItemForbiddenCode int = 403
GetMTOServiceItemForbiddenCode is the HTTP code returned for type GetMTOServiceItemForbidden
const GetMTOServiceItemInternalServerErrorCode int = 500
GetMTOServiceItemInternalServerErrorCode is the HTTP code returned for type GetMTOServiceItemInternalServerError
const GetMTOServiceItemNotFoundCode int = 404
GetMTOServiceItemNotFoundCode is the HTTP code returned for type GetMTOServiceItemNotFound
const GetMTOServiceItemOKCode int = 200
GetMTOServiceItemOKCode is the HTTP code returned for type GetMTOServiceItemOK
GetMTOServiceItemUnauthorizedCode is the HTTP code returned for type GetMTOServiceItemUnauthorized
const ListMTOServiceItemsInternalServerErrorCode int = 500
ListMTOServiceItemsInternalServerErrorCode is the HTTP code returned for type ListMTOServiceItemsInternalServerError
const ListMTOServiceItemsNotFoundCode int = 404
ListMTOServiceItemsNotFoundCode is the HTTP code returned for type ListMTOServiceItemsNotFound
const ListMTOServiceItemsOKCode int = 200
ListMTOServiceItemsOKCode is the HTTP code returned for type ListMTOServiceItemsOK
const ListMTOServiceItemsUnprocessableEntityCode int = 422
ListMTOServiceItemsUnprocessableEntityCode is the HTTP code returned for type ListMTOServiceItemsUnprocessableEntity
const UpdateMTOServiceItemStatusBadRequestCode int = 400
UpdateMTOServiceItemStatusBadRequestCode is the HTTP code returned for type UpdateMTOServiceItemStatusBadRequest
const UpdateMTOServiceItemStatusForbiddenCode int = 403
UpdateMTOServiceItemStatusForbiddenCode is the HTTP code returned for type UpdateMTOServiceItemStatusForbidden
const UpdateMTOServiceItemStatusInternalServerErrorCode int = 500
UpdateMTOServiceItemStatusInternalServerErrorCode is the HTTP code returned for type UpdateMTOServiceItemStatusInternalServerError
const UpdateMTOServiceItemStatusNotFoundCode int = 404
UpdateMTOServiceItemStatusNotFoundCode is the HTTP code returned for type UpdateMTOServiceItemStatusNotFound
const UpdateMTOServiceItemStatusOKCode int = 200
UpdateMTOServiceItemStatusOKCode is the HTTP code returned for type UpdateMTOServiceItemStatusOK
const UpdateMTOServiceItemStatusPreconditionFailedCode int = 412
UpdateMTOServiceItemStatusPreconditionFailedCode is the HTTP code returned for type UpdateMTOServiceItemStatusPreconditionFailed
UpdateMTOServiceItemStatusUnauthorizedCode is the HTTP code returned for type UpdateMTOServiceItemStatusUnauthorized
const UpdateMTOServiceItemStatusUnprocessableEntityCode int = 422
UpdateMTOServiceItemStatusUnprocessableEntityCode is the HTTP code returned for type UpdateMTOServiceItemStatusUnprocessableEntity
const UpdateServiceItemSitEntryDateBadRequestCode int = 400
UpdateServiceItemSitEntryDateBadRequestCode is the HTTP code returned for type UpdateServiceItemSitEntryDateBadRequest
const UpdateServiceItemSitEntryDateForbiddenCode int = 403
UpdateServiceItemSitEntryDateForbiddenCode is the HTTP code returned for type UpdateServiceItemSitEntryDateForbidden
const UpdateServiceItemSitEntryDateInternalServerErrorCode int = 500
UpdateServiceItemSitEntryDateInternalServerErrorCode is the HTTP code returned for type UpdateServiceItemSitEntryDateInternalServerError
const UpdateServiceItemSitEntryDateNotFoundCode int = 404
UpdateServiceItemSitEntryDateNotFoundCode is the HTTP code returned for type UpdateServiceItemSitEntryDateNotFound
const UpdateServiceItemSitEntryDateOKCode int = 200
UpdateServiceItemSitEntryDateOKCode is the HTTP code returned for type UpdateServiceItemSitEntryDateOK
const UpdateServiceItemSitEntryDatePreconditionFailedCode int = 412
UpdateServiceItemSitEntryDatePreconditionFailedCode is the HTTP code returned for type UpdateServiceItemSitEntryDatePreconditionFailed
UpdateServiceItemSitEntryDateUnauthorizedCode is the HTTP code returned for type UpdateServiceItemSitEntryDateUnauthorized
const UpdateServiceItemSitEntryDateUnprocessableEntityCode int = 422
UpdateServiceItemSitEntryDateUnprocessableEntityCode is the HTTP code returned for type UpdateServiceItemSitEntryDateUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetMTOServiceItem ¶
type GetMTOServiceItem struct { Context *middleware.Context Handler GetMTOServiceItemHandler }
GetMTOServiceItem swagger:route GET /move-task-orders/{moveTaskOrderID}/service-items/{mtoServiceItemID} mtoServiceItem getMTOServiceItem
Gets a line item by ID for a move by ID ¶
Gets a line item by ID for a move by ID
func NewGetMTOServiceItem ¶
func NewGetMTOServiceItem(ctx *middleware.Context, handler GetMTOServiceItemHandler) *GetMTOServiceItem
NewGetMTOServiceItem creates a new http.Handler for the get m t o service item operation
func (*GetMTOServiceItem) ServeHTTP ¶
func (o *GetMTOServiceItem) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetMTOServiceItemBadRequest ¶
type GetMTOServiceItemBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetMTOServiceItemBadRequest The request payload is invalid
swagger:response getMTOServiceItemBadRequest
func NewGetMTOServiceItemBadRequest ¶
func NewGetMTOServiceItemBadRequest() *GetMTOServiceItemBadRequest
NewGetMTOServiceItemBadRequest creates GetMTOServiceItemBadRequest with default headers values
func (*GetMTOServiceItemBadRequest) SetPayload ¶
func (o *GetMTOServiceItemBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get m t o service item bad request response
func (*GetMTOServiceItemBadRequest) WithPayload ¶
func (o *GetMTOServiceItemBadRequest) WithPayload(payload *ghcmessages.Error) *GetMTOServiceItemBadRequest
WithPayload adds the payload to the get m t o service item bad request response
func (*GetMTOServiceItemBadRequest) WriteResponse ¶
func (o *GetMTOServiceItemBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMTOServiceItemForbidden ¶
type GetMTOServiceItemForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetMTOServiceItemForbidden The request was denied
swagger:response getMTOServiceItemForbidden
func NewGetMTOServiceItemForbidden ¶
func NewGetMTOServiceItemForbidden() *GetMTOServiceItemForbidden
NewGetMTOServiceItemForbidden creates GetMTOServiceItemForbidden with default headers values
func (*GetMTOServiceItemForbidden) SetPayload ¶
func (o *GetMTOServiceItemForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get m t o service item forbidden response
func (*GetMTOServiceItemForbidden) WithPayload ¶
func (o *GetMTOServiceItemForbidden) WithPayload(payload *ghcmessages.Error) *GetMTOServiceItemForbidden
WithPayload adds the payload to the get m t o service item forbidden response
func (*GetMTOServiceItemForbidden) WriteResponse ¶
func (o *GetMTOServiceItemForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMTOServiceItemHandler ¶
type GetMTOServiceItemHandler interface {
Handle(GetMTOServiceItemParams) middleware.Responder
}
GetMTOServiceItemHandler interface for that can handle valid get m t o service item params
type GetMTOServiceItemHandlerFunc ¶
type GetMTOServiceItemHandlerFunc func(GetMTOServiceItemParams) middleware.Responder
GetMTOServiceItemHandlerFunc turns a function with the right signature into a get m t o service item handler
func (GetMTOServiceItemHandlerFunc) Handle ¶
func (fn GetMTOServiceItemHandlerFunc) Handle(params GetMTOServiceItemParams) middleware.Responder
Handle executing the request and returning a response
type GetMTOServiceItemInternalServerError ¶
type GetMTOServiceItemInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetMTOServiceItemInternalServerError A server error occurred
swagger:response getMTOServiceItemInternalServerError
func NewGetMTOServiceItemInternalServerError ¶
func NewGetMTOServiceItemInternalServerError() *GetMTOServiceItemInternalServerError
NewGetMTOServiceItemInternalServerError creates GetMTOServiceItemInternalServerError with default headers values
func (*GetMTOServiceItemInternalServerError) SetPayload ¶
func (o *GetMTOServiceItemInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get m t o service item internal server error response
func (*GetMTOServiceItemInternalServerError) WithPayload ¶
func (o *GetMTOServiceItemInternalServerError) WithPayload(payload *ghcmessages.Error) *GetMTOServiceItemInternalServerError
WithPayload adds the payload to the get m t o service item internal server error response
func (*GetMTOServiceItemInternalServerError) WriteResponse ¶
func (o *GetMTOServiceItemInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMTOServiceItemNotFound ¶
type GetMTOServiceItemNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetMTOServiceItemNotFound The requested resource wasn't found
swagger:response getMTOServiceItemNotFound
func NewGetMTOServiceItemNotFound ¶
func NewGetMTOServiceItemNotFound() *GetMTOServiceItemNotFound
NewGetMTOServiceItemNotFound creates GetMTOServiceItemNotFound with default headers values
func (*GetMTOServiceItemNotFound) SetPayload ¶
func (o *GetMTOServiceItemNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get m t o service item not found response
func (*GetMTOServiceItemNotFound) WithPayload ¶
func (o *GetMTOServiceItemNotFound) WithPayload(payload *ghcmessages.Error) *GetMTOServiceItemNotFound
WithPayload adds the payload to the get m t o service item not found response
func (*GetMTOServiceItemNotFound) WriteResponse ¶
func (o *GetMTOServiceItemNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMTOServiceItemOK ¶
type GetMTOServiceItemOK struct { /* In: Body */ Payload *ghcmessages.MTOServiceItemSingle `json:"body,omitempty"` }
GetMTOServiceItemOK Successfully retrieved a line item for a move task order by ID
swagger:response getMTOServiceItemOK
func NewGetMTOServiceItemOK ¶
func NewGetMTOServiceItemOK() *GetMTOServiceItemOK
NewGetMTOServiceItemOK creates GetMTOServiceItemOK with default headers values
func (*GetMTOServiceItemOK) SetPayload ¶
func (o *GetMTOServiceItemOK) SetPayload(payload *ghcmessages.MTOServiceItemSingle)
SetPayload sets the payload to the get m t o service item o k response
func (*GetMTOServiceItemOK) WithPayload ¶
func (o *GetMTOServiceItemOK) WithPayload(payload *ghcmessages.MTOServiceItemSingle) *GetMTOServiceItemOK
WithPayload adds the payload to the get m t o service item o k response
func (*GetMTOServiceItemOK) WriteResponse ¶
func (o *GetMTOServiceItemOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMTOServiceItemParams ¶
type GetMTOServiceItemParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of move to use Required: true In: path */ MoveTaskOrderID string /*ID of line item to use Required: true In: path */ MtoServiceItemID string }
GetMTOServiceItemParams contains all the bound params for the get m t o service item operation typically these are obtained from a http.Request
swagger:parameters getMTOServiceItem
func NewGetMTOServiceItemParams ¶
func NewGetMTOServiceItemParams() GetMTOServiceItemParams
NewGetMTOServiceItemParams creates a new GetMTOServiceItemParams object
There are no default values defined in the spec.
func (*GetMTOServiceItemParams) BindRequest ¶
func (o *GetMTOServiceItemParams) 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 NewGetMTOServiceItemParams() beforehand.
type GetMTOServiceItemURL ¶
type GetMTOServiceItemURL struct { MoveTaskOrderID string MtoServiceItemID string // contains filtered or unexported fields }
GetMTOServiceItemURL generates an URL for the get m t o service item operation
func (*GetMTOServiceItemURL) Build ¶
func (o *GetMTOServiceItemURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetMTOServiceItemURL) BuildFull ¶
func (o *GetMTOServiceItemURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetMTOServiceItemURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetMTOServiceItemURL) SetBasePath ¶
func (o *GetMTOServiceItemURL) 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 (*GetMTOServiceItemURL) String ¶
func (o *GetMTOServiceItemURL) String() string
String returns the string representation of the path with query string
func (*GetMTOServiceItemURL) StringFull ¶
func (o *GetMTOServiceItemURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetMTOServiceItemURL) WithBasePath ¶
func (o *GetMTOServiceItemURL) WithBasePath(bp string) *GetMTOServiceItemURL
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 GetMTOServiceItemUnauthorized ¶
type GetMTOServiceItemUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
GetMTOServiceItemUnauthorized The request was denied
swagger:response getMTOServiceItemUnauthorized
func NewGetMTOServiceItemUnauthorized ¶
func NewGetMTOServiceItemUnauthorized() *GetMTOServiceItemUnauthorized
NewGetMTOServiceItemUnauthorized creates GetMTOServiceItemUnauthorized with default headers values
func (*GetMTOServiceItemUnauthorized) SetPayload ¶
func (o *GetMTOServiceItemUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get m t o service item unauthorized response
func (*GetMTOServiceItemUnauthorized) WithPayload ¶
func (o *GetMTOServiceItemUnauthorized) WithPayload(payload *ghcmessages.Error) *GetMTOServiceItemUnauthorized
WithPayload adds the payload to the get m t o service item unauthorized response
func (*GetMTOServiceItemUnauthorized) WriteResponse ¶
func (o *GetMTOServiceItemUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListMTOServiceItems ¶
type ListMTOServiceItems struct { Context *middleware.Context Handler ListMTOServiceItemsHandler }
ListMTOServiceItems swagger:route GET /move_task_orders/{moveTaskOrderID}/mto_service_items mtoServiceItem listMTOServiceItems
Gets all line items for a move ¶
Gets all line items for a move
func NewListMTOServiceItems ¶
func NewListMTOServiceItems(ctx *middleware.Context, handler ListMTOServiceItemsHandler) *ListMTOServiceItems
NewListMTOServiceItems creates a new http.Handler for the list m t o service items operation
func (*ListMTOServiceItems) ServeHTTP ¶
func (o *ListMTOServiceItems) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListMTOServiceItemsHandler ¶
type ListMTOServiceItemsHandler interface {
Handle(ListMTOServiceItemsParams) middleware.Responder
}
ListMTOServiceItemsHandler interface for that can handle valid list m t o service items params
type ListMTOServiceItemsHandlerFunc ¶
type ListMTOServiceItemsHandlerFunc func(ListMTOServiceItemsParams) middleware.Responder
ListMTOServiceItemsHandlerFunc turns a function with the right signature into a list m t o service items handler
func (ListMTOServiceItemsHandlerFunc) Handle ¶
func (fn ListMTOServiceItemsHandlerFunc) Handle(params ListMTOServiceItemsParams) middleware.Responder
Handle executing the request and returning a response
type ListMTOServiceItemsInternalServerError ¶
type ListMTOServiceItemsInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ListMTOServiceItemsInternalServerError A server error occurred
swagger:response listMTOServiceItemsInternalServerError
func NewListMTOServiceItemsInternalServerError ¶
func NewListMTOServiceItemsInternalServerError() *ListMTOServiceItemsInternalServerError
NewListMTOServiceItemsInternalServerError creates ListMTOServiceItemsInternalServerError with default headers values
func (*ListMTOServiceItemsInternalServerError) SetPayload ¶
func (o *ListMTOServiceItemsInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the list m t o service items internal server error response
func (*ListMTOServiceItemsInternalServerError) WithPayload ¶
func (o *ListMTOServiceItemsInternalServerError) WithPayload(payload *ghcmessages.Error) *ListMTOServiceItemsInternalServerError
WithPayload adds the payload to the list m t o service items internal server error response
func (*ListMTOServiceItemsInternalServerError) WriteResponse ¶
func (o *ListMTOServiceItemsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListMTOServiceItemsNotFound ¶
type ListMTOServiceItemsNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ListMTOServiceItemsNotFound The requested resource wasn't found
swagger:response listMTOServiceItemsNotFound
func NewListMTOServiceItemsNotFound ¶
func NewListMTOServiceItemsNotFound() *ListMTOServiceItemsNotFound
NewListMTOServiceItemsNotFound creates ListMTOServiceItemsNotFound with default headers values
func (*ListMTOServiceItemsNotFound) SetPayload ¶
func (o *ListMTOServiceItemsNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the list m t o service items not found response
func (*ListMTOServiceItemsNotFound) WithPayload ¶
func (o *ListMTOServiceItemsNotFound) WithPayload(payload *ghcmessages.Error) *ListMTOServiceItemsNotFound
WithPayload adds the payload to the list m t o service items not found response
func (*ListMTOServiceItemsNotFound) WriteResponse ¶
func (o *ListMTOServiceItemsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListMTOServiceItemsOK ¶
type ListMTOServiceItemsOK struct { /* In: Body */ Payload ghcmessages.MTOServiceItems `json:"body,omitempty"` }
ListMTOServiceItemsOK Successfully retrieved all line items for a move task order
swagger:response listMTOServiceItemsOK
func NewListMTOServiceItemsOK ¶
func NewListMTOServiceItemsOK() *ListMTOServiceItemsOK
NewListMTOServiceItemsOK creates ListMTOServiceItemsOK with default headers values
func (*ListMTOServiceItemsOK) SetPayload ¶
func (o *ListMTOServiceItemsOK) SetPayload(payload ghcmessages.MTOServiceItems)
SetPayload sets the payload to the list m t o service items o k response
func (*ListMTOServiceItemsOK) WithPayload ¶
func (o *ListMTOServiceItemsOK) WithPayload(payload ghcmessages.MTOServiceItems) *ListMTOServiceItemsOK
WithPayload adds the payload to the list m t o service items o k response
func (*ListMTOServiceItemsOK) WriteResponse ¶
func (o *ListMTOServiceItemsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListMTOServiceItemsParams ¶
type ListMTOServiceItemsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of move for mto service item to use Required: true In: path */ MoveTaskOrderID strfmt.UUID }
ListMTOServiceItemsParams contains all the bound params for the list m t o service items operation typically these are obtained from a http.Request
swagger:parameters listMTOServiceItems
func NewListMTOServiceItemsParams ¶
func NewListMTOServiceItemsParams() ListMTOServiceItemsParams
NewListMTOServiceItemsParams creates a new ListMTOServiceItemsParams object
There are no default values defined in the spec.
func (*ListMTOServiceItemsParams) BindRequest ¶
func (o *ListMTOServiceItemsParams) 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 NewListMTOServiceItemsParams() beforehand.
type ListMTOServiceItemsURL ¶
type ListMTOServiceItemsURL struct { MoveTaskOrderID strfmt.UUID // contains filtered or unexported fields }
ListMTOServiceItemsURL generates an URL for the list m t o service items operation
func (*ListMTOServiceItemsURL) Build ¶
func (o *ListMTOServiceItemsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListMTOServiceItemsURL) BuildFull ¶
func (o *ListMTOServiceItemsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListMTOServiceItemsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListMTOServiceItemsURL) SetBasePath ¶
func (o *ListMTOServiceItemsURL) 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 (*ListMTOServiceItemsURL) String ¶
func (o *ListMTOServiceItemsURL) String() string
String returns the string representation of the path with query string
func (*ListMTOServiceItemsURL) StringFull ¶
func (o *ListMTOServiceItemsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListMTOServiceItemsURL) WithBasePath ¶
func (o *ListMTOServiceItemsURL) WithBasePath(bp string) *ListMTOServiceItemsURL
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 ListMTOServiceItemsUnprocessableEntity ¶
type ListMTOServiceItemsUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
ListMTOServiceItemsUnprocessableEntity The payload was unprocessable.
swagger:response listMTOServiceItemsUnprocessableEntity
func NewListMTOServiceItemsUnprocessableEntity ¶
func NewListMTOServiceItemsUnprocessableEntity() *ListMTOServiceItemsUnprocessableEntity
NewListMTOServiceItemsUnprocessableEntity creates ListMTOServiceItemsUnprocessableEntity with default headers values
func (*ListMTOServiceItemsUnprocessableEntity) SetPayload ¶
func (o *ListMTOServiceItemsUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the list m t o service items unprocessable entity response
func (*ListMTOServiceItemsUnprocessableEntity) WithPayload ¶
func (o *ListMTOServiceItemsUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ListMTOServiceItemsUnprocessableEntity
WithPayload adds the payload to the list m t o service items unprocessable entity response
func (*ListMTOServiceItemsUnprocessableEntity) WriteResponse ¶
func (o *ListMTOServiceItemsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOServiceItemStatus ¶
type UpdateMTOServiceItemStatus struct { Context *middleware.Context Handler UpdateMTOServiceItemStatusHandler }
UpdateMTOServiceItemStatus swagger:route PATCH /move-task-orders/{moveTaskOrderID}/service-items/{mtoServiceItemID}/status mtoServiceItem updateMTOServiceItemStatus
Change the status of a line item for a move by ID ¶
Changes the status of a line item for a move by ID
func NewUpdateMTOServiceItemStatus ¶
func NewUpdateMTOServiceItemStatus(ctx *middleware.Context, handler UpdateMTOServiceItemStatusHandler) *UpdateMTOServiceItemStatus
NewUpdateMTOServiceItemStatus creates a new http.Handler for the update m t o service item status operation
func (*UpdateMTOServiceItemStatus) ServeHTTP ¶
func (o *UpdateMTOServiceItemStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateMTOServiceItemStatusBadRequest ¶
type UpdateMTOServiceItemStatusBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMTOServiceItemStatusBadRequest The request payload is invalid
swagger:response updateMTOServiceItemStatusBadRequest
func NewUpdateMTOServiceItemStatusBadRequest ¶
func NewUpdateMTOServiceItemStatusBadRequest() *UpdateMTOServiceItemStatusBadRequest
NewUpdateMTOServiceItemStatusBadRequest creates UpdateMTOServiceItemStatusBadRequest with default headers values
func (*UpdateMTOServiceItemStatusBadRequest) SetPayload ¶
func (o *UpdateMTOServiceItemStatusBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update m t o service item status bad request response
func (*UpdateMTOServiceItemStatusBadRequest) WithPayload ¶
func (o *UpdateMTOServiceItemStatusBadRequest) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusBadRequest
WithPayload adds the payload to the update m t o service item status bad request response
func (*UpdateMTOServiceItemStatusBadRequest) WriteResponse ¶
func (o *UpdateMTOServiceItemStatusBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOServiceItemStatusForbidden ¶
type UpdateMTOServiceItemStatusForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMTOServiceItemStatusForbidden The request was denied
swagger:response updateMTOServiceItemStatusForbidden
func NewUpdateMTOServiceItemStatusForbidden ¶
func NewUpdateMTOServiceItemStatusForbidden() *UpdateMTOServiceItemStatusForbidden
NewUpdateMTOServiceItemStatusForbidden creates UpdateMTOServiceItemStatusForbidden with default headers values
func (*UpdateMTOServiceItemStatusForbidden) SetPayload ¶
func (o *UpdateMTOServiceItemStatusForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update m t o service item status forbidden response
func (*UpdateMTOServiceItemStatusForbidden) WithPayload ¶
func (o *UpdateMTOServiceItemStatusForbidden) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusForbidden
WithPayload adds the payload to the update m t o service item status forbidden response
func (*UpdateMTOServiceItemStatusForbidden) WriteResponse ¶
func (o *UpdateMTOServiceItemStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOServiceItemStatusHandler ¶
type UpdateMTOServiceItemStatusHandler interface {
Handle(UpdateMTOServiceItemStatusParams) middleware.Responder
}
UpdateMTOServiceItemStatusHandler interface for that can handle valid update m t o service item status params
type UpdateMTOServiceItemStatusHandlerFunc ¶
type UpdateMTOServiceItemStatusHandlerFunc func(UpdateMTOServiceItemStatusParams) middleware.Responder
UpdateMTOServiceItemStatusHandlerFunc turns a function with the right signature into a update m t o service item status handler
func (UpdateMTOServiceItemStatusHandlerFunc) Handle ¶
func (fn UpdateMTOServiceItemStatusHandlerFunc) Handle(params UpdateMTOServiceItemStatusParams) middleware.Responder
Handle executing the request and returning a response
type UpdateMTOServiceItemStatusInternalServerError ¶
type UpdateMTOServiceItemStatusInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMTOServiceItemStatusInternalServerError A server error occurred
swagger:response updateMTOServiceItemStatusInternalServerError
func NewUpdateMTOServiceItemStatusInternalServerError ¶
func NewUpdateMTOServiceItemStatusInternalServerError() *UpdateMTOServiceItemStatusInternalServerError
NewUpdateMTOServiceItemStatusInternalServerError creates UpdateMTOServiceItemStatusInternalServerError with default headers values
func (*UpdateMTOServiceItemStatusInternalServerError) SetPayload ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update m t o service item status internal server error response
func (*UpdateMTOServiceItemStatusInternalServerError) WithPayload ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusInternalServerError
WithPayload adds the payload to the update m t o service item status internal server error response
func (*UpdateMTOServiceItemStatusInternalServerError) WriteResponse ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOServiceItemStatusNotFound ¶
type UpdateMTOServiceItemStatusNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMTOServiceItemStatusNotFound The requested resource wasn't found
swagger:response updateMTOServiceItemStatusNotFound
func NewUpdateMTOServiceItemStatusNotFound ¶
func NewUpdateMTOServiceItemStatusNotFound() *UpdateMTOServiceItemStatusNotFound
NewUpdateMTOServiceItemStatusNotFound creates UpdateMTOServiceItemStatusNotFound with default headers values
func (*UpdateMTOServiceItemStatusNotFound) SetPayload ¶
func (o *UpdateMTOServiceItemStatusNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update m t o service item status not found response
func (*UpdateMTOServiceItemStatusNotFound) WithPayload ¶
func (o *UpdateMTOServiceItemStatusNotFound) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusNotFound
WithPayload adds the payload to the update m t o service item status not found response
func (*UpdateMTOServiceItemStatusNotFound) WriteResponse ¶
func (o *UpdateMTOServiceItemStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOServiceItemStatusOK ¶
type UpdateMTOServiceItemStatusOK struct { /* In: Body */ Payload *ghcmessages.MTOServiceItem `json:"body,omitempty"` }
UpdateMTOServiceItemStatusOK Successfully updated status for a line item for a move task order by ID
swagger:response updateMTOServiceItemStatusOK
func NewUpdateMTOServiceItemStatusOK ¶
func NewUpdateMTOServiceItemStatusOK() *UpdateMTOServiceItemStatusOK
NewUpdateMTOServiceItemStatusOK creates UpdateMTOServiceItemStatusOK with default headers values
func (*UpdateMTOServiceItemStatusOK) SetPayload ¶
func (o *UpdateMTOServiceItemStatusOK) SetPayload(payload *ghcmessages.MTOServiceItem)
SetPayload sets the payload to the update m t o service item status o k response
func (*UpdateMTOServiceItemStatusOK) WithPayload ¶
func (o *UpdateMTOServiceItemStatusOK) WithPayload(payload *ghcmessages.MTOServiceItem) *UpdateMTOServiceItemStatusOK
WithPayload adds the payload to the update m t o service item status o k response
func (*UpdateMTOServiceItemStatusOK) WriteResponse ¶
func (o *UpdateMTOServiceItemStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOServiceItemStatusParams ¶
type UpdateMTOServiceItemStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.PatchMTOServiceItemStatusPayload /*ID of move to use Required: true In: path */ MoveTaskOrderID string /*ID of line item to use Required: true In: path */ MtoServiceItemID string }
UpdateMTOServiceItemStatusParams contains all the bound params for the update m t o service item status operation typically these are obtained from a http.Request
swagger:parameters updateMTOServiceItemStatus
func NewUpdateMTOServiceItemStatusParams ¶
func NewUpdateMTOServiceItemStatusParams() UpdateMTOServiceItemStatusParams
NewUpdateMTOServiceItemStatusParams creates a new UpdateMTOServiceItemStatusParams object
There are no default values defined in the spec.
func (*UpdateMTOServiceItemStatusParams) BindRequest ¶
func (o *UpdateMTOServiceItemStatusParams) 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 NewUpdateMTOServiceItemStatusParams() beforehand.
type UpdateMTOServiceItemStatusPreconditionFailed ¶
type UpdateMTOServiceItemStatusPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMTOServiceItemStatusPreconditionFailed Precondition failed
swagger:response updateMTOServiceItemStatusPreconditionFailed
func NewUpdateMTOServiceItemStatusPreconditionFailed ¶
func NewUpdateMTOServiceItemStatusPreconditionFailed() *UpdateMTOServiceItemStatusPreconditionFailed
NewUpdateMTOServiceItemStatusPreconditionFailed creates UpdateMTOServiceItemStatusPreconditionFailed with default headers values
func (*UpdateMTOServiceItemStatusPreconditionFailed) SetPayload ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update m t o service item status precondition failed response
func (*UpdateMTOServiceItemStatusPreconditionFailed) WithPayload ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusPreconditionFailed
WithPayload adds the payload to the update m t o service item status precondition failed response
func (*UpdateMTOServiceItemStatusPreconditionFailed) WriteResponse ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOServiceItemStatusURL ¶
type UpdateMTOServiceItemStatusURL struct { MoveTaskOrderID string MtoServiceItemID string // contains filtered or unexported fields }
UpdateMTOServiceItemStatusURL generates an URL for the update m t o service item status operation
func (*UpdateMTOServiceItemStatusURL) Build ¶
func (o *UpdateMTOServiceItemStatusURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateMTOServiceItemStatusURL) BuildFull ¶
func (o *UpdateMTOServiceItemStatusURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateMTOServiceItemStatusURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateMTOServiceItemStatusURL) SetBasePath ¶
func (o *UpdateMTOServiceItemStatusURL) 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 (*UpdateMTOServiceItemStatusURL) String ¶
func (o *UpdateMTOServiceItemStatusURL) String() string
String returns the string representation of the path with query string
func (*UpdateMTOServiceItemStatusURL) StringFull ¶
func (o *UpdateMTOServiceItemStatusURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateMTOServiceItemStatusURL) WithBasePath ¶
func (o *UpdateMTOServiceItemStatusURL) WithBasePath(bp string) *UpdateMTOServiceItemStatusURL
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 UpdateMTOServiceItemStatusUnauthorized ¶
type UpdateMTOServiceItemStatusUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
UpdateMTOServiceItemStatusUnauthorized The request was denied
swagger:response updateMTOServiceItemStatusUnauthorized
func NewUpdateMTOServiceItemStatusUnauthorized ¶
func NewUpdateMTOServiceItemStatusUnauthorized() *UpdateMTOServiceItemStatusUnauthorized
NewUpdateMTOServiceItemStatusUnauthorized creates UpdateMTOServiceItemStatusUnauthorized with default headers values
func (*UpdateMTOServiceItemStatusUnauthorized) SetPayload ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update m t o service item status unauthorized response
func (*UpdateMTOServiceItemStatusUnauthorized) WithPayload ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdateMTOServiceItemStatusUnauthorized
WithPayload adds the payload to the update m t o service item status unauthorized response
func (*UpdateMTOServiceItemStatusUnauthorized) WriteResponse ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOServiceItemStatusUnprocessableEntity ¶
type UpdateMTOServiceItemStatusUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateMTOServiceItemStatusUnprocessableEntity The payload was unprocessable.
swagger:response updateMTOServiceItemStatusUnprocessableEntity
func NewUpdateMTOServiceItemStatusUnprocessableEntity ¶
func NewUpdateMTOServiceItemStatusUnprocessableEntity() *UpdateMTOServiceItemStatusUnprocessableEntity
NewUpdateMTOServiceItemStatusUnprocessableEntity creates UpdateMTOServiceItemStatusUnprocessableEntity with default headers values
func (*UpdateMTOServiceItemStatusUnprocessableEntity) SetPayload ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update m t o service item status unprocessable entity response
func (*UpdateMTOServiceItemStatusUnprocessableEntity) WithPayload ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateMTOServiceItemStatusUnprocessableEntity
WithPayload adds the payload to the update m t o service item status unprocessable entity response
func (*UpdateMTOServiceItemStatusUnprocessableEntity) WriteResponse ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceItemSitEntryDate ¶
type UpdateServiceItemSitEntryDate struct { Context *middleware.Context Handler UpdateServiceItemSitEntryDateHandler }
UpdateServiceItemSitEntryDate swagger:route PATCH /service-item/{mtoServiceItemID}/entry-date-update mtoServiceItem updateServiceItemSitEntryDate
Updates a service item's SIT entry date by ID ¶
Locates the service item in the database and updates the SIT entry date for the selected service item and returns the service item
func NewUpdateServiceItemSitEntryDate ¶
func NewUpdateServiceItemSitEntryDate(ctx *middleware.Context, handler UpdateServiceItemSitEntryDateHandler) *UpdateServiceItemSitEntryDate
NewUpdateServiceItemSitEntryDate creates a new http.Handler for the update service item sit entry date operation
func (*UpdateServiceItemSitEntryDate) ServeHTTP ¶
func (o *UpdateServiceItemSitEntryDate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceItemSitEntryDateBadRequest ¶
type UpdateServiceItemSitEntryDateBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateServiceItemSitEntryDateBadRequest The request payload is invalid
swagger:response updateServiceItemSitEntryDateBadRequest
func NewUpdateServiceItemSitEntryDateBadRequest ¶
func NewUpdateServiceItemSitEntryDateBadRequest() *UpdateServiceItemSitEntryDateBadRequest
NewUpdateServiceItemSitEntryDateBadRequest creates UpdateServiceItemSitEntryDateBadRequest with default headers values
func (*UpdateServiceItemSitEntryDateBadRequest) SetPayload ¶
func (o *UpdateServiceItemSitEntryDateBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update service item sit entry date bad request response
func (*UpdateServiceItemSitEntryDateBadRequest) WithPayload ¶
func (o *UpdateServiceItemSitEntryDateBadRequest) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateBadRequest
WithPayload adds the payload to the update service item sit entry date bad request response
func (*UpdateServiceItemSitEntryDateBadRequest) WriteResponse ¶
func (o *UpdateServiceItemSitEntryDateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceItemSitEntryDateForbidden ¶
type UpdateServiceItemSitEntryDateForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateServiceItemSitEntryDateForbidden The request was denied
swagger:response updateServiceItemSitEntryDateForbidden
func NewUpdateServiceItemSitEntryDateForbidden ¶
func NewUpdateServiceItemSitEntryDateForbidden() *UpdateServiceItemSitEntryDateForbidden
NewUpdateServiceItemSitEntryDateForbidden creates UpdateServiceItemSitEntryDateForbidden with default headers values
func (*UpdateServiceItemSitEntryDateForbidden) SetPayload ¶
func (o *UpdateServiceItemSitEntryDateForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update service item sit entry date forbidden response
func (*UpdateServiceItemSitEntryDateForbidden) WithPayload ¶
func (o *UpdateServiceItemSitEntryDateForbidden) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateForbidden
WithPayload adds the payload to the update service item sit entry date forbidden response
func (*UpdateServiceItemSitEntryDateForbidden) WriteResponse ¶
func (o *UpdateServiceItemSitEntryDateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceItemSitEntryDateHandler ¶
type UpdateServiceItemSitEntryDateHandler interface {
Handle(UpdateServiceItemSitEntryDateParams) middleware.Responder
}
UpdateServiceItemSitEntryDateHandler interface for that can handle valid update service item sit entry date params
type UpdateServiceItemSitEntryDateHandlerFunc ¶
type UpdateServiceItemSitEntryDateHandlerFunc func(UpdateServiceItemSitEntryDateParams) middleware.Responder
UpdateServiceItemSitEntryDateHandlerFunc turns a function with the right signature into a update service item sit entry date handler
func (UpdateServiceItemSitEntryDateHandlerFunc) Handle ¶
func (fn UpdateServiceItemSitEntryDateHandlerFunc) Handle(params UpdateServiceItemSitEntryDateParams) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceItemSitEntryDateInternalServerError ¶
type UpdateServiceItemSitEntryDateInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateServiceItemSitEntryDateInternalServerError A server error occurred
swagger:response updateServiceItemSitEntryDateInternalServerError
func NewUpdateServiceItemSitEntryDateInternalServerError ¶
func NewUpdateServiceItemSitEntryDateInternalServerError() *UpdateServiceItemSitEntryDateInternalServerError
NewUpdateServiceItemSitEntryDateInternalServerError creates UpdateServiceItemSitEntryDateInternalServerError with default headers values
func (*UpdateServiceItemSitEntryDateInternalServerError) SetPayload ¶
func (o *UpdateServiceItemSitEntryDateInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update service item sit entry date internal server error response
func (*UpdateServiceItemSitEntryDateInternalServerError) WithPayload ¶
func (o *UpdateServiceItemSitEntryDateInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateInternalServerError
WithPayload adds the payload to the update service item sit entry date internal server error response
func (*UpdateServiceItemSitEntryDateInternalServerError) WriteResponse ¶
func (o *UpdateServiceItemSitEntryDateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceItemSitEntryDateNotFound ¶
type UpdateServiceItemSitEntryDateNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateServiceItemSitEntryDateNotFound The requested resource wasn't found
swagger:response updateServiceItemSitEntryDateNotFound
func NewUpdateServiceItemSitEntryDateNotFound ¶
func NewUpdateServiceItemSitEntryDateNotFound() *UpdateServiceItemSitEntryDateNotFound
NewUpdateServiceItemSitEntryDateNotFound creates UpdateServiceItemSitEntryDateNotFound with default headers values
func (*UpdateServiceItemSitEntryDateNotFound) SetPayload ¶
func (o *UpdateServiceItemSitEntryDateNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update service item sit entry date not found response
func (*UpdateServiceItemSitEntryDateNotFound) WithPayload ¶
func (o *UpdateServiceItemSitEntryDateNotFound) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateNotFound
WithPayload adds the payload to the update service item sit entry date not found response
func (*UpdateServiceItemSitEntryDateNotFound) WriteResponse ¶
func (o *UpdateServiceItemSitEntryDateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceItemSitEntryDateOK ¶
type UpdateServiceItemSitEntryDateOK struct { /* In: Body */ Payload *ghcmessages.MTOServiceItemSingle `json:"body,omitempty"` }
UpdateServiceItemSitEntryDateOK Successfully updated SIT entry date
swagger:response updateServiceItemSitEntryDateOK
func NewUpdateServiceItemSitEntryDateOK ¶
func NewUpdateServiceItemSitEntryDateOK() *UpdateServiceItemSitEntryDateOK
NewUpdateServiceItemSitEntryDateOK creates UpdateServiceItemSitEntryDateOK with default headers values
func (*UpdateServiceItemSitEntryDateOK) SetPayload ¶
func (o *UpdateServiceItemSitEntryDateOK) SetPayload(payload *ghcmessages.MTOServiceItemSingle)
SetPayload sets the payload to the update service item sit entry date o k response
func (*UpdateServiceItemSitEntryDateOK) WithPayload ¶
func (o *UpdateServiceItemSitEntryDateOK) WithPayload(payload *ghcmessages.MTOServiceItemSingle) *UpdateServiceItemSitEntryDateOK
WithPayload adds the payload to the update service item sit entry date o k response
func (*UpdateServiceItemSitEntryDateOK) WriteResponse ¶
func (o *UpdateServiceItemSitEntryDateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceItemSitEntryDateParams ¶
type UpdateServiceItemSitEntryDateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *ghcmessages.ServiceItemSitEntryDate /*ID of the service item Required: true In: path */ MtoServiceItemID string }
UpdateServiceItemSitEntryDateParams contains all the bound params for the update service item sit entry date operation typically these are obtained from a http.Request
swagger:parameters updateServiceItemSitEntryDate
func NewUpdateServiceItemSitEntryDateParams ¶
func NewUpdateServiceItemSitEntryDateParams() UpdateServiceItemSitEntryDateParams
NewUpdateServiceItemSitEntryDateParams creates a new UpdateServiceItemSitEntryDateParams object
There are no default values defined in the spec.
func (*UpdateServiceItemSitEntryDateParams) BindRequest ¶
func (o *UpdateServiceItemSitEntryDateParams) 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 NewUpdateServiceItemSitEntryDateParams() beforehand.
type UpdateServiceItemSitEntryDatePreconditionFailed ¶
type UpdateServiceItemSitEntryDatePreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateServiceItemSitEntryDatePreconditionFailed Precondition failed
swagger:response updateServiceItemSitEntryDatePreconditionFailed
func NewUpdateServiceItemSitEntryDatePreconditionFailed ¶
func NewUpdateServiceItemSitEntryDatePreconditionFailed() *UpdateServiceItemSitEntryDatePreconditionFailed
NewUpdateServiceItemSitEntryDatePreconditionFailed creates UpdateServiceItemSitEntryDatePreconditionFailed with default headers values
func (*UpdateServiceItemSitEntryDatePreconditionFailed) SetPayload ¶
func (o *UpdateServiceItemSitEntryDatePreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update service item sit entry date precondition failed response
func (*UpdateServiceItemSitEntryDatePreconditionFailed) WithPayload ¶
func (o *UpdateServiceItemSitEntryDatePreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDatePreconditionFailed
WithPayload adds the payload to the update service item sit entry date precondition failed response
func (*UpdateServiceItemSitEntryDatePreconditionFailed) WriteResponse ¶
func (o *UpdateServiceItemSitEntryDatePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceItemSitEntryDateURL ¶
type UpdateServiceItemSitEntryDateURL struct { MtoServiceItemID string // contains filtered or unexported fields }
UpdateServiceItemSitEntryDateURL generates an URL for the update service item sit entry date operation
func (*UpdateServiceItemSitEntryDateURL) Build ¶
func (o *UpdateServiceItemSitEntryDateURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceItemSitEntryDateURL) BuildFull ¶
func (o *UpdateServiceItemSitEntryDateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServiceItemSitEntryDateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceItemSitEntryDateURL) SetBasePath ¶
func (o *UpdateServiceItemSitEntryDateURL) 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 (*UpdateServiceItemSitEntryDateURL) String ¶
func (o *UpdateServiceItemSitEntryDateURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceItemSitEntryDateURL) StringFull ¶
func (o *UpdateServiceItemSitEntryDateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceItemSitEntryDateURL) WithBasePath ¶
func (o *UpdateServiceItemSitEntryDateURL) WithBasePath(bp string) *UpdateServiceItemSitEntryDateURL
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 UpdateServiceItemSitEntryDateUnauthorized ¶
type UpdateServiceItemSitEntryDateUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
UpdateServiceItemSitEntryDateUnauthorized The request was denied
swagger:response updateServiceItemSitEntryDateUnauthorized
func NewUpdateServiceItemSitEntryDateUnauthorized ¶
func NewUpdateServiceItemSitEntryDateUnauthorized() *UpdateServiceItemSitEntryDateUnauthorized
NewUpdateServiceItemSitEntryDateUnauthorized creates UpdateServiceItemSitEntryDateUnauthorized with default headers values
func (*UpdateServiceItemSitEntryDateUnauthorized) SetPayload ¶
func (o *UpdateServiceItemSitEntryDateUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update service item sit entry date unauthorized response
func (*UpdateServiceItemSitEntryDateUnauthorized) WithPayload ¶
func (o *UpdateServiceItemSitEntryDateUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdateServiceItemSitEntryDateUnauthorized
WithPayload adds the payload to the update service item sit entry date unauthorized response
func (*UpdateServiceItemSitEntryDateUnauthorized) WriteResponse ¶
func (o *UpdateServiceItemSitEntryDateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceItemSitEntryDateUnprocessableEntity ¶
type UpdateServiceItemSitEntryDateUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateServiceItemSitEntryDateUnprocessableEntity The payload was unprocessable.
swagger:response updateServiceItemSitEntryDateUnprocessableEntity
func NewUpdateServiceItemSitEntryDateUnprocessableEntity ¶
func NewUpdateServiceItemSitEntryDateUnprocessableEntity() *UpdateServiceItemSitEntryDateUnprocessableEntity
NewUpdateServiceItemSitEntryDateUnprocessableEntity creates UpdateServiceItemSitEntryDateUnprocessableEntity with default headers values
func (*UpdateServiceItemSitEntryDateUnprocessableEntity) SetPayload ¶
func (o *UpdateServiceItemSitEntryDateUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update service item sit entry date unprocessable entity response
func (*UpdateServiceItemSitEntryDateUnprocessableEntity) WithPayload ¶
func (o *UpdateServiceItemSitEntryDateUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateServiceItemSitEntryDateUnprocessableEntity
WithPayload adds the payload to the update service item sit entry date unprocessable entity response
func (*UpdateServiceItemSitEntryDateUnprocessableEntity) WriteResponse ¶
func (o *UpdateServiceItemSitEntryDateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- get_m_t_o_service_item.go
- get_m_t_o_service_item_parameters.go
- get_m_t_o_service_item_responses.go
- get_m_t_o_service_item_urlbuilder.go
- list_m_t_o_service_items.go
- list_m_t_o_service_items_parameters.go
- list_m_t_o_service_items_responses.go
- list_m_t_o_service_items_urlbuilder.go
- update_m_t_o_service_item_status.go
- update_m_t_o_service_item_status_parameters.go
- update_m_t_o_service_item_status_responses.go
- update_m_t_o_service_item_status_urlbuilder.go
- update_service_item_sit_entry_date.go
- update_service_item_sit_entry_date_parameters.go
- update_service_item_sit_entry_date_responses.go
- update_service_item_sit_entry_date_urlbuilder.go