Documentation ¶
Index ¶
- Constants
- type GetMovesQueue
- type GetMovesQueueForbidden
- type GetMovesQueueHandler
- type GetMovesQueueHandlerFunc
- type GetMovesQueueInternalServerError
- func (o *GetMovesQueueInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetMovesQueueInternalServerError) WithPayload(payload *ghcmessages.Error) *GetMovesQueueInternalServerError
- func (o *GetMovesQueueInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetMovesQueueOK
- type GetMovesQueueParams
- type GetMovesQueueURL
- func (o *GetMovesQueueURL) Build() (*url.URL, error)
- func (o *GetMovesQueueURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMovesQueueURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMovesQueueURL) SetBasePath(bp string)
- func (o *GetMovesQueueURL) String() string
- func (o *GetMovesQueueURL) StringFull(scheme, host string) string
- func (o *GetMovesQueueURL) WithBasePath(bp string) *GetMovesQueueURL
- type GetPaymentRequestsQueue
- type GetPaymentRequestsQueueForbidden
- func (o *GetPaymentRequestsQueueForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *GetPaymentRequestsQueueForbidden) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsQueueForbidden
- func (o *GetPaymentRequestsQueueForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPaymentRequestsQueueHandler
- type GetPaymentRequestsQueueHandlerFunc
- type GetPaymentRequestsQueueInternalServerError
- func (o *GetPaymentRequestsQueueInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetPaymentRequestsQueueInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsQueueInternalServerError
- func (o *GetPaymentRequestsQueueInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPaymentRequestsQueueOK
- func (o *GetPaymentRequestsQueueOK) SetPayload(payload *ghcmessages.QueuePaymentRequestsResult)
- func (o *GetPaymentRequestsQueueOK) WithPayload(payload *ghcmessages.QueuePaymentRequestsResult) *GetPaymentRequestsQueueOK
- func (o *GetPaymentRequestsQueueOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPaymentRequestsQueueParams
- type GetPaymentRequestsQueueURL
- func (o *GetPaymentRequestsQueueURL) Build() (*url.URL, error)
- func (o *GetPaymentRequestsQueueURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPaymentRequestsQueueURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPaymentRequestsQueueURL) SetBasePath(bp string)
- func (o *GetPaymentRequestsQueueURL) String() string
- func (o *GetPaymentRequestsQueueURL) StringFull(scheme, host string) string
- func (o *GetPaymentRequestsQueueURL) WithBasePath(bp string) *GetPaymentRequestsQueueURL
- type GetServicesCounselingOriginList
- type GetServicesCounselingOriginListForbidden
- func (o *GetServicesCounselingOriginListForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *GetServicesCounselingOriginListForbidden) WithPayload(payload *ghcmessages.Error) *GetServicesCounselingOriginListForbidden
- func (o *GetServicesCounselingOriginListForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServicesCounselingOriginListHandler
- type GetServicesCounselingOriginListHandlerFunc
- type GetServicesCounselingOriginListInternalServerError
- func (o *GetServicesCounselingOriginListInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetServicesCounselingOriginListInternalServerError) WithPayload(payload *ghcmessages.Error) *GetServicesCounselingOriginListInternalServerError
- func (o *GetServicesCounselingOriginListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServicesCounselingOriginListOK
- func (o *GetServicesCounselingOriginListOK) SetPayload(payload ghcmessages.Locations)
- func (o *GetServicesCounselingOriginListOK) WithPayload(payload ghcmessages.Locations) *GetServicesCounselingOriginListOK
- func (o *GetServicesCounselingOriginListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServicesCounselingOriginListParams
- type GetServicesCounselingOriginListURL
- func (o *GetServicesCounselingOriginListURL) Build() (*url.URL, error)
- func (o *GetServicesCounselingOriginListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServicesCounselingOriginListURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServicesCounselingOriginListURL) SetBasePath(bp string)
- func (o *GetServicesCounselingOriginListURL) String() string
- func (o *GetServicesCounselingOriginListURL) StringFull(scheme, host string) string
- func (o *GetServicesCounselingOriginListURL) WithBasePath(bp string) *GetServicesCounselingOriginListURL
- type GetServicesCounselingQueue
- type GetServicesCounselingQueueForbidden
- func (o *GetServicesCounselingQueueForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *GetServicesCounselingQueueForbidden) WithPayload(payload *ghcmessages.Error) *GetServicesCounselingQueueForbidden
- func (o *GetServicesCounselingQueueForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServicesCounselingQueueHandler
- type GetServicesCounselingQueueHandlerFunc
- type GetServicesCounselingQueueInternalServerError
- func (o *GetServicesCounselingQueueInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetServicesCounselingQueueInternalServerError) WithPayload(payload *ghcmessages.Error) *GetServicesCounselingQueueInternalServerError
- func (o *GetServicesCounselingQueueInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServicesCounselingQueueOK
- func (o *GetServicesCounselingQueueOK) SetPayload(payload *ghcmessages.QueueMovesResult)
- func (o *GetServicesCounselingQueueOK) WithPayload(payload *ghcmessages.QueueMovesResult) *GetServicesCounselingQueueOK
- func (o *GetServicesCounselingQueueOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServicesCounselingQueueParams
- type GetServicesCounselingQueueURL
- func (o *GetServicesCounselingQueueURL) Build() (*url.URL, error)
- func (o *GetServicesCounselingQueueURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServicesCounselingQueueURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServicesCounselingQueueURL) SetBasePath(bp string)
- func (o *GetServicesCounselingQueueURL) String() string
- func (o *GetServicesCounselingQueueURL) StringFull(scheme, host string) string
- func (o *GetServicesCounselingQueueURL) WithBasePath(bp string) *GetServicesCounselingQueueURL
- type ListPrimeMoves
- type ListPrimeMovesForbidden
- type ListPrimeMovesHandler
- type ListPrimeMovesHandlerFunc
- type ListPrimeMovesInternalServerError
- func (o *ListPrimeMovesInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *ListPrimeMovesInternalServerError) WithPayload(payload *ghcmessages.Error) *ListPrimeMovesInternalServerError
- func (o *ListPrimeMovesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListPrimeMovesOK
- type ListPrimeMovesParams
- type ListPrimeMovesURL
- func (o *ListPrimeMovesURL) Build() (*url.URL, error)
- func (o *ListPrimeMovesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListPrimeMovesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListPrimeMovesURL) SetBasePath(bp string)
- func (o *ListPrimeMovesURL) String() string
- func (o *ListPrimeMovesURL) StringFull(scheme, host string) string
- func (o *ListPrimeMovesURL) WithBasePath(bp string) *ListPrimeMovesURL
Constants ¶
const GetMovesQueueForbiddenCode int = 403
GetMovesQueueForbiddenCode is the HTTP code returned for type GetMovesQueueForbidden
const GetMovesQueueInternalServerErrorCode int = 500
GetMovesQueueInternalServerErrorCode is the HTTP code returned for type GetMovesQueueInternalServerError
const GetMovesQueueOKCode int = 200
GetMovesQueueOKCode is the HTTP code returned for type GetMovesQueueOK
const GetPaymentRequestsQueueForbiddenCode int = 403
GetPaymentRequestsQueueForbiddenCode is the HTTP code returned for type GetPaymentRequestsQueueForbidden
const GetPaymentRequestsQueueInternalServerErrorCode int = 500
GetPaymentRequestsQueueInternalServerErrorCode is the HTTP code returned for type GetPaymentRequestsQueueInternalServerError
const GetPaymentRequestsQueueOKCode int = 200
GetPaymentRequestsQueueOKCode is the HTTP code returned for type GetPaymentRequestsQueueOK
const GetServicesCounselingOriginListForbiddenCode int = 403
GetServicesCounselingOriginListForbiddenCode is the HTTP code returned for type GetServicesCounselingOriginListForbidden
const GetServicesCounselingOriginListInternalServerErrorCode int = 500
GetServicesCounselingOriginListInternalServerErrorCode is the HTTP code returned for type GetServicesCounselingOriginListInternalServerError
const GetServicesCounselingOriginListOKCode int = 200
GetServicesCounselingOriginListOKCode is the HTTP code returned for type GetServicesCounselingOriginListOK
const GetServicesCounselingQueueForbiddenCode int = 403
GetServicesCounselingQueueForbiddenCode is the HTTP code returned for type GetServicesCounselingQueueForbidden
const GetServicesCounselingQueueInternalServerErrorCode int = 500
GetServicesCounselingQueueInternalServerErrorCode is the HTTP code returned for type GetServicesCounselingQueueInternalServerError
const GetServicesCounselingQueueOKCode int = 200
GetServicesCounselingQueueOKCode is the HTTP code returned for type GetServicesCounselingQueueOK
const ListPrimeMovesForbiddenCode int = 403
ListPrimeMovesForbiddenCode is the HTTP code returned for type ListPrimeMovesForbidden
const ListPrimeMovesInternalServerErrorCode int = 500
ListPrimeMovesInternalServerErrorCode is the HTTP code returned for type ListPrimeMovesInternalServerError
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 ¶
func (o *GetMovesQueueForbidden) WithPayload(payload *ghcmessages.Error) *GetMovesQueueForbidden
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 ¶
func (fn GetMovesQueueHandlerFunc) Handle(params GetMovesQueueParams) middleware.Responder
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 ¶
func (o *GetMovesQueueInternalServerError) WithPayload(payload *ghcmessages.Error) *GetMovesQueueInternalServerError
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 ¶
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 ¶
func (o *GetPaymentRequestsQueue) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *GetPaymentRequestsQueueForbidden) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsQueueForbidden
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 ¶
func (fn GetPaymentRequestsQueueHandlerFunc) Handle(params GetPaymentRequestsQueueParams) middleware.Responder
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 ¶
func (o *GetPaymentRequestsQueueInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get payment requests queue internal server error response
func (*GetPaymentRequestsQueueInternalServerError) WithPayload ¶
func (o *GetPaymentRequestsQueueInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPaymentRequestsQueueInternalServerError
WithPayload adds the payload to the get payment requests queue internal server error response
func (*GetPaymentRequestsQueueInternalServerError) WriteResponse ¶
func (o *GetPaymentRequestsQueueInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetPaymentRequestsQueueOK) SetPayload(payload *ghcmessages.QueuePaymentRequestsResult)
SetPayload sets the payload to the get payment requests queue o k response
func (*GetPaymentRequestsQueueOK) WithPayload ¶
func (o *GetPaymentRequestsQueueOK) WithPayload(payload *ghcmessages.QueuePaymentRequestsResult) *GetPaymentRequestsQueueOK
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 ¶
func (o *GetPaymentRequestsQueueParams) 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 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 ¶
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 ¶
func (o *GetPaymentRequestsQueueURL) WithBasePath(bp string) *GetPaymentRequestsQueueURL
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 ¶
func (o *GetServicesCounselingOriginList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *GetServicesCounselingOriginListForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get services counseling origin list forbidden response
func (*GetServicesCounselingOriginListForbidden) WithPayload ¶
func (o *GetServicesCounselingOriginListForbidden) WithPayload(payload *ghcmessages.Error) *GetServicesCounselingOriginListForbidden
WithPayload adds the payload to the get services counseling origin list forbidden response
func (*GetServicesCounselingOriginListForbidden) WriteResponse ¶
func (o *GetServicesCounselingOriginListForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn GetServicesCounselingOriginListHandlerFunc) Handle(params GetServicesCounselingOriginListParams) middleware.Responder
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 ¶
func (o *GetServicesCounselingOriginListInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get services counseling origin list internal server error response
func (*GetServicesCounselingOriginListInternalServerError) WithPayload ¶
func (o *GetServicesCounselingOriginListInternalServerError) WithPayload(payload *ghcmessages.Error) *GetServicesCounselingOriginListInternalServerError
WithPayload adds the payload to the get services counseling origin list internal server error response
func (*GetServicesCounselingOriginListInternalServerError) WriteResponse ¶
func (o *GetServicesCounselingOriginListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetServicesCounselingOriginListOK) SetPayload(payload ghcmessages.Locations)
SetPayload sets the payload to the get services counseling origin list o k response
func (*GetServicesCounselingOriginListOK) WithPayload ¶
func (o *GetServicesCounselingOriginListOK) WithPayload(payload ghcmessages.Locations) *GetServicesCounselingOriginListOK
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 ¶
func (o *GetServicesCounselingOriginListParams) 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 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 ¶
func (o *GetServicesCounselingOriginListURL) Build() (*url.URL, error)
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 ¶
func (o *GetServicesCounselingOriginListURL) String() 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 ¶
func (o *GetServicesCounselingOriginListURL) WithBasePath(bp string) *GetServicesCounselingOriginListURL
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 ¶
func (o *GetServicesCounselingQueue) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *GetServicesCounselingQueueForbidden) WithPayload(payload *ghcmessages.Error) *GetServicesCounselingQueueForbidden
WithPayload adds the payload to the get services counseling queue forbidden response
func (*GetServicesCounselingQueueForbidden) WriteResponse ¶
func (o *GetServicesCounselingQueueForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn GetServicesCounselingQueueHandlerFunc) Handle(params GetServicesCounselingQueueParams) middleware.Responder
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 ¶
func (o *GetServicesCounselingQueueInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get services counseling queue internal server error response
func (*GetServicesCounselingQueueInternalServerError) WithPayload ¶
func (o *GetServicesCounselingQueueInternalServerError) WithPayload(payload *ghcmessages.Error) *GetServicesCounselingQueueInternalServerError
WithPayload adds the payload to the get services counseling queue internal server error response
func (*GetServicesCounselingQueueInternalServerError) WriteResponse ¶
func (o *GetServicesCounselingQueueInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetServicesCounselingQueueOK) SetPayload(payload *ghcmessages.QueueMovesResult)
SetPayload sets the payload to the get services counseling queue o k response
func (*GetServicesCounselingQueueOK) WithPayload ¶
func (o *GetServicesCounselingQueueOK) WithPayload(payload *ghcmessages.QueueMovesResult) *GetServicesCounselingQueueOK
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 ¶
func (o *GetServicesCounselingQueueParams) 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 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 ¶
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 ¶
func (o *GetServicesCounselingQueueURL) String() 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 ¶
func (o *GetServicesCounselingQueueURL) WithBasePath(bp string) *GetServicesCounselingQueueURL
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 ¶
func (o *ListPrimeMovesForbidden) WithPayload(payload *ghcmessages.Error) *ListPrimeMovesForbidden
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 ¶
func (fn ListPrimeMovesHandlerFunc) Handle(params ListPrimeMovesParams) middleware.Responder
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 ¶
func (o *ListPrimeMovesInternalServerError) WithPayload(payload *ghcmessages.Error) *ListPrimeMovesInternalServerError
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 ¶
func (o *ListPrimeMovesOK) WithPayload(payload *ghcmessages.ListPrimeMovesResult) *ListPrimeMovesOK
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 ¶
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
Source Files ¶
- get_moves_queue.go
- get_moves_queue_parameters.go
- get_moves_queue_responses.go
- get_moves_queue_urlbuilder.go
- get_payment_requests_queue.go
- get_payment_requests_queue_parameters.go
- get_payment_requests_queue_responses.go
- get_payment_requests_queue_urlbuilder.go
- get_services_counseling_origin_list.go
- get_services_counseling_origin_list_parameters.go
- get_services_counseling_origin_list_responses.go
- get_services_counseling_origin_list_urlbuilder.go
- get_services_counseling_queue.go
- get_services_counseling_queue_parameters.go
- get_services_counseling_queue_responses.go
- get_services_counseling_queue_urlbuilder.go
- list_prime_moves.go
- list_prime_moves_parameters.go
- list_prime_moves_responses.go
- list_prime_moves_urlbuilder.go