electronic_orders

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 GetElectronicOrdersTotalsBadRequestCode int = 400

GetElectronicOrdersTotalsBadRequestCode is the HTTP code returned for type GetElectronicOrdersTotalsBadRequest

View Source
const GetElectronicOrdersTotalsInternalServerErrorCode int = 500

GetElectronicOrdersTotalsInternalServerErrorCode is the HTTP code returned for type GetElectronicOrdersTotalsInternalServerError

View Source
const GetElectronicOrdersTotalsNotFoundCode int = 404

GetElectronicOrdersTotalsNotFoundCode is the HTTP code returned for type GetElectronicOrdersTotalsNotFound

View Source
const GetElectronicOrdersTotalsOKCode int = 200

GetElectronicOrdersTotalsOKCode is the HTTP code returned for type GetElectronicOrdersTotalsOK

View Source
const GetElectronicOrdersTotalsUnauthorizedCode int = 401

GetElectronicOrdersTotalsUnauthorizedCode is the HTTP code returned for type GetElectronicOrdersTotalsUnauthorized

View Source
const IndexElectronicOrdersBadRequestCode int = 400

IndexElectronicOrdersBadRequestCode is the HTTP code returned for type IndexElectronicOrdersBadRequest

View Source
const IndexElectronicOrdersInternalServerErrorCode int = 500

IndexElectronicOrdersInternalServerErrorCode is the HTTP code returned for type IndexElectronicOrdersInternalServerError

View Source
const IndexElectronicOrdersNotFoundCode int = 404

IndexElectronicOrdersNotFoundCode is the HTTP code returned for type IndexElectronicOrdersNotFound

View Source
const IndexElectronicOrdersOKCode int = 200

IndexElectronicOrdersOKCode is the HTTP code returned for type IndexElectronicOrdersOK

View Source
const IndexElectronicOrdersUnauthorizedCode int = 401

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

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

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

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

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

SetPayload sets the payload to the get electronic orders totals o k response

func (*GetElectronicOrdersTotalsOK) WithPayload

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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