move

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

Documentation

Index

Constants

View Source
const (

	// SearchMovesBodyOrderAsc captures enum value "asc"
	SearchMovesBodyOrderAsc string = "asc"

	// SearchMovesBodyOrderDesc captures enum value "desc"
	SearchMovesBodyOrderDesc string = "desc"
)
View Source
const (

	// SearchMovesBodySortCustomerName captures enum value "customerName"
	SearchMovesBodySortCustomerName string = "customerName"

	// SearchMovesBodySortDodID captures enum value "dodID"
	SearchMovesBodySortDodID string = "dodID"

	// SearchMovesBodySortBranch captures enum value "branch"
	SearchMovesBodySortBranch string = "branch"

	// SearchMovesBodySortLocator captures enum value "locator"
	SearchMovesBodySortLocator string = "locator"

	// SearchMovesBodySortStatus captures enum value "status"
	SearchMovesBodySortStatus string = "status"

	// SearchMovesBodySortOriginPostalCode captures enum value "originPostalCode"
	SearchMovesBodySortOriginPostalCode string = "originPostalCode"

	// SearchMovesBodySortDestinationPostalCode captures enum value "destinationPostalCode"
	SearchMovesBodySortDestinationPostalCode string = "destinationPostalCode"

	// SearchMovesBodySortShipmentsCount captures enum value "shipmentsCount"
	SearchMovesBodySortShipmentsCount string = "shipmentsCount"
)
View Source
const GetMoveBadRequestCode int = 400

GetMoveBadRequestCode is the HTTP code returned for type GetMoveBadRequest

View Source
const GetMoveCounselingEvaluationReportsListBadRequestCode int = 400

GetMoveCounselingEvaluationReportsListBadRequestCode is the HTTP code returned for type GetMoveCounselingEvaluationReportsListBadRequest

View Source
const GetMoveCounselingEvaluationReportsListForbiddenCode int = 403

GetMoveCounselingEvaluationReportsListForbiddenCode is the HTTP code returned for type GetMoveCounselingEvaluationReportsListForbidden

View Source
const GetMoveCounselingEvaluationReportsListInternalServerErrorCode int = 500

GetMoveCounselingEvaluationReportsListInternalServerErrorCode is the HTTP code returned for type GetMoveCounselingEvaluationReportsListInternalServerError

View Source
const GetMoveCounselingEvaluationReportsListNotFoundCode int = 404

GetMoveCounselingEvaluationReportsListNotFoundCode is the HTTP code returned for type GetMoveCounselingEvaluationReportsListNotFound

View Source
const GetMoveCounselingEvaluationReportsListOKCode int = 200

GetMoveCounselingEvaluationReportsListOKCode is the HTTP code returned for type GetMoveCounselingEvaluationReportsListOK

View Source
const GetMoveCounselingEvaluationReportsListUnauthorizedCode int = 401

GetMoveCounselingEvaluationReportsListUnauthorizedCode is the HTTP code returned for type GetMoveCounselingEvaluationReportsListUnauthorized

View Source
const GetMoveForbiddenCode int = 403

GetMoveForbiddenCode is the HTTP code returned for type GetMoveForbidden

View Source
const GetMoveHistoryBadRequestCode int = 400

GetMoveHistoryBadRequestCode is the HTTP code returned for type GetMoveHistoryBadRequest

View Source
const GetMoveHistoryForbiddenCode int = 403

GetMoveHistoryForbiddenCode is the HTTP code returned for type GetMoveHistoryForbidden

View Source
const GetMoveHistoryInternalServerErrorCode int = 500

GetMoveHistoryInternalServerErrorCode is the HTTP code returned for type GetMoveHistoryInternalServerError

View Source
const GetMoveHistoryNotFoundCode int = 404

GetMoveHistoryNotFoundCode is the HTTP code returned for type GetMoveHistoryNotFound

View Source
const GetMoveHistoryOKCode int = 200

GetMoveHistoryOKCode is the HTTP code returned for type GetMoveHistoryOK

View Source
const GetMoveHistoryUnauthorizedCode int = 401

GetMoveHistoryUnauthorizedCode is the HTTP code returned for type GetMoveHistoryUnauthorized

View Source
const GetMoveInternalServerErrorCode int = 500

GetMoveInternalServerErrorCode is the HTTP code returned for type GetMoveInternalServerError

View Source
const GetMoveNotFoundCode int = 404

GetMoveNotFoundCode is the HTTP code returned for type GetMoveNotFound

View Source
const GetMoveOKCode int = 200

GetMoveOKCode is the HTTP code returned for type GetMoveOK

View Source
const GetMoveShipmentEvaluationReportsListBadRequestCode int = 400

GetMoveShipmentEvaluationReportsListBadRequestCode is the HTTP code returned for type GetMoveShipmentEvaluationReportsListBadRequest

View Source
const GetMoveShipmentEvaluationReportsListForbiddenCode int = 403

GetMoveShipmentEvaluationReportsListForbiddenCode is the HTTP code returned for type GetMoveShipmentEvaluationReportsListForbidden

View Source
const GetMoveShipmentEvaluationReportsListInternalServerErrorCode int = 500

GetMoveShipmentEvaluationReportsListInternalServerErrorCode is the HTTP code returned for type GetMoveShipmentEvaluationReportsListInternalServerError

View Source
const GetMoveShipmentEvaluationReportsListNotFoundCode int = 404

GetMoveShipmentEvaluationReportsListNotFoundCode is the HTTP code returned for type GetMoveShipmentEvaluationReportsListNotFound

View Source
const GetMoveShipmentEvaluationReportsListOKCode int = 200

GetMoveShipmentEvaluationReportsListOKCode is the HTTP code returned for type GetMoveShipmentEvaluationReportsListOK

View Source
const GetMoveShipmentEvaluationReportsListUnauthorizedCode int = 401

GetMoveShipmentEvaluationReportsListUnauthorizedCode is the HTTP code returned for type GetMoveShipmentEvaluationReportsListUnauthorized

View Source
const GetMoveUnauthorizedCode int = 401

GetMoveUnauthorizedCode is the HTTP code returned for type GetMoveUnauthorized

View Source
const SearchMovesForbiddenCode int = 403

SearchMovesForbiddenCode is the HTTP code returned for type SearchMovesForbidden

View Source
const SearchMovesInternalServerErrorCode int = 500

SearchMovesInternalServerErrorCode is the HTTP code returned for type SearchMovesInternalServerError

View Source
const SearchMovesOKCode int = 200

SearchMovesOKCode is the HTTP code returned for type SearchMovesOK

View Source
const SetFinancialReviewFlagForbiddenCode int = 403

SetFinancialReviewFlagForbiddenCode is the HTTP code returned for type SetFinancialReviewFlagForbidden

View Source
const SetFinancialReviewFlagInternalServerErrorCode int = 500

SetFinancialReviewFlagInternalServerErrorCode is the HTTP code returned for type SetFinancialReviewFlagInternalServerError

View Source
const SetFinancialReviewFlagNotFoundCode int = 404

SetFinancialReviewFlagNotFoundCode is the HTTP code returned for type SetFinancialReviewFlagNotFound

View Source
const SetFinancialReviewFlagOKCode int = 200

SetFinancialReviewFlagOKCode is the HTTP code returned for type SetFinancialReviewFlagOK

View Source
const SetFinancialReviewFlagPreconditionFailedCode int = 412

SetFinancialReviewFlagPreconditionFailedCode is the HTTP code returned for type SetFinancialReviewFlagPreconditionFailed

View Source
const SetFinancialReviewFlagUnprocessableEntityCode int = 422

SetFinancialReviewFlagUnprocessableEntityCode is the HTTP code returned for type SetFinancialReviewFlagUnprocessableEntity

View Source
const UpdateCloseoutOfficeBadRequestCode int = 400

UpdateCloseoutOfficeBadRequestCode is the HTTP code returned for type UpdateCloseoutOfficeBadRequest

View Source
const UpdateCloseoutOfficeForbiddenCode int = 403

UpdateCloseoutOfficeForbiddenCode is the HTTP code returned for type UpdateCloseoutOfficeForbidden

View Source
const UpdateCloseoutOfficeInternalServerErrorCode int = 500

UpdateCloseoutOfficeInternalServerErrorCode is the HTTP code returned for type UpdateCloseoutOfficeInternalServerError

View Source
const UpdateCloseoutOfficeNotFoundCode int = 404

UpdateCloseoutOfficeNotFoundCode is the HTTP code returned for type UpdateCloseoutOfficeNotFound

View Source
const UpdateCloseoutOfficeOKCode int = 200

UpdateCloseoutOfficeOKCode is the HTTP code returned for type UpdateCloseoutOfficeOK

View Source
const UpdateCloseoutOfficePreconditionFailedCode int = 412

UpdateCloseoutOfficePreconditionFailedCode is the HTTP code returned for type UpdateCloseoutOfficePreconditionFailed

View Source
const UpdateCloseoutOfficeUnauthorizedCode int = 401

UpdateCloseoutOfficeUnauthorizedCode is the HTTP code returned for type UpdateCloseoutOfficeUnauthorized

View Source
const UpdateCloseoutOfficeUnprocessableEntityCode int = 422

UpdateCloseoutOfficeUnprocessableEntityCode is the HTTP code returned for type UpdateCloseoutOfficeUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMove

type GetMove struct {
	Context *middleware.Context
	Handler GetMoveHandler
}
GetMove swagger:route GET /move/{locator} move getMove

Returns a given move

Returns a given move for a unique alphanumeric locator string

func NewGetMove

func NewGetMove(ctx *middleware.Context, handler GetMoveHandler) *GetMove

NewGetMove creates a new http.Handler for the get move operation

func (*GetMove) ServeHTTP

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

type GetMoveBadRequest

type GetMoveBadRequest struct {

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

GetMoveBadRequest The request payload is invalid

swagger:response getMoveBadRequest

func NewGetMoveBadRequest

func NewGetMoveBadRequest() *GetMoveBadRequest

NewGetMoveBadRequest creates GetMoveBadRequest with default headers values

func (*GetMoveBadRequest) SetPayload

func (o *GetMoveBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get move bad request response

func (*GetMoveBadRequest) WithPayload

func (o *GetMoveBadRequest) WithPayload(payload *ghcmessages.Error) *GetMoveBadRequest

WithPayload adds the payload to the get move bad request response

func (*GetMoveBadRequest) WriteResponse

func (o *GetMoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveCounselingEvaluationReportsList

type GetMoveCounselingEvaluationReportsList struct {
	Context *middleware.Context
	Handler GetMoveCounselingEvaluationReportsListHandler
}
GetMoveCounselingEvaluationReportsList swagger:route GET /moves/{moveID}/counseling-evaluation-reports-list move getMoveCounselingEvaluationReportsList

Returns counseling evaluation reports for the specified move that are visible to the current office user

Returns counseling evaluation reports for the specified move that are visible to the current office user

func NewGetMoveCounselingEvaluationReportsList

func NewGetMoveCounselingEvaluationReportsList(ctx *middleware.Context, handler GetMoveCounselingEvaluationReportsListHandler) *GetMoveCounselingEvaluationReportsList

NewGetMoveCounselingEvaluationReportsList creates a new http.Handler for the get move counseling evaluation reports list operation

func (*GetMoveCounselingEvaluationReportsList) ServeHTTP

type GetMoveCounselingEvaluationReportsListBadRequest

type GetMoveCounselingEvaluationReportsListBadRequest struct {

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

GetMoveCounselingEvaluationReportsListBadRequest The request payload is invalid

swagger:response getMoveCounselingEvaluationReportsListBadRequest

func NewGetMoveCounselingEvaluationReportsListBadRequest

func NewGetMoveCounselingEvaluationReportsListBadRequest() *GetMoveCounselingEvaluationReportsListBadRequest

NewGetMoveCounselingEvaluationReportsListBadRequest creates GetMoveCounselingEvaluationReportsListBadRequest with default headers values

func (*GetMoveCounselingEvaluationReportsListBadRequest) SetPayload

SetPayload sets the payload to the get move counseling evaluation reports list bad request response

func (*GetMoveCounselingEvaluationReportsListBadRequest) WithPayload

WithPayload adds the payload to the get move counseling evaluation reports list bad request response

func (*GetMoveCounselingEvaluationReportsListBadRequest) WriteResponse

WriteResponse to the client

type GetMoveCounselingEvaluationReportsListForbidden

type GetMoveCounselingEvaluationReportsListForbidden struct {

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

GetMoveCounselingEvaluationReportsListForbidden The request was denied

swagger:response getMoveCounselingEvaluationReportsListForbidden

func NewGetMoveCounselingEvaluationReportsListForbidden

func NewGetMoveCounselingEvaluationReportsListForbidden() *GetMoveCounselingEvaluationReportsListForbidden

NewGetMoveCounselingEvaluationReportsListForbidden creates GetMoveCounselingEvaluationReportsListForbidden with default headers values

func (*GetMoveCounselingEvaluationReportsListForbidden) SetPayload

SetPayload sets the payload to the get move counseling evaluation reports list forbidden response

func (*GetMoveCounselingEvaluationReportsListForbidden) WithPayload

WithPayload adds the payload to the get move counseling evaluation reports list forbidden response

func (*GetMoveCounselingEvaluationReportsListForbidden) WriteResponse

WriteResponse to the client

type GetMoveCounselingEvaluationReportsListHandler

type GetMoveCounselingEvaluationReportsListHandler interface {
	Handle(GetMoveCounselingEvaluationReportsListParams) middleware.Responder
}

GetMoveCounselingEvaluationReportsListHandler interface for that can handle valid get move counseling evaluation reports list params

type GetMoveCounselingEvaluationReportsListHandlerFunc

type GetMoveCounselingEvaluationReportsListHandlerFunc func(GetMoveCounselingEvaluationReportsListParams) middleware.Responder

GetMoveCounselingEvaluationReportsListHandlerFunc turns a function with the right signature into a get move counseling evaluation reports list handler

func (GetMoveCounselingEvaluationReportsListHandlerFunc) Handle

Handle executing the request and returning a response

type GetMoveCounselingEvaluationReportsListInternalServerError

type GetMoveCounselingEvaluationReportsListInternalServerError struct {

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

GetMoveCounselingEvaluationReportsListInternalServerError A server error occurred

swagger:response getMoveCounselingEvaluationReportsListInternalServerError

func NewGetMoveCounselingEvaluationReportsListInternalServerError

func NewGetMoveCounselingEvaluationReportsListInternalServerError() *GetMoveCounselingEvaluationReportsListInternalServerError

NewGetMoveCounselingEvaluationReportsListInternalServerError creates GetMoveCounselingEvaluationReportsListInternalServerError with default headers values

func (*GetMoveCounselingEvaluationReportsListInternalServerError) SetPayload

SetPayload sets the payload to the get move counseling evaluation reports list internal server error response

func (*GetMoveCounselingEvaluationReportsListInternalServerError) WithPayload

WithPayload adds the payload to the get move counseling evaluation reports list internal server error response

func (*GetMoveCounselingEvaluationReportsListInternalServerError) WriteResponse

WriteResponse to the client

type GetMoveCounselingEvaluationReportsListNotFound

type GetMoveCounselingEvaluationReportsListNotFound struct {

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

GetMoveCounselingEvaluationReportsListNotFound The requested resource wasn't found

swagger:response getMoveCounselingEvaluationReportsListNotFound

func NewGetMoveCounselingEvaluationReportsListNotFound

func NewGetMoveCounselingEvaluationReportsListNotFound() *GetMoveCounselingEvaluationReportsListNotFound

NewGetMoveCounselingEvaluationReportsListNotFound creates GetMoveCounselingEvaluationReportsListNotFound with default headers values

func (*GetMoveCounselingEvaluationReportsListNotFound) SetPayload

SetPayload sets the payload to the get move counseling evaluation reports list not found response

func (*GetMoveCounselingEvaluationReportsListNotFound) WithPayload

WithPayload adds the payload to the get move counseling evaluation reports list not found response

func (*GetMoveCounselingEvaluationReportsListNotFound) WriteResponse

WriteResponse to the client

type GetMoveCounselingEvaluationReportsListOK

type GetMoveCounselingEvaluationReportsListOK struct {

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

GetMoveCounselingEvaluationReportsListOK Successfully retrieved the move's evaluation reports

swagger:response getMoveCounselingEvaluationReportsListOK

func NewGetMoveCounselingEvaluationReportsListOK

func NewGetMoveCounselingEvaluationReportsListOK() *GetMoveCounselingEvaluationReportsListOK

NewGetMoveCounselingEvaluationReportsListOK creates GetMoveCounselingEvaluationReportsListOK with default headers values

func (*GetMoveCounselingEvaluationReportsListOK) SetPayload

SetPayload sets the payload to the get move counseling evaluation reports list o k response

func (*GetMoveCounselingEvaluationReportsListOK) WithPayload

WithPayload adds the payload to the get move counseling evaluation reports list o k response

func (*GetMoveCounselingEvaluationReportsListOK) WriteResponse

WriteResponse to the client

type GetMoveCounselingEvaluationReportsListParams

type GetMoveCounselingEvaluationReportsListParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Code used to identify a move in the system
	  Required: true
	  In: path
	*/
	MoveID strfmt.UUID
}

GetMoveCounselingEvaluationReportsListParams contains all the bound params for the get move counseling evaluation reports list operation typically these are obtained from a http.Request

swagger:parameters getMoveCounselingEvaluationReportsList

func NewGetMoveCounselingEvaluationReportsListParams

func NewGetMoveCounselingEvaluationReportsListParams() GetMoveCounselingEvaluationReportsListParams

NewGetMoveCounselingEvaluationReportsListParams creates a new GetMoveCounselingEvaluationReportsListParams object

There are no default values defined in the spec.

func (*GetMoveCounselingEvaluationReportsListParams) 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 NewGetMoveCounselingEvaluationReportsListParams() beforehand.

type GetMoveCounselingEvaluationReportsListURL

type GetMoveCounselingEvaluationReportsListURL struct {
	MoveID strfmt.UUID
	// contains filtered or unexported fields
}

GetMoveCounselingEvaluationReportsListURL generates an URL for the get move counseling evaluation reports list operation

func (*GetMoveCounselingEvaluationReportsListURL) Build

Build a url path and query string

func (*GetMoveCounselingEvaluationReportsListURL) BuildFull

func (o *GetMoveCounselingEvaluationReportsListURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetMoveCounselingEvaluationReportsListURL) Must

Must is a helper function to panic when the url builder returns an error

func (*GetMoveCounselingEvaluationReportsListURL) SetBasePath

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 (*GetMoveCounselingEvaluationReportsListURL) String

String returns the string representation of the path with query string

func (*GetMoveCounselingEvaluationReportsListURL) StringFull

func (o *GetMoveCounselingEvaluationReportsListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetMoveCounselingEvaluationReportsListURL) 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 GetMoveCounselingEvaluationReportsListUnauthorized

type GetMoveCounselingEvaluationReportsListUnauthorized struct {

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

GetMoveCounselingEvaluationReportsListUnauthorized The request was denied

swagger:response getMoveCounselingEvaluationReportsListUnauthorized

func NewGetMoveCounselingEvaluationReportsListUnauthorized

func NewGetMoveCounselingEvaluationReportsListUnauthorized() *GetMoveCounselingEvaluationReportsListUnauthorized

NewGetMoveCounselingEvaluationReportsListUnauthorized creates GetMoveCounselingEvaluationReportsListUnauthorized with default headers values

func (*GetMoveCounselingEvaluationReportsListUnauthorized) SetPayload

SetPayload sets the payload to the get move counseling evaluation reports list unauthorized response

func (*GetMoveCounselingEvaluationReportsListUnauthorized) WithPayload

WithPayload adds the payload to the get move counseling evaluation reports list unauthorized response

func (*GetMoveCounselingEvaluationReportsListUnauthorized) WriteResponse

WriteResponse to the client

type GetMoveForbidden

type GetMoveForbidden struct {

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

GetMoveForbidden The request was denied

swagger:response getMoveForbidden

func NewGetMoveForbidden

func NewGetMoveForbidden() *GetMoveForbidden

NewGetMoveForbidden creates GetMoveForbidden with default headers values

func (*GetMoveForbidden) SetPayload

func (o *GetMoveForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get move forbidden response

func (*GetMoveForbidden) WithPayload

func (o *GetMoveForbidden) WithPayload(payload *ghcmessages.Error) *GetMoveForbidden

WithPayload adds the payload to the get move forbidden response

func (*GetMoveForbidden) WriteResponse

func (o *GetMoveForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveHandler

type GetMoveHandler interface {
	Handle(GetMoveParams) middleware.Responder
}

GetMoveHandler interface for that can handle valid get move params

type GetMoveHandlerFunc

type GetMoveHandlerFunc func(GetMoveParams) middleware.Responder

GetMoveHandlerFunc turns a function with the right signature into a get move handler

func (GetMoveHandlerFunc) Handle

Handle executing the request and returning a response

type GetMoveHistory

type GetMoveHistory struct {
	Context *middleware.Context
	Handler GetMoveHistoryHandler
}
GetMoveHistory swagger:route GET /move/{locator}/history move getMoveHistory

Returns the history of an identified move

Returns the history for a given move for a unique alphanumeric locator string

func NewGetMoveHistory

func NewGetMoveHistory(ctx *middleware.Context, handler GetMoveHistoryHandler) *GetMoveHistory

NewGetMoveHistory creates a new http.Handler for the get move history operation

func (*GetMoveHistory) ServeHTTP

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

type GetMoveHistoryBadRequest

type GetMoveHistoryBadRequest struct {

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

GetMoveHistoryBadRequest The request payload is invalid

swagger:response getMoveHistoryBadRequest

func NewGetMoveHistoryBadRequest

func NewGetMoveHistoryBadRequest() *GetMoveHistoryBadRequest

NewGetMoveHistoryBadRequest creates GetMoveHistoryBadRequest with default headers values

func (*GetMoveHistoryBadRequest) SetPayload

func (o *GetMoveHistoryBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get move history bad request response

func (*GetMoveHistoryBadRequest) WithPayload

WithPayload adds the payload to the get move history bad request response

func (*GetMoveHistoryBadRequest) WriteResponse

func (o *GetMoveHistoryBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveHistoryForbidden

type GetMoveHistoryForbidden struct {

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

GetMoveHistoryForbidden The request was denied

swagger:response getMoveHistoryForbidden

func NewGetMoveHistoryForbidden

func NewGetMoveHistoryForbidden() *GetMoveHistoryForbidden

NewGetMoveHistoryForbidden creates GetMoveHistoryForbidden with default headers values

func (*GetMoveHistoryForbidden) SetPayload

func (o *GetMoveHistoryForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get move history forbidden response

func (*GetMoveHistoryForbidden) WithPayload

WithPayload adds the payload to the get move history forbidden response

func (*GetMoveHistoryForbidden) WriteResponse

func (o *GetMoveHistoryForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveHistoryHandler

type GetMoveHistoryHandler interface {
	Handle(GetMoveHistoryParams) middleware.Responder
}

GetMoveHistoryHandler interface for that can handle valid get move history params

type GetMoveHistoryHandlerFunc

type GetMoveHistoryHandlerFunc func(GetMoveHistoryParams) middleware.Responder

GetMoveHistoryHandlerFunc turns a function with the right signature into a get move history handler

func (GetMoveHistoryHandlerFunc) Handle

Handle executing the request and returning a response

type GetMoveHistoryInternalServerError

type GetMoveHistoryInternalServerError struct {

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

GetMoveHistoryInternalServerError A server error occurred

swagger:response getMoveHistoryInternalServerError

func NewGetMoveHistoryInternalServerError

func NewGetMoveHistoryInternalServerError() *GetMoveHistoryInternalServerError

NewGetMoveHistoryInternalServerError creates GetMoveHistoryInternalServerError with default headers values

func (*GetMoveHistoryInternalServerError) SetPayload

func (o *GetMoveHistoryInternalServerError) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get move history internal server error response

func (*GetMoveHistoryInternalServerError) WithPayload

WithPayload adds the payload to the get move history internal server error response

func (*GetMoveHistoryInternalServerError) WriteResponse

func (o *GetMoveHistoryInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveHistoryNotFound

type GetMoveHistoryNotFound struct {

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

GetMoveHistoryNotFound The requested resource wasn't found

swagger:response getMoveHistoryNotFound

func NewGetMoveHistoryNotFound

func NewGetMoveHistoryNotFound() *GetMoveHistoryNotFound

NewGetMoveHistoryNotFound creates GetMoveHistoryNotFound with default headers values

func (*GetMoveHistoryNotFound) SetPayload

func (o *GetMoveHistoryNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get move history not found response

func (*GetMoveHistoryNotFound) WithPayload

WithPayload adds the payload to the get move history not found response

func (*GetMoveHistoryNotFound) WriteResponse

func (o *GetMoveHistoryNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveHistoryOK

type GetMoveHistoryOK struct {

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

GetMoveHistoryOK Successfully retrieved the individual move history

swagger:response getMoveHistoryOK

func NewGetMoveHistoryOK

func NewGetMoveHistoryOK() *GetMoveHistoryOK

NewGetMoveHistoryOK creates GetMoveHistoryOK with default headers values

func (*GetMoveHistoryOK) SetPayload

func (o *GetMoveHistoryOK) SetPayload(payload *ghcmessages.MoveHistoryResult)

SetPayload sets the payload to the get move history o k response

func (*GetMoveHistoryOK) WithPayload

WithPayload adds the payload to the get move history o k response

func (*GetMoveHistoryOK) WriteResponse

func (o *GetMoveHistoryOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveHistoryParams

type GetMoveHistoryParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Code used to identify a move in the system
	  Required: true
	  In: path
	*/
	Locator string
	/*requested page of results
	  In: query
	*/
	Page *int64
	/*results per page
	  In: query
	*/
	PerPage *int64
}

GetMoveHistoryParams contains all the bound params for the get move history operation typically these are obtained from a http.Request

swagger:parameters getMoveHistory

func NewGetMoveHistoryParams

func NewGetMoveHistoryParams() GetMoveHistoryParams

NewGetMoveHistoryParams creates a new GetMoveHistoryParams object

There are no default values defined in the spec.

func (*GetMoveHistoryParams) BindRequest

func (o *GetMoveHistoryParams) 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 NewGetMoveHistoryParams() beforehand.

type GetMoveHistoryURL

type GetMoveHistoryURL struct {
	Locator string

	Page    *int64
	PerPage *int64
	// contains filtered or unexported fields
}

GetMoveHistoryURL generates an URL for the get move history operation

func (*GetMoveHistoryURL) Build

func (o *GetMoveHistoryURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetMoveHistoryURL) BuildFull

func (o *GetMoveHistoryURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetMoveHistoryURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetMoveHistoryURL) SetBasePath

func (o *GetMoveHistoryURL) 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 (*GetMoveHistoryURL) String

func (o *GetMoveHistoryURL) String() string

String returns the string representation of the path with query string

func (*GetMoveHistoryURL) StringFull

func (o *GetMoveHistoryURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetMoveHistoryURL) WithBasePath

func (o *GetMoveHistoryURL) WithBasePath(bp string) *GetMoveHistoryURL

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 GetMoveHistoryUnauthorized

type GetMoveHistoryUnauthorized struct {

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

GetMoveHistoryUnauthorized The request was denied

swagger:response getMoveHistoryUnauthorized

func NewGetMoveHistoryUnauthorized

func NewGetMoveHistoryUnauthorized() *GetMoveHistoryUnauthorized

NewGetMoveHistoryUnauthorized creates GetMoveHistoryUnauthorized with default headers values

func (*GetMoveHistoryUnauthorized) SetPayload

func (o *GetMoveHistoryUnauthorized) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get move history unauthorized response

func (*GetMoveHistoryUnauthorized) WithPayload

WithPayload adds the payload to the get move history unauthorized response

func (*GetMoveHistoryUnauthorized) WriteResponse

func (o *GetMoveHistoryUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveInternalServerError

type GetMoveInternalServerError struct {

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

GetMoveInternalServerError A server error occurred

swagger:response getMoveInternalServerError

func NewGetMoveInternalServerError

func NewGetMoveInternalServerError() *GetMoveInternalServerError

NewGetMoveInternalServerError creates GetMoveInternalServerError with default headers values

func (*GetMoveInternalServerError) SetPayload

func (o *GetMoveInternalServerError) SetPayload(payload *ghcmessages.Error)

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

func (*GetMoveInternalServerError) WithPayload

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

func (*GetMoveInternalServerError) WriteResponse

func (o *GetMoveInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveNotFound

type GetMoveNotFound struct {

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

GetMoveNotFound The requested resource wasn't found

swagger:response getMoveNotFound

func NewGetMoveNotFound

func NewGetMoveNotFound() *GetMoveNotFound

NewGetMoveNotFound creates GetMoveNotFound with default headers values

func (*GetMoveNotFound) SetPayload

func (o *GetMoveNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get move not found response

func (*GetMoveNotFound) WithPayload

func (o *GetMoveNotFound) WithPayload(payload *ghcmessages.Error) *GetMoveNotFound

WithPayload adds the payload to the get move not found response

func (*GetMoveNotFound) WriteResponse

func (o *GetMoveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveOK

type GetMoveOK struct {

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

GetMoveOK Successfully retrieved the individual move

swagger:response getMoveOK

func NewGetMoveOK

func NewGetMoveOK() *GetMoveOK

NewGetMoveOK creates GetMoveOK with default headers values

func (*GetMoveOK) SetPayload

func (o *GetMoveOK) SetPayload(payload *ghcmessages.Move)

SetPayload sets the payload to the get move o k response

func (*GetMoveOK) WithPayload

func (o *GetMoveOK) WithPayload(payload *ghcmessages.Move) *GetMoveOK

WithPayload adds the payload to the get move o k response

func (*GetMoveOK) WriteResponse

func (o *GetMoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMoveParams

type GetMoveParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Code used to identify a move in the system
	  Required: true
	  In: path
	*/
	Locator string
}

GetMoveParams contains all the bound params for the get move operation typically these are obtained from a http.Request

swagger:parameters getMove

func NewGetMoveParams

func NewGetMoveParams() GetMoveParams

NewGetMoveParams creates a new GetMoveParams object

There are no default values defined in the spec.

func (*GetMoveParams) BindRequest

func (o *GetMoveParams) 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 NewGetMoveParams() beforehand.

type GetMoveShipmentEvaluationReportsList

type GetMoveShipmentEvaluationReportsList struct {
	Context *middleware.Context
	Handler GetMoveShipmentEvaluationReportsListHandler
}
GetMoveShipmentEvaluationReportsList swagger:route GET /moves/{moveID}/shipment-evaluation-reports-list move getMoveShipmentEvaluationReportsList

Returns shipment evaluation reports for the specified move that are visible to the current office user

Returns shipment evaluation reports for the specified move that are visible to the current office user

func NewGetMoveShipmentEvaluationReportsList

func NewGetMoveShipmentEvaluationReportsList(ctx *middleware.Context, handler GetMoveShipmentEvaluationReportsListHandler) *GetMoveShipmentEvaluationReportsList

NewGetMoveShipmentEvaluationReportsList creates a new http.Handler for the get move shipment evaluation reports list operation

func (*GetMoveShipmentEvaluationReportsList) ServeHTTP

type GetMoveShipmentEvaluationReportsListBadRequest

type GetMoveShipmentEvaluationReportsListBadRequest struct {

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

GetMoveShipmentEvaluationReportsListBadRequest The request payload is invalid

swagger:response getMoveShipmentEvaluationReportsListBadRequest

func NewGetMoveShipmentEvaluationReportsListBadRequest

func NewGetMoveShipmentEvaluationReportsListBadRequest() *GetMoveShipmentEvaluationReportsListBadRequest

NewGetMoveShipmentEvaluationReportsListBadRequest creates GetMoveShipmentEvaluationReportsListBadRequest with default headers values

func (*GetMoveShipmentEvaluationReportsListBadRequest) SetPayload

SetPayload sets the payload to the get move shipment evaluation reports list bad request response

func (*GetMoveShipmentEvaluationReportsListBadRequest) WithPayload

WithPayload adds the payload to the get move shipment evaluation reports list bad request response

func (*GetMoveShipmentEvaluationReportsListBadRequest) WriteResponse

WriteResponse to the client

type GetMoveShipmentEvaluationReportsListForbidden

type GetMoveShipmentEvaluationReportsListForbidden struct {

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

GetMoveShipmentEvaluationReportsListForbidden The request was denied

swagger:response getMoveShipmentEvaluationReportsListForbidden

func NewGetMoveShipmentEvaluationReportsListForbidden

func NewGetMoveShipmentEvaluationReportsListForbidden() *GetMoveShipmentEvaluationReportsListForbidden

NewGetMoveShipmentEvaluationReportsListForbidden creates GetMoveShipmentEvaluationReportsListForbidden with default headers values

func (*GetMoveShipmentEvaluationReportsListForbidden) SetPayload

SetPayload sets the payload to the get move shipment evaluation reports list forbidden response

func (*GetMoveShipmentEvaluationReportsListForbidden) WithPayload

WithPayload adds the payload to the get move shipment evaluation reports list forbidden response

func (*GetMoveShipmentEvaluationReportsListForbidden) WriteResponse

WriteResponse to the client

type GetMoveShipmentEvaluationReportsListHandler

type GetMoveShipmentEvaluationReportsListHandler interface {
	Handle(GetMoveShipmentEvaluationReportsListParams) middleware.Responder
}

GetMoveShipmentEvaluationReportsListHandler interface for that can handle valid get move shipment evaluation reports list params

type GetMoveShipmentEvaluationReportsListHandlerFunc

type GetMoveShipmentEvaluationReportsListHandlerFunc func(GetMoveShipmentEvaluationReportsListParams) middleware.Responder

GetMoveShipmentEvaluationReportsListHandlerFunc turns a function with the right signature into a get move shipment evaluation reports list handler

func (GetMoveShipmentEvaluationReportsListHandlerFunc) Handle

Handle executing the request and returning a response

type GetMoveShipmentEvaluationReportsListInternalServerError

type GetMoveShipmentEvaluationReportsListInternalServerError struct {

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

GetMoveShipmentEvaluationReportsListInternalServerError A server error occurred

swagger:response getMoveShipmentEvaluationReportsListInternalServerError

func NewGetMoveShipmentEvaluationReportsListInternalServerError

func NewGetMoveShipmentEvaluationReportsListInternalServerError() *GetMoveShipmentEvaluationReportsListInternalServerError

NewGetMoveShipmentEvaluationReportsListInternalServerError creates GetMoveShipmentEvaluationReportsListInternalServerError with default headers values

func (*GetMoveShipmentEvaluationReportsListInternalServerError) SetPayload

SetPayload sets the payload to the get move shipment evaluation reports list internal server error response

func (*GetMoveShipmentEvaluationReportsListInternalServerError) WithPayload

WithPayload adds the payload to the get move shipment evaluation reports list internal server error response

func (*GetMoveShipmentEvaluationReportsListInternalServerError) WriteResponse

WriteResponse to the client

type GetMoveShipmentEvaluationReportsListNotFound

type GetMoveShipmentEvaluationReportsListNotFound struct {

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

GetMoveShipmentEvaluationReportsListNotFound The requested resource wasn't found

swagger:response getMoveShipmentEvaluationReportsListNotFound

func NewGetMoveShipmentEvaluationReportsListNotFound

func NewGetMoveShipmentEvaluationReportsListNotFound() *GetMoveShipmentEvaluationReportsListNotFound

NewGetMoveShipmentEvaluationReportsListNotFound creates GetMoveShipmentEvaluationReportsListNotFound with default headers values

func (*GetMoveShipmentEvaluationReportsListNotFound) SetPayload

SetPayload sets the payload to the get move shipment evaluation reports list not found response

func (*GetMoveShipmentEvaluationReportsListNotFound) WithPayload

WithPayload adds the payload to the get move shipment evaluation reports list not found response

func (*GetMoveShipmentEvaluationReportsListNotFound) WriteResponse

WriteResponse to the client

type GetMoveShipmentEvaluationReportsListOK

type GetMoveShipmentEvaluationReportsListOK struct {

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

GetMoveShipmentEvaluationReportsListOK Successfully retrieved the move's evaluation reports

swagger:response getMoveShipmentEvaluationReportsListOK

func NewGetMoveShipmentEvaluationReportsListOK

func NewGetMoveShipmentEvaluationReportsListOK() *GetMoveShipmentEvaluationReportsListOK

NewGetMoveShipmentEvaluationReportsListOK creates GetMoveShipmentEvaluationReportsListOK with default headers values

func (*GetMoveShipmentEvaluationReportsListOK) SetPayload

SetPayload sets the payload to the get move shipment evaluation reports list o k response

func (*GetMoveShipmentEvaluationReportsListOK) WithPayload

WithPayload adds the payload to the get move shipment evaluation reports list o k response

func (*GetMoveShipmentEvaluationReportsListOK) WriteResponse

WriteResponse to the client

type GetMoveShipmentEvaluationReportsListParams

type GetMoveShipmentEvaluationReportsListParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Code used to identify a move in the system
	  Required: true
	  In: path
	*/
	MoveID strfmt.UUID
}

GetMoveShipmentEvaluationReportsListParams contains all the bound params for the get move shipment evaluation reports list operation typically these are obtained from a http.Request

swagger:parameters getMoveShipmentEvaluationReportsList

func NewGetMoveShipmentEvaluationReportsListParams

func NewGetMoveShipmentEvaluationReportsListParams() GetMoveShipmentEvaluationReportsListParams

NewGetMoveShipmentEvaluationReportsListParams creates a new GetMoveShipmentEvaluationReportsListParams object

There are no default values defined in the spec.

func (*GetMoveShipmentEvaluationReportsListParams) 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 NewGetMoveShipmentEvaluationReportsListParams() beforehand.

type GetMoveShipmentEvaluationReportsListURL

type GetMoveShipmentEvaluationReportsListURL struct {
	MoveID strfmt.UUID
	// contains filtered or unexported fields
}

GetMoveShipmentEvaluationReportsListURL generates an URL for the get move shipment evaluation reports list operation

func (*GetMoveShipmentEvaluationReportsListURL) Build

Build a url path and query string

func (*GetMoveShipmentEvaluationReportsListURL) BuildFull

func (o *GetMoveShipmentEvaluationReportsListURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetMoveShipmentEvaluationReportsListURL) Must

Must is a helper function to panic when the url builder returns an error

func (*GetMoveShipmentEvaluationReportsListURL) SetBasePath

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 (*GetMoveShipmentEvaluationReportsListURL) String

String returns the string representation of the path with query string

func (*GetMoveShipmentEvaluationReportsListURL) StringFull

func (o *GetMoveShipmentEvaluationReportsListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetMoveShipmentEvaluationReportsListURL) 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 GetMoveShipmentEvaluationReportsListUnauthorized

type GetMoveShipmentEvaluationReportsListUnauthorized struct {

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

GetMoveShipmentEvaluationReportsListUnauthorized The request was denied

swagger:response getMoveShipmentEvaluationReportsListUnauthorized

func NewGetMoveShipmentEvaluationReportsListUnauthorized

func NewGetMoveShipmentEvaluationReportsListUnauthorized() *GetMoveShipmentEvaluationReportsListUnauthorized

NewGetMoveShipmentEvaluationReportsListUnauthorized creates GetMoveShipmentEvaluationReportsListUnauthorized with default headers values

func (*GetMoveShipmentEvaluationReportsListUnauthorized) SetPayload

SetPayload sets the payload to the get move shipment evaluation reports list unauthorized response

func (*GetMoveShipmentEvaluationReportsListUnauthorized) WithPayload

WithPayload adds the payload to the get move shipment evaluation reports list unauthorized response

func (*GetMoveShipmentEvaluationReportsListUnauthorized) WriteResponse

WriteResponse to the client

type GetMoveURL

type GetMoveURL struct {
	Locator string
	// contains filtered or unexported fields
}

GetMoveURL generates an URL for the get move operation

func (*GetMoveURL) Build

func (o *GetMoveURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetMoveURL) BuildFull

func (o *GetMoveURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetMoveURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetMoveURL) SetBasePath

func (o *GetMoveURL) 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 (*GetMoveURL) String

func (o *GetMoveURL) String() string

String returns the string representation of the path with query string

func (*GetMoveURL) StringFull

func (o *GetMoveURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetMoveURL) WithBasePath

func (o *GetMoveURL) WithBasePath(bp string) *GetMoveURL

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 GetMoveUnauthorized

type GetMoveUnauthorized struct {

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

GetMoveUnauthorized The request was denied

swagger:response getMoveUnauthorized

func NewGetMoveUnauthorized

func NewGetMoveUnauthorized() *GetMoveUnauthorized

NewGetMoveUnauthorized creates GetMoveUnauthorized with default headers values

func (*GetMoveUnauthorized) SetPayload

func (o *GetMoveUnauthorized) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the get move unauthorized response

func (*GetMoveUnauthorized) WithPayload

func (o *GetMoveUnauthorized) WithPayload(payload *ghcmessages.Error) *GetMoveUnauthorized

WithPayload adds the payload to the get move unauthorized response

func (*GetMoveUnauthorized) WriteResponse

func (o *GetMoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SearchMoves

type SearchMoves struct {
	Context *middleware.Context
	Handler SearchMovesHandler
}
SearchMoves swagger:route POST /moves/search move searchMoves

Search moves by locator, DOD ID, or customer name

Search moves by locator, DOD ID, or customer name. Used by QAE and CSR users.

func NewSearchMoves

func NewSearchMoves(ctx *middleware.Context, handler SearchMovesHandler) *SearchMoves

NewSearchMoves creates a new http.Handler for the search moves operation

func (*SearchMoves) ServeHTTP

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

type SearchMovesBody

type SearchMovesBody struct {

	// branch
	Branch *string `json:"branch,omitempty"`

	// Customer Name
	// Min Length: 1
	CustomerName *string `json:"customerName,omitempty"`

	// delivery date
	// Format: date-time
	DeliveryDate *strfmt.DateTime `json:"deliveryDate,omitempty"`

	// destination postal code
	DestinationPostalCode *string `json:"destinationPostalCode,omitempty"`

	// DOD ID
	// Max Length: 10
	// Min Length: 10
	DodID *string `json:"dodID,omitempty"`

	// Move locator
	// Max Length: 6
	// Min Length: 6
	Locator *string `json:"locator,omitempty"`

	// order
	// Enum: [asc desc]
	Order *string `json:"order,omitempty"`

	// origin postal code
	OriginPostalCode *string `json:"originPostalCode,omitempty"`

	// requested page of results
	Page int64 `json:"page,omitempty"`

	// per page
	PerPage int64 `json:"perPage,omitempty"`

	// pickup date
	// Format: date-time
	PickupDate *strfmt.DateTime `json:"pickupDate,omitempty"`

	// shipments count
	ShipmentsCount *int64 `json:"shipmentsCount,omitempty"`

	// sort
	// Enum: [customerName dodID branch locator status originPostalCode destinationPostalCode shipmentsCount]
	Sort *string `json:"sort,omitempty"`

	// Filtering for the status.
	// Unique: true
	Status []string `json:"status"`
}

SearchMovesBody search moves body

swagger:model SearchMovesBody

func (*SearchMovesBody) ContextValidate

func (o *SearchMovesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search moves body based on context it is used

func (*SearchMovesBody) MarshalBinary

func (o *SearchMovesBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchMovesBody) UnmarshalBinary

func (o *SearchMovesBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchMovesBody) Validate

func (o *SearchMovesBody) Validate(formats strfmt.Registry) error

Validate validates this search moves body

type SearchMovesForbidden

type SearchMovesForbidden struct {

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

SearchMovesForbidden The request was denied

swagger:response searchMovesForbidden

func NewSearchMovesForbidden

func NewSearchMovesForbidden() *SearchMovesForbidden

NewSearchMovesForbidden creates SearchMovesForbidden with default headers values

func (*SearchMovesForbidden) SetPayload

func (o *SearchMovesForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the search moves forbidden response

func (*SearchMovesForbidden) WithPayload

func (o *SearchMovesForbidden) WithPayload(payload *ghcmessages.Error) *SearchMovesForbidden

WithPayload adds the payload to the search moves forbidden response

func (*SearchMovesForbidden) WriteResponse

func (o *SearchMovesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SearchMovesHandler

type SearchMovesHandler interface {
	Handle(SearchMovesParams) middleware.Responder
}

SearchMovesHandler interface for that can handle valid search moves params

type SearchMovesHandlerFunc

type SearchMovesHandlerFunc func(SearchMovesParams) middleware.Responder

SearchMovesHandlerFunc turns a function with the right signature into a search moves handler

func (SearchMovesHandlerFunc) Handle

Handle executing the request and returning a response

type SearchMovesInternalServerError

type SearchMovesInternalServerError struct {

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

SearchMovesInternalServerError A server error occurred

swagger:response searchMovesInternalServerError

func NewSearchMovesInternalServerError

func NewSearchMovesInternalServerError() *SearchMovesInternalServerError

NewSearchMovesInternalServerError creates SearchMovesInternalServerError with default headers values

func (*SearchMovesInternalServerError) SetPayload

func (o *SearchMovesInternalServerError) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the search moves internal server error response

func (*SearchMovesInternalServerError) WithPayload

WithPayload adds the payload to the search moves internal server error response

func (*SearchMovesInternalServerError) WriteResponse

func (o *SearchMovesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SearchMovesOK

type SearchMovesOK struct {

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

SearchMovesOK Successfully returned all moves matching the criteria

swagger:response searchMovesOK

func NewSearchMovesOK

func NewSearchMovesOK() *SearchMovesOK

NewSearchMovesOK creates SearchMovesOK with default headers values

func (*SearchMovesOK) SetPayload

func (o *SearchMovesOK) SetPayload(payload *ghcmessages.SearchMovesResult)

SetPayload sets the payload to the search moves o k response

func (*SearchMovesOK) WithPayload

func (o *SearchMovesOK) WithPayload(payload *ghcmessages.SearchMovesResult) *SearchMovesOK

WithPayload adds the payload to the search moves o k response

func (*SearchMovesOK) WriteResponse

func (o *SearchMovesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SearchMovesParams

type SearchMovesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*field that results should be sorted by
	  In: body
	*/
	Body SearchMovesBody
}

SearchMovesParams contains all the bound params for the search moves operation typically these are obtained from a http.Request

swagger:parameters searchMoves

func NewSearchMovesParams

func NewSearchMovesParams() SearchMovesParams

NewSearchMovesParams creates a new SearchMovesParams object

There are no default values defined in the spec.

func (*SearchMovesParams) BindRequest

func (o *SearchMovesParams) 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 NewSearchMovesParams() beforehand.

type SearchMovesURL

type SearchMovesURL struct {
	// contains filtered or unexported fields
}

SearchMovesURL generates an URL for the search moves operation

func (*SearchMovesURL) Build

func (o *SearchMovesURL) Build() (*url.URL, error)

Build a url path and query string

func (*SearchMovesURL) BuildFull

func (o *SearchMovesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SearchMovesURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*SearchMovesURL) SetBasePath

func (o *SearchMovesURL) 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 (*SearchMovesURL) String

func (o *SearchMovesURL) String() string

String returns the string representation of the path with query string

func (*SearchMovesURL) StringFull

func (o *SearchMovesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SearchMovesURL) WithBasePath

func (o *SearchMovesURL) WithBasePath(bp string) *SearchMovesURL

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 SetFinancialReviewFlag

type SetFinancialReviewFlag struct {
	Context *middleware.Context
	Handler SetFinancialReviewFlagHandler
}
SetFinancialReviewFlag swagger:route POST /moves/{moveID}/financial-review-flag move setFinancialReviewFlag

Flags a move for financial office review

This sets a flag which indicates that the move should be reviewed by a fincancial office. For example, if the origin or destination address of a shipment is far from the duty location and may incur excess costs to the customer.

func NewSetFinancialReviewFlag

func NewSetFinancialReviewFlag(ctx *middleware.Context, handler SetFinancialReviewFlagHandler) *SetFinancialReviewFlag

NewSetFinancialReviewFlag creates a new http.Handler for the set financial review flag operation

func (*SetFinancialReviewFlag) ServeHTTP

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

type SetFinancialReviewFlagBody

type SetFinancialReviewFlagBody struct {

	// boolean value representing whether we should flag a move for financial review
	// Example: false
	// Required: true
	FlagForReview *bool `json:"flagForReview"`

	// explanation of why the move is being flagged for financial review
	// Example: this address is way too far away
	Remarks *string `json:"remarks,omitempty"`
}

SetFinancialReviewFlagBody set financial review flag body

swagger:model SetFinancialReviewFlagBody

func (*SetFinancialReviewFlagBody) ContextValidate

func (o *SetFinancialReviewFlagBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set financial review flag body based on context it is used

func (*SetFinancialReviewFlagBody) MarshalBinary

func (o *SetFinancialReviewFlagBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetFinancialReviewFlagBody) UnmarshalBinary

func (o *SetFinancialReviewFlagBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetFinancialReviewFlagBody) Validate

func (o *SetFinancialReviewFlagBody) Validate(formats strfmt.Registry) error

Validate validates this set financial review flag body

type SetFinancialReviewFlagForbidden

type SetFinancialReviewFlagForbidden struct {

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

SetFinancialReviewFlagForbidden The request was denied

swagger:response setFinancialReviewFlagForbidden

func NewSetFinancialReviewFlagForbidden

func NewSetFinancialReviewFlagForbidden() *SetFinancialReviewFlagForbidden

NewSetFinancialReviewFlagForbidden creates SetFinancialReviewFlagForbidden with default headers values

func (*SetFinancialReviewFlagForbidden) SetPayload

func (o *SetFinancialReviewFlagForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the set financial review flag forbidden response

func (*SetFinancialReviewFlagForbidden) WithPayload

WithPayload adds the payload to the set financial review flag forbidden response

func (*SetFinancialReviewFlagForbidden) WriteResponse

func (o *SetFinancialReviewFlagForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetFinancialReviewFlagHandler

type SetFinancialReviewFlagHandler interface {
	Handle(SetFinancialReviewFlagParams) middleware.Responder
}

SetFinancialReviewFlagHandler interface for that can handle valid set financial review flag params

type SetFinancialReviewFlagHandlerFunc

type SetFinancialReviewFlagHandlerFunc func(SetFinancialReviewFlagParams) middleware.Responder

SetFinancialReviewFlagHandlerFunc turns a function with the right signature into a set financial review flag handler

func (SetFinancialReviewFlagHandlerFunc) Handle

Handle executing the request and returning a response

type SetFinancialReviewFlagInternalServerError

type SetFinancialReviewFlagInternalServerError struct {

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

SetFinancialReviewFlagInternalServerError A server error occurred

swagger:response setFinancialReviewFlagInternalServerError

func NewSetFinancialReviewFlagInternalServerError

func NewSetFinancialReviewFlagInternalServerError() *SetFinancialReviewFlagInternalServerError

NewSetFinancialReviewFlagInternalServerError creates SetFinancialReviewFlagInternalServerError with default headers values

func (*SetFinancialReviewFlagInternalServerError) SetPayload

SetPayload sets the payload to the set financial review flag internal server error response

func (*SetFinancialReviewFlagInternalServerError) WithPayload

WithPayload adds the payload to the set financial review flag internal server error response

func (*SetFinancialReviewFlagInternalServerError) WriteResponse

WriteResponse to the client

type SetFinancialReviewFlagNotFound

type SetFinancialReviewFlagNotFound struct {

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

SetFinancialReviewFlagNotFound The requested resource wasn't found

swagger:response setFinancialReviewFlagNotFound

func NewSetFinancialReviewFlagNotFound

func NewSetFinancialReviewFlagNotFound() *SetFinancialReviewFlagNotFound

NewSetFinancialReviewFlagNotFound creates SetFinancialReviewFlagNotFound with default headers values

func (*SetFinancialReviewFlagNotFound) SetPayload

func (o *SetFinancialReviewFlagNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the set financial review flag not found response

func (*SetFinancialReviewFlagNotFound) WithPayload

WithPayload adds the payload to the set financial review flag not found response

func (*SetFinancialReviewFlagNotFound) WriteResponse

func (o *SetFinancialReviewFlagNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetFinancialReviewFlagOK

type SetFinancialReviewFlagOK struct {

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

SetFinancialReviewFlagOK updated Move

swagger:response setFinancialReviewFlagOK

func NewSetFinancialReviewFlagOK

func NewSetFinancialReviewFlagOK() *SetFinancialReviewFlagOK

NewSetFinancialReviewFlagOK creates SetFinancialReviewFlagOK with default headers values

func (*SetFinancialReviewFlagOK) SetPayload

func (o *SetFinancialReviewFlagOK) SetPayload(payload *ghcmessages.Move)

SetPayload sets the payload to the set financial review flag o k response

func (*SetFinancialReviewFlagOK) WithPayload

WithPayload adds the payload to the set financial review flag o k response

func (*SetFinancialReviewFlagOK) WriteResponse

func (o *SetFinancialReviewFlagOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetFinancialReviewFlagParams

type SetFinancialReviewFlagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: header
	*/
	IfMatch *string
	/*
	  In: body
	*/
	Body SetFinancialReviewFlagBody
	/*ID of move to flag
	  Required: true
	  In: path
	*/
	MoveID strfmt.UUID
}

SetFinancialReviewFlagParams contains all the bound params for the set financial review flag operation typically these are obtained from a http.Request

swagger:parameters setFinancialReviewFlag

func NewSetFinancialReviewFlagParams

func NewSetFinancialReviewFlagParams() SetFinancialReviewFlagParams

NewSetFinancialReviewFlagParams creates a new SetFinancialReviewFlagParams object

There are no default values defined in the spec.

func (*SetFinancialReviewFlagParams) 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 NewSetFinancialReviewFlagParams() beforehand.

type SetFinancialReviewFlagPreconditionFailed

type SetFinancialReviewFlagPreconditionFailed struct {

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

SetFinancialReviewFlagPreconditionFailed Precondition failed

swagger:response setFinancialReviewFlagPreconditionFailed

func NewSetFinancialReviewFlagPreconditionFailed

func NewSetFinancialReviewFlagPreconditionFailed() *SetFinancialReviewFlagPreconditionFailed

NewSetFinancialReviewFlagPreconditionFailed creates SetFinancialReviewFlagPreconditionFailed with default headers values

func (*SetFinancialReviewFlagPreconditionFailed) SetPayload

SetPayload sets the payload to the set financial review flag precondition failed response

func (*SetFinancialReviewFlagPreconditionFailed) WithPayload

WithPayload adds the payload to the set financial review flag precondition failed response

func (*SetFinancialReviewFlagPreconditionFailed) WriteResponse

WriteResponse to the client

type SetFinancialReviewFlagURL

type SetFinancialReviewFlagURL struct {
	MoveID strfmt.UUID
	// contains filtered or unexported fields
}

SetFinancialReviewFlagURL generates an URL for the set financial review flag operation

func (*SetFinancialReviewFlagURL) Build

func (o *SetFinancialReviewFlagURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetFinancialReviewFlagURL) BuildFull

func (o *SetFinancialReviewFlagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetFinancialReviewFlagURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*SetFinancialReviewFlagURL) SetBasePath

func (o *SetFinancialReviewFlagURL) 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 (*SetFinancialReviewFlagURL) String

func (o *SetFinancialReviewFlagURL) String() string

String returns the string representation of the path with query string

func (*SetFinancialReviewFlagURL) StringFull

func (o *SetFinancialReviewFlagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetFinancialReviewFlagURL) 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 SetFinancialReviewFlagUnprocessableEntity

type SetFinancialReviewFlagUnprocessableEntity struct {

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

SetFinancialReviewFlagUnprocessableEntity The payload was unprocessable.

swagger:response setFinancialReviewFlagUnprocessableEntity

func NewSetFinancialReviewFlagUnprocessableEntity

func NewSetFinancialReviewFlagUnprocessableEntity() *SetFinancialReviewFlagUnprocessableEntity

NewSetFinancialReviewFlagUnprocessableEntity creates SetFinancialReviewFlagUnprocessableEntity with default headers values

func (*SetFinancialReviewFlagUnprocessableEntity) SetPayload

SetPayload sets the payload to the set financial review flag unprocessable entity response

func (*SetFinancialReviewFlagUnprocessableEntity) WithPayload

WithPayload adds the payload to the set financial review flag unprocessable entity response

func (*SetFinancialReviewFlagUnprocessableEntity) WriteResponse

WriteResponse to the client

type UpdateCloseoutOffice

type UpdateCloseoutOffice struct {
	Context *middleware.Context
	Handler UpdateCloseoutOfficeHandler
}
UpdateCloseoutOffice swagger:route PATCH /moves/{locator}/closeout-office move updateCloseoutOffice

Updates a Move's PPM closeout office for Army and Air Force customers

Sets the transportation office closeout location for where the Move's PPM Shipment documentation will be reviewed by

func NewUpdateCloseoutOffice

func NewUpdateCloseoutOffice(ctx *middleware.Context, handler UpdateCloseoutOfficeHandler) *UpdateCloseoutOffice

NewUpdateCloseoutOffice creates a new http.Handler for the update closeout office operation

func (*UpdateCloseoutOffice) ServeHTTP

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

type UpdateCloseoutOfficeBadRequest

type UpdateCloseoutOfficeBadRequest struct {

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

UpdateCloseoutOfficeBadRequest The request payload is invalid

swagger:response updateCloseoutOfficeBadRequest

func NewUpdateCloseoutOfficeBadRequest

func NewUpdateCloseoutOfficeBadRequest() *UpdateCloseoutOfficeBadRequest

NewUpdateCloseoutOfficeBadRequest creates UpdateCloseoutOfficeBadRequest with default headers values

func (*UpdateCloseoutOfficeBadRequest) SetPayload

func (o *UpdateCloseoutOfficeBadRequest) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update closeout office bad request response

func (*UpdateCloseoutOfficeBadRequest) WithPayload

WithPayload adds the payload to the update closeout office bad request response

func (*UpdateCloseoutOfficeBadRequest) WriteResponse

func (o *UpdateCloseoutOfficeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateCloseoutOfficeBody

type UpdateCloseoutOfficeBody struct {

	// closeout office Id
	// Required: true
	// Format: uuid
	CloseoutOfficeID *strfmt.UUID `json:"closeoutOfficeId"`
}

UpdateCloseoutOfficeBody update closeout office body

swagger:model UpdateCloseoutOfficeBody

func (*UpdateCloseoutOfficeBody) ContextValidate

func (o *UpdateCloseoutOfficeBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update closeout office body based on context it is used

func (*UpdateCloseoutOfficeBody) MarshalBinary

func (o *UpdateCloseoutOfficeBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCloseoutOfficeBody) UnmarshalBinary

func (o *UpdateCloseoutOfficeBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCloseoutOfficeBody) Validate

func (o *UpdateCloseoutOfficeBody) Validate(formats strfmt.Registry) error

Validate validates this update closeout office body

type UpdateCloseoutOfficeForbidden

type UpdateCloseoutOfficeForbidden struct {

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

UpdateCloseoutOfficeForbidden The request was denied

swagger:response updateCloseoutOfficeForbidden

func NewUpdateCloseoutOfficeForbidden

func NewUpdateCloseoutOfficeForbidden() *UpdateCloseoutOfficeForbidden

NewUpdateCloseoutOfficeForbidden creates UpdateCloseoutOfficeForbidden with default headers values

func (*UpdateCloseoutOfficeForbidden) SetPayload

func (o *UpdateCloseoutOfficeForbidden) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update closeout office forbidden response

func (*UpdateCloseoutOfficeForbidden) WithPayload

WithPayload adds the payload to the update closeout office forbidden response

func (*UpdateCloseoutOfficeForbidden) WriteResponse

func (o *UpdateCloseoutOfficeForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateCloseoutOfficeHandler

type UpdateCloseoutOfficeHandler interface {
	Handle(UpdateCloseoutOfficeParams) middleware.Responder
}

UpdateCloseoutOfficeHandler interface for that can handle valid update closeout office params

type UpdateCloseoutOfficeHandlerFunc

type UpdateCloseoutOfficeHandlerFunc func(UpdateCloseoutOfficeParams) middleware.Responder

UpdateCloseoutOfficeHandlerFunc turns a function with the right signature into a update closeout office handler

func (UpdateCloseoutOfficeHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateCloseoutOfficeInternalServerError

type UpdateCloseoutOfficeInternalServerError struct {

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

UpdateCloseoutOfficeInternalServerError A server error occurred

swagger:response updateCloseoutOfficeInternalServerError

func NewUpdateCloseoutOfficeInternalServerError

func NewUpdateCloseoutOfficeInternalServerError() *UpdateCloseoutOfficeInternalServerError

NewUpdateCloseoutOfficeInternalServerError creates UpdateCloseoutOfficeInternalServerError with default headers values

func (*UpdateCloseoutOfficeInternalServerError) SetPayload

SetPayload sets the payload to the update closeout office internal server error response

func (*UpdateCloseoutOfficeInternalServerError) WithPayload

WithPayload adds the payload to the update closeout office internal server error response

func (*UpdateCloseoutOfficeInternalServerError) WriteResponse

WriteResponse to the client

type UpdateCloseoutOfficeNotFound

type UpdateCloseoutOfficeNotFound struct {

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

UpdateCloseoutOfficeNotFound The requested resource wasn't found

swagger:response updateCloseoutOfficeNotFound

func NewUpdateCloseoutOfficeNotFound

func NewUpdateCloseoutOfficeNotFound() *UpdateCloseoutOfficeNotFound

NewUpdateCloseoutOfficeNotFound creates UpdateCloseoutOfficeNotFound with default headers values

func (*UpdateCloseoutOfficeNotFound) SetPayload

func (o *UpdateCloseoutOfficeNotFound) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update closeout office not found response

func (*UpdateCloseoutOfficeNotFound) WithPayload

WithPayload adds the payload to the update closeout office not found response

func (*UpdateCloseoutOfficeNotFound) WriteResponse

func (o *UpdateCloseoutOfficeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateCloseoutOfficeOK

type UpdateCloseoutOfficeOK struct {

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

UpdateCloseoutOfficeOK Successfully set the closeout office for the move

swagger:response updateCloseoutOfficeOK

func NewUpdateCloseoutOfficeOK

func NewUpdateCloseoutOfficeOK() *UpdateCloseoutOfficeOK

NewUpdateCloseoutOfficeOK creates UpdateCloseoutOfficeOK with default headers values

func (*UpdateCloseoutOfficeOK) SetPayload

func (o *UpdateCloseoutOfficeOK) SetPayload(payload *ghcmessages.Move)

SetPayload sets the payload to the update closeout office o k response

func (*UpdateCloseoutOfficeOK) WithPayload

WithPayload adds the payload to the update closeout office o k response

func (*UpdateCloseoutOfficeOK) WriteResponse

func (o *UpdateCloseoutOfficeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateCloseoutOfficeParams

type UpdateCloseoutOfficeParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: header
	*/
	IfMatch string
	/*
	  In: body
	*/
	Body UpdateCloseoutOfficeBody
	/*move code to identify a move to update the PPM shipment's closeout office for Army and Air Force service members
	  Required: true
	  In: path
	*/
	Locator string
}

UpdateCloseoutOfficeParams contains all the bound params for the update closeout office operation typically these are obtained from a http.Request

swagger:parameters updateCloseoutOffice

func NewUpdateCloseoutOfficeParams

func NewUpdateCloseoutOfficeParams() UpdateCloseoutOfficeParams

NewUpdateCloseoutOfficeParams creates a new UpdateCloseoutOfficeParams object

There are no default values defined in the spec.

func (*UpdateCloseoutOfficeParams) 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 NewUpdateCloseoutOfficeParams() beforehand.

type UpdateCloseoutOfficePreconditionFailed

type UpdateCloseoutOfficePreconditionFailed struct {

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

UpdateCloseoutOfficePreconditionFailed Precondition failed

swagger:response updateCloseoutOfficePreconditionFailed

func NewUpdateCloseoutOfficePreconditionFailed

func NewUpdateCloseoutOfficePreconditionFailed() *UpdateCloseoutOfficePreconditionFailed

NewUpdateCloseoutOfficePreconditionFailed creates UpdateCloseoutOfficePreconditionFailed with default headers values

func (*UpdateCloseoutOfficePreconditionFailed) SetPayload

SetPayload sets the payload to the update closeout office precondition failed response

func (*UpdateCloseoutOfficePreconditionFailed) WithPayload

WithPayload adds the payload to the update closeout office precondition failed response

func (*UpdateCloseoutOfficePreconditionFailed) WriteResponse

WriteResponse to the client

type UpdateCloseoutOfficeURL

type UpdateCloseoutOfficeURL struct {
	Locator string
	// contains filtered or unexported fields
}

UpdateCloseoutOfficeURL generates an URL for the update closeout office operation

func (*UpdateCloseoutOfficeURL) Build

func (o *UpdateCloseoutOfficeURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateCloseoutOfficeURL) BuildFull

func (o *UpdateCloseoutOfficeURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateCloseoutOfficeURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*UpdateCloseoutOfficeURL) SetBasePath

func (o *UpdateCloseoutOfficeURL) 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 (*UpdateCloseoutOfficeURL) String

func (o *UpdateCloseoutOfficeURL) String() string

String returns the string representation of the path with query string

func (*UpdateCloseoutOfficeURL) StringFull

func (o *UpdateCloseoutOfficeURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateCloseoutOfficeURL) 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 UpdateCloseoutOfficeUnauthorized

type UpdateCloseoutOfficeUnauthorized struct {

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

UpdateCloseoutOfficeUnauthorized The request was denied

swagger:response updateCloseoutOfficeUnauthorized

func NewUpdateCloseoutOfficeUnauthorized

func NewUpdateCloseoutOfficeUnauthorized() *UpdateCloseoutOfficeUnauthorized

NewUpdateCloseoutOfficeUnauthorized creates UpdateCloseoutOfficeUnauthorized with default headers values

func (*UpdateCloseoutOfficeUnauthorized) SetPayload

func (o *UpdateCloseoutOfficeUnauthorized) SetPayload(payload *ghcmessages.Error)

SetPayload sets the payload to the update closeout office unauthorized response

func (*UpdateCloseoutOfficeUnauthorized) WithPayload

WithPayload adds the payload to the update closeout office unauthorized response

func (*UpdateCloseoutOfficeUnauthorized) WriteResponse

func (o *UpdateCloseoutOfficeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateCloseoutOfficeUnprocessableEntity

type UpdateCloseoutOfficeUnprocessableEntity struct {

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

UpdateCloseoutOfficeUnprocessableEntity The payload was unprocessable.

swagger:response updateCloseoutOfficeUnprocessableEntity

func NewUpdateCloseoutOfficeUnprocessableEntity

func NewUpdateCloseoutOfficeUnprocessableEntity() *UpdateCloseoutOfficeUnprocessableEntity

NewUpdateCloseoutOfficeUnprocessableEntity creates UpdateCloseoutOfficeUnprocessableEntity with default headers values

func (*UpdateCloseoutOfficeUnprocessableEntity) SetPayload

SetPayload sets the payload to the update closeout office unprocessable entity response

func (*UpdateCloseoutOfficeUnprocessableEntity) WithPayload

WithPayload adds the payload to the update closeout office unprocessable entity response

func (*UpdateCloseoutOfficeUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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