Documentation ¶
Index ¶
- Constants
- Variables
- type CreateExcessWeightRecord
- type CreateExcessWeightRecordCreated
- func (o *CreateExcessWeightRecordCreated) SetPayload(payload *primemessages.ExcessWeightRecord)
- func (o *CreateExcessWeightRecordCreated) WithPayload(payload *primemessages.ExcessWeightRecord) *CreateExcessWeightRecordCreated
- func (o *CreateExcessWeightRecordCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateExcessWeightRecordForbidden
- func (o *CreateExcessWeightRecordForbidden) SetPayload(payload *primemessages.ClientError)
- func (o *CreateExcessWeightRecordForbidden) WithPayload(payload *primemessages.ClientError) *CreateExcessWeightRecordForbidden
- func (o *CreateExcessWeightRecordForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateExcessWeightRecordHandler
- type CreateExcessWeightRecordHandlerFunc
- type CreateExcessWeightRecordInternalServerError
- func (o *CreateExcessWeightRecordInternalServerError) SetPayload(payload *primemessages.Error)
- func (o *CreateExcessWeightRecordInternalServerError) WithPayload(payload *primemessages.Error) *CreateExcessWeightRecordInternalServerError
- func (o *CreateExcessWeightRecordInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateExcessWeightRecordNotFound
- func (o *CreateExcessWeightRecordNotFound) SetPayload(payload *primemessages.ClientError)
- func (o *CreateExcessWeightRecordNotFound) WithPayload(payload *primemessages.ClientError) *CreateExcessWeightRecordNotFound
- func (o *CreateExcessWeightRecordNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateExcessWeightRecordParams
- type CreateExcessWeightRecordURL
- func (o *CreateExcessWeightRecordURL) Build() (*url.URL, error)
- func (o *CreateExcessWeightRecordURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateExcessWeightRecordURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateExcessWeightRecordURL) SetBasePath(bp string)
- func (o *CreateExcessWeightRecordURL) String() string
- func (o *CreateExcessWeightRecordURL) StringFull(scheme, host string) string
- func (o *CreateExcessWeightRecordURL) WithBasePath(bp string) *CreateExcessWeightRecordURL
- type CreateExcessWeightRecordUnauthorized
- func (o *CreateExcessWeightRecordUnauthorized) SetPayload(payload *primemessages.ClientError)
- func (o *CreateExcessWeightRecordUnauthorized) WithPayload(payload *primemessages.ClientError) *CreateExcessWeightRecordUnauthorized
- func (o *CreateExcessWeightRecordUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateExcessWeightRecordUnprocessableEntity
- func (o *CreateExcessWeightRecordUnprocessableEntity) SetPayload(payload *primemessages.ValidationError)
- func (o *CreateExcessWeightRecordUnprocessableEntity) WithPayload(payload *primemessages.ValidationError) *CreateExcessWeightRecordUnprocessableEntity
- func (o *CreateExcessWeightRecordUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadMoveOrder
- type DownloadMoveOrderBadRequest
- func (o *DownloadMoveOrderBadRequest) SetPayload(payload *primemessages.ClientError)
- func (o *DownloadMoveOrderBadRequest) WithPayload(payload *primemessages.ClientError) *DownloadMoveOrderBadRequest
- func (o *DownloadMoveOrderBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadMoveOrderForbidden
- type DownloadMoveOrderHandler
- type DownloadMoveOrderHandlerFunc
- type DownloadMoveOrderInternalServerError
- func (o *DownloadMoveOrderInternalServerError) SetPayload(payload *primemessages.Error)
- func (o *DownloadMoveOrderInternalServerError) WithPayload(payload *primemessages.Error) *DownloadMoveOrderInternalServerError
- func (o *DownloadMoveOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadMoveOrderNotFound
- type DownloadMoveOrderOK
- func (o *DownloadMoveOrderOK) SetContentDisposition(contentDisposition string)
- func (o *DownloadMoveOrderOK) SetPayload(payload io.ReadCloser)
- func (o *DownloadMoveOrderOK) WithContentDisposition(contentDisposition string) *DownloadMoveOrderOK
- func (o *DownloadMoveOrderOK) WithPayload(payload io.ReadCloser) *DownloadMoveOrderOK
- func (o *DownloadMoveOrderOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadMoveOrderParams
- type DownloadMoveOrderURL
- func (o *DownloadMoveOrderURL) Build() (*url.URL, error)
- func (o *DownloadMoveOrderURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadMoveOrderURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadMoveOrderURL) SetBasePath(bp string)
- func (o *DownloadMoveOrderURL) String() string
- func (o *DownloadMoveOrderURL) StringFull(scheme, host string) string
- func (o *DownloadMoveOrderURL) WithBasePath(bp string) *DownloadMoveOrderURL
- type DownloadMoveOrderUnprocessableEntity
- func (o *DownloadMoveOrderUnprocessableEntity) SetPayload(payload *primemessages.ValidationError)
- func (o *DownloadMoveOrderUnprocessableEntity) WithPayload(payload *primemessages.ValidationError) *DownloadMoveOrderUnprocessableEntity
- func (o *DownloadMoveOrderUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetMoveTaskOrder
- type GetMoveTaskOrderForbidden
- type GetMoveTaskOrderHandler
- type GetMoveTaskOrderHandlerFunc
- type GetMoveTaskOrderInternalServerError
- func (o *GetMoveTaskOrderInternalServerError) SetPayload(payload *primemessages.Error)
- func (o *GetMoveTaskOrderInternalServerError) WithPayload(payload *primemessages.Error) *GetMoveTaskOrderInternalServerError
- func (o *GetMoveTaskOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetMoveTaskOrderNotFound
- type GetMoveTaskOrderOK
- type GetMoveTaskOrderParams
- type GetMoveTaskOrderURL
- func (o *GetMoveTaskOrderURL) Build() (*url.URL, error)
- func (o *GetMoveTaskOrderURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMoveTaskOrderURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMoveTaskOrderURL) SetBasePath(bp string)
- func (o *GetMoveTaskOrderURL) String() string
- func (o *GetMoveTaskOrderURL) StringFull(scheme, host string) string
- func (o *GetMoveTaskOrderURL) WithBasePath(bp string) *GetMoveTaskOrderURL
- type GetMoveTaskOrderUnauthorized
- func (o *GetMoveTaskOrderUnauthorized) SetPayload(payload *primemessages.ClientError)
- func (o *GetMoveTaskOrderUnauthorized) WithPayload(payload *primemessages.ClientError) *GetMoveTaskOrderUnauthorized
- func (o *GetMoveTaskOrderUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListMoves
- type ListMovesForbidden
- type ListMovesHandler
- type ListMovesHandlerFunc
- type ListMovesInternalServerError
- type ListMovesOK
- type ListMovesParams
- type ListMovesURL
- func (o *ListMovesURL) Build() (*url.URL, error)
- func (o *ListMovesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListMovesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListMovesURL) SetBasePath(bp string)
- func (o *ListMovesURL) String() string
- func (o *ListMovesURL) StringFull(scheme, host string) string
- func (o *ListMovesURL) WithBasePath(bp string) *ListMovesURL
- type ListMovesUnauthorized
- type UpdateMTOPostCounselingInformation
- type UpdateMTOPostCounselingInformationConflict
- func (o *UpdateMTOPostCounselingInformationConflict) SetPayload(payload *primemessages.ClientError)
- func (o *UpdateMTOPostCounselingInformationConflict) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationConflict
- func (o *UpdateMTOPostCounselingInformationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOPostCounselingInformationForbidden
- func (o *UpdateMTOPostCounselingInformationForbidden) SetPayload(payload *primemessages.ClientError)
- func (o *UpdateMTOPostCounselingInformationForbidden) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationForbidden
- func (o *UpdateMTOPostCounselingInformationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOPostCounselingInformationHandler
- type UpdateMTOPostCounselingInformationHandlerFunc
- type UpdateMTOPostCounselingInformationInternalServerError
- func (o *UpdateMTOPostCounselingInformationInternalServerError) SetPayload(payload *primemessages.Error)
- func (o *UpdateMTOPostCounselingInformationInternalServerError) WithPayload(payload *primemessages.Error) *UpdateMTOPostCounselingInformationInternalServerError
- func (o *UpdateMTOPostCounselingInformationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOPostCounselingInformationNotFound
- func (o *UpdateMTOPostCounselingInformationNotFound) SetPayload(payload *primemessages.ClientError)
- func (o *UpdateMTOPostCounselingInformationNotFound) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationNotFound
- func (o *UpdateMTOPostCounselingInformationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOPostCounselingInformationOK
- func (o *UpdateMTOPostCounselingInformationOK) SetPayload(payload *primemessages.MoveTaskOrder)
- func (o *UpdateMTOPostCounselingInformationOK) WithPayload(payload *primemessages.MoveTaskOrder) *UpdateMTOPostCounselingInformationOK
- func (o *UpdateMTOPostCounselingInformationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOPostCounselingInformationParams
- type UpdateMTOPostCounselingInformationPreconditionFailed
- func (o *UpdateMTOPostCounselingInformationPreconditionFailed) SetPayload(payload *primemessages.ClientError)
- func (o *UpdateMTOPostCounselingInformationPreconditionFailed) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationPreconditionFailed
- func (o *UpdateMTOPostCounselingInformationPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOPostCounselingInformationURL
- func (o *UpdateMTOPostCounselingInformationURL) Build() (*url.URL, error)
- func (o *UpdateMTOPostCounselingInformationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateMTOPostCounselingInformationURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateMTOPostCounselingInformationURL) SetBasePath(bp string)
- func (o *UpdateMTOPostCounselingInformationURL) String() string
- func (o *UpdateMTOPostCounselingInformationURL) StringFull(scheme, host string) string
- func (o *UpdateMTOPostCounselingInformationURL) WithBasePath(bp string) *UpdateMTOPostCounselingInformationURL
- type UpdateMTOPostCounselingInformationUnauthorized
- func (o *UpdateMTOPostCounselingInformationUnauthorized) SetPayload(payload *primemessages.ClientError)
- func (o *UpdateMTOPostCounselingInformationUnauthorized) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationUnauthorized
- func (o *UpdateMTOPostCounselingInformationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMTOPostCounselingInformationUnprocessableEntity
- func (o *UpdateMTOPostCounselingInformationUnprocessableEntity) SetPayload(payload *primemessages.ValidationError)
- func (o *UpdateMTOPostCounselingInformationUnprocessableEntity) WithPayload(payload *primemessages.ValidationError) *UpdateMTOPostCounselingInformationUnprocessableEntity
- func (o *UpdateMTOPostCounselingInformationUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateExcessWeightRecordCreatedCode int = 201
CreateExcessWeightRecordCreatedCode is the HTTP code returned for type CreateExcessWeightRecordCreated
const CreateExcessWeightRecordForbiddenCode int = 403
CreateExcessWeightRecordForbiddenCode is the HTTP code returned for type CreateExcessWeightRecordForbidden
const CreateExcessWeightRecordInternalServerErrorCode int = 500
CreateExcessWeightRecordInternalServerErrorCode is the HTTP code returned for type CreateExcessWeightRecordInternalServerError
const CreateExcessWeightRecordNotFoundCode int = 404
CreateExcessWeightRecordNotFoundCode is the HTTP code returned for type CreateExcessWeightRecordNotFound
CreateExcessWeightRecordUnauthorizedCode is the HTTP code returned for type CreateExcessWeightRecordUnauthorized
const CreateExcessWeightRecordUnprocessableEntityCode int = 422
CreateExcessWeightRecordUnprocessableEntityCode is the HTTP code returned for type CreateExcessWeightRecordUnprocessableEntity
const DownloadMoveOrderBadRequestCode int = 400
DownloadMoveOrderBadRequestCode is the HTTP code returned for type DownloadMoveOrderBadRequest
const DownloadMoveOrderForbiddenCode int = 403
DownloadMoveOrderForbiddenCode is the HTTP code returned for type DownloadMoveOrderForbidden
const DownloadMoveOrderInternalServerErrorCode int = 500
DownloadMoveOrderInternalServerErrorCode is the HTTP code returned for type DownloadMoveOrderInternalServerError
const DownloadMoveOrderNotFoundCode int = 404
DownloadMoveOrderNotFoundCode is the HTTP code returned for type DownloadMoveOrderNotFound
const DownloadMoveOrderOKCode int = 200
DownloadMoveOrderOKCode is the HTTP code returned for type DownloadMoveOrderOK
const DownloadMoveOrderUnprocessableEntityCode int = 422
DownloadMoveOrderUnprocessableEntityCode is the HTTP code returned for type DownloadMoveOrderUnprocessableEntity
const GetMoveTaskOrderForbiddenCode int = 403
GetMoveTaskOrderForbiddenCode is the HTTP code returned for type GetMoveTaskOrderForbidden
const GetMoveTaskOrderInternalServerErrorCode int = 500
GetMoveTaskOrderInternalServerErrorCode is the HTTP code returned for type GetMoveTaskOrderInternalServerError
const GetMoveTaskOrderNotFoundCode int = 404
GetMoveTaskOrderNotFoundCode is the HTTP code returned for type GetMoveTaskOrderNotFound
const GetMoveTaskOrderOKCode int = 200
GetMoveTaskOrderOKCode is the HTTP code returned for type GetMoveTaskOrderOK
GetMoveTaskOrderUnauthorizedCode is the HTTP code returned for type GetMoveTaskOrderUnauthorized
const ListMovesForbiddenCode int = 403
ListMovesForbiddenCode is the HTTP code returned for type ListMovesForbidden
const ListMovesInternalServerErrorCode int = 500
ListMovesInternalServerErrorCode is the HTTP code returned for type ListMovesInternalServerError
const ListMovesOKCode int = 200
ListMovesOKCode is the HTTP code returned for type ListMovesOK
ListMovesUnauthorizedCode is the HTTP code returned for type ListMovesUnauthorized
const UpdateMTOPostCounselingInformationConflictCode int = 409
UpdateMTOPostCounselingInformationConflictCode is the HTTP code returned for type UpdateMTOPostCounselingInformationConflict
const UpdateMTOPostCounselingInformationForbiddenCode int = 403
UpdateMTOPostCounselingInformationForbiddenCode is the HTTP code returned for type UpdateMTOPostCounselingInformationForbidden
const UpdateMTOPostCounselingInformationInternalServerErrorCode int = 500
UpdateMTOPostCounselingInformationInternalServerErrorCode is the HTTP code returned for type UpdateMTOPostCounselingInformationInternalServerError
const UpdateMTOPostCounselingInformationNotFoundCode int = 404
UpdateMTOPostCounselingInformationNotFoundCode is the HTTP code returned for type UpdateMTOPostCounselingInformationNotFound
const UpdateMTOPostCounselingInformationOKCode int = 200
UpdateMTOPostCounselingInformationOKCode is the HTTP code returned for type UpdateMTOPostCounselingInformationOK
const UpdateMTOPostCounselingInformationPreconditionFailedCode int = 412
UpdateMTOPostCounselingInformationPreconditionFailedCode is the HTTP code returned for type UpdateMTOPostCounselingInformationPreconditionFailed
UpdateMTOPostCounselingInformationUnauthorizedCode is the HTTP code returned for type UpdateMTOPostCounselingInformationUnauthorized
const UpdateMTOPostCounselingInformationUnprocessableEntityCode int = 422
UpdateMTOPostCounselingInformationUnprocessableEntityCode is the HTTP code returned for type UpdateMTOPostCounselingInformationUnprocessableEntity
Variables ¶
var CreateExcessWeightRecordMaxParseMemory int64 = 32 << 20
CreateExcessWeightRecordMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.
The default value is 32 MB. The multipart parser stores up to this + 10MB.
Functions ¶
This section is empty.
Types ¶
type CreateExcessWeightRecord ¶
type CreateExcessWeightRecord struct { Context *middleware.Context Handler CreateExcessWeightRecordHandler }
CreateExcessWeightRecord swagger:route POST /move-task-orders/{moveTaskOrderID}/excess-weight-record moveTaskOrder createExcessWeightRecord
createExcessWeightRecord
Uploads an excess weight record, which is a document that proves that the movers or contractors have counseled the customer about their excess weight. Excess weight counseling should occur after the sum of the shipments for the customer's move crosses the excess weight alert threshold.
func NewCreateExcessWeightRecord ¶
func NewCreateExcessWeightRecord(ctx *middleware.Context, handler CreateExcessWeightRecordHandler) *CreateExcessWeightRecord
NewCreateExcessWeightRecord creates a new http.Handler for the create excess weight record operation
func (*CreateExcessWeightRecord) ServeHTTP ¶
func (o *CreateExcessWeightRecord) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateExcessWeightRecordCreated ¶
type CreateExcessWeightRecordCreated struct { /* In: Body */ Payload *primemessages.ExcessWeightRecord `json:"body,omitempty"` }
CreateExcessWeightRecordCreated Successfully uploaded the excess weight record file.
swagger:response createExcessWeightRecordCreated
func NewCreateExcessWeightRecordCreated ¶
func NewCreateExcessWeightRecordCreated() *CreateExcessWeightRecordCreated
NewCreateExcessWeightRecordCreated creates CreateExcessWeightRecordCreated with default headers values
func (*CreateExcessWeightRecordCreated) SetPayload ¶
func (o *CreateExcessWeightRecordCreated) SetPayload(payload *primemessages.ExcessWeightRecord)
SetPayload sets the payload to the create excess weight record created response
func (*CreateExcessWeightRecordCreated) WithPayload ¶
func (o *CreateExcessWeightRecordCreated) WithPayload(payload *primemessages.ExcessWeightRecord) *CreateExcessWeightRecordCreated
WithPayload adds the payload to the create excess weight record created response
func (*CreateExcessWeightRecordCreated) WriteResponse ¶
func (o *CreateExcessWeightRecordCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateExcessWeightRecordForbidden ¶
type CreateExcessWeightRecordForbidden struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
CreateExcessWeightRecordForbidden The request was denied.
swagger:response createExcessWeightRecordForbidden
func NewCreateExcessWeightRecordForbidden ¶
func NewCreateExcessWeightRecordForbidden() *CreateExcessWeightRecordForbidden
NewCreateExcessWeightRecordForbidden creates CreateExcessWeightRecordForbidden with default headers values
func (*CreateExcessWeightRecordForbidden) SetPayload ¶
func (o *CreateExcessWeightRecordForbidden) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the create excess weight record forbidden response
func (*CreateExcessWeightRecordForbidden) WithPayload ¶
func (o *CreateExcessWeightRecordForbidden) WithPayload(payload *primemessages.ClientError) *CreateExcessWeightRecordForbidden
WithPayload adds the payload to the create excess weight record forbidden response
func (*CreateExcessWeightRecordForbidden) WriteResponse ¶
func (o *CreateExcessWeightRecordForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateExcessWeightRecordHandler ¶
type CreateExcessWeightRecordHandler interface {
Handle(CreateExcessWeightRecordParams) middleware.Responder
}
CreateExcessWeightRecordHandler interface for that can handle valid create excess weight record params
type CreateExcessWeightRecordHandlerFunc ¶
type CreateExcessWeightRecordHandlerFunc func(CreateExcessWeightRecordParams) middleware.Responder
CreateExcessWeightRecordHandlerFunc turns a function with the right signature into a create excess weight record handler
func (CreateExcessWeightRecordHandlerFunc) Handle ¶
func (fn CreateExcessWeightRecordHandlerFunc) Handle(params CreateExcessWeightRecordParams) middleware.Responder
Handle executing the request and returning a response
type CreateExcessWeightRecordInternalServerError ¶
type CreateExcessWeightRecordInternalServerError struct { /* In: Body */ Payload *primemessages.Error `json:"body,omitempty"` }
CreateExcessWeightRecordInternalServerError A server error occurred.
swagger:response createExcessWeightRecordInternalServerError
func NewCreateExcessWeightRecordInternalServerError ¶
func NewCreateExcessWeightRecordInternalServerError() *CreateExcessWeightRecordInternalServerError
NewCreateExcessWeightRecordInternalServerError creates CreateExcessWeightRecordInternalServerError with default headers values
func (*CreateExcessWeightRecordInternalServerError) SetPayload ¶
func (o *CreateExcessWeightRecordInternalServerError) SetPayload(payload *primemessages.Error)
SetPayload sets the payload to the create excess weight record internal server error response
func (*CreateExcessWeightRecordInternalServerError) WithPayload ¶
func (o *CreateExcessWeightRecordInternalServerError) WithPayload(payload *primemessages.Error) *CreateExcessWeightRecordInternalServerError
WithPayload adds the payload to the create excess weight record internal server error response
func (*CreateExcessWeightRecordInternalServerError) WriteResponse ¶
func (o *CreateExcessWeightRecordInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateExcessWeightRecordNotFound ¶
type CreateExcessWeightRecordNotFound struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
CreateExcessWeightRecordNotFound The requested resource wasn't found.
swagger:response createExcessWeightRecordNotFound
func NewCreateExcessWeightRecordNotFound ¶
func NewCreateExcessWeightRecordNotFound() *CreateExcessWeightRecordNotFound
NewCreateExcessWeightRecordNotFound creates CreateExcessWeightRecordNotFound with default headers values
func (*CreateExcessWeightRecordNotFound) SetPayload ¶
func (o *CreateExcessWeightRecordNotFound) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the create excess weight record not found response
func (*CreateExcessWeightRecordNotFound) WithPayload ¶
func (o *CreateExcessWeightRecordNotFound) WithPayload(payload *primemessages.ClientError) *CreateExcessWeightRecordNotFound
WithPayload adds the payload to the create excess weight record not found response
func (*CreateExcessWeightRecordNotFound) WriteResponse ¶
func (o *CreateExcessWeightRecordNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateExcessWeightRecordParams ¶
type CreateExcessWeightRecordParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The file to upload. Required: true In: formData */ File io.ReadCloser /*UUID of the move being updated. Required: true In: path */ MoveTaskOrderID strfmt.UUID }
CreateExcessWeightRecordParams contains all the bound params for the create excess weight record operation typically these are obtained from a http.Request
swagger:parameters createExcessWeightRecord
func NewCreateExcessWeightRecordParams ¶
func NewCreateExcessWeightRecordParams() CreateExcessWeightRecordParams
NewCreateExcessWeightRecordParams creates a new CreateExcessWeightRecordParams object
There are no default values defined in the spec.
func (*CreateExcessWeightRecordParams) BindRequest ¶
func (o *CreateExcessWeightRecordParams) 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 NewCreateExcessWeightRecordParams() beforehand.
type CreateExcessWeightRecordURL ¶
type CreateExcessWeightRecordURL struct { MoveTaskOrderID strfmt.UUID // contains filtered or unexported fields }
CreateExcessWeightRecordURL generates an URL for the create excess weight record operation
func (*CreateExcessWeightRecordURL) Build ¶
func (o *CreateExcessWeightRecordURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateExcessWeightRecordURL) BuildFull ¶
func (o *CreateExcessWeightRecordURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateExcessWeightRecordURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateExcessWeightRecordURL) SetBasePath ¶
func (o *CreateExcessWeightRecordURL) 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 (*CreateExcessWeightRecordURL) String ¶
func (o *CreateExcessWeightRecordURL) String() string
String returns the string representation of the path with query string
func (*CreateExcessWeightRecordURL) StringFull ¶
func (o *CreateExcessWeightRecordURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateExcessWeightRecordURL) WithBasePath ¶
func (o *CreateExcessWeightRecordURL) WithBasePath(bp string) *CreateExcessWeightRecordURL
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 CreateExcessWeightRecordUnauthorized ¶
type CreateExcessWeightRecordUnauthorized struct { primemessages.ClientError `json:"body,omitempty"` }Payload *
CreateExcessWeightRecordUnauthorized The request was denied.
swagger:response createExcessWeightRecordUnauthorized
func NewCreateExcessWeightRecordUnauthorized ¶
func NewCreateExcessWeightRecordUnauthorized() *CreateExcessWeightRecordUnauthorized
NewCreateExcessWeightRecordUnauthorized creates CreateExcessWeightRecordUnauthorized with default headers values
func (*CreateExcessWeightRecordUnauthorized) SetPayload ¶
func (o *CreateExcessWeightRecordUnauthorized) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the create excess weight record unauthorized response
func (*CreateExcessWeightRecordUnauthorized) WithPayload ¶
func (o *CreateExcessWeightRecordUnauthorized) WithPayload(payload *primemessages.ClientError) *CreateExcessWeightRecordUnauthorized
WithPayload adds the payload to the create excess weight record unauthorized response
func (*CreateExcessWeightRecordUnauthorized) WriteResponse ¶
func (o *CreateExcessWeightRecordUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateExcessWeightRecordUnprocessableEntity ¶
type CreateExcessWeightRecordUnprocessableEntity struct { /* In: Body */ Payload *primemessages.ValidationError `json:"body,omitempty"` }
CreateExcessWeightRecordUnprocessableEntity The request was unprocessable, likely due to bad input from the requester.
swagger:response createExcessWeightRecordUnprocessableEntity
func NewCreateExcessWeightRecordUnprocessableEntity ¶
func NewCreateExcessWeightRecordUnprocessableEntity() *CreateExcessWeightRecordUnprocessableEntity
NewCreateExcessWeightRecordUnprocessableEntity creates CreateExcessWeightRecordUnprocessableEntity with default headers values
func (*CreateExcessWeightRecordUnprocessableEntity) SetPayload ¶
func (o *CreateExcessWeightRecordUnprocessableEntity) SetPayload(payload *primemessages.ValidationError)
SetPayload sets the payload to the create excess weight record unprocessable entity response
func (*CreateExcessWeightRecordUnprocessableEntity) WithPayload ¶
func (o *CreateExcessWeightRecordUnprocessableEntity) WithPayload(payload *primemessages.ValidationError) *CreateExcessWeightRecordUnprocessableEntity
WithPayload adds the payload to the create excess weight record unprocessable entity response
func (*CreateExcessWeightRecordUnprocessableEntity) WriteResponse ¶
func (o *CreateExcessWeightRecordUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadMoveOrder ¶
type DownloadMoveOrder struct { Context *middleware.Context Handler DownloadMoveOrderHandler }
DownloadMoveOrder swagger:route GET /moves/{locator}/documents moveTaskOrder downloadMoveOrder
Downloads move order as a PDF ¶
### Functionality This endpoint downloads all uploaded move order documentations into one download file by locator.
### Errors * The move must be in need counseling state. * The move client's origin duty location must not currently have gov counseling.
func NewDownloadMoveOrder ¶
func NewDownloadMoveOrder(ctx *middleware.Context, handler DownloadMoveOrderHandler) *DownloadMoveOrder
NewDownloadMoveOrder creates a new http.Handler for the download move order operation
func (*DownloadMoveOrder) ServeHTTP ¶
func (o *DownloadMoveOrder) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DownloadMoveOrderBadRequest ¶
type DownloadMoveOrderBadRequest struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
DownloadMoveOrderBadRequest The request payload is invalid.
swagger:response downloadMoveOrderBadRequest
func NewDownloadMoveOrderBadRequest ¶
func NewDownloadMoveOrderBadRequest() *DownloadMoveOrderBadRequest
NewDownloadMoveOrderBadRequest creates DownloadMoveOrderBadRequest with default headers values
func (*DownloadMoveOrderBadRequest) SetPayload ¶
func (o *DownloadMoveOrderBadRequest) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the download move order bad request response
func (*DownloadMoveOrderBadRequest) WithPayload ¶
func (o *DownloadMoveOrderBadRequest) WithPayload(payload *primemessages.ClientError) *DownloadMoveOrderBadRequest
WithPayload adds the payload to the download move order bad request response
func (*DownloadMoveOrderBadRequest) WriteResponse ¶
func (o *DownloadMoveOrderBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadMoveOrderForbidden ¶
type DownloadMoveOrderForbidden struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
DownloadMoveOrderForbidden The request was denied.
swagger:response downloadMoveOrderForbidden
func NewDownloadMoveOrderForbidden ¶
func NewDownloadMoveOrderForbidden() *DownloadMoveOrderForbidden
NewDownloadMoveOrderForbidden creates DownloadMoveOrderForbidden with default headers values
func (*DownloadMoveOrderForbidden) SetPayload ¶
func (o *DownloadMoveOrderForbidden) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the download move order forbidden response
func (*DownloadMoveOrderForbidden) WithPayload ¶
func (o *DownloadMoveOrderForbidden) WithPayload(payload *primemessages.ClientError) *DownloadMoveOrderForbidden
WithPayload adds the payload to the download move order forbidden response
func (*DownloadMoveOrderForbidden) WriteResponse ¶
func (o *DownloadMoveOrderForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadMoveOrderHandler ¶
type DownloadMoveOrderHandler interface {
Handle(DownloadMoveOrderParams) middleware.Responder
}
DownloadMoveOrderHandler interface for that can handle valid download move order params
type DownloadMoveOrderHandlerFunc ¶
type DownloadMoveOrderHandlerFunc func(DownloadMoveOrderParams) middleware.Responder
DownloadMoveOrderHandlerFunc turns a function with the right signature into a download move order handler
func (DownloadMoveOrderHandlerFunc) Handle ¶
func (fn DownloadMoveOrderHandlerFunc) Handle(params DownloadMoveOrderParams) middleware.Responder
Handle executing the request and returning a response
type DownloadMoveOrderInternalServerError ¶
type DownloadMoveOrderInternalServerError struct { /* In: Body */ Payload *primemessages.Error `json:"body,omitempty"` }
DownloadMoveOrderInternalServerError A server error occurred.
swagger:response downloadMoveOrderInternalServerError
func NewDownloadMoveOrderInternalServerError ¶
func NewDownloadMoveOrderInternalServerError() *DownloadMoveOrderInternalServerError
NewDownloadMoveOrderInternalServerError creates DownloadMoveOrderInternalServerError with default headers values
func (*DownloadMoveOrderInternalServerError) SetPayload ¶
func (o *DownloadMoveOrderInternalServerError) SetPayload(payload *primemessages.Error)
SetPayload sets the payload to the download move order internal server error response
func (*DownloadMoveOrderInternalServerError) WithPayload ¶
func (o *DownloadMoveOrderInternalServerError) WithPayload(payload *primemessages.Error) *DownloadMoveOrderInternalServerError
WithPayload adds the payload to the download move order internal server error response
func (*DownloadMoveOrderInternalServerError) WriteResponse ¶
func (o *DownloadMoveOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadMoveOrderNotFound ¶
type DownloadMoveOrderNotFound struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
DownloadMoveOrderNotFound The requested resource wasn't found.
swagger:response downloadMoveOrderNotFound
func NewDownloadMoveOrderNotFound ¶
func NewDownloadMoveOrderNotFound() *DownloadMoveOrderNotFound
NewDownloadMoveOrderNotFound creates DownloadMoveOrderNotFound with default headers values
func (*DownloadMoveOrderNotFound) SetPayload ¶
func (o *DownloadMoveOrderNotFound) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the download move order not found response
func (*DownloadMoveOrderNotFound) WithPayload ¶
func (o *DownloadMoveOrderNotFound) WithPayload(payload *primemessages.ClientError) *DownloadMoveOrderNotFound
WithPayload adds the payload to the download move order not found response
func (*DownloadMoveOrderNotFound) WriteResponse ¶
func (o *DownloadMoveOrderNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadMoveOrderOK ¶
type DownloadMoveOrderOK struct { /*File name to download */ ContentDisposition string `json:"Content-Disposition"` /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
DownloadMoveOrderOK Move Order PDF
swagger:response downloadMoveOrderOK
func NewDownloadMoveOrderOK ¶
func NewDownloadMoveOrderOK() *DownloadMoveOrderOK
NewDownloadMoveOrderOK creates DownloadMoveOrderOK with default headers values
func (*DownloadMoveOrderOK) SetContentDisposition ¶
func (o *DownloadMoveOrderOK) SetContentDisposition(contentDisposition string)
SetContentDisposition sets the contentDisposition to the download move order o k response
func (*DownloadMoveOrderOK) SetPayload ¶
func (o *DownloadMoveOrderOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the download move order o k response
func (*DownloadMoveOrderOK) WithContentDisposition ¶
func (o *DownloadMoveOrderOK) WithContentDisposition(contentDisposition string) *DownloadMoveOrderOK
WithContentDisposition adds the contentDisposition to the download move order o k response
func (*DownloadMoveOrderOK) WithPayload ¶
func (o *DownloadMoveOrderOK) WithPayload(payload io.ReadCloser) *DownloadMoveOrderOK
WithPayload adds the payload to the download move order o k response
func (*DownloadMoveOrderOK) WriteResponse ¶
func (o *DownloadMoveOrderOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadMoveOrderParams ¶
type DownloadMoveOrderParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*the locator code for move order to be downloaded Required: true In: path */ Locator string /*upload type In: query Default: "ALL" */ Type *string }
DownloadMoveOrderParams contains all the bound params for the download move order operation typically these are obtained from a http.Request
swagger:parameters downloadMoveOrder
func NewDownloadMoveOrderParams ¶
func NewDownloadMoveOrderParams() DownloadMoveOrderParams
NewDownloadMoveOrderParams creates a new DownloadMoveOrderParams object with the default values initialized.
func (*DownloadMoveOrderParams) BindRequest ¶
func (o *DownloadMoveOrderParams) 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 NewDownloadMoveOrderParams() beforehand.
type DownloadMoveOrderURL ¶
type DownloadMoveOrderURL struct { Locator string Type *string // contains filtered or unexported fields }
DownloadMoveOrderURL generates an URL for the download move order operation
func (*DownloadMoveOrderURL) Build ¶
func (o *DownloadMoveOrderURL) Build() (*url.URL, error)
Build a url path and query string
func (*DownloadMoveOrderURL) BuildFull ¶
func (o *DownloadMoveOrderURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DownloadMoveOrderURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DownloadMoveOrderURL) SetBasePath ¶
func (o *DownloadMoveOrderURL) 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 (*DownloadMoveOrderURL) String ¶
func (o *DownloadMoveOrderURL) String() string
String returns the string representation of the path with query string
func (*DownloadMoveOrderURL) StringFull ¶
func (o *DownloadMoveOrderURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DownloadMoveOrderURL) WithBasePath ¶
func (o *DownloadMoveOrderURL) WithBasePath(bp string) *DownloadMoveOrderURL
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 DownloadMoveOrderUnprocessableEntity ¶
type DownloadMoveOrderUnprocessableEntity struct { /* In: Body */ Payload *primemessages.ValidationError `json:"body,omitempty"` }
DownloadMoveOrderUnprocessableEntity The request was unprocessable, likely due to bad input from the requester.
swagger:response downloadMoveOrderUnprocessableEntity
func NewDownloadMoveOrderUnprocessableEntity ¶
func NewDownloadMoveOrderUnprocessableEntity() *DownloadMoveOrderUnprocessableEntity
NewDownloadMoveOrderUnprocessableEntity creates DownloadMoveOrderUnprocessableEntity with default headers values
func (*DownloadMoveOrderUnprocessableEntity) SetPayload ¶
func (o *DownloadMoveOrderUnprocessableEntity) SetPayload(payload *primemessages.ValidationError)
SetPayload sets the payload to the download move order unprocessable entity response
func (*DownloadMoveOrderUnprocessableEntity) WithPayload ¶
func (o *DownloadMoveOrderUnprocessableEntity) WithPayload(payload *primemessages.ValidationError) *DownloadMoveOrderUnprocessableEntity
WithPayload adds the payload to the download move order unprocessable entity response
func (*DownloadMoveOrderUnprocessableEntity) WriteResponse ¶
func (o *DownloadMoveOrderUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMoveTaskOrder ¶
type GetMoveTaskOrder struct { Context *middleware.Context Handler GetMoveTaskOrderHandler }
GetMoveTaskOrder swagger:route GET /move-task-orders/{moveID} moveTaskOrder getMoveTaskOrder
getMoveTaskOrder
### Functionality This endpoint gets an individual MoveTaskOrder by ID.
It will provide information about the Customer and any associated MTOShipments, MTOServiceItems and PaymentRequests.
func NewGetMoveTaskOrder ¶
func NewGetMoveTaskOrder(ctx *middleware.Context, handler GetMoveTaskOrderHandler) *GetMoveTaskOrder
NewGetMoveTaskOrder creates a new http.Handler for the get move task order operation
func (*GetMoveTaskOrder) ServeHTTP ¶
func (o *GetMoveTaskOrder) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetMoveTaskOrderForbidden ¶
type GetMoveTaskOrderForbidden struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
GetMoveTaskOrderForbidden The request was denied.
swagger:response getMoveTaskOrderForbidden
func NewGetMoveTaskOrderForbidden ¶
func NewGetMoveTaskOrderForbidden() *GetMoveTaskOrderForbidden
NewGetMoveTaskOrderForbidden creates GetMoveTaskOrderForbidden with default headers values
func (*GetMoveTaskOrderForbidden) SetPayload ¶
func (o *GetMoveTaskOrderForbidden) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the get move task order forbidden response
func (*GetMoveTaskOrderForbidden) WithPayload ¶
func (o *GetMoveTaskOrderForbidden) WithPayload(payload *primemessages.ClientError) *GetMoveTaskOrderForbidden
WithPayload adds the payload to the get move task order forbidden response
func (*GetMoveTaskOrderForbidden) WriteResponse ¶
func (o *GetMoveTaskOrderForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMoveTaskOrderHandler ¶
type GetMoveTaskOrderHandler interface {
Handle(GetMoveTaskOrderParams) middleware.Responder
}
GetMoveTaskOrderHandler interface for that can handle valid get move task order params
type GetMoveTaskOrderHandlerFunc ¶
type GetMoveTaskOrderHandlerFunc func(GetMoveTaskOrderParams) middleware.Responder
GetMoveTaskOrderHandlerFunc turns a function with the right signature into a get move task order handler
func (GetMoveTaskOrderHandlerFunc) Handle ¶
func (fn GetMoveTaskOrderHandlerFunc) Handle(params GetMoveTaskOrderParams) middleware.Responder
Handle executing the request and returning a response
type GetMoveTaskOrderInternalServerError ¶
type GetMoveTaskOrderInternalServerError struct { /* In: Body */ Payload *primemessages.Error `json:"body,omitempty"` }
GetMoveTaskOrderInternalServerError A server error occurred.
swagger:response getMoveTaskOrderInternalServerError
func NewGetMoveTaskOrderInternalServerError ¶
func NewGetMoveTaskOrderInternalServerError() *GetMoveTaskOrderInternalServerError
NewGetMoveTaskOrderInternalServerError creates GetMoveTaskOrderInternalServerError with default headers values
func (*GetMoveTaskOrderInternalServerError) SetPayload ¶
func (o *GetMoveTaskOrderInternalServerError) SetPayload(payload *primemessages.Error)
SetPayload sets the payload to the get move task order internal server error response
func (*GetMoveTaskOrderInternalServerError) WithPayload ¶
func (o *GetMoveTaskOrderInternalServerError) WithPayload(payload *primemessages.Error) *GetMoveTaskOrderInternalServerError
WithPayload adds the payload to the get move task order internal server error response
func (*GetMoveTaskOrderInternalServerError) WriteResponse ¶
func (o *GetMoveTaskOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMoveTaskOrderNotFound ¶
type GetMoveTaskOrderNotFound struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
GetMoveTaskOrderNotFound The requested resource wasn't found.
swagger:response getMoveTaskOrderNotFound
func NewGetMoveTaskOrderNotFound ¶
func NewGetMoveTaskOrderNotFound() *GetMoveTaskOrderNotFound
NewGetMoveTaskOrderNotFound creates GetMoveTaskOrderNotFound with default headers values
func (*GetMoveTaskOrderNotFound) SetPayload ¶
func (o *GetMoveTaskOrderNotFound) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the get move task order not found response
func (*GetMoveTaskOrderNotFound) WithPayload ¶
func (o *GetMoveTaskOrderNotFound) WithPayload(payload *primemessages.ClientError) *GetMoveTaskOrderNotFound
WithPayload adds the payload to the get move task order not found response
func (*GetMoveTaskOrderNotFound) WriteResponse ¶
func (o *GetMoveTaskOrderNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMoveTaskOrderOK ¶
type GetMoveTaskOrderOK struct { /* In: Body */ Payload *primemessages.MoveTaskOrder `json:"body,omitempty"` }
GetMoveTaskOrderOK Successfully retrieve an individual move task order.
swagger:response getMoveTaskOrderOK
func NewGetMoveTaskOrderOK ¶
func NewGetMoveTaskOrderOK() *GetMoveTaskOrderOK
NewGetMoveTaskOrderOK creates GetMoveTaskOrderOK with default headers values
func (*GetMoveTaskOrderOK) SetPayload ¶
func (o *GetMoveTaskOrderOK) SetPayload(payload *primemessages.MoveTaskOrder)
SetPayload sets the payload to the get move task order o k response
func (*GetMoveTaskOrderOK) WithPayload ¶
func (o *GetMoveTaskOrderOK) WithPayload(payload *primemessages.MoveTaskOrder) *GetMoveTaskOrderOK
WithPayload adds the payload to the get move task order o k response
func (*GetMoveTaskOrderOK) WriteResponse ¶
func (o *GetMoveTaskOrderOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMoveTaskOrderParams ¶
type GetMoveTaskOrderParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID or MoveCode of move task order to use. Required: true In: path */ MoveID string }
GetMoveTaskOrderParams contains all the bound params for the get move task order operation typically these are obtained from a http.Request
swagger:parameters getMoveTaskOrder
func NewGetMoveTaskOrderParams ¶
func NewGetMoveTaskOrderParams() GetMoveTaskOrderParams
NewGetMoveTaskOrderParams creates a new GetMoveTaskOrderParams object
There are no default values defined in the spec.
func (*GetMoveTaskOrderParams) BindRequest ¶
func (o *GetMoveTaskOrderParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetMoveTaskOrderParams() beforehand.
type GetMoveTaskOrderURL ¶
type GetMoveTaskOrderURL struct { MoveID string // contains filtered or unexported fields }
GetMoveTaskOrderURL generates an URL for the get move task order operation
func (*GetMoveTaskOrderURL) Build ¶
func (o *GetMoveTaskOrderURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetMoveTaskOrderURL) BuildFull ¶
func (o *GetMoveTaskOrderURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetMoveTaskOrderURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetMoveTaskOrderURL) SetBasePath ¶
func (o *GetMoveTaskOrderURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetMoveTaskOrderURL) String ¶
func (o *GetMoveTaskOrderURL) String() string
String returns the string representation of the path with query string
func (*GetMoveTaskOrderURL) StringFull ¶
func (o *GetMoveTaskOrderURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetMoveTaskOrderURL) WithBasePath ¶
func (o *GetMoveTaskOrderURL) WithBasePath(bp string) *GetMoveTaskOrderURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetMoveTaskOrderUnauthorized ¶
type GetMoveTaskOrderUnauthorized struct { primemessages.ClientError `json:"body,omitempty"` }Payload *
GetMoveTaskOrderUnauthorized The request was denied.
swagger:response getMoveTaskOrderUnauthorized
func NewGetMoveTaskOrderUnauthorized ¶
func NewGetMoveTaskOrderUnauthorized() *GetMoveTaskOrderUnauthorized
NewGetMoveTaskOrderUnauthorized creates GetMoveTaskOrderUnauthorized with default headers values
func (*GetMoveTaskOrderUnauthorized) SetPayload ¶
func (o *GetMoveTaskOrderUnauthorized) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the get move task order unauthorized response
func (*GetMoveTaskOrderUnauthorized) WithPayload ¶
func (o *GetMoveTaskOrderUnauthorized) WithPayload(payload *primemessages.ClientError) *GetMoveTaskOrderUnauthorized
WithPayload adds the payload to the get move task order unauthorized response
func (*GetMoveTaskOrderUnauthorized) WriteResponse ¶
func (o *GetMoveTaskOrderUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListMoves ¶
type ListMoves struct { Context *middleware.Context Handler ListMovesHandler }
ListMoves swagger:route GET /moves moveTaskOrder listMoves
listMoves
Gets all moves that have been reviewed and approved by the TOO. The `since` parameter can be used to filter this list down to only the moves that have been updated since the provided timestamp. A move will be considered updated if the `updatedAt` timestamp on the move or on its orders, shipments, service items, or payment requests, is later than the provided date and time.
**WIP**: Include what causes moves to leave this list. Currently, once the `availableToPrimeAt` timestamp has been set, that move will always appear in this list.
func NewListMoves ¶
func NewListMoves(ctx *middleware.Context, handler ListMovesHandler) *ListMoves
NewListMoves creates a new http.Handler for the list moves operation
type ListMovesForbidden ¶
type ListMovesForbidden struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
ListMovesForbidden The request was denied.
swagger:response listMovesForbidden
func NewListMovesForbidden ¶
func NewListMovesForbidden() *ListMovesForbidden
NewListMovesForbidden creates ListMovesForbidden with default headers values
func (*ListMovesForbidden) SetPayload ¶
func (o *ListMovesForbidden) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the list moves forbidden response
func (*ListMovesForbidden) WithPayload ¶
func (o *ListMovesForbidden) WithPayload(payload *primemessages.ClientError) *ListMovesForbidden
WithPayload adds the payload to the list moves forbidden response
func (*ListMovesForbidden) WriteResponse ¶
func (o *ListMovesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListMovesHandler ¶
type ListMovesHandler interface {
Handle(ListMovesParams) middleware.Responder
}
ListMovesHandler interface for that can handle valid list moves params
type ListMovesHandlerFunc ¶
type ListMovesHandlerFunc func(ListMovesParams) middleware.Responder
ListMovesHandlerFunc turns a function with the right signature into a list moves handler
func (ListMovesHandlerFunc) Handle ¶
func (fn ListMovesHandlerFunc) Handle(params ListMovesParams) middleware.Responder
Handle executing the request and returning a response
type ListMovesInternalServerError ¶
type ListMovesInternalServerError struct { /* In: Body */ Payload *primemessages.Error `json:"body,omitempty"` }
ListMovesInternalServerError A server error occurred.
swagger:response listMovesInternalServerError
func NewListMovesInternalServerError ¶
func NewListMovesInternalServerError() *ListMovesInternalServerError
NewListMovesInternalServerError creates ListMovesInternalServerError with default headers values
func (*ListMovesInternalServerError) SetPayload ¶
func (o *ListMovesInternalServerError) SetPayload(payload *primemessages.Error)
SetPayload sets the payload to the list moves internal server error response
func (*ListMovesInternalServerError) WithPayload ¶
func (o *ListMovesInternalServerError) WithPayload(payload *primemessages.Error) *ListMovesInternalServerError
WithPayload adds the payload to the list moves internal server error response
func (*ListMovesInternalServerError) WriteResponse ¶
func (o *ListMovesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListMovesOK ¶
type ListMovesOK struct { /* In: Body */ Payload primemessages.ListMoves `json:"body,omitempty"` }
ListMovesOK Successfully retrieved moves. A successful fetch might still return zero moves.
swagger:response listMovesOK
func NewListMovesOK ¶
func NewListMovesOK() *ListMovesOK
NewListMovesOK creates ListMovesOK with default headers values
func (*ListMovesOK) SetPayload ¶
func (o *ListMovesOK) SetPayload(payload primemessages.ListMoves)
SetPayload sets the payload to the list moves o k response
func (*ListMovesOK) WithPayload ¶
func (o *ListMovesOK) WithPayload(payload primemessages.ListMoves) *ListMovesOK
WithPayload adds the payload to the list moves o k response
func (*ListMovesOK) WriteResponse ¶
func (o *ListMovesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListMovesParams ¶
type ListMovesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Only return moves updated since this time. Formatted like "2021-07-23T18:30:47.116Z" In: query */ Since *strfmt.DateTime }
ListMovesParams contains all the bound params for the list moves operation typically these are obtained from a http.Request
swagger:parameters listMoves
func NewListMovesParams ¶
func NewListMovesParams() ListMovesParams
NewListMovesParams creates a new ListMovesParams object
There are no default values defined in the spec.
func (*ListMovesParams) BindRequest ¶
func (o *ListMovesParams) 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 NewListMovesParams() beforehand.
type ListMovesURL ¶
ListMovesURL generates an URL for the list moves operation
func (*ListMovesURL) Build ¶
func (o *ListMovesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListMovesURL) BuildFull ¶
func (o *ListMovesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListMovesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListMovesURL) SetBasePath ¶
func (o *ListMovesURL) 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 (*ListMovesURL) String ¶
func (o *ListMovesURL) String() string
String returns the string representation of the path with query string
func (*ListMovesURL) StringFull ¶
func (o *ListMovesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListMovesURL) WithBasePath ¶
func (o *ListMovesURL) WithBasePath(bp string) *ListMovesURL
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 ListMovesUnauthorized ¶
type ListMovesUnauthorized struct { primemessages.ClientError `json:"body,omitempty"` }Payload *
ListMovesUnauthorized The request was denied.
swagger:response listMovesUnauthorized
func NewListMovesUnauthorized ¶
func NewListMovesUnauthorized() *ListMovesUnauthorized
NewListMovesUnauthorized creates ListMovesUnauthorized with default headers values
func (*ListMovesUnauthorized) SetPayload ¶
func (o *ListMovesUnauthorized) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the list moves unauthorized response
func (*ListMovesUnauthorized) WithPayload ¶
func (o *ListMovesUnauthorized) WithPayload(payload *primemessages.ClientError) *ListMovesUnauthorized
WithPayload adds the payload to the list moves unauthorized response
func (*ListMovesUnauthorized) WriteResponse ¶
func (o *ListMovesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOPostCounselingInformation ¶
type UpdateMTOPostCounselingInformation struct { Context *middleware.Context Handler UpdateMTOPostCounselingInformationHandler }
UpdateMTOPostCounselingInformation swagger:route PATCH /move-task-orders/{moveTaskOrderID}/post-counseling-info moveTaskOrder updateMTOPostCounselingInformation
updateMTOPostCounselingInformation
### Functionality This endpoint **updates** the MoveTaskOrder to indicate that the Prime has completed Counseling. This update uses the moveTaskOrderID provided in the path, updates the move status and marks child elements of the move to indicate the update. No body object is expected for this request.
**For Full/Partial PPMs**: This action is required so that the customer can start uploading their proof of service docs.
**For other move types**: This action is required for auditing reasons so that we have a record of when the Prime counseled the customer.
func NewUpdateMTOPostCounselingInformation ¶
func NewUpdateMTOPostCounselingInformation(ctx *middleware.Context, handler UpdateMTOPostCounselingInformationHandler) *UpdateMTOPostCounselingInformation
NewUpdateMTOPostCounselingInformation creates a new http.Handler for the update m t o post counseling information operation
func (*UpdateMTOPostCounselingInformation) ServeHTTP ¶
func (o *UpdateMTOPostCounselingInformation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateMTOPostCounselingInformationConflict ¶
type UpdateMTOPostCounselingInformationConflict struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
UpdateMTOPostCounselingInformationConflict The request could not be processed because of conflict in the current state of the resource.
swagger:response updateMTOPostCounselingInformationConflict
func NewUpdateMTOPostCounselingInformationConflict ¶
func NewUpdateMTOPostCounselingInformationConflict() *UpdateMTOPostCounselingInformationConflict
NewUpdateMTOPostCounselingInformationConflict creates UpdateMTOPostCounselingInformationConflict with default headers values
func (*UpdateMTOPostCounselingInformationConflict) SetPayload ¶
func (o *UpdateMTOPostCounselingInformationConflict) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the update m t o post counseling information conflict response
func (*UpdateMTOPostCounselingInformationConflict) WithPayload ¶
func (o *UpdateMTOPostCounselingInformationConflict) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationConflict
WithPayload adds the payload to the update m t o post counseling information conflict response
func (*UpdateMTOPostCounselingInformationConflict) WriteResponse ¶
func (o *UpdateMTOPostCounselingInformationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOPostCounselingInformationForbidden ¶
type UpdateMTOPostCounselingInformationForbidden struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
UpdateMTOPostCounselingInformationForbidden The request was denied.
swagger:response updateMTOPostCounselingInformationForbidden
func NewUpdateMTOPostCounselingInformationForbidden ¶
func NewUpdateMTOPostCounselingInformationForbidden() *UpdateMTOPostCounselingInformationForbidden
NewUpdateMTOPostCounselingInformationForbidden creates UpdateMTOPostCounselingInformationForbidden with default headers values
func (*UpdateMTOPostCounselingInformationForbidden) SetPayload ¶
func (o *UpdateMTOPostCounselingInformationForbidden) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the update m t o post counseling information forbidden response
func (*UpdateMTOPostCounselingInformationForbidden) WithPayload ¶
func (o *UpdateMTOPostCounselingInformationForbidden) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationForbidden
WithPayload adds the payload to the update m t o post counseling information forbidden response
func (*UpdateMTOPostCounselingInformationForbidden) WriteResponse ¶
func (o *UpdateMTOPostCounselingInformationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOPostCounselingInformationHandler ¶
type UpdateMTOPostCounselingInformationHandler interface {
Handle(UpdateMTOPostCounselingInformationParams) middleware.Responder
}
UpdateMTOPostCounselingInformationHandler interface for that can handle valid update m t o post counseling information params
type UpdateMTOPostCounselingInformationHandlerFunc ¶
type UpdateMTOPostCounselingInformationHandlerFunc func(UpdateMTOPostCounselingInformationParams) middleware.Responder
UpdateMTOPostCounselingInformationHandlerFunc turns a function with the right signature into a update m t o post counseling information handler
func (UpdateMTOPostCounselingInformationHandlerFunc) Handle ¶
func (fn UpdateMTOPostCounselingInformationHandlerFunc) Handle(params UpdateMTOPostCounselingInformationParams) middleware.Responder
Handle executing the request and returning a response
type UpdateMTOPostCounselingInformationInternalServerError ¶
type UpdateMTOPostCounselingInformationInternalServerError struct { /* In: Body */ Payload *primemessages.Error `json:"body,omitempty"` }
UpdateMTOPostCounselingInformationInternalServerError A server error occurred.
swagger:response updateMTOPostCounselingInformationInternalServerError
func NewUpdateMTOPostCounselingInformationInternalServerError ¶
func NewUpdateMTOPostCounselingInformationInternalServerError() *UpdateMTOPostCounselingInformationInternalServerError
NewUpdateMTOPostCounselingInformationInternalServerError creates UpdateMTOPostCounselingInformationInternalServerError with default headers values
func (*UpdateMTOPostCounselingInformationInternalServerError) SetPayload ¶
func (o *UpdateMTOPostCounselingInformationInternalServerError) SetPayload(payload *primemessages.Error)
SetPayload sets the payload to the update m t o post counseling information internal server error response
func (*UpdateMTOPostCounselingInformationInternalServerError) WithPayload ¶
func (o *UpdateMTOPostCounselingInformationInternalServerError) WithPayload(payload *primemessages.Error) *UpdateMTOPostCounselingInformationInternalServerError
WithPayload adds the payload to the update m t o post counseling information internal server error response
func (*UpdateMTOPostCounselingInformationInternalServerError) WriteResponse ¶
func (o *UpdateMTOPostCounselingInformationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOPostCounselingInformationNotFound ¶
type UpdateMTOPostCounselingInformationNotFound struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
UpdateMTOPostCounselingInformationNotFound The requested resource wasn't found.
swagger:response updateMTOPostCounselingInformationNotFound
func NewUpdateMTOPostCounselingInformationNotFound ¶
func NewUpdateMTOPostCounselingInformationNotFound() *UpdateMTOPostCounselingInformationNotFound
NewUpdateMTOPostCounselingInformationNotFound creates UpdateMTOPostCounselingInformationNotFound with default headers values
func (*UpdateMTOPostCounselingInformationNotFound) SetPayload ¶
func (o *UpdateMTOPostCounselingInformationNotFound) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the update m t o post counseling information not found response
func (*UpdateMTOPostCounselingInformationNotFound) WithPayload ¶
func (o *UpdateMTOPostCounselingInformationNotFound) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationNotFound
WithPayload adds the payload to the update m t o post counseling information not found response
func (*UpdateMTOPostCounselingInformationNotFound) WriteResponse ¶
func (o *UpdateMTOPostCounselingInformationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOPostCounselingInformationOK ¶
type UpdateMTOPostCounselingInformationOK struct { /* In: Body */ Payload *primemessages.MoveTaskOrder `json:"body,omitempty"` }
UpdateMTOPostCounselingInformationOK Successfully updated move task order with post counseling information.
swagger:response updateMTOPostCounselingInformationOK
func NewUpdateMTOPostCounselingInformationOK ¶
func NewUpdateMTOPostCounselingInformationOK() *UpdateMTOPostCounselingInformationOK
NewUpdateMTOPostCounselingInformationOK creates UpdateMTOPostCounselingInformationOK with default headers values
func (*UpdateMTOPostCounselingInformationOK) SetPayload ¶
func (o *UpdateMTOPostCounselingInformationOK) SetPayload(payload *primemessages.MoveTaskOrder)
SetPayload sets the payload to the update m t o post counseling information o k response
func (*UpdateMTOPostCounselingInformationOK) WithPayload ¶
func (o *UpdateMTOPostCounselingInformationOK) WithPayload(payload *primemessages.MoveTaskOrder) *UpdateMTOPostCounselingInformationOK
WithPayload adds the payload to the update m t o post counseling information o k response
func (*UpdateMTOPostCounselingInformationOK) WriteResponse ¶
func (o *UpdateMTOPostCounselingInformationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOPostCounselingInformationParams ¶
type UpdateMTOPostCounselingInformationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error. Required: true In: header */ IfMatch string /*ID of move task order to use. Required: true In: path */ MoveTaskOrderID string }
UpdateMTOPostCounselingInformationParams contains all the bound params for the update m t o post counseling information operation typically these are obtained from a http.Request
swagger:parameters updateMTOPostCounselingInformation
func NewUpdateMTOPostCounselingInformationParams ¶
func NewUpdateMTOPostCounselingInformationParams() UpdateMTOPostCounselingInformationParams
NewUpdateMTOPostCounselingInformationParams creates a new UpdateMTOPostCounselingInformationParams object
There are no default values defined in the spec.
func (*UpdateMTOPostCounselingInformationParams) BindRequest ¶
func (o *UpdateMTOPostCounselingInformationParams) 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 NewUpdateMTOPostCounselingInformationParams() beforehand.
type UpdateMTOPostCounselingInformationPreconditionFailed ¶
type UpdateMTOPostCounselingInformationPreconditionFailed struct { /* In: Body */ Payload *primemessages.ClientError `json:"body,omitempty"` }
UpdateMTOPostCounselingInformationPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.
swagger:response updateMTOPostCounselingInformationPreconditionFailed
func NewUpdateMTOPostCounselingInformationPreconditionFailed ¶
func NewUpdateMTOPostCounselingInformationPreconditionFailed() *UpdateMTOPostCounselingInformationPreconditionFailed
NewUpdateMTOPostCounselingInformationPreconditionFailed creates UpdateMTOPostCounselingInformationPreconditionFailed with default headers values
func (*UpdateMTOPostCounselingInformationPreconditionFailed) SetPayload ¶
func (o *UpdateMTOPostCounselingInformationPreconditionFailed) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the update m t o post counseling information precondition failed response
func (*UpdateMTOPostCounselingInformationPreconditionFailed) WithPayload ¶
func (o *UpdateMTOPostCounselingInformationPreconditionFailed) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationPreconditionFailed
WithPayload adds the payload to the update m t o post counseling information precondition failed response
func (*UpdateMTOPostCounselingInformationPreconditionFailed) WriteResponse ¶
func (o *UpdateMTOPostCounselingInformationPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOPostCounselingInformationURL ¶
type UpdateMTOPostCounselingInformationURL struct { MoveTaskOrderID string // contains filtered or unexported fields }
UpdateMTOPostCounselingInformationURL generates an URL for the update m t o post counseling information operation
func (*UpdateMTOPostCounselingInformationURL) Build ¶
func (o *UpdateMTOPostCounselingInformationURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateMTOPostCounselingInformationURL) BuildFull ¶
func (o *UpdateMTOPostCounselingInformationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateMTOPostCounselingInformationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateMTOPostCounselingInformationURL) SetBasePath ¶
func (o *UpdateMTOPostCounselingInformationURL) 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 (*UpdateMTOPostCounselingInformationURL) String ¶
func (o *UpdateMTOPostCounselingInformationURL) String() string
String returns the string representation of the path with query string
func (*UpdateMTOPostCounselingInformationURL) StringFull ¶
func (o *UpdateMTOPostCounselingInformationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateMTOPostCounselingInformationURL) WithBasePath ¶
func (o *UpdateMTOPostCounselingInformationURL) WithBasePath(bp string) *UpdateMTOPostCounselingInformationURL
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 UpdateMTOPostCounselingInformationUnauthorized ¶
type UpdateMTOPostCounselingInformationUnauthorized struct { primemessages.ClientError `json:"body,omitempty"` }Payload *
UpdateMTOPostCounselingInformationUnauthorized The request was denied.
swagger:response updateMTOPostCounselingInformationUnauthorized
func NewUpdateMTOPostCounselingInformationUnauthorized ¶
func NewUpdateMTOPostCounselingInformationUnauthorized() *UpdateMTOPostCounselingInformationUnauthorized
NewUpdateMTOPostCounselingInformationUnauthorized creates UpdateMTOPostCounselingInformationUnauthorized with default headers values
func (*UpdateMTOPostCounselingInformationUnauthorized) SetPayload ¶
func (o *UpdateMTOPostCounselingInformationUnauthorized) SetPayload(payload *primemessages.ClientError)
SetPayload sets the payload to the update m t o post counseling information unauthorized response
func (*UpdateMTOPostCounselingInformationUnauthorized) WithPayload ¶
func (o *UpdateMTOPostCounselingInformationUnauthorized) WithPayload(payload *primemessages.ClientError) *UpdateMTOPostCounselingInformationUnauthorized
WithPayload adds the payload to the update m t o post counseling information unauthorized response
func (*UpdateMTOPostCounselingInformationUnauthorized) WriteResponse ¶
func (o *UpdateMTOPostCounselingInformationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMTOPostCounselingInformationUnprocessableEntity ¶
type UpdateMTOPostCounselingInformationUnprocessableEntity struct { /* In: Body */ Payload *primemessages.ValidationError `json:"body,omitempty"` }
UpdateMTOPostCounselingInformationUnprocessableEntity The request was unprocessable, likely due to bad input from the requester.
swagger:response updateMTOPostCounselingInformationUnprocessableEntity
func NewUpdateMTOPostCounselingInformationUnprocessableEntity ¶
func NewUpdateMTOPostCounselingInformationUnprocessableEntity() *UpdateMTOPostCounselingInformationUnprocessableEntity
NewUpdateMTOPostCounselingInformationUnprocessableEntity creates UpdateMTOPostCounselingInformationUnprocessableEntity with default headers values
func (*UpdateMTOPostCounselingInformationUnprocessableEntity) SetPayload ¶
func (o *UpdateMTOPostCounselingInformationUnprocessableEntity) SetPayload(payload *primemessages.ValidationError)
SetPayload sets the payload to the update m t o post counseling information unprocessable entity response
func (*UpdateMTOPostCounselingInformationUnprocessableEntity) WithPayload ¶
func (o *UpdateMTOPostCounselingInformationUnprocessableEntity) WithPayload(payload *primemessages.ValidationError) *UpdateMTOPostCounselingInformationUnprocessableEntity
WithPayload adds the payload to the update m t o post counseling information unprocessable entity response
func (*UpdateMTOPostCounselingInformationUnprocessableEntity) WriteResponse ¶
func (o *UpdateMTOPostCounselingInformationUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_excess_weight_record.go
- create_excess_weight_record_parameters.go
- create_excess_weight_record_responses.go
- create_excess_weight_record_urlbuilder.go
- download_move_order.go
- download_move_order_parameters.go
- download_move_order_responses.go
- download_move_order_urlbuilder.go
- get_move_task_order.go
- get_move_task_order_parameters.go
- get_move_task_order_responses.go
- get_move_task_order_urlbuilder.go
- list_moves.go
- list_moves_parameters.go
- list_moves_responses.go
- list_moves_urlbuilder.go
- update_m_t_o_post_counseling_information.go
- update_m_t_o_post_counseling_information_parameters.go
- update_m_t_o_post_counseling_information_responses.go
- update_m_t_o_post_counseling_information_urlbuilder.go