Documentation ¶
Index ¶
- Constants
- type GetElectronicOrdersTotals
- type GetElectronicOrdersTotalsBadRequest
- type GetElectronicOrdersTotalsHandler
- type GetElectronicOrdersTotalsHandlerFunc
- type GetElectronicOrdersTotalsInternalServerError
- type GetElectronicOrdersTotalsNotFound
- type GetElectronicOrdersTotalsOK
- func (o *GetElectronicOrdersTotalsOK) SetPayload(payload adminmessages.ElectronicOrdersTotals)
- func (o *GetElectronicOrdersTotalsOK) WithPayload(payload adminmessages.ElectronicOrdersTotals) *GetElectronicOrdersTotalsOK
- func (o *GetElectronicOrdersTotalsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetElectronicOrdersTotalsParams
- type GetElectronicOrdersTotalsURL
- func (o *GetElectronicOrdersTotalsURL) Build() (*url.URL, error)
- func (o *GetElectronicOrdersTotalsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetElectronicOrdersTotalsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetElectronicOrdersTotalsURL) SetBasePath(bp string)
- func (o *GetElectronicOrdersTotalsURL) String() string
- func (o *GetElectronicOrdersTotalsURL) StringFull(scheme, host string) string
- func (o *GetElectronicOrdersTotalsURL) WithBasePath(bp string) *GetElectronicOrdersTotalsURL
- type GetElectronicOrdersTotalsUnauthorized
- type IndexElectronicOrders
- type IndexElectronicOrdersBadRequest
- type IndexElectronicOrdersHandler
- type IndexElectronicOrdersHandlerFunc
- type IndexElectronicOrdersInternalServerError
- type IndexElectronicOrdersNotFound
- type IndexElectronicOrdersOK
- func (o *IndexElectronicOrdersOK) SetContentRange(contentRange string)
- func (o *IndexElectronicOrdersOK) SetPayload(payload adminmessages.ElectronicOrders)
- func (o *IndexElectronicOrdersOK) WithContentRange(contentRange string) *IndexElectronicOrdersOK
- func (o *IndexElectronicOrdersOK) WithPayload(payload adminmessages.ElectronicOrders) *IndexElectronicOrdersOK
- func (o *IndexElectronicOrdersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type IndexElectronicOrdersParams
- type IndexElectronicOrdersURL
- func (o *IndexElectronicOrdersURL) Build() (*url.URL, error)
- func (o *IndexElectronicOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *IndexElectronicOrdersURL) Must(u *url.URL, err error) *url.URL
- func (o *IndexElectronicOrdersURL) SetBasePath(bp string)
- func (o *IndexElectronicOrdersURL) String() string
- func (o *IndexElectronicOrdersURL) StringFull(scheme, host string) string
- func (o *IndexElectronicOrdersURL) WithBasePath(bp string) *IndexElectronicOrdersURL
- type IndexElectronicOrdersUnauthorized
Constants ¶
const GetElectronicOrdersTotalsBadRequestCode int = 400
GetElectronicOrdersTotalsBadRequestCode is the HTTP code returned for type GetElectronicOrdersTotalsBadRequest
const GetElectronicOrdersTotalsInternalServerErrorCode int = 500
GetElectronicOrdersTotalsInternalServerErrorCode is the HTTP code returned for type GetElectronicOrdersTotalsInternalServerError
const GetElectronicOrdersTotalsNotFoundCode int = 404
GetElectronicOrdersTotalsNotFoundCode is the HTTP code returned for type GetElectronicOrdersTotalsNotFound
const GetElectronicOrdersTotalsOKCode int = 200
GetElectronicOrdersTotalsOKCode is the HTTP code returned for type GetElectronicOrdersTotalsOK
GetElectronicOrdersTotalsUnauthorizedCode is the HTTP code returned for type GetElectronicOrdersTotalsUnauthorized
const IndexElectronicOrdersBadRequestCode int = 400
IndexElectronicOrdersBadRequestCode is the HTTP code returned for type IndexElectronicOrdersBadRequest
const IndexElectronicOrdersInternalServerErrorCode int = 500
IndexElectronicOrdersInternalServerErrorCode is the HTTP code returned for type IndexElectronicOrdersInternalServerError
const IndexElectronicOrdersNotFoundCode int = 404
IndexElectronicOrdersNotFoundCode is the HTTP code returned for type IndexElectronicOrdersNotFound
const IndexElectronicOrdersOKCode int = 200
IndexElectronicOrdersOKCode is the HTTP code returned for type IndexElectronicOrdersOK
IndexElectronicOrdersUnauthorizedCode is the HTTP code returned for type IndexElectronicOrdersUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetElectronicOrdersTotals ¶
type GetElectronicOrdersTotals struct { Context *middleware.Context Handler GetElectronicOrdersTotalsHandler }
GetElectronicOrdersTotals swagger:route GET /electronic-orders/totals Electronic orders getElectronicOrdersTotals
Get total counts for the orders stored in MilMove ¶
This endpoint returns a list of record counts for Electronic Orders. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.
func NewGetElectronicOrdersTotals ¶
func NewGetElectronicOrdersTotals(ctx *middleware.Context, handler GetElectronicOrdersTotalsHandler) *GetElectronicOrdersTotals
NewGetElectronicOrdersTotals creates a new http.Handler for the get electronic orders totals operation
func (*GetElectronicOrdersTotals) ServeHTTP ¶
func (o *GetElectronicOrdersTotals) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetElectronicOrdersTotalsBadRequest ¶
type GetElectronicOrdersTotalsBadRequest struct { }
GetElectronicOrdersTotalsBadRequest invalid request
swagger:response getElectronicOrdersTotalsBadRequest
func NewGetElectronicOrdersTotalsBadRequest ¶
func NewGetElectronicOrdersTotalsBadRequest() *GetElectronicOrdersTotalsBadRequest
NewGetElectronicOrdersTotalsBadRequest creates GetElectronicOrdersTotalsBadRequest with default headers values
func (*GetElectronicOrdersTotalsBadRequest) WriteResponse ¶
func (o *GetElectronicOrdersTotalsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetElectronicOrdersTotalsHandler ¶
type GetElectronicOrdersTotalsHandler interface {
Handle(GetElectronicOrdersTotalsParams) middleware.Responder
}
GetElectronicOrdersTotalsHandler interface for that can handle valid get electronic orders totals params
type GetElectronicOrdersTotalsHandlerFunc ¶
type GetElectronicOrdersTotalsHandlerFunc func(GetElectronicOrdersTotalsParams) middleware.Responder
GetElectronicOrdersTotalsHandlerFunc turns a function with the right signature into a get electronic orders totals handler
func (GetElectronicOrdersTotalsHandlerFunc) Handle ¶
func (fn GetElectronicOrdersTotalsHandlerFunc) Handle(params GetElectronicOrdersTotalsParams) middleware.Responder
Handle executing the request and returning a response
type GetElectronicOrdersTotalsInternalServerError ¶
type GetElectronicOrdersTotalsInternalServerError struct { }
GetElectronicOrdersTotalsInternalServerError server error
swagger:response getElectronicOrdersTotalsInternalServerError
func NewGetElectronicOrdersTotalsInternalServerError ¶
func NewGetElectronicOrdersTotalsInternalServerError() *GetElectronicOrdersTotalsInternalServerError
NewGetElectronicOrdersTotalsInternalServerError creates GetElectronicOrdersTotalsInternalServerError with default headers values
func (*GetElectronicOrdersTotalsInternalServerError) WriteResponse ¶
func (o *GetElectronicOrdersTotalsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetElectronicOrdersTotalsNotFound ¶
type GetElectronicOrdersTotalsNotFound struct { }
GetElectronicOrdersTotalsNotFound Total count for Electronic Orders not found
swagger:response getElectronicOrdersTotalsNotFound
func NewGetElectronicOrdersTotalsNotFound ¶
func NewGetElectronicOrdersTotalsNotFound() *GetElectronicOrdersTotalsNotFound
NewGetElectronicOrdersTotalsNotFound creates GetElectronicOrdersTotalsNotFound with default headers values
func (*GetElectronicOrdersTotalsNotFound) WriteResponse ¶
func (o *GetElectronicOrdersTotalsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetElectronicOrdersTotalsOK ¶
type GetElectronicOrdersTotalsOK struct { /* In: Body */ Payload adminmessages.ElectronicOrdersTotals `json:"body,omitempty"` }
GetElectronicOrdersTotalsOK success
swagger:response getElectronicOrdersTotalsOK
func NewGetElectronicOrdersTotalsOK ¶
func NewGetElectronicOrdersTotalsOK() *GetElectronicOrdersTotalsOK
NewGetElectronicOrdersTotalsOK creates GetElectronicOrdersTotalsOK with default headers values
func (*GetElectronicOrdersTotalsOK) SetPayload ¶
func (o *GetElectronicOrdersTotalsOK) SetPayload(payload adminmessages.ElectronicOrdersTotals)
SetPayload sets the payload to the get electronic orders totals o k response
func (*GetElectronicOrdersTotalsOK) WithPayload ¶
func (o *GetElectronicOrdersTotalsOK) WithPayload(payload adminmessages.ElectronicOrdersTotals) *GetElectronicOrdersTotalsOK
WithPayload adds the payload to the get electronic orders totals o k response
func (*GetElectronicOrdersTotalsOK) WriteResponse ¶
func (o *GetElectronicOrdersTotalsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetElectronicOrdersTotalsParams ¶
type GetElectronicOrdersTotalsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ AndFilter []string /* In: query */ Filter []string }
GetElectronicOrdersTotalsParams contains all the bound params for the get electronic orders totals operation typically these are obtained from a http.Request
swagger:parameters getElectronicOrdersTotals
func NewGetElectronicOrdersTotalsParams ¶
func NewGetElectronicOrdersTotalsParams() GetElectronicOrdersTotalsParams
NewGetElectronicOrdersTotalsParams creates a new GetElectronicOrdersTotalsParams object
There are no default values defined in the spec.
func (*GetElectronicOrdersTotalsParams) BindRequest ¶
func (o *GetElectronicOrdersTotalsParams) 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 NewGetElectronicOrdersTotalsParams() beforehand.
type GetElectronicOrdersTotalsURL ¶
type GetElectronicOrdersTotalsURL struct { AndFilter []string Filter []string // contains filtered or unexported fields }
GetElectronicOrdersTotalsURL generates an URL for the get electronic orders totals operation
func (*GetElectronicOrdersTotalsURL) Build ¶
func (o *GetElectronicOrdersTotalsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetElectronicOrdersTotalsURL) BuildFull ¶
func (o *GetElectronicOrdersTotalsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetElectronicOrdersTotalsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetElectronicOrdersTotalsURL) SetBasePath ¶
func (o *GetElectronicOrdersTotalsURL) 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 (*GetElectronicOrdersTotalsURL) String ¶
func (o *GetElectronicOrdersTotalsURL) String() string
String returns the string representation of the path with query string
func (*GetElectronicOrdersTotalsURL) StringFull ¶
func (o *GetElectronicOrdersTotalsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetElectronicOrdersTotalsURL) WithBasePath ¶
func (o *GetElectronicOrdersTotalsURL) WithBasePath(bp string) *GetElectronicOrdersTotalsURL
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 GetElectronicOrdersTotalsUnauthorized ¶
type GetElectronicOrdersTotalsUnauthorized struct { }
GetElectronicOrdersTotalsUnauthorized request requires user authentication
swagger:response getElectronicOrdersTotalsUnauthorized
func NewGetElectronicOrdersTotalsUnauthorized ¶
func NewGetElectronicOrdersTotalsUnauthorized() *GetElectronicOrdersTotalsUnauthorized
NewGetElectronicOrdersTotalsUnauthorized creates GetElectronicOrdersTotalsUnauthorized with default headers values
func (*GetElectronicOrdersTotalsUnauthorized) WriteResponse ¶
func (o *GetElectronicOrdersTotalsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexElectronicOrders ¶
type IndexElectronicOrders struct { Context *middleware.Context Handler IndexElectronicOrdersHandler }
IndexElectronicOrders swagger:route GET /electronic-orders Electronic orders indexElectronicOrders
List Electronic Orders ¶
This endpoint returns a list of Electronic Orders. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.
func NewIndexElectronicOrders ¶
func NewIndexElectronicOrders(ctx *middleware.Context, handler IndexElectronicOrdersHandler) *IndexElectronicOrders
NewIndexElectronicOrders creates a new http.Handler for the index electronic orders operation
func (*IndexElectronicOrders) ServeHTTP ¶
func (o *IndexElectronicOrders) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type IndexElectronicOrdersBadRequest ¶
type IndexElectronicOrdersBadRequest struct { }
IndexElectronicOrdersBadRequest invalid request
swagger:response indexElectronicOrdersBadRequest
func NewIndexElectronicOrdersBadRequest ¶
func NewIndexElectronicOrdersBadRequest() *IndexElectronicOrdersBadRequest
NewIndexElectronicOrdersBadRequest creates IndexElectronicOrdersBadRequest with default headers values
func (*IndexElectronicOrdersBadRequest) WriteResponse ¶
func (o *IndexElectronicOrdersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexElectronicOrdersHandler ¶
type IndexElectronicOrdersHandler interface {
Handle(IndexElectronicOrdersParams) middleware.Responder
}
IndexElectronicOrdersHandler interface for that can handle valid index electronic orders params
type IndexElectronicOrdersHandlerFunc ¶
type IndexElectronicOrdersHandlerFunc func(IndexElectronicOrdersParams) middleware.Responder
IndexElectronicOrdersHandlerFunc turns a function with the right signature into a index electronic orders handler
func (IndexElectronicOrdersHandlerFunc) Handle ¶
func (fn IndexElectronicOrdersHandlerFunc) Handle(params IndexElectronicOrdersParams) middleware.Responder
Handle executing the request and returning a response
type IndexElectronicOrdersInternalServerError ¶
type IndexElectronicOrdersInternalServerError struct { }
IndexElectronicOrdersInternalServerError server error
swagger:response indexElectronicOrdersInternalServerError
func NewIndexElectronicOrdersInternalServerError ¶
func NewIndexElectronicOrdersInternalServerError() *IndexElectronicOrdersInternalServerError
NewIndexElectronicOrdersInternalServerError creates IndexElectronicOrdersInternalServerError with default headers values
func (*IndexElectronicOrdersInternalServerError) WriteResponse ¶
func (o *IndexElectronicOrdersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexElectronicOrdersNotFound ¶
type IndexElectronicOrdersNotFound struct { }
IndexElectronicOrdersNotFound Electronic Order not found
swagger:response indexElectronicOrdersNotFound
func NewIndexElectronicOrdersNotFound ¶
func NewIndexElectronicOrdersNotFound() *IndexElectronicOrdersNotFound
NewIndexElectronicOrdersNotFound creates IndexElectronicOrdersNotFound with default headers values
func (*IndexElectronicOrdersNotFound) WriteResponse ¶
func (o *IndexElectronicOrdersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexElectronicOrdersOK ¶
type IndexElectronicOrdersOK struct { /*Used for pagination */ ContentRange string `json:"Content-Range"` /* In: Body */ Payload adminmessages.ElectronicOrders `json:"body,omitempty"` }
IndexElectronicOrdersOK success
swagger:response indexElectronicOrdersOK
func NewIndexElectronicOrdersOK ¶
func NewIndexElectronicOrdersOK() *IndexElectronicOrdersOK
NewIndexElectronicOrdersOK creates IndexElectronicOrdersOK with default headers values
func (*IndexElectronicOrdersOK) SetContentRange ¶
func (o *IndexElectronicOrdersOK) SetContentRange(contentRange string)
SetContentRange sets the contentRange to the index electronic orders o k response
func (*IndexElectronicOrdersOK) SetPayload ¶
func (o *IndexElectronicOrdersOK) SetPayload(payload adminmessages.ElectronicOrders)
SetPayload sets the payload to the index electronic orders o k response
func (*IndexElectronicOrdersOK) WithContentRange ¶
func (o *IndexElectronicOrdersOK) WithContentRange(contentRange string) *IndexElectronicOrdersOK
WithContentRange adds the contentRange to the index electronic orders o k response
func (*IndexElectronicOrdersOK) WithPayload ¶
func (o *IndexElectronicOrdersOK) WithPayload(payload adminmessages.ElectronicOrders) *IndexElectronicOrdersOK
WithPayload adds the payload to the index electronic orders o k response
func (*IndexElectronicOrdersOK) WriteResponse ¶
func (o *IndexElectronicOrdersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexElectronicOrdersParams ¶
type IndexElectronicOrdersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter []string /* In: query */ Order *bool /* In: query */ Page *int64 /* In: query */ PerPage *int64 /* In: query */ Sort *string }
IndexElectronicOrdersParams contains all the bound params for the index electronic orders operation typically these are obtained from a http.Request
swagger:parameters indexElectronicOrders
func NewIndexElectronicOrdersParams ¶
func NewIndexElectronicOrdersParams() IndexElectronicOrdersParams
NewIndexElectronicOrdersParams creates a new IndexElectronicOrdersParams object
There are no default values defined in the spec.
func (*IndexElectronicOrdersParams) BindRequest ¶
func (o *IndexElectronicOrdersParams) 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 NewIndexElectronicOrdersParams() beforehand.
type IndexElectronicOrdersURL ¶
type IndexElectronicOrdersURL struct { Filter []string Order *bool Page *int64 PerPage *int64 Sort *string // contains filtered or unexported fields }
IndexElectronicOrdersURL generates an URL for the index electronic orders operation
func (*IndexElectronicOrdersURL) Build ¶
func (o *IndexElectronicOrdersURL) Build() (*url.URL, error)
Build a url path and query string
func (*IndexElectronicOrdersURL) BuildFull ¶
func (o *IndexElectronicOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*IndexElectronicOrdersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*IndexElectronicOrdersURL) SetBasePath ¶
func (o *IndexElectronicOrdersURL) 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 (*IndexElectronicOrdersURL) String ¶
func (o *IndexElectronicOrdersURL) String() string
String returns the string representation of the path with query string
func (*IndexElectronicOrdersURL) StringFull ¶
func (o *IndexElectronicOrdersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*IndexElectronicOrdersURL) WithBasePath ¶
func (o *IndexElectronicOrdersURL) WithBasePath(bp string) *IndexElectronicOrdersURL
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 IndexElectronicOrdersUnauthorized ¶
type IndexElectronicOrdersUnauthorized struct { }
IndexElectronicOrdersUnauthorized request requires user authentication
swagger:response indexElectronicOrdersUnauthorized
func NewIndexElectronicOrdersUnauthorized ¶
func NewIndexElectronicOrdersUnauthorized() *IndexElectronicOrdersUnauthorized
NewIndexElectronicOrdersUnauthorized creates IndexElectronicOrdersUnauthorized with default headers values
func (*IndexElectronicOrdersUnauthorized) WriteResponse ¶
func (o *IndexElectronicOrdersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client