Documentation
¶
Index ¶
- Constants
- type UpdatePaymentServiceItemStatus
- type UpdatePaymentServiceItemStatusBadRequest
- func (o *UpdatePaymentServiceItemStatusBadRequest) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentServiceItemStatusBadRequest) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusBadRequest
- func (o *UpdatePaymentServiceItemStatusBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentServiceItemStatusForbidden
- func (o *UpdatePaymentServiceItemStatusForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentServiceItemStatusForbidden) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusForbidden
- func (o *UpdatePaymentServiceItemStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentServiceItemStatusHandler
- type UpdatePaymentServiceItemStatusHandlerFunc
- type UpdatePaymentServiceItemStatusInternalServerError
- func (o *UpdatePaymentServiceItemStatusInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentServiceItemStatusInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusInternalServerError
- func (o *UpdatePaymentServiceItemStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentServiceItemStatusNotFound
- func (o *UpdatePaymentServiceItemStatusNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentServiceItemStatusNotFound) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusNotFound
- func (o *UpdatePaymentServiceItemStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentServiceItemStatusOK
- func (o *UpdatePaymentServiceItemStatusOK) SetPayload(payload *ghcmessages.PaymentServiceItem)
- func (o *UpdatePaymentServiceItemStatusOK) WithPayload(payload *ghcmessages.PaymentServiceItem) *UpdatePaymentServiceItemStatusOK
- func (o *UpdatePaymentServiceItemStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentServiceItemStatusParams
- type UpdatePaymentServiceItemStatusPreconditionFailed
- func (o *UpdatePaymentServiceItemStatusPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentServiceItemStatusPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusPreconditionFailed
- func (o *UpdatePaymentServiceItemStatusPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentServiceItemStatusURL
- func (o *UpdatePaymentServiceItemStatusURL) Build() (*url.URL, error)
- func (o *UpdatePaymentServiceItemStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdatePaymentServiceItemStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdatePaymentServiceItemStatusURL) SetBasePath(bp string)
- func (o *UpdatePaymentServiceItemStatusURL) String() string
- func (o *UpdatePaymentServiceItemStatusURL) StringFull(scheme, host string) string
- func (o *UpdatePaymentServiceItemStatusURL) WithBasePath(bp string) *UpdatePaymentServiceItemStatusURL
- type UpdatePaymentServiceItemStatusUnauthorized
- func (o *UpdatePaymentServiceItemStatusUnauthorized) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePaymentServiceItemStatusUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusUnauthorized
- func (o *UpdatePaymentServiceItemStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePaymentServiceItemStatusUnprocessableEntity
- func (o *UpdatePaymentServiceItemStatusUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdatePaymentServiceItemStatusUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdatePaymentServiceItemStatusUnprocessableEntity
- func (o *UpdatePaymentServiceItemStatusUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const UpdatePaymentServiceItemStatusBadRequestCode int = 400
UpdatePaymentServiceItemStatusBadRequestCode is the HTTP code returned for type UpdatePaymentServiceItemStatusBadRequest
const UpdatePaymentServiceItemStatusForbiddenCode int = 403
UpdatePaymentServiceItemStatusForbiddenCode is the HTTP code returned for type UpdatePaymentServiceItemStatusForbidden
const UpdatePaymentServiceItemStatusInternalServerErrorCode int = 500
UpdatePaymentServiceItemStatusInternalServerErrorCode is the HTTP code returned for type UpdatePaymentServiceItemStatusInternalServerError
const UpdatePaymentServiceItemStatusNotFoundCode int = 404
UpdatePaymentServiceItemStatusNotFoundCode is the HTTP code returned for type UpdatePaymentServiceItemStatusNotFound
const UpdatePaymentServiceItemStatusOKCode int = 200
UpdatePaymentServiceItemStatusOKCode is the HTTP code returned for type UpdatePaymentServiceItemStatusOK
const UpdatePaymentServiceItemStatusPreconditionFailedCode int = 412
UpdatePaymentServiceItemStatusPreconditionFailedCode is the HTTP code returned for type UpdatePaymentServiceItemStatusPreconditionFailed
UpdatePaymentServiceItemStatusUnauthorizedCode is the HTTP code returned for type UpdatePaymentServiceItemStatusUnauthorized
const UpdatePaymentServiceItemStatusUnprocessableEntityCode int = 422
UpdatePaymentServiceItemStatusUnprocessableEntityCode is the HTTP code returned for type UpdatePaymentServiceItemStatusUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpdatePaymentServiceItemStatus ¶
type UpdatePaymentServiceItemStatus struct { Context *middleware.Context Handler UpdatePaymentServiceItemStatusHandler }
UpdatePaymentServiceItemStatus swagger:route PATCH /move-task-orders/{moveTaskOrderID}/payment-service-items/{paymentServiceItemID}/status paymentServiceItem updatePaymentServiceItemStatus
Change the status of a payment service item for a move by ID ¶
Changes the status of a line item for a move by ID
func NewUpdatePaymentServiceItemStatus ¶
func NewUpdatePaymentServiceItemStatus(ctx *middleware.Context, handler UpdatePaymentServiceItemStatusHandler) *UpdatePaymentServiceItemStatus
NewUpdatePaymentServiceItemStatus creates a new http.Handler for the update payment service item status operation
func (*UpdatePaymentServiceItemStatus) ServeHTTP ¶
func (o *UpdatePaymentServiceItemStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdatePaymentServiceItemStatusBadRequest ¶
type UpdatePaymentServiceItemStatusBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePaymentServiceItemStatusBadRequest The request payload is invalid
swagger:response updatePaymentServiceItemStatusBadRequest
func NewUpdatePaymentServiceItemStatusBadRequest ¶
func NewUpdatePaymentServiceItemStatusBadRequest() *UpdatePaymentServiceItemStatusBadRequest
NewUpdatePaymentServiceItemStatusBadRequest creates UpdatePaymentServiceItemStatusBadRequest with default headers values
func (*UpdatePaymentServiceItemStatusBadRequest) SetPayload ¶
func (o *UpdatePaymentServiceItemStatusBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment service item status bad request response
func (*UpdatePaymentServiceItemStatusBadRequest) WithPayload ¶
func (o *UpdatePaymentServiceItemStatusBadRequest) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusBadRequest
WithPayload adds the payload to the update payment service item status bad request response
func (*UpdatePaymentServiceItemStatusBadRequest) WriteResponse ¶
func (o *UpdatePaymentServiceItemStatusBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentServiceItemStatusForbidden ¶
type UpdatePaymentServiceItemStatusForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePaymentServiceItemStatusForbidden The request was denied
swagger:response updatePaymentServiceItemStatusForbidden
func NewUpdatePaymentServiceItemStatusForbidden ¶
func NewUpdatePaymentServiceItemStatusForbidden() *UpdatePaymentServiceItemStatusForbidden
NewUpdatePaymentServiceItemStatusForbidden creates UpdatePaymentServiceItemStatusForbidden with default headers values
func (*UpdatePaymentServiceItemStatusForbidden) SetPayload ¶
func (o *UpdatePaymentServiceItemStatusForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment service item status forbidden response
func (*UpdatePaymentServiceItemStatusForbidden) WithPayload ¶
func (o *UpdatePaymentServiceItemStatusForbidden) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusForbidden
WithPayload adds the payload to the update payment service item status forbidden response
func (*UpdatePaymentServiceItemStatusForbidden) WriteResponse ¶
func (o *UpdatePaymentServiceItemStatusForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentServiceItemStatusHandler ¶
type UpdatePaymentServiceItemStatusHandler interface {
Handle(UpdatePaymentServiceItemStatusParams) middleware.Responder
}
UpdatePaymentServiceItemStatusHandler interface for that can handle valid update payment service item status params
type UpdatePaymentServiceItemStatusHandlerFunc ¶
type UpdatePaymentServiceItemStatusHandlerFunc func(UpdatePaymentServiceItemStatusParams) middleware.Responder
UpdatePaymentServiceItemStatusHandlerFunc turns a function with the right signature into a update payment service item status handler
func (UpdatePaymentServiceItemStatusHandlerFunc) Handle ¶
func (fn UpdatePaymentServiceItemStatusHandlerFunc) Handle(params UpdatePaymentServiceItemStatusParams) middleware.Responder
Handle executing the request and returning a response
type UpdatePaymentServiceItemStatusInternalServerError ¶
type UpdatePaymentServiceItemStatusInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePaymentServiceItemStatusInternalServerError A server error occurred
swagger:response updatePaymentServiceItemStatusInternalServerError
func NewUpdatePaymentServiceItemStatusInternalServerError ¶
func NewUpdatePaymentServiceItemStatusInternalServerError() *UpdatePaymentServiceItemStatusInternalServerError
NewUpdatePaymentServiceItemStatusInternalServerError creates UpdatePaymentServiceItemStatusInternalServerError with default headers values
func (*UpdatePaymentServiceItemStatusInternalServerError) SetPayload ¶
func (o *UpdatePaymentServiceItemStatusInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment service item status internal server error response
func (*UpdatePaymentServiceItemStatusInternalServerError) WithPayload ¶
func (o *UpdatePaymentServiceItemStatusInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusInternalServerError
WithPayload adds the payload to the update payment service item status internal server error response
func (*UpdatePaymentServiceItemStatusInternalServerError) WriteResponse ¶
func (o *UpdatePaymentServiceItemStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentServiceItemStatusNotFound ¶
type UpdatePaymentServiceItemStatusNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePaymentServiceItemStatusNotFound The requested resource wasn't found
swagger:response updatePaymentServiceItemStatusNotFound
func NewUpdatePaymentServiceItemStatusNotFound ¶
func NewUpdatePaymentServiceItemStatusNotFound() *UpdatePaymentServiceItemStatusNotFound
NewUpdatePaymentServiceItemStatusNotFound creates UpdatePaymentServiceItemStatusNotFound with default headers values
func (*UpdatePaymentServiceItemStatusNotFound) SetPayload ¶
func (o *UpdatePaymentServiceItemStatusNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment service item status not found response
func (*UpdatePaymentServiceItemStatusNotFound) WithPayload ¶
func (o *UpdatePaymentServiceItemStatusNotFound) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusNotFound
WithPayload adds the payload to the update payment service item status not found response
func (*UpdatePaymentServiceItemStatusNotFound) WriteResponse ¶
func (o *UpdatePaymentServiceItemStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentServiceItemStatusOK ¶
type UpdatePaymentServiceItemStatusOK struct { /* In: Body */ Payload *ghcmessages.PaymentServiceItem `json:"body,omitempty"` }
UpdatePaymentServiceItemStatusOK Successfully updated status for a line item for a move task order by ID
swagger:response updatePaymentServiceItemStatusOK
func NewUpdatePaymentServiceItemStatusOK ¶
func NewUpdatePaymentServiceItemStatusOK() *UpdatePaymentServiceItemStatusOK
NewUpdatePaymentServiceItemStatusOK creates UpdatePaymentServiceItemStatusOK with default headers values
func (*UpdatePaymentServiceItemStatusOK) SetPayload ¶
func (o *UpdatePaymentServiceItemStatusOK) SetPayload(payload *ghcmessages.PaymentServiceItem)
SetPayload sets the payload to the update payment service item status o k response
func (*UpdatePaymentServiceItemStatusOK) WithPayload ¶
func (o *UpdatePaymentServiceItemStatusOK) WithPayload(payload *ghcmessages.PaymentServiceItem) *UpdatePaymentServiceItemStatusOK
WithPayload adds the payload to the update payment service item status o k response
func (*UpdatePaymentServiceItemStatusOK) WriteResponse ¶
func (o *UpdatePaymentServiceItemStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentServiceItemStatusParams ¶
type UpdatePaymentServiceItemStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.PaymentServiceItem /*ID of move to use Required: true In: path */ MoveTaskOrderID string /*ID of payment service item to use Required: true In: path */ PaymentServiceItemID string }
UpdatePaymentServiceItemStatusParams contains all the bound params for the update payment service item status operation typically these are obtained from a http.Request
swagger:parameters updatePaymentServiceItemStatus
func NewUpdatePaymentServiceItemStatusParams ¶
func NewUpdatePaymentServiceItemStatusParams() UpdatePaymentServiceItemStatusParams
NewUpdatePaymentServiceItemStatusParams creates a new UpdatePaymentServiceItemStatusParams object
There are no default values defined in the spec.
func (*UpdatePaymentServiceItemStatusParams) BindRequest ¶
func (o *UpdatePaymentServiceItemStatusParams) 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 NewUpdatePaymentServiceItemStatusParams() beforehand.
type UpdatePaymentServiceItemStatusPreconditionFailed ¶
type UpdatePaymentServiceItemStatusPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePaymentServiceItemStatusPreconditionFailed Precondition failed
swagger:response updatePaymentServiceItemStatusPreconditionFailed
func NewUpdatePaymentServiceItemStatusPreconditionFailed ¶
func NewUpdatePaymentServiceItemStatusPreconditionFailed() *UpdatePaymentServiceItemStatusPreconditionFailed
NewUpdatePaymentServiceItemStatusPreconditionFailed creates UpdatePaymentServiceItemStatusPreconditionFailed with default headers values
func (*UpdatePaymentServiceItemStatusPreconditionFailed) SetPayload ¶
func (o *UpdatePaymentServiceItemStatusPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment service item status precondition failed response
func (*UpdatePaymentServiceItemStatusPreconditionFailed) WithPayload ¶
func (o *UpdatePaymentServiceItemStatusPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusPreconditionFailed
WithPayload adds the payload to the update payment service item status precondition failed response
func (*UpdatePaymentServiceItemStatusPreconditionFailed) WriteResponse ¶
func (o *UpdatePaymentServiceItemStatusPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentServiceItemStatusURL ¶
type UpdatePaymentServiceItemStatusURL struct { MoveTaskOrderID string PaymentServiceItemID string // contains filtered or unexported fields }
UpdatePaymentServiceItemStatusURL generates an URL for the update payment service item status operation
func (*UpdatePaymentServiceItemStatusURL) Build ¶
func (o *UpdatePaymentServiceItemStatusURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdatePaymentServiceItemStatusURL) BuildFull ¶
func (o *UpdatePaymentServiceItemStatusURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdatePaymentServiceItemStatusURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdatePaymentServiceItemStatusURL) SetBasePath ¶
func (o *UpdatePaymentServiceItemStatusURL) 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 (*UpdatePaymentServiceItemStatusURL) String ¶
func (o *UpdatePaymentServiceItemStatusURL) String() string
String returns the string representation of the path with query string
func (*UpdatePaymentServiceItemStatusURL) StringFull ¶
func (o *UpdatePaymentServiceItemStatusURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdatePaymentServiceItemStatusURL) WithBasePath ¶
func (o *UpdatePaymentServiceItemStatusURL) WithBasePath(bp string) *UpdatePaymentServiceItemStatusURL
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 UpdatePaymentServiceItemStatusUnauthorized ¶
type UpdatePaymentServiceItemStatusUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
UpdatePaymentServiceItemStatusUnauthorized The request was denied
swagger:response updatePaymentServiceItemStatusUnauthorized
func NewUpdatePaymentServiceItemStatusUnauthorized ¶
func NewUpdatePaymentServiceItemStatusUnauthorized() *UpdatePaymentServiceItemStatusUnauthorized
NewUpdatePaymentServiceItemStatusUnauthorized creates UpdatePaymentServiceItemStatusUnauthorized with default headers values
func (*UpdatePaymentServiceItemStatusUnauthorized) SetPayload ¶
func (o *UpdatePaymentServiceItemStatusUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update payment service item status unauthorized response
func (*UpdatePaymentServiceItemStatusUnauthorized) WithPayload ¶
func (o *UpdatePaymentServiceItemStatusUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdatePaymentServiceItemStatusUnauthorized
WithPayload adds the payload to the update payment service item status unauthorized response
func (*UpdatePaymentServiceItemStatusUnauthorized) WriteResponse ¶
func (o *UpdatePaymentServiceItemStatusUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePaymentServiceItemStatusUnprocessableEntity ¶
type UpdatePaymentServiceItemStatusUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdatePaymentServiceItemStatusUnprocessableEntity The payload was unprocessable.
swagger:response updatePaymentServiceItemStatusUnprocessableEntity
func NewUpdatePaymentServiceItemStatusUnprocessableEntity ¶
func NewUpdatePaymentServiceItemStatusUnprocessableEntity() *UpdatePaymentServiceItemStatusUnprocessableEntity
NewUpdatePaymentServiceItemStatusUnprocessableEntity creates UpdatePaymentServiceItemStatusUnprocessableEntity with default headers values
func (*UpdatePaymentServiceItemStatusUnprocessableEntity) SetPayload ¶
func (o *UpdatePaymentServiceItemStatusUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update payment service item status unprocessable entity response
func (*UpdatePaymentServiceItemStatusUnprocessableEntity) WithPayload ¶
func (o *UpdatePaymentServiceItemStatusUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdatePaymentServiceItemStatusUnprocessableEntity
WithPayload adds the payload to the update payment service item status unprocessable entity response
func (*UpdatePaymentServiceItemStatusUnprocessableEntity) WriteResponse ¶
func (o *UpdatePaymentServiceItemStatusUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client