move_task_order

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CreateExcessWeightRecordCreatedCode int = 201

CreateExcessWeightRecordCreatedCode is the HTTP code returned for type CreateExcessWeightRecordCreated

View Source
const CreateExcessWeightRecordForbiddenCode int = 403

CreateExcessWeightRecordForbiddenCode is the HTTP code returned for type CreateExcessWeightRecordForbidden

View Source
const CreateExcessWeightRecordInternalServerErrorCode int = 500

CreateExcessWeightRecordInternalServerErrorCode is the HTTP code returned for type CreateExcessWeightRecordInternalServerError

View Source
const CreateExcessWeightRecordNotFoundCode int = 404

CreateExcessWeightRecordNotFoundCode is the HTTP code returned for type CreateExcessWeightRecordNotFound

View Source
const CreateExcessWeightRecordUnauthorizedCode int = 401

CreateExcessWeightRecordUnauthorizedCode is the HTTP code returned for type CreateExcessWeightRecordUnauthorized

View Source
const CreateExcessWeightRecordUnprocessableEntityCode int = 422

CreateExcessWeightRecordUnprocessableEntityCode is the HTTP code returned for type CreateExcessWeightRecordUnprocessableEntity

View Source
const DownloadMoveOrderBadRequestCode int = 400

DownloadMoveOrderBadRequestCode is the HTTP code returned for type DownloadMoveOrderBadRequest

View Source
const DownloadMoveOrderForbiddenCode int = 403

DownloadMoveOrderForbiddenCode is the HTTP code returned for type DownloadMoveOrderForbidden

View Source
const DownloadMoveOrderInternalServerErrorCode int = 500

DownloadMoveOrderInternalServerErrorCode is the HTTP code returned for type DownloadMoveOrderInternalServerError

View Source
const DownloadMoveOrderNotFoundCode int = 404

DownloadMoveOrderNotFoundCode is the HTTP code returned for type DownloadMoveOrderNotFound

View Source
const DownloadMoveOrderOKCode int = 200

DownloadMoveOrderOKCode is the HTTP code returned for type DownloadMoveOrderOK

View Source
const DownloadMoveOrderUnprocessableEntityCode int = 422

DownloadMoveOrderUnprocessableEntityCode is the HTTP code returned for type DownloadMoveOrderUnprocessableEntity

View Source
const GetMoveTaskOrderForbiddenCode int = 403

GetMoveTaskOrderForbiddenCode is the HTTP code returned for type GetMoveTaskOrderForbidden

View Source
const GetMoveTaskOrderInternalServerErrorCode int = 500

GetMoveTaskOrderInternalServerErrorCode is the HTTP code returned for type GetMoveTaskOrderInternalServerError

View Source
const GetMoveTaskOrderNotFoundCode int = 404

GetMoveTaskOrderNotFoundCode is the HTTP code returned for type GetMoveTaskOrderNotFound

View Source
const GetMoveTaskOrderOKCode int = 200

GetMoveTaskOrderOKCode is the HTTP code returned for type GetMoveTaskOrderOK

View Source
const GetMoveTaskOrderUnauthorizedCode int = 401

GetMoveTaskOrderUnauthorizedCode is the HTTP code returned for type GetMoveTaskOrderUnauthorized

View Source
const ListMovesForbiddenCode int = 403

ListMovesForbiddenCode is the HTTP code returned for type ListMovesForbidden

View Source
const ListMovesInternalServerErrorCode int = 500

ListMovesInternalServerErrorCode is the HTTP code returned for type ListMovesInternalServerError

View Source
const ListMovesOKCode int = 200

ListMovesOKCode is the HTTP code returned for type ListMovesOK

View Source
const ListMovesUnauthorizedCode int = 401

ListMovesUnauthorizedCode is the HTTP code returned for type ListMovesUnauthorized

View Source
const UpdateMTOPostCounselingInformationConflictCode int = 409

UpdateMTOPostCounselingInformationConflictCode is the HTTP code returned for type UpdateMTOPostCounselingInformationConflict

View Source
const UpdateMTOPostCounselingInformationForbiddenCode int = 403

UpdateMTOPostCounselingInformationForbiddenCode is the HTTP code returned for type UpdateMTOPostCounselingInformationForbidden

View Source
const UpdateMTOPostCounselingInformationInternalServerErrorCode int = 500

UpdateMTOPostCounselingInformationInternalServerErrorCode is the HTTP code returned for type UpdateMTOPostCounselingInformationInternalServerError

View Source
const UpdateMTOPostCounselingInformationNotFoundCode int = 404

UpdateMTOPostCounselingInformationNotFoundCode is the HTTP code returned for type UpdateMTOPostCounselingInformationNotFound

View Source
const UpdateMTOPostCounselingInformationOKCode int = 200

UpdateMTOPostCounselingInformationOKCode is the HTTP code returned for type UpdateMTOPostCounselingInformationOK

View Source
const UpdateMTOPostCounselingInformationPreconditionFailedCode int = 412

UpdateMTOPostCounselingInformationPreconditionFailedCode is the HTTP code returned for type UpdateMTOPostCounselingInformationPreconditionFailed

View Source
const UpdateMTOPostCounselingInformationUnauthorizedCode int = 401

UpdateMTOPostCounselingInformationUnauthorizedCode is the HTTP code returned for type UpdateMTOPostCounselingInformationUnauthorized

View Source
const UpdateMTOPostCounselingInformationUnprocessableEntityCode int = 422

UpdateMTOPostCounselingInformationUnprocessableEntityCode is the HTTP code returned for type UpdateMTOPostCounselingInformationUnprocessableEntity

Variables

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

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

SetPayload sets the payload to the create excess weight record created response

func (*CreateExcessWeightRecordCreated) WithPayload

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

SetPayload sets the payload to the create excess weight record forbidden response

func (*CreateExcessWeightRecordForbidden) WithPayload

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

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

SetPayload sets the payload to the create excess weight record internal server error response

func (*CreateExcessWeightRecordInternalServerError) WithPayload

WithPayload adds the payload to the create excess weight record internal server error response

func (*CreateExcessWeightRecordInternalServerError) WriteResponse

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

SetPayload sets the payload to the create excess weight record not found response

func (*CreateExcessWeightRecordNotFound) WithPayload

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

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

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

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

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 {

	/*
	  In: Body
	*/
	Payload *primemessages.ClientError `json:"body,omitempty"`
}

CreateExcessWeightRecordUnauthorized The request was denied.

swagger:response createExcessWeightRecordUnauthorized

func NewCreateExcessWeightRecordUnauthorized

func NewCreateExcessWeightRecordUnauthorized() *CreateExcessWeightRecordUnauthorized

NewCreateExcessWeightRecordUnauthorized creates CreateExcessWeightRecordUnauthorized with default headers values

func (*CreateExcessWeightRecordUnauthorized) SetPayload

SetPayload sets the payload to the create excess weight record unauthorized response

func (*CreateExcessWeightRecordUnauthorized) WithPayload

WithPayload adds the payload to the create excess weight record unauthorized response

func (*CreateExcessWeightRecordUnauthorized) WriteResponse

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

SetPayload sets the payload to the create excess weight record unprocessable entity response

func (*CreateExcessWeightRecordUnprocessableEntity) WithPayload

WithPayload adds the payload to the create excess weight record unprocessable entity response

func (*CreateExcessWeightRecordUnprocessableEntity) WriteResponse

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

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

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

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

SetPayload sets the payload to the download move order internal server error response

func (*DownloadMoveOrderInternalServerError) WithPayload

WithPayload adds the payload to the download move order internal server error response

func (*DownloadMoveOrderInternalServerError) WriteResponse

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

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

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

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

SetPayload sets the payload to the download move order unprocessable entity response

func (*DownloadMoveOrderUnprocessableEntity) WithPayload

WithPayload adds the payload to the download move order unprocessable entity response

func (*DownloadMoveOrderUnprocessableEntity) WriteResponse

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

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

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

SetPayload sets the payload to the get move task order internal server error response

func (*GetMoveTaskOrderInternalServerError) WithPayload

WithPayload adds the payload to the get move task order internal server error response

func (*GetMoveTaskOrderInternalServerError) WriteResponse

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

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

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

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

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 {

	/*
	  In: Body
	*/
	Payload *primemessages.ClientError `json:"body,omitempty"`
}

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

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

func (*ListMoves) ServeHTTP

func (o *ListMoves) ServeHTTP(rw http.ResponseWriter, r *http.Request)

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

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

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

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

type ListMovesURL struct {
	Since *strfmt.DateTime
	// contains filtered or unexported fields
}

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

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

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 {

	/*
	  In: Body
	*/
	Payload *primemessages.ClientError `json:"body,omitempty"`
}

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

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

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

SetPayload sets the payload to the update m t o post counseling information conflict response

func (*UpdateMTOPostCounselingInformationConflict) WithPayload

WithPayload adds the payload to the update m t o post counseling information conflict response

func (*UpdateMTOPostCounselingInformationConflict) WriteResponse

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

SetPayload sets the payload to the update m t o post counseling information forbidden response

func (*UpdateMTOPostCounselingInformationForbidden) WithPayload

WithPayload adds the payload to the update m t o post counseling information forbidden response

func (*UpdateMTOPostCounselingInformationForbidden) WriteResponse

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

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

SetPayload sets the payload to the update m t o post counseling information internal server error response

func (*UpdateMTOPostCounselingInformationInternalServerError) WithPayload

WithPayload adds the payload to the update m t o post counseling information internal server error response

func (*UpdateMTOPostCounselingInformationInternalServerError) WriteResponse

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

SetPayload sets the payload to the update m t o post counseling information not found response

func (*UpdateMTOPostCounselingInformationNotFound) WithPayload

WithPayload adds the payload to the update m t o post counseling information not found response

func (*UpdateMTOPostCounselingInformationNotFound) WriteResponse

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

SetPayload sets the payload to the update m t o post counseling information o k response

func (*UpdateMTOPostCounselingInformationOK) WithPayload

WithPayload adds the payload to the update m t o post counseling information o k response

func (*UpdateMTOPostCounselingInformationOK) WriteResponse

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

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

SetPayload sets the payload to the update m t o post counseling information precondition failed response

func (*UpdateMTOPostCounselingInformationPreconditionFailed) WithPayload

WithPayload adds the payload to the update m t o post counseling information precondition failed response

func (*UpdateMTOPostCounselingInformationPreconditionFailed) WriteResponse

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

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

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

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 {

	/*
	  In: Body
	*/
	Payload *primemessages.ClientError `json:"body,omitempty"`
}

UpdateMTOPostCounselingInformationUnauthorized The request was denied.

swagger:response updateMTOPostCounselingInformationUnauthorized

func NewUpdateMTOPostCounselingInformationUnauthorized

func NewUpdateMTOPostCounselingInformationUnauthorized() *UpdateMTOPostCounselingInformationUnauthorized

NewUpdateMTOPostCounselingInformationUnauthorized creates UpdateMTOPostCounselingInformationUnauthorized with default headers values

func (*UpdateMTOPostCounselingInformationUnauthorized) SetPayload

SetPayload sets the payload to the update m t o post counseling information unauthorized response

func (*UpdateMTOPostCounselingInformationUnauthorized) WithPayload

WithPayload adds the payload to the update m t o post counseling information unauthorized response

func (*UpdateMTOPostCounselingInformationUnauthorized) WriteResponse

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

SetPayload sets the payload to the update m t o post counseling information unprocessable entity response

func (*UpdateMTOPostCounselingInformationUnprocessableEntity) WithPayload

WithPayload adds the payload to the update m t o post counseling information unprocessable entity response

func (*UpdateMTOPostCounselingInformationUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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