moves

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

Documentation

Index

Constants

View Source
const PptasReportsForbiddenCode int = 403

PptasReportsForbiddenCode is the HTTP code returned for type PptasReportsForbidden

View Source
const PptasReportsInternalServerErrorCode int = 500

PptasReportsInternalServerErrorCode is the HTTP code returned for type PptasReportsInternalServerError

View Source
const PptasReportsOKCode int = 200

PptasReportsOKCode is the HTTP code returned for type PptasReportsOK

View Source
const PptasReportsUnauthorizedCode int = 401

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

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

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

SetPayload sets the payload to the pptas reports internal server error response

func (*PptasReportsInternalServerError) WithPayload

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

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

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

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

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 {

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

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

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

Jump to

Keyboard shortcuts

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