queues

package
v0.0.0-...-c486877 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GetMovesQueueForbiddenCode int = 403

GetMovesQueueForbiddenCode is the HTTP code returned for type GetMovesQueueForbidden

View Source
const GetMovesQueueInternalServerErrorCode int = 500

GetMovesQueueInternalServerErrorCode is the HTTP code returned for type GetMovesQueueInternalServerError

View Source
const GetMovesQueueOKCode int = 200

GetMovesQueueOKCode is the HTTP code returned for type GetMovesQueueOK

View Source
const GetPaymentRequestsQueueForbiddenCode int = 403

GetPaymentRequestsQueueForbiddenCode is the HTTP code returned for type GetPaymentRequestsQueueForbidden

View Source
const GetPaymentRequestsQueueInternalServerErrorCode int = 500

GetPaymentRequestsQueueInternalServerErrorCode is the HTTP code returned for type GetPaymentRequestsQueueInternalServerError

View Source
const GetPaymentRequestsQueueOKCode int = 200

GetPaymentRequestsQueueOKCode is the HTTP code returned for type GetPaymentRequestsQueueOK

View Source
const GetServicesCounselingOriginListForbiddenCode int = 403

GetServicesCounselingOriginListForbiddenCode is the HTTP code returned for type GetServicesCounselingOriginListForbidden

View Source
const GetServicesCounselingOriginListInternalServerErrorCode int = 500

GetServicesCounselingOriginListInternalServerErrorCode is the HTTP code returned for type GetServicesCounselingOriginListInternalServerError

View Source
const GetServicesCounselingOriginListOKCode int = 200

GetServicesCounselingOriginListOKCode is the HTTP code returned for type GetServicesCounselingOriginListOK

View Source
const GetServicesCounselingQueueForbiddenCode int = 403

GetServicesCounselingQueueForbiddenCode is the HTTP code returned for type GetServicesCounselingQueueForbidden

View Source
const GetServicesCounselingQueueInternalServerErrorCode int = 500

GetServicesCounselingQueueInternalServerErrorCode is the HTTP code returned for type GetServicesCounselingQueueInternalServerError

View Source
const GetServicesCounselingQueueOKCode int = 200

GetServicesCounselingQueueOKCode is the HTTP code returned for type GetServicesCounselingQueueOK

View Source
const ListPrimeMovesForbiddenCode int = 403

ListPrimeMovesForbiddenCode is the HTTP code returned for type ListPrimeMovesForbidden

View Source
const ListPrimeMovesInternalServerErrorCode int = 500

ListPrimeMovesInternalServerErrorCode is the HTTP code returned for type ListPrimeMovesInternalServerError

View Source
const ListPrimeMovesOKCode int = 200

ListPrimeMovesOKCode is the HTTP code returned for type ListPrimeMovesOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMovesQueue

type GetMovesQueue struct {
	Context *middleware.Context
	Handler GetMovesQueueHandler
}
GetMovesQueue swagger:route GET /queues/moves queues getMovesQueue

Gets queued list of all customer moves by GBLOC origin

An office TOO user will be assigned a transportation office that will determine which moves are displayed in their queue based on the origin duty location. GHC moves will show up here onced they have reached the submitted status sent by the customer and have move task orders, shipments, and service items to approve.

func NewGetMovesQueue

func NewGetMovesQueue(ctx *middleware.Context, handler GetMovesQueueHandler) *GetMovesQueue

NewGetMovesQueue creates a new http.Handler for the get moves queue operation

func (*GetMovesQueue) ServeHTTP

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

type GetMovesQueueForbidden

type GetMovesQueueForbidden struct {

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

GetMovesQueueForbidden The request was denied

swagger:response getMovesQueueForbidden

func NewGetMovesQueueForbidden

func NewGetMovesQueueForbidden() *GetMovesQueueForbidden

NewGetMovesQueueForbidden creates GetMovesQueueForbidden with default headers values

func (*GetMovesQueueForbidden) SetPayload

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

SetPayload sets the payload to the get moves queue forbidden response

func (*GetMovesQueueForbidden) WithPayload

WithPayload adds the payload to the get moves queue forbidden response

func (*GetMovesQueueForbidden) WriteResponse

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

WriteResponse to the client

type GetMovesQueueHandler

type GetMovesQueueHandler interface {
	Handle(GetMovesQueueParams) middleware.Responder
}

GetMovesQueueHandler interface for that can handle valid get moves queue params

type GetMovesQueueHandlerFunc

type GetMovesQueueHandlerFunc func(GetMovesQueueParams) middleware.Responder

GetMovesQueueHandlerFunc turns a function with the right signature into a get moves queue handler

func (GetMovesQueueHandlerFunc) Handle

Handle executing the request and returning a response

type GetMovesQueueInternalServerError

type GetMovesQueueInternalServerError struct {

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

GetMovesQueueInternalServerError A server error occurred

swagger:response getMovesQueueInternalServerError

func NewGetMovesQueueInternalServerError

func NewGetMovesQueueInternalServerError() *GetMovesQueueInternalServerError

NewGetMovesQueueInternalServerError creates GetMovesQueueInternalServerError with default headers values

func (*GetMovesQueueInternalServerError) SetPayload

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

SetPayload sets the payload to the get moves queue internal server error response

func (*GetMovesQueueInternalServerError) WithPayload

WithPayload adds the payload to the get moves queue internal server error response

func (*GetMovesQueueInternalServerError) WriteResponse

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

WriteResponse to the client

type GetMovesQueueOK

type GetMovesQueueOK struct {

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

GetMovesQueueOK Successfully returned all moves matching the criteria

swagger:response getMovesQueueOK

func NewGetMovesQueueOK

func NewGetMovesQueueOK() *GetMovesQueueOK

NewGetMovesQueueOK creates GetMovesQueueOK with default headers values

func (*GetMovesQueueOK) SetPayload

func (o *GetMovesQueueOK) SetPayload(payload *ghcmessages.QueueMovesResult)

SetPayload sets the payload to the get moves queue o k response

func (*GetMovesQueueOK) WithPayload

func (o *GetMovesQueueOK) WithPayload(payload *ghcmessages.QueueMovesResult) *GetMovesQueueOK

WithPayload adds the payload to the get moves queue o k response

func (*GetMovesQueueOK) WriteResponse

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

WriteResponse to the client

type GetMovesQueueParams

type GetMovesQueueParams struct {

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

	/*
	  In: query
	*/
	AppearedInTooAt *strfmt.DateTime
	/*
	  In: query
	*/
	Branch *string
	/*
	  In: query
	*/
	DestinationDutyLocation *string
	/*
	  In: query
	*/
	DodID *string
	/*
	  In: query
	*/
	Emplid *string
	/*
	  In: query
	*/
	LastName *string
	/*
	  In: query
	*/
	Locator *string
	/*direction of sort order if applied
	  In: query
	*/
	Order *string
	/*order type
	  In: query
	*/
	OrderType *string
	/*
	  Unique: true
	  In: query
	  Collection Format: multi
	*/
	OriginDutyLocation []string
	/*requested page of results
	  In: query
	*/
	Page *int64
	/*results per page
	  In: query
	*/
	PerPage *int64
	/*filters the requested pickup date of a shipment on the move
	  In: query
	*/
	RequestedMoveDate *string
	/*field that results should be sorted by
	  In: query
	*/
	Sort *string
	/*Filtering for the status.
	  Unique: true
	  In: query
	*/
	Status []string
	/*Used to return a queue for a GBLOC other than the default of the current user. Requires the HQ role. The parameter is ignored if the requesting user does not have the necessary role.

	  In: query
	*/
	ViewAsGBLOC *string
}

GetMovesQueueParams contains all the bound params for the get moves queue operation typically these are obtained from a http.Request

swagger:parameters getMovesQueue

func NewGetMovesQueueParams

func NewGetMovesQueueParams() GetMovesQueueParams

NewGetMovesQueueParams creates a new GetMovesQueueParams object

There are no default values defined in the spec.

func (*GetMovesQueueParams) BindRequest

func (o *GetMovesQueueParams) 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 NewGetMovesQueueParams() beforehand.

type GetMovesQueueURL

type GetMovesQueueURL struct {
	AppearedInTooAt         *strfmt.DateTime
	Branch                  *string
	DestinationDutyLocation *string
	DodID                   *string
	Emplid                  *string
	LastName                *string
	Locator                 *string
	Order                   *string
	OrderType               *string
	OriginDutyLocation      []string
	Page                    *int64
	PerPage                 *int64
	RequestedMoveDate       *string
	Sort                    *string
	Status                  []string
	ViewAsGBLOC             *string
	// contains filtered or unexported fields
}

GetMovesQueueURL generates an URL for the get moves queue operation

func (*GetMovesQueueURL) Build

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

Build a url path and query string

func (*GetMovesQueueURL) BuildFull

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

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

func (*GetMovesQueueURL) Must

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

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

func (*GetMovesQueueURL) SetBasePath

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

func (o *GetMovesQueueURL) String() string

String returns the string representation of the path with query string

func (*GetMovesQueueURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetMovesQueueURL) WithBasePath

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

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 GetPaymentRequestsQueue

type GetPaymentRequestsQueue struct {
	Context *middleware.Context
	Handler GetPaymentRequestsQueueHandler
}
GetPaymentRequestsQueue swagger:route GET /queues/payment-requests queues getPaymentRequestsQueue

Gets queued list of all payment requests by GBLOC origin

An office TIO user will be assigned a transportation office that will determine which payment requests are displayed in their queue based on the origin duty location.

func NewGetPaymentRequestsQueue

func NewGetPaymentRequestsQueue(ctx *middleware.Context, handler GetPaymentRequestsQueueHandler) *GetPaymentRequestsQueue

NewGetPaymentRequestsQueue creates a new http.Handler for the get payment requests queue operation

func (*GetPaymentRequestsQueue) ServeHTTP

type GetPaymentRequestsQueueForbidden

type GetPaymentRequestsQueueForbidden struct {

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

GetPaymentRequestsQueueForbidden The request was denied

swagger:response getPaymentRequestsQueueForbidden

func NewGetPaymentRequestsQueueForbidden

func NewGetPaymentRequestsQueueForbidden() *GetPaymentRequestsQueueForbidden

NewGetPaymentRequestsQueueForbidden creates GetPaymentRequestsQueueForbidden with default headers values

func (*GetPaymentRequestsQueueForbidden) SetPayload

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

SetPayload sets the payload to the get payment requests queue forbidden response

func (*GetPaymentRequestsQueueForbidden) WithPayload

WithPayload adds the payload to the get payment requests queue forbidden response

func (*GetPaymentRequestsQueueForbidden) WriteResponse

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

WriteResponse to the client

type GetPaymentRequestsQueueHandler

type GetPaymentRequestsQueueHandler interface {
	Handle(GetPaymentRequestsQueueParams) middleware.Responder
}

GetPaymentRequestsQueueHandler interface for that can handle valid get payment requests queue params

type GetPaymentRequestsQueueHandlerFunc

type GetPaymentRequestsQueueHandlerFunc func(GetPaymentRequestsQueueParams) middleware.Responder

GetPaymentRequestsQueueHandlerFunc turns a function with the right signature into a get payment requests queue handler

func (GetPaymentRequestsQueueHandlerFunc) Handle

Handle executing the request and returning a response

type GetPaymentRequestsQueueInternalServerError

type GetPaymentRequestsQueueInternalServerError struct {

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

GetPaymentRequestsQueueInternalServerError A server error occurred

swagger:response getPaymentRequestsQueueInternalServerError

func NewGetPaymentRequestsQueueInternalServerError

func NewGetPaymentRequestsQueueInternalServerError() *GetPaymentRequestsQueueInternalServerError

NewGetPaymentRequestsQueueInternalServerError creates GetPaymentRequestsQueueInternalServerError with default headers values

func (*GetPaymentRequestsQueueInternalServerError) SetPayload

SetPayload sets the payload to the get payment requests queue internal server error response

func (*GetPaymentRequestsQueueInternalServerError) WithPayload

WithPayload adds the payload to the get payment requests queue internal server error response

func (*GetPaymentRequestsQueueInternalServerError) WriteResponse

WriteResponse to the client

type GetPaymentRequestsQueueOK

type GetPaymentRequestsQueueOK struct {

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

GetPaymentRequestsQueueOK Successfully returned all moves matching the criteria

swagger:response getPaymentRequestsQueueOK

func NewGetPaymentRequestsQueueOK

func NewGetPaymentRequestsQueueOK() *GetPaymentRequestsQueueOK

NewGetPaymentRequestsQueueOK creates GetPaymentRequestsQueueOK with default headers values

func (*GetPaymentRequestsQueueOK) SetPayload

SetPayload sets the payload to the get payment requests queue o k response

func (*GetPaymentRequestsQueueOK) WithPayload

WithPayload adds the payload to the get payment requests queue o k response

func (*GetPaymentRequestsQueueOK) WriteResponse

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

WriteResponse to the client

type GetPaymentRequestsQueueParams

type GetPaymentRequestsQueueParams struct {

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

	/*
	  In: query
	*/
	Branch *string
	/*
	  In: query
	*/
	DestinationDutyLocation *string
	/*
	  In: query
	*/
	DodID *string
	/*
	  In: query
	*/
	Emplid *string
	/*
	  In: query
	*/
	LastName *string
	/*
	  In: query
	*/
	Locator *string
	/*direction of sort order if applied
	  In: query
	*/
	Order *string
	/*order type
	  In: query
	*/
	OrderType *string
	/*
	  In: query
	*/
	OriginDutyLocation *string
	/*requested page of results
	  In: query
	*/
	Page *int64
	/*number of records to include per page
	  In: query
	*/
	PerPage *int64
	/*field that results should be sorted by
	  In: query
	*/
	Sort *string
	/*Filtering for the status.
	  Unique: true
	  In: query
	*/
	Status []string
	/*Start of the submitted at date in the user's local time zone converted to UTC
	  In: query
	*/
	SubmittedAt *strfmt.DateTime
	/*Used to return a queue for a GBLOC other than the default of the current user. Requires the HQ role. The parameter is ignored if the requesting user does not have the necessary role.

	  In: query
	*/
	ViewAsGBLOC *string
}

GetPaymentRequestsQueueParams contains all the bound params for the get payment requests queue operation typically these are obtained from a http.Request

swagger:parameters getPaymentRequestsQueue

func NewGetPaymentRequestsQueueParams

func NewGetPaymentRequestsQueueParams() GetPaymentRequestsQueueParams

NewGetPaymentRequestsQueueParams creates a new GetPaymentRequestsQueueParams object

There are no default values defined in the spec.

func (*GetPaymentRequestsQueueParams) 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 NewGetPaymentRequestsQueueParams() beforehand.

type GetPaymentRequestsQueueURL

type GetPaymentRequestsQueueURL struct {
	Branch                  *string
	DestinationDutyLocation *string
	DodID                   *string
	Emplid                  *string
	LastName                *string
	Locator                 *string
	Order                   *string
	OrderType               *string
	OriginDutyLocation      *string
	Page                    *int64
	PerPage                 *int64
	Sort                    *string
	Status                  []string
	SubmittedAt             *strfmt.DateTime
	ViewAsGBLOC             *string
	// contains filtered or unexported fields
}

GetPaymentRequestsQueueURL generates an URL for the get payment requests queue operation

func (*GetPaymentRequestsQueueURL) Build

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

Build a url path and query string

func (*GetPaymentRequestsQueueURL) BuildFull

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

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

func (*GetPaymentRequestsQueueURL) Must

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

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

func (*GetPaymentRequestsQueueURL) SetBasePath

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

func (o *GetPaymentRequestsQueueURL) String() string

String returns the string representation of the path with query string

func (*GetPaymentRequestsQueueURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPaymentRequestsQueueURL) 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 GetServicesCounselingOriginList

type GetServicesCounselingOriginList struct {
	Context *middleware.Context
	Handler GetServicesCounselingOriginListHandler
}
GetServicesCounselingOriginList swagger:route GET /queues/counseling/origin-list queues getServicesCounselingOriginList

Gets queued list of all moves origin locations in the counselors queue

An office services counselor user will be assigned a transportation office that will determine which moves are displayed in their queue based on the origin duty location. This pulls the availalble origin duty locations.

func NewGetServicesCounselingOriginList

func NewGetServicesCounselingOriginList(ctx *middleware.Context, handler GetServicesCounselingOriginListHandler) *GetServicesCounselingOriginList

NewGetServicesCounselingOriginList creates a new http.Handler for the get services counseling origin list operation

func (*GetServicesCounselingOriginList) ServeHTTP

type GetServicesCounselingOriginListForbidden

type GetServicesCounselingOriginListForbidden struct {

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

GetServicesCounselingOriginListForbidden The request was denied

swagger:response getServicesCounselingOriginListForbidden

func NewGetServicesCounselingOriginListForbidden

func NewGetServicesCounselingOriginListForbidden() *GetServicesCounselingOriginListForbidden

NewGetServicesCounselingOriginListForbidden creates GetServicesCounselingOriginListForbidden with default headers values

func (*GetServicesCounselingOriginListForbidden) SetPayload

SetPayload sets the payload to the get services counseling origin list forbidden response

func (*GetServicesCounselingOriginListForbidden) WithPayload

WithPayload adds the payload to the get services counseling origin list forbidden response

func (*GetServicesCounselingOriginListForbidden) WriteResponse

WriteResponse to the client

type GetServicesCounselingOriginListHandler

type GetServicesCounselingOriginListHandler interface {
	Handle(GetServicesCounselingOriginListParams) middleware.Responder
}

GetServicesCounselingOriginListHandler interface for that can handle valid get services counseling origin list params

type GetServicesCounselingOriginListHandlerFunc

type GetServicesCounselingOriginListHandlerFunc func(GetServicesCounselingOriginListParams) middleware.Responder

GetServicesCounselingOriginListHandlerFunc turns a function with the right signature into a get services counseling origin list handler

func (GetServicesCounselingOriginListHandlerFunc) Handle

Handle executing the request and returning a response

type GetServicesCounselingOriginListInternalServerError

type GetServicesCounselingOriginListInternalServerError struct {

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

GetServicesCounselingOriginListInternalServerError A server error occurred

swagger:response getServicesCounselingOriginListInternalServerError

func NewGetServicesCounselingOriginListInternalServerError

func NewGetServicesCounselingOriginListInternalServerError() *GetServicesCounselingOriginListInternalServerError

NewGetServicesCounselingOriginListInternalServerError creates GetServicesCounselingOriginListInternalServerError with default headers values

func (*GetServicesCounselingOriginListInternalServerError) SetPayload

SetPayload sets the payload to the get services counseling origin list internal server error response

func (*GetServicesCounselingOriginListInternalServerError) WithPayload

WithPayload adds the payload to the get services counseling origin list internal server error response

func (*GetServicesCounselingOriginListInternalServerError) WriteResponse

WriteResponse to the client

type GetServicesCounselingOriginListOK

type GetServicesCounselingOriginListOK struct {

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

GetServicesCounselingOriginListOK Successfully returned all moves matching the criteria

swagger:response getServicesCounselingOriginListOK

func NewGetServicesCounselingOriginListOK

func NewGetServicesCounselingOriginListOK() *GetServicesCounselingOriginListOK

NewGetServicesCounselingOriginListOK creates GetServicesCounselingOriginListOK with default headers values

func (*GetServicesCounselingOriginListOK) SetPayload

SetPayload sets the payload to the get services counseling origin list o k response

func (*GetServicesCounselingOriginListOK) WithPayload

WithPayload adds the payload to the get services counseling origin list o k response

func (*GetServicesCounselingOriginListOK) WriteResponse

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

WriteResponse to the client

type GetServicesCounselingOriginListParams

type GetServicesCounselingOriginListParams struct {

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

	/*Only used for Services Counseling queue. If true, show PPM moves origin locations that are ready for closeout. Otherwise, show all other moves origin locations.
	  In: query
	*/
	NeedsPPMCloseout *bool
}

GetServicesCounselingOriginListParams contains all the bound params for the get services counseling origin list operation typically these are obtained from a http.Request

swagger:parameters getServicesCounselingOriginList

func NewGetServicesCounselingOriginListParams

func NewGetServicesCounselingOriginListParams() GetServicesCounselingOriginListParams

NewGetServicesCounselingOriginListParams creates a new GetServicesCounselingOriginListParams object

There are no default values defined in the spec.

func (*GetServicesCounselingOriginListParams) 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 NewGetServicesCounselingOriginListParams() beforehand.

type GetServicesCounselingOriginListURL

type GetServicesCounselingOriginListURL struct {
	NeedsPPMCloseout *bool
	// contains filtered or unexported fields
}

GetServicesCounselingOriginListURL generates an URL for the get services counseling origin list operation

func (*GetServicesCounselingOriginListURL) Build

Build a url path and query string

func (*GetServicesCounselingOriginListURL) BuildFull

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

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

func (*GetServicesCounselingOriginListURL) Must

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

func (*GetServicesCounselingOriginListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetServicesCounselingOriginListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetServicesCounselingOriginListURL) 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 GetServicesCounselingQueue

type GetServicesCounselingQueue struct {
	Context *middleware.Context
	Handler GetServicesCounselingQueueHandler
}
GetServicesCounselingQueue swagger:route GET /queues/counseling queues getServicesCounselingQueue

Gets queued list of all customer moves needing services counseling by GBLOC origin

An office services counselor user will be assigned a transportation office that will determine which moves are displayed in their queue based on the origin duty location. GHC moves will show up here onced they have reached the NEEDS SERVICE COUNSELING status after submission from a customer or created on a customer's behalf.

func NewGetServicesCounselingQueue

func NewGetServicesCounselingQueue(ctx *middleware.Context, handler GetServicesCounselingQueueHandler) *GetServicesCounselingQueue

NewGetServicesCounselingQueue creates a new http.Handler for the get services counseling queue operation

func (*GetServicesCounselingQueue) ServeHTTP

type GetServicesCounselingQueueForbidden

type GetServicesCounselingQueueForbidden struct {

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

GetServicesCounselingQueueForbidden The request was denied

swagger:response getServicesCounselingQueueForbidden

func NewGetServicesCounselingQueueForbidden

func NewGetServicesCounselingQueueForbidden() *GetServicesCounselingQueueForbidden

NewGetServicesCounselingQueueForbidden creates GetServicesCounselingQueueForbidden with default headers values

func (*GetServicesCounselingQueueForbidden) SetPayload

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

SetPayload sets the payload to the get services counseling queue forbidden response

func (*GetServicesCounselingQueueForbidden) WithPayload

WithPayload adds the payload to the get services counseling queue forbidden response

func (*GetServicesCounselingQueueForbidden) WriteResponse

WriteResponse to the client

type GetServicesCounselingQueueHandler

type GetServicesCounselingQueueHandler interface {
	Handle(GetServicesCounselingQueueParams) middleware.Responder
}

GetServicesCounselingQueueHandler interface for that can handle valid get services counseling queue params

type GetServicesCounselingQueueHandlerFunc

type GetServicesCounselingQueueHandlerFunc func(GetServicesCounselingQueueParams) middleware.Responder

GetServicesCounselingQueueHandlerFunc turns a function with the right signature into a get services counseling queue handler

func (GetServicesCounselingQueueHandlerFunc) Handle

Handle executing the request and returning a response

type GetServicesCounselingQueueInternalServerError

type GetServicesCounselingQueueInternalServerError struct {

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

GetServicesCounselingQueueInternalServerError A server error occurred

swagger:response getServicesCounselingQueueInternalServerError

func NewGetServicesCounselingQueueInternalServerError

func NewGetServicesCounselingQueueInternalServerError() *GetServicesCounselingQueueInternalServerError

NewGetServicesCounselingQueueInternalServerError creates GetServicesCounselingQueueInternalServerError with default headers values

func (*GetServicesCounselingQueueInternalServerError) SetPayload

SetPayload sets the payload to the get services counseling queue internal server error response

func (*GetServicesCounselingQueueInternalServerError) WithPayload

WithPayload adds the payload to the get services counseling queue internal server error response

func (*GetServicesCounselingQueueInternalServerError) WriteResponse

WriteResponse to the client

type GetServicesCounselingQueueOK

type GetServicesCounselingQueueOK struct {

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

GetServicesCounselingQueueOK Successfully returned all moves matching the criteria

swagger:response getServicesCounselingQueueOK

func NewGetServicesCounselingQueueOK

func NewGetServicesCounselingQueueOK() *GetServicesCounselingQueueOK

NewGetServicesCounselingQueueOK creates GetServicesCounselingQueueOK with default headers values

func (*GetServicesCounselingQueueOK) SetPayload

SetPayload sets the payload to the get services counseling queue o k response

func (*GetServicesCounselingQueueOK) WithPayload

WithPayload adds the payload to the get services counseling queue o k response

func (*GetServicesCounselingQueueOK) WriteResponse

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

WriteResponse to the client

type GetServicesCounselingQueueParams

type GetServicesCounselingQueueParams struct {

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

	/*filters by the branch of the move's service member
	  In: query
	*/
	Branch *string
	/*Latest date that closeout was initiated on a PPM on the move
	  In: query
	*/
	CloseoutInitiated *strfmt.DateTime
	/*closeout location
	  In: query
	*/
	CloseoutLocation *string
	/*filters using a counselingOffice name of the move
	  In: query
	*/
	CounselingOffice *string
	/*filters the name of the destination duty location on the orders
	  In: query
	*/
	DestinationDutyLocation *string
	/*filters to match the unique service member's DoD ID
	  In: query
	*/
	DodID *string
	/*filters to match the unique service member's EMPLID
	  In: query
	*/
	Emplid *string
	/*filters using a prefix match on the service member's last name
	  In: query
	*/
	LastName *string
	/*filters to match the unique move code locator
	  In: query
	*/
	Locator *string
	/*Only used for Services Counseling queue. If true, show PPM moves that are ready for closeout. Otherwise, show all other moves.
	  In: query
	*/
	NeedsPPMCloseout *bool
	/*direction of sort order if applied
	  In: query
	*/
	Order *string
	/*order type
	  In: query
	*/
	OrderType *string
	/*filters the name of the origin duty location on the orders
	  Unique: true
	  In: query
	  Collection Format: multi
	*/
	OriginDutyLocation []string
	/*filters the GBLOC of the service member's origin duty location
	  In: query
	*/
	OriginGBLOC *string
	/*requested page number of paginated move results
	  In: query
	*/
	Page *int64
	/*maximum number of moves to show on each page of paginated results
	  In: query
	*/
	PerPage *int64
	/*filters the status of the PPM shipment
	  In: query
	*/
	PpmStatus *string
	/*filters PPM type
	  In: query
	*/
	PpmType *string
	/*filters the requested pickup date of a shipment on the move
	  In: query
	*/
	RequestedMoveDate *string
	/*field that results should be sorted by
	  In: query
	*/
	Sort *string
	/*filters the status of the move
	  Unique: true
	  In: query
	*/
	Status []string
	/*Start of the submitted at date in the user's local time zone converted to UTC
	  In: query
	*/
	SubmittedAt *strfmt.DateTime
	/*Used to return a queue for a GBLOC other than the default of the current user. Requires the HQ role. The parameter is ignored if the requesting user does not have the necessary role.

	  In: query
	*/
	ViewAsGBLOC *string
}

GetServicesCounselingQueueParams contains all the bound params for the get services counseling queue operation typically these are obtained from a http.Request

swagger:parameters getServicesCounselingQueue

func NewGetServicesCounselingQueueParams

func NewGetServicesCounselingQueueParams() GetServicesCounselingQueueParams

NewGetServicesCounselingQueueParams creates a new GetServicesCounselingQueueParams object

There are no default values defined in the spec.

func (*GetServicesCounselingQueueParams) 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 NewGetServicesCounselingQueueParams() beforehand.

type GetServicesCounselingQueueURL

type GetServicesCounselingQueueURL struct {
	Branch                  *string
	CloseoutInitiated       *strfmt.DateTime
	CloseoutLocation        *string
	CounselingOffice        *string
	DestinationDutyLocation *string
	DodID                   *string
	Emplid                  *string
	LastName                *string
	Locator                 *string
	NeedsPPMCloseout        *bool
	Order                   *string
	OrderType               *string
	OriginDutyLocation      []string
	OriginGBLOC             *string
	Page                    *int64
	PerPage                 *int64
	PpmStatus               *string
	PpmType                 *string
	RequestedMoveDate       *string
	Sort                    *string
	Status                  []string
	SubmittedAt             *strfmt.DateTime
	ViewAsGBLOC             *string
	// contains filtered or unexported fields
}

GetServicesCounselingQueueURL generates an URL for the get services counseling queue operation

func (*GetServicesCounselingQueueURL) Build

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

Build a url path and query string

func (*GetServicesCounselingQueueURL) BuildFull

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

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

func (*GetServicesCounselingQueueURL) Must

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

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

func (*GetServicesCounselingQueueURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetServicesCounselingQueueURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetServicesCounselingQueueURL) 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 ListPrimeMoves

type ListPrimeMoves struct {
	Context *middleware.Context
	Handler ListPrimeMovesHandler
}
ListPrimeMoves swagger:route GET /queues/prime-moves queues listPrimeMoves

getPrimeMovesQueue

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 NewListPrimeMoves

func NewListPrimeMoves(ctx *middleware.Context, handler ListPrimeMovesHandler) *ListPrimeMoves

NewListPrimeMoves creates a new http.Handler for the list prime moves operation

func (*ListPrimeMoves) ServeHTTP

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

type ListPrimeMovesForbidden

type ListPrimeMovesForbidden struct {

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

ListPrimeMovesForbidden The request was denied

swagger:response listPrimeMovesForbidden

func NewListPrimeMovesForbidden

func NewListPrimeMovesForbidden() *ListPrimeMovesForbidden

NewListPrimeMovesForbidden creates ListPrimeMovesForbidden with default headers values

func (*ListPrimeMovesForbidden) SetPayload

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

SetPayload sets the payload to the list prime moves forbidden response

func (*ListPrimeMovesForbidden) WithPayload

WithPayload adds the payload to the list prime moves forbidden response

func (*ListPrimeMovesForbidden) WriteResponse

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

WriteResponse to the client

type ListPrimeMovesHandler

type ListPrimeMovesHandler interface {
	Handle(ListPrimeMovesParams) middleware.Responder
}

ListPrimeMovesHandler interface for that can handle valid list prime moves params

type ListPrimeMovesHandlerFunc

type ListPrimeMovesHandlerFunc func(ListPrimeMovesParams) middleware.Responder

ListPrimeMovesHandlerFunc turns a function with the right signature into a list prime moves handler

func (ListPrimeMovesHandlerFunc) Handle

Handle executing the request and returning a response

type ListPrimeMovesInternalServerError

type ListPrimeMovesInternalServerError struct {

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

ListPrimeMovesInternalServerError A server error occurred

swagger:response listPrimeMovesInternalServerError

func NewListPrimeMovesInternalServerError

func NewListPrimeMovesInternalServerError() *ListPrimeMovesInternalServerError

NewListPrimeMovesInternalServerError creates ListPrimeMovesInternalServerError with default headers values

func (*ListPrimeMovesInternalServerError) SetPayload

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

SetPayload sets the payload to the list prime moves internal server error response

func (*ListPrimeMovesInternalServerError) WithPayload

WithPayload adds the payload to the list prime moves internal server error response

func (*ListPrimeMovesInternalServerError) WriteResponse

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

WriteResponse to the client

type ListPrimeMovesOK

type ListPrimeMovesOK struct {

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

ListPrimeMovesOK Successfully retrieved moves. A successful fetch might still return zero moves.

swagger:response listPrimeMovesOK

func NewListPrimeMovesOK

func NewListPrimeMovesOK() *ListPrimeMovesOK

NewListPrimeMovesOK creates ListPrimeMovesOK with default headers values

func (*ListPrimeMovesOK) SetPayload

func (o *ListPrimeMovesOK) SetPayload(payload *ghcmessages.ListPrimeMovesResult)

SetPayload sets the payload to the list prime moves o k response

func (*ListPrimeMovesOK) WithPayload

WithPayload adds the payload to the list prime moves o k response

func (*ListPrimeMovesOK) WriteResponse

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

WriteResponse to the client

type ListPrimeMovesParams

type ListPrimeMovesParams struct {

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

	/*
	  In: query
	*/
	ID *string
	/*
	  In: query
	*/
	MoveCode *string
	/*order type
	  In: query
	*/
	OrderType *string
	/*requested page of results
	  In: query
	*/
	Page *int64
	/*results per page
	  In: query
	*/
	PerPage *int64
	/*Only return moves updated since this time. Formatted like "2021-07-23T18:30:47.116Z"
	  In: query
	*/
	Since *strfmt.DateTime
}

ListPrimeMovesParams contains all the bound params for the list prime moves operation typically these are obtained from a http.Request

swagger:parameters listPrimeMoves

func NewListPrimeMovesParams

func NewListPrimeMovesParams() ListPrimeMovesParams

NewListPrimeMovesParams creates a new ListPrimeMovesParams object

There are no default values defined in the spec.

func (*ListPrimeMovesParams) BindRequest

func (o *ListPrimeMovesParams) 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 NewListPrimeMovesParams() beforehand.

type ListPrimeMovesURL

type ListPrimeMovesURL struct {
	ID        *string
	MoveCode  *string
	OrderType *string
	Page      *int64
	PerPage   *int64
	Since     *strfmt.DateTime
	// contains filtered or unexported fields
}

ListPrimeMovesURL generates an URL for the list prime moves operation

func (*ListPrimeMovesURL) Build

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

Build a url path and query string

func (*ListPrimeMovesURL) BuildFull

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

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

func (*ListPrimeMovesURL) Must

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

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

func (*ListPrimeMovesURL) SetBasePath

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

func (o *ListPrimeMovesURL) String() string

String returns the string representation of the path with query string

func (*ListPrimeMovesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListPrimeMovesURL) WithBasePath

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

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

Jump to

Keyboard shortcuts

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