Documentation ¶
Index ¶
- Constants
- type PptasReports
- type PptasReportsForbidden
- type PptasReportsHandler
- type PptasReportsHandlerFunc
- type PptasReportsInternalServerError
- func (o *PptasReportsInternalServerError) SetPayload(payload *pptasmessages.ClientError)
- func (o *PptasReportsInternalServerError) WithPayload(payload *pptasmessages.ClientError) *PptasReportsInternalServerError
- func (o *PptasReportsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PptasReportsOK
- type PptasReportsParams
- type PptasReportsURL
- func (o *PptasReportsURL) Build() (*url.URL, error)
- func (o *PptasReportsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PptasReportsURL) Must(u *url.URL, err error) *url.URL
- func (o *PptasReportsURL) SetBasePath(bp string)
- func (o *PptasReportsURL) String() string
- func (o *PptasReportsURL) StringFull(scheme, host string) string
- func (o *PptasReportsURL) WithBasePath(bp string) *PptasReportsURL
- type PptasReportsUnauthorized
Constants ¶
const PptasReportsForbiddenCode int = 403
PptasReportsForbiddenCode is the HTTP code returned for type PptasReportsForbidden
const PptasReportsInternalServerErrorCode int = 500
PptasReportsInternalServerErrorCode is the HTTP code returned for type PptasReportsInternalServerError
const PptasReportsOKCode int = 200
PptasReportsOKCode is the HTTP code returned for type PptasReportsOK
PptasReportsUnauthorizedCode is the HTTP code returned for type PptasReportsUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PptasReports ¶
type PptasReports struct { Context *middleware.Context Handler PptasReportsHandler }
PptasReports swagger:route GET /moves moves pptasReports
PPTASReports ¶
Gets all reports that have been approved. Based on payment requests, includes data from Move, Shipments, Orders, and Transportation Accounting Codes and Lines of Accounting.
func NewPptasReports ¶
func NewPptasReports(ctx *middleware.Context, handler PptasReportsHandler) *PptasReports
NewPptasReports creates a new http.Handler for the pptas reports operation
func (*PptasReports) ServeHTTP ¶
func (o *PptasReports) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PptasReportsForbidden ¶
type PptasReportsForbidden struct { /* In: Body */ Payload *pptasmessages.ClientError `json:"body,omitempty"` }
PptasReportsForbidden The request was denied.
swagger:response pptasReportsForbidden
func NewPptasReportsForbidden ¶
func NewPptasReportsForbidden() *PptasReportsForbidden
NewPptasReportsForbidden creates PptasReportsForbidden with default headers values
func (*PptasReportsForbidden) SetPayload ¶
func (o *PptasReportsForbidden) SetPayload(payload *pptasmessages.ClientError)
SetPayload sets the payload to the pptas reports forbidden response
func (*PptasReportsForbidden) WithPayload ¶
func (o *PptasReportsForbidden) WithPayload(payload *pptasmessages.ClientError) *PptasReportsForbidden
WithPayload adds the payload to the pptas reports forbidden response
func (*PptasReportsForbidden) WriteResponse ¶
func (o *PptasReportsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PptasReportsHandler ¶
type PptasReportsHandler interface {
Handle(PptasReportsParams) middleware.Responder
}
PptasReportsHandler interface for that can handle valid pptas reports params
type PptasReportsHandlerFunc ¶
type PptasReportsHandlerFunc func(PptasReportsParams) middleware.Responder
PptasReportsHandlerFunc turns a function with the right signature into a pptas reports handler
func (PptasReportsHandlerFunc) Handle ¶
func (fn PptasReportsHandlerFunc) Handle(params PptasReportsParams) middleware.Responder
Handle executing the request and returning a response
type PptasReportsInternalServerError ¶
type PptasReportsInternalServerError struct { /* In: Body */ Payload *pptasmessages.ClientError `json:"body,omitempty"` }
PptasReportsInternalServerError An unexpected error has occurred in the server.
swagger:response pptasReportsInternalServerError
func NewPptasReportsInternalServerError ¶
func NewPptasReportsInternalServerError() *PptasReportsInternalServerError
NewPptasReportsInternalServerError creates PptasReportsInternalServerError with default headers values
func (*PptasReportsInternalServerError) SetPayload ¶
func (o *PptasReportsInternalServerError) SetPayload(payload *pptasmessages.ClientError)
SetPayload sets the payload to the pptas reports internal server error response
func (*PptasReportsInternalServerError) WithPayload ¶
func (o *PptasReportsInternalServerError) WithPayload(payload *pptasmessages.ClientError) *PptasReportsInternalServerError
WithPayload adds the payload to the pptas reports internal server error response
func (*PptasReportsInternalServerError) WriteResponse ¶
func (o *PptasReportsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PptasReportsOK ¶
type PptasReportsOK struct { /* In: Body */ Payload pptasmessages.PPTASReports `json:"body,omitempty"` }
PptasReportsOK Successfully retrieved pptas reports. A successful fetch might still return zero pptas reports.
swagger:response pptasReportsOK
func NewPptasReportsOK ¶
func NewPptasReportsOK() *PptasReportsOK
NewPptasReportsOK creates PptasReportsOK with default headers values
func (*PptasReportsOK) SetPayload ¶
func (o *PptasReportsOK) SetPayload(payload pptasmessages.PPTASReports)
SetPayload sets the payload to the pptas reports o k response
func (*PptasReportsOK) WithPayload ¶
func (o *PptasReportsOK) WithPayload(payload pptasmessages.PPTASReports) *PptasReportsOK
WithPayload adds the payload to the pptas reports o k response
func (*PptasReportsOK) WriteResponse ¶
func (o *PptasReportsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PptasReportsParams ¶
type PptasReportsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Only return moves updated since this time. Formatted like "2021-07-23T18:30:47.116Z" In: query */ Since *strfmt.DateTime }
PptasReportsParams contains all the bound params for the pptas reports operation typically these are obtained from a http.Request
swagger:parameters pptasReports
func NewPptasReportsParams ¶
func NewPptasReportsParams() PptasReportsParams
NewPptasReportsParams creates a new PptasReportsParams object
There are no default values defined in the spec.
func (*PptasReportsParams) BindRequest ¶
func (o *PptasReportsParams) 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 NewPptasReportsParams() beforehand.
type PptasReportsURL ¶
PptasReportsURL generates an URL for the pptas reports operation
func (*PptasReportsURL) Build ¶
func (o *PptasReportsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PptasReportsURL) BuildFull ¶
func (o *PptasReportsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PptasReportsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PptasReportsURL) SetBasePath ¶
func (o *PptasReportsURL) 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 (*PptasReportsURL) String ¶
func (o *PptasReportsURL) String() string
String returns the string representation of the path with query string
func (*PptasReportsURL) StringFull ¶
func (o *PptasReportsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PptasReportsURL) WithBasePath ¶
func (o *PptasReportsURL) WithBasePath(bp string) *PptasReportsURL
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 PptasReportsUnauthorized ¶
type PptasReportsUnauthorized struct { pptasmessages.ClientError `json:"body,omitempty"` }Payload *
PptasReportsUnauthorized The request was denied.
swagger:response pptasReportsUnauthorized
func NewPptasReportsUnauthorized ¶
func NewPptasReportsUnauthorized() *PptasReportsUnauthorized
NewPptasReportsUnauthorized creates PptasReportsUnauthorized with default headers values
func (*PptasReportsUnauthorized) SetPayload ¶
func (o *PptasReportsUnauthorized) SetPayload(payload *pptasmessages.ClientError)
SetPayload sets the payload to the pptas reports unauthorized response
func (*PptasReportsUnauthorized) WithPayload ¶
func (o *PptasReportsUnauthorized) WithPayload(payload *pptasmessages.ClientError) *PptasReportsUnauthorized
WithPayload adds the payload to the pptas reports unauthorized response
func (*PptasReportsUnauthorized) WriteResponse ¶
func (o *PptasReportsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client