mto_service_item

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const GetMTOServiceItemBadRequestCode int = 400

GetMTOServiceItemBadRequestCode is the HTTP code returned for type GetMTOServiceItemBadRequest

View Source
const GetMTOServiceItemForbiddenCode int = 403

GetMTOServiceItemForbiddenCode is the HTTP code returned for type GetMTOServiceItemForbidden

View Source
const GetMTOServiceItemInternalServerErrorCode int = 500

GetMTOServiceItemInternalServerErrorCode is the HTTP code returned for type GetMTOServiceItemInternalServerError

View Source
const GetMTOServiceItemNotFoundCode int = 404

GetMTOServiceItemNotFoundCode is the HTTP code returned for type GetMTOServiceItemNotFound

View Source
const GetMTOServiceItemOKCode int = 200

GetMTOServiceItemOKCode is the HTTP code returned for type GetMTOServiceItemOK

View Source
const GetMTOServiceItemUnauthorizedCode int = 401

GetMTOServiceItemUnauthorizedCode is the HTTP code returned for type GetMTOServiceItemUnauthorized

View Source
const ListMTOServiceItemsInternalServerErrorCode int = 500

ListMTOServiceItemsInternalServerErrorCode is the HTTP code returned for type ListMTOServiceItemsInternalServerError

View Source
const ListMTOServiceItemsNotFoundCode int = 404

ListMTOServiceItemsNotFoundCode is the HTTP code returned for type ListMTOServiceItemsNotFound

View Source
const ListMTOServiceItemsOKCode int = 200

ListMTOServiceItemsOKCode is the HTTP code returned for type ListMTOServiceItemsOK

View Source
const ListMTOServiceItemsUnprocessableEntityCode int = 422

ListMTOServiceItemsUnprocessableEntityCode is the HTTP code returned for type ListMTOServiceItemsUnprocessableEntity

View Source
const UpdateMTOServiceItemStatusBadRequestCode int = 400

UpdateMTOServiceItemStatusBadRequestCode is the HTTP code returned for type UpdateMTOServiceItemStatusBadRequest

View Source
const UpdateMTOServiceItemStatusForbiddenCode int = 403

UpdateMTOServiceItemStatusForbiddenCode is the HTTP code returned for type UpdateMTOServiceItemStatusForbidden

View Source
const UpdateMTOServiceItemStatusInternalServerErrorCode int = 500

UpdateMTOServiceItemStatusInternalServerErrorCode is the HTTP code returned for type UpdateMTOServiceItemStatusInternalServerError

View Source
const UpdateMTOServiceItemStatusNotFoundCode int = 404

UpdateMTOServiceItemStatusNotFoundCode is the HTTP code returned for type UpdateMTOServiceItemStatusNotFound

View Source
const UpdateMTOServiceItemStatusOKCode int = 200

UpdateMTOServiceItemStatusOKCode is the HTTP code returned for type UpdateMTOServiceItemStatusOK

View Source
const UpdateMTOServiceItemStatusPreconditionFailedCode int = 412

UpdateMTOServiceItemStatusPreconditionFailedCode is the HTTP code returned for type UpdateMTOServiceItemStatusPreconditionFailed

View Source
const UpdateMTOServiceItemStatusUnauthorizedCode int = 401

UpdateMTOServiceItemStatusUnauthorizedCode is the HTTP code returned for type UpdateMTOServiceItemStatusUnauthorized

View Source
const UpdateMTOServiceItemStatusUnprocessableEntityCode int = 422

UpdateMTOServiceItemStatusUnprocessableEntityCode is the HTTP code returned for type UpdateMTOServiceItemStatusUnprocessableEntity

View Source
const UpdateServiceItemSitEntryDateBadRequestCode int = 400

UpdateServiceItemSitEntryDateBadRequestCode is the HTTP code returned for type UpdateServiceItemSitEntryDateBadRequest

View Source
const UpdateServiceItemSitEntryDateForbiddenCode int = 403

UpdateServiceItemSitEntryDateForbiddenCode is the HTTP code returned for type UpdateServiceItemSitEntryDateForbidden

View Source
const UpdateServiceItemSitEntryDateInternalServerErrorCode int = 500

UpdateServiceItemSitEntryDateInternalServerErrorCode is the HTTP code returned for type UpdateServiceItemSitEntryDateInternalServerError

View Source
const UpdateServiceItemSitEntryDateNotFoundCode int = 404

UpdateServiceItemSitEntryDateNotFoundCode is the HTTP code returned for type UpdateServiceItemSitEntryDateNotFound

View Source
const UpdateServiceItemSitEntryDateOKCode int = 200

UpdateServiceItemSitEntryDateOKCode is the HTTP code returned for type UpdateServiceItemSitEntryDateOK

View Source
const UpdateServiceItemSitEntryDatePreconditionFailedCode int = 412

UpdateServiceItemSitEntryDatePreconditionFailedCode is the HTTP code returned for type UpdateServiceItemSitEntryDatePreconditionFailed

View Source
const UpdateServiceItemSitEntryDateUnauthorizedCode int = 401

UpdateServiceItemSitEntryDateUnauthorizedCode is the HTTP code returned for type UpdateServiceItemSitEntryDateUnauthorized

View Source
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

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

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

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

WithPayload adds the payload to the get m t o service item internal server error response

func (*GetMTOServiceItemInternalServerError) WriteResponse

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

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

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

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

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 {

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

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

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

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

SetPayload sets the payload to the list m t o service items internal server error response

func (*ListMTOServiceItemsInternalServerError) WithPayload

WithPayload adds the payload to the list m t o service items internal server error response

func (*ListMTOServiceItemsInternalServerError) WriteResponse

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

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

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

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

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

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

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

SetPayload sets the payload to the list m t o service items unprocessable entity response

func (*ListMTOServiceItemsUnprocessableEntity) WithPayload

WithPayload adds the payload to the list m t o service items unprocessable entity response

func (*ListMTOServiceItemsUnprocessableEntity) WriteResponse

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

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

WithPayload adds the payload to the update m t o service item status bad request response

func (*UpdateMTOServiceItemStatusBadRequest) WriteResponse

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

WithPayload adds the payload to the update m t o service item status forbidden response

func (*UpdateMTOServiceItemStatusForbidden) WriteResponse

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

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

SetPayload sets the payload to the update m t o service item status internal server error response

func (*UpdateMTOServiceItemStatusInternalServerError) WithPayload

WithPayload adds the payload to the update m t o service item status internal server error response

func (*UpdateMTOServiceItemStatusInternalServerError) WriteResponse

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

WithPayload adds the payload to the update m t o service item status not found response

func (*UpdateMTOServiceItemStatusNotFound) WriteResponse

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

SetPayload sets the payload to the update m t o service item status o k response

func (*UpdateMTOServiceItemStatusOK) WithPayload

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

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

SetPayload sets the payload to the update m t o service item status precondition failed response

func (*UpdateMTOServiceItemStatusPreconditionFailed) WithPayload

WithPayload adds the payload to the update m t o service item status precondition failed response

func (*UpdateMTOServiceItemStatusPreconditionFailed) WriteResponse

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

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

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

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

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 {

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

UpdateMTOServiceItemStatusUnauthorized The request was denied

swagger:response updateMTOServiceItemStatusUnauthorized

func NewUpdateMTOServiceItemStatusUnauthorized

func NewUpdateMTOServiceItemStatusUnauthorized() *UpdateMTOServiceItemStatusUnauthorized

NewUpdateMTOServiceItemStatusUnauthorized creates UpdateMTOServiceItemStatusUnauthorized with default headers values

func (*UpdateMTOServiceItemStatusUnauthorized) SetPayload

SetPayload sets the payload to the update m t o service item status unauthorized response

func (*UpdateMTOServiceItemStatusUnauthorized) WithPayload

WithPayload adds the payload to the update m t o service item status unauthorized response

func (*UpdateMTOServiceItemStatusUnauthorized) WriteResponse

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

SetPayload sets the payload to the update m t o service item status unprocessable entity response

func (*UpdateMTOServiceItemStatusUnprocessableEntity) WithPayload

WithPayload adds the payload to the update m t o service item status unprocessable entity response

func (*UpdateMTOServiceItemStatusUnprocessableEntity) WriteResponse

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

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

SetPayload sets the payload to the update service item sit entry date bad request response

func (*UpdateServiceItemSitEntryDateBadRequest) WithPayload

WithPayload adds the payload to the update service item sit entry date bad request response

func (*UpdateServiceItemSitEntryDateBadRequest) WriteResponse

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

SetPayload sets the payload to the update service item sit entry date forbidden response

func (*UpdateServiceItemSitEntryDateForbidden) WithPayload

WithPayload adds the payload to the update service item sit entry date forbidden response

func (*UpdateServiceItemSitEntryDateForbidden) WriteResponse

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

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

SetPayload sets the payload to the update service item sit entry date internal server error response

func (*UpdateServiceItemSitEntryDateInternalServerError) WithPayload

WithPayload adds the payload to the update service item sit entry date internal server error response

func (*UpdateServiceItemSitEntryDateInternalServerError) WriteResponse

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

SetPayload sets the payload to the update service item sit entry date not found response

func (*UpdateServiceItemSitEntryDateNotFound) WithPayload

WithPayload adds the payload to the update service item sit entry date not found response

func (*UpdateServiceItemSitEntryDateNotFound) WriteResponse

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

SetPayload sets the payload to the update service item sit entry date o k response

func (*UpdateServiceItemSitEntryDateOK) WithPayload

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

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

SetPayload sets the payload to the update service item sit entry date precondition failed response

func (*UpdateServiceItemSitEntryDatePreconditionFailed) WithPayload

WithPayload adds the payload to the update service item sit entry date precondition failed response

func (*UpdateServiceItemSitEntryDatePreconditionFailed) WriteResponse

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

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

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

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 {

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

UpdateServiceItemSitEntryDateUnauthorized The request was denied

swagger:response updateServiceItemSitEntryDateUnauthorized

func NewUpdateServiceItemSitEntryDateUnauthorized

func NewUpdateServiceItemSitEntryDateUnauthorized() *UpdateServiceItemSitEntryDateUnauthorized

NewUpdateServiceItemSitEntryDateUnauthorized creates UpdateServiceItemSitEntryDateUnauthorized with default headers values

func (*UpdateServiceItemSitEntryDateUnauthorized) SetPayload

SetPayload sets the payload to the update service item sit entry date unauthorized response

func (*UpdateServiceItemSitEntryDateUnauthorized) WithPayload

WithPayload adds the payload to the update service item sit entry date unauthorized response

func (*UpdateServiceItemSitEntryDateUnauthorized) WriteResponse

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

SetPayload sets the payload to the update service item sit entry date unprocessable entity response

func (*UpdateServiceItemSitEntryDateUnprocessableEntity) WithPayload

WithPayload adds the payload to the update service item sit entry date unprocessable entity response

func (*UpdateServiceItemSitEntryDateUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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