Documentation ¶
Index ¶
- Constants
- type GetOrders
- type GetOrdersBadRequest
- type GetOrdersByIssuerAndOrdersNum
- type GetOrdersByIssuerAndOrdersNumBadRequest
- type GetOrdersByIssuerAndOrdersNumForbidden
- type GetOrdersByIssuerAndOrdersNumHandler
- type GetOrdersByIssuerAndOrdersNumHandlerFunc
- type GetOrdersByIssuerAndOrdersNumInternalServerError
- type GetOrdersByIssuerAndOrdersNumNotFound
- type GetOrdersByIssuerAndOrdersNumOK
- func (o *GetOrdersByIssuerAndOrdersNumOK) SetPayload(payload *ordersmessages.Orders)
- func (o *GetOrdersByIssuerAndOrdersNumOK) WithPayload(payload *ordersmessages.Orders) *GetOrdersByIssuerAndOrdersNumOK
- func (o *GetOrdersByIssuerAndOrdersNumOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetOrdersByIssuerAndOrdersNumParams
- type GetOrdersByIssuerAndOrdersNumURL
- func (o *GetOrdersByIssuerAndOrdersNumURL) Build() (*url.URL, error)
- func (o *GetOrdersByIssuerAndOrdersNumURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetOrdersByIssuerAndOrdersNumURL) Must(u *url.URL, err error) *url.URL
- func (o *GetOrdersByIssuerAndOrdersNumURL) SetBasePath(bp string)
- func (o *GetOrdersByIssuerAndOrdersNumURL) String() string
- func (o *GetOrdersByIssuerAndOrdersNumURL) StringFull(scheme, host string) string
- func (o *GetOrdersByIssuerAndOrdersNumURL) WithBasePath(bp string) *GetOrdersByIssuerAndOrdersNumURL
- type GetOrdersByIssuerAndOrdersNumUnauthorized
- type GetOrdersCountByIssuer
- type GetOrdersCountByIssuerBadRequest
- type GetOrdersCountByIssuerForbidden
- type GetOrdersCountByIssuerHandler
- type GetOrdersCountByIssuerHandlerFunc
- type GetOrdersCountByIssuerInternalServerError
- type GetOrdersCountByIssuerOK
- func (o *GetOrdersCountByIssuerOK) SetPayload(payload *ordersmessages.OrdersCountByIssuer)
- func (o *GetOrdersCountByIssuerOK) WithPayload(payload *ordersmessages.OrdersCountByIssuer) *GetOrdersCountByIssuerOK
- func (o *GetOrdersCountByIssuerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetOrdersCountByIssuerParams
- type GetOrdersCountByIssuerURL
- func (o *GetOrdersCountByIssuerURL) Build() (*url.URL, error)
- func (o *GetOrdersCountByIssuerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetOrdersCountByIssuerURL) Must(u *url.URL, err error) *url.URL
- func (o *GetOrdersCountByIssuerURL) SetBasePath(bp string)
- func (o *GetOrdersCountByIssuerURL) String() string
- func (o *GetOrdersCountByIssuerURL) StringFull(scheme, host string) string
- func (o *GetOrdersCountByIssuerURL) WithBasePath(bp string) *GetOrdersCountByIssuerURL
- type GetOrdersCountByIssuerUnauthorized
- type GetOrdersForbidden
- type GetOrdersHandler
- type GetOrdersHandlerFunc
- type GetOrdersInternalServerError
- type GetOrdersNotFound
- type GetOrdersOK
- type GetOrdersParams
- type GetOrdersURL
- func (o *GetOrdersURL) Build() (*url.URL, error)
- func (o *GetOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetOrdersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetOrdersURL) SetBasePath(bp string)
- func (o *GetOrdersURL) String() string
- func (o *GetOrdersURL) StringFull(scheme, host string) string
- func (o *GetOrdersURL) WithBasePath(bp string) *GetOrdersURL
- type GetOrdersUnauthorized
- type IndexOrdersForMember
- type IndexOrdersForMemberBadRequest
- type IndexOrdersForMemberForbidden
- type IndexOrdersForMemberHandler
- type IndexOrdersForMemberHandlerFunc
- type IndexOrdersForMemberInternalServerError
- type IndexOrdersForMemberNotFound
- type IndexOrdersForMemberOK
- type IndexOrdersForMemberParams
- type IndexOrdersForMemberURL
- func (o *IndexOrdersForMemberURL) Build() (*url.URL, error)
- func (o *IndexOrdersForMemberURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *IndexOrdersForMemberURL) Must(u *url.URL, err error) *url.URL
- func (o *IndexOrdersForMemberURL) SetBasePath(bp string)
- func (o *IndexOrdersForMemberURL) String() string
- func (o *IndexOrdersForMemberURL) StringFull(scheme, host string) string
- func (o *IndexOrdersForMemberURL) WithBasePath(bp string) *IndexOrdersForMemberURL
- type IndexOrdersForMemberUnauthorized
- type MilmoveOrdersAPI
- func (o *MilmoveOrdersAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *MilmoveOrdersAPI) Authorizer() runtime.Authorizer
- func (o *MilmoveOrdersAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *MilmoveOrdersAPI) Context() *middleware.Context
- func (o *MilmoveOrdersAPI) DefaultConsumes() string
- func (o *MilmoveOrdersAPI) DefaultProduces() string
- func (o *MilmoveOrdersAPI) Formats() strfmt.Registry
- func (o *MilmoveOrdersAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *MilmoveOrdersAPI) Init()
- func (o *MilmoveOrdersAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *MilmoveOrdersAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *MilmoveOrdersAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *MilmoveOrdersAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *MilmoveOrdersAPI) Serve(builder middleware.Builder) http.Handler
- func (o *MilmoveOrdersAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *MilmoveOrdersAPI) SetDefaultConsumes(mediaType string)
- func (o *MilmoveOrdersAPI) SetDefaultProduces(mediaType string)
- func (o *MilmoveOrdersAPI) SetSpec(spec *loads.Document)
- func (o *MilmoveOrdersAPI) Validate() error
- type PostRevision
- type PostRevisionBadRequest
- type PostRevisionConflict
- type PostRevisionCreated
- type PostRevisionForbidden
- type PostRevisionHandler
- type PostRevisionHandlerFunc
- type PostRevisionInternalServerError
- type PostRevisionNotFound
- type PostRevisionParams
- type PostRevisionToOrders
- type PostRevisionToOrdersBadRequest
- type PostRevisionToOrdersConflict
- type PostRevisionToOrdersCreated
- type PostRevisionToOrdersForbidden
- type PostRevisionToOrdersHandler
- type PostRevisionToOrdersHandlerFunc
- type PostRevisionToOrdersInternalServerError
- type PostRevisionToOrdersNotFound
- type PostRevisionToOrdersParams
- type PostRevisionToOrdersURL
- func (o *PostRevisionToOrdersURL) Build() (*url.URL, error)
- func (o *PostRevisionToOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostRevisionToOrdersURL) Must(u *url.URL, err error) *url.URL
- func (o *PostRevisionToOrdersURL) SetBasePath(bp string)
- func (o *PostRevisionToOrdersURL) String() string
- func (o *PostRevisionToOrdersURL) StringFull(scheme, host string) string
- func (o *PostRevisionToOrdersURL) WithBasePath(bp string) *PostRevisionToOrdersURL
- type PostRevisionToOrdersUnauthorized
- type PostRevisionURL
- func (o *PostRevisionURL) Build() (*url.URL, error)
- func (o *PostRevisionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostRevisionURL) Must(u *url.URL, err error) *url.URL
- func (o *PostRevisionURL) SetBasePath(bp string)
- func (o *PostRevisionURL) String() string
- func (o *PostRevisionURL) StringFull(scheme, host string) string
- func (o *PostRevisionURL) WithBasePath(bp string) *PostRevisionURL
- type PostRevisionUnauthorized
Constants ¶
const GetOrdersBadRequestCode int = 400
GetOrdersBadRequestCode is the HTTP code returned for type GetOrdersBadRequest
const GetOrdersByIssuerAndOrdersNumBadRequestCode int = 400
GetOrdersByIssuerAndOrdersNumBadRequestCode is the HTTP code returned for type GetOrdersByIssuerAndOrdersNumBadRequest
const GetOrdersByIssuerAndOrdersNumForbiddenCode int = 403
GetOrdersByIssuerAndOrdersNumForbiddenCode is the HTTP code returned for type GetOrdersByIssuerAndOrdersNumForbidden
const GetOrdersByIssuerAndOrdersNumInternalServerErrorCode int = 500
GetOrdersByIssuerAndOrdersNumInternalServerErrorCode is the HTTP code returned for type GetOrdersByIssuerAndOrdersNumInternalServerError
const GetOrdersByIssuerAndOrdersNumNotFoundCode int = 404
GetOrdersByIssuerAndOrdersNumNotFoundCode is the HTTP code returned for type GetOrdersByIssuerAndOrdersNumNotFound
const GetOrdersByIssuerAndOrdersNumOKCode int = 200
GetOrdersByIssuerAndOrdersNumOKCode is the HTTP code returned for type GetOrdersByIssuerAndOrdersNumOK
GetOrdersByIssuerAndOrdersNumUnauthorizedCode is the HTTP code returned for type GetOrdersByIssuerAndOrdersNumUnauthorized
const GetOrdersCountByIssuerBadRequestCode int = 400
GetOrdersCountByIssuerBadRequestCode is the HTTP code returned for type GetOrdersCountByIssuerBadRequest
const GetOrdersCountByIssuerForbiddenCode int = 403
GetOrdersCountByIssuerForbiddenCode is the HTTP code returned for type GetOrdersCountByIssuerForbidden
const GetOrdersCountByIssuerInternalServerErrorCode int = 500
GetOrdersCountByIssuerInternalServerErrorCode is the HTTP code returned for type GetOrdersCountByIssuerInternalServerError
const GetOrdersCountByIssuerOKCode int = 200
GetOrdersCountByIssuerOKCode is the HTTP code returned for type GetOrdersCountByIssuerOK
GetOrdersCountByIssuerUnauthorizedCode is the HTTP code returned for type GetOrdersCountByIssuerUnauthorized
const GetOrdersForbiddenCode int = 403
GetOrdersForbiddenCode is the HTTP code returned for type GetOrdersForbidden
const GetOrdersInternalServerErrorCode int = 500
GetOrdersInternalServerErrorCode is the HTTP code returned for type GetOrdersInternalServerError
const GetOrdersNotFoundCode int = 404
GetOrdersNotFoundCode is the HTTP code returned for type GetOrdersNotFound
const GetOrdersOKCode int = 200
GetOrdersOKCode is the HTTP code returned for type GetOrdersOK
GetOrdersUnauthorizedCode is the HTTP code returned for type GetOrdersUnauthorized
const IndexOrdersForMemberBadRequestCode int = 400
IndexOrdersForMemberBadRequestCode is the HTTP code returned for type IndexOrdersForMemberBadRequest
const IndexOrdersForMemberForbiddenCode int = 403
IndexOrdersForMemberForbiddenCode is the HTTP code returned for type IndexOrdersForMemberForbidden
const IndexOrdersForMemberInternalServerErrorCode int = 500
IndexOrdersForMemberInternalServerErrorCode is the HTTP code returned for type IndexOrdersForMemberInternalServerError
const IndexOrdersForMemberNotFoundCode int = 404
IndexOrdersForMemberNotFoundCode is the HTTP code returned for type IndexOrdersForMemberNotFound
const IndexOrdersForMemberOKCode int = 200
IndexOrdersForMemberOKCode is the HTTP code returned for type IndexOrdersForMemberOK
IndexOrdersForMemberUnauthorizedCode is the HTTP code returned for type IndexOrdersForMemberUnauthorized
const PostRevisionBadRequestCode int = 400
PostRevisionBadRequestCode is the HTTP code returned for type PostRevisionBadRequest
const PostRevisionConflictCode int = 409
PostRevisionConflictCode is the HTTP code returned for type PostRevisionConflict
const PostRevisionCreatedCode int = 201
PostRevisionCreatedCode is the HTTP code returned for type PostRevisionCreated
const PostRevisionForbiddenCode int = 403
PostRevisionForbiddenCode is the HTTP code returned for type PostRevisionForbidden
const PostRevisionInternalServerErrorCode int = 500
PostRevisionInternalServerErrorCode is the HTTP code returned for type PostRevisionInternalServerError
const PostRevisionNotFoundCode int = 404
PostRevisionNotFoundCode is the HTTP code returned for type PostRevisionNotFound
const PostRevisionToOrdersBadRequestCode int = 400
PostRevisionToOrdersBadRequestCode is the HTTP code returned for type PostRevisionToOrdersBadRequest
const PostRevisionToOrdersConflictCode int = 409
PostRevisionToOrdersConflictCode is the HTTP code returned for type PostRevisionToOrdersConflict
const PostRevisionToOrdersCreatedCode int = 201
PostRevisionToOrdersCreatedCode is the HTTP code returned for type PostRevisionToOrdersCreated
const PostRevisionToOrdersForbiddenCode int = 403
PostRevisionToOrdersForbiddenCode is the HTTP code returned for type PostRevisionToOrdersForbidden
const PostRevisionToOrdersInternalServerErrorCode int = 500
PostRevisionToOrdersInternalServerErrorCode is the HTTP code returned for type PostRevisionToOrdersInternalServerError
const PostRevisionToOrdersNotFoundCode int = 404
PostRevisionToOrdersNotFoundCode is the HTTP code returned for type PostRevisionToOrdersNotFound
PostRevisionToOrdersUnauthorizedCode is the HTTP code returned for type PostRevisionToOrdersUnauthorized
PostRevisionUnauthorizedCode is the HTTP code returned for type PostRevisionUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetOrders ¶
type GetOrders struct { Context *middleware.Context Handler GetOrdersHandler }
GetOrders swagger:route GET /orders/{uuid} getOrders
Retrieve a set of Orders and all of its Revisions by UUID ¶
Gets Orders with the supplied UUID. ## Errors Users of this endpoint must have permission to read Orders for the `issuer` associated with the Orders. If not, this endpoint will return `403 Forbidden`. The UUID must match an existing set of Orders. Otherwise, this endpoint will return `404 Not Found`.
func NewGetOrders ¶
func NewGetOrders(ctx *middleware.Context, handler GetOrdersHandler) *GetOrders
NewGetOrders creates a new http.Handler for the get orders operation
type GetOrdersBadRequest ¶
type GetOrdersBadRequest struct { }
GetOrdersBadRequest Invalid
swagger:response getOrdersBadRequest
func NewGetOrdersBadRequest ¶
func NewGetOrdersBadRequest() *GetOrdersBadRequest
NewGetOrdersBadRequest creates GetOrdersBadRequest with default headers values
func (*GetOrdersBadRequest) WriteResponse ¶
func (o *GetOrdersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersByIssuerAndOrdersNum ¶
type GetOrdersByIssuerAndOrdersNum struct { Context *middleware.Context Handler GetOrdersByIssuerAndOrdersNumHandler }
GetOrdersByIssuerAndOrdersNum swagger:route GET /issuers/{issuer}/orders/{ordersNum} getOrdersByIssuerAndOrdersNum
Retrieve orders by issuer and orders number ¶
Return Orders with the provided issuer and orders number. # Errors Users of this endpoint must have permission to read Orders for the specified issuer. Otherwise, this endpoint will return `403 Forbidden`. If there are no Orders with the specified orders number from the specified issuer, then this endpoint will return `404 Not Found`.
func NewGetOrdersByIssuerAndOrdersNum ¶
func NewGetOrdersByIssuerAndOrdersNum(ctx *middleware.Context, handler GetOrdersByIssuerAndOrdersNumHandler) *GetOrdersByIssuerAndOrdersNum
NewGetOrdersByIssuerAndOrdersNum creates a new http.Handler for the get orders by issuer and orders num operation
func (*GetOrdersByIssuerAndOrdersNum) ServeHTTP ¶
func (o *GetOrdersByIssuerAndOrdersNum) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetOrdersByIssuerAndOrdersNumBadRequest ¶
type GetOrdersByIssuerAndOrdersNumBadRequest struct { }
GetOrdersByIssuerAndOrdersNumBadRequest Invalid
swagger:response getOrdersByIssuerAndOrdersNumBadRequest
func NewGetOrdersByIssuerAndOrdersNumBadRequest ¶
func NewGetOrdersByIssuerAndOrdersNumBadRequest() *GetOrdersByIssuerAndOrdersNumBadRequest
NewGetOrdersByIssuerAndOrdersNumBadRequest creates GetOrdersByIssuerAndOrdersNumBadRequest with default headers values
func (*GetOrdersByIssuerAndOrdersNumBadRequest) WriteResponse ¶
func (o *GetOrdersByIssuerAndOrdersNumBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersByIssuerAndOrdersNumForbidden ¶
type GetOrdersByIssuerAndOrdersNumForbidden struct { }
GetOrdersByIssuerAndOrdersNumForbidden Forbidden
swagger:response getOrdersByIssuerAndOrdersNumForbidden
func NewGetOrdersByIssuerAndOrdersNumForbidden ¶
func NewGetOrdersByIssuerAndOrdersNumForbidden() *GetOrdersByIssuerAndOrdersNumForbidden
NewGetOrdersByIssuerAndOrdersNumForbidden creates GetOrdersByIssuerAndOrdersNumForbidden with default headers values
func (*GetOrdersByIssuerAndOrdersNumForbidden) WriteResponse ¶
func (o *GetOrdersByIssuerAndOrdersNumForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersByIssuerAndOrdersNumHandler ¶
type GetOrdersByIssuerAndOrdersNumHandler interface {
Handle(GetOrdersByIssuerAndOrdersNumParams) middleware.Responder
}
GetOrdersByIssuerAndOrdersNumHandler interface for that can handle valid get orders by issuer and orders num params
type GetOrdersByIssuerAndOrdersNumHandlerFunc ¶
type GetOrdersByIssuerAndOrdersNumHandlerFunc func(GetOrdersByIssuerAndOrdersNumParams) middleware.Responder
GetOrdersByIssuerAndOrdersNumHandlerFunc turns a function with the right signature into a get orders by issuer and orders num handler
func (GetOrdersByIssuerAndOrdersNumHandlerFunc) Handle ¶
func (fn GetOrdersByIssuerAndOrdersNumHandlerFunc) Handle(params GetOrdersByIssuerAndOrdersNumParams) middleware.Responder
Handle executing the request and returning a response
type GetOrdersByIssuerAndOrdersNumInternalServerError ¶
type GetOrdersByIssuerAndOrdersNumInternalServerError struct { }
GetOrdersByIssuerAndOrdersNumInternalServerError Server error
swagger:response getOrdersByIssuerAndOrdersNumInternalServerError
func NewGetOrdersByIssuerAndOrdersNumInternalServerError ¶
func NewGetOrdersByIssuerAndOrdersNumInternalServerError() *GetOrdersByIssuerAndOrdersNumInternalServerError
NewGetOrdersByIssuerAndOrdersNumInternalServerError creates GetOrdersByIssuerAndOrdersNumInternalServerError with default headers values
func (*GetOrdersByIssuerAndOrdersNumInternalServerError) WriteResponse ¶
func (o *GetOrdersByIssuerAndOrdersNumInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersByIssuerAndOrdersNumNotFound ¶
type GetOrdersByIssuerAndOrdersNumNotFound struct { }
GetOrdersByIssuerAndOrdersNumNotFound Orders not found
swagger:response getOrdersByIssuerAndOrdersNumNotFound
func NewGetOrdersByIssuerAndOrdersNumNotFound ¶
func NewGetOrdersByIssuerAndOrdersNumNotFound() *GetOrdersByIssuerAndOrdersNumNotFound
NewGetOrdersByIssuerAndOrdersNumNotFound creates GetOrdersByIssuerAndOrdersNumNotFound with default headers values
func (*GetOrdersByIssuerAndOrdersNumNotFound) WriteResponse ¶
func (o *GetOrdersByIssuerAndOrdersNumNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersByIssuerAndOrdersNumOK ¶
type GetOrdersByIssuerAndOrdersNumOK struct { /* In: Body */ Payload *ordersmessages.Orders `json:"body,omitempty"` }
GetOrdersByIssuerAndOrdersNumOK Successful
swagger:response getOrdersByIssuerAndOrdersNumOK
func NewGetOrdersByIssuerAndOrdersNumOK ¶
func NewGetOrdersByIssuerAndOrdersNumOK() *GetOrdersByIssuerAndOrdersNumOK
NewGetOrdersByIssuerAndOrdersNumOK creates GetOrdersByIssuerAndOrdersNumOK with default headers values
func (*GetOrdersByIssuerAndOrdersNumOK) SetPayload ¶
func (o *GetOrdersByIssuerAndOrdersNumOK) SetPayload(payload *ordersmessages.Orders)
SetPayload sets the payload to the get orders by issuer and orders num o k response
func (*GetOrdersByIssuerAndOrdersNumOK) WithPayload ¶
func (o *GetOrdersByIssuerAndOrdersNumOK) WithPayload(payload *ordersmessages.Orders) *GetOrdersByIssuerAndOrdersNumOK
WithPayload adds the payload to the get orders by issuer and orders num o k response
func (*GetOrdersByIssuerAndOrdersNumOK) WriteResponse ¶
func (o *GetOrdersByIssuerAndOrdersNumOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersByIssuerAndOrdersNumParams ¶
type GetOrdersByIssuerAndOrdersNumParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Organization that issued the Orders Required: true In: path */ Issuer string /*Orders number, corresponding to the ORDERS number (Army), the CT SDN (Navy, Marines), the SPECIAL ORDER NO (Air Force), the Travel Order No (Coast Guard), or the Travel Authorization Number (Civilian). Required: true In: path */ OrdersNum string }
GetOrdersByIssuerAndOrdersNumParams contains all the bound params for the get orders by issuer and orders num operation typically these are obtained from a http.Request
swagger:parameters getOrdersByIssuerAndOrdersNum
func NewGetOrdersByIssuerAndOrdersNumParams ¶
func NewGetOrdersByIssuerAndOrdersNumParams() GetOrdersByIssuerAndOrdersNumParams
NewGetOrdersByIssuerAndOrdersNumParams creates a new GetOrdersByIssuerAndOrdersNumParams object no default values defined in spec.
func (*GetOrdersByIssuerAndOrdersNumParams) BindRequest ¶
func (o *GetOrdersByIssuerAndOrdersNumParams) 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 NewGetOrdersByIssuerAndOrdersNumParams() beforehand.
type GetOrdersByIssuerAndOrdersNumURL ¶
type GetOrdersByIssuerAndOrdersNumURL struct { Issuer string OrdersNum string // contains filtered or unexported fields }
GetOrdersByIssuerAndOrdersNumURL generates an URL for the get orders by issuer and orders num operation
func (*GetOrdersByIssuerAndOrdersNumURL) Build ¶
func (o *GetOrdersByIssuerAndOrdersNumURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetOrdersByIssuerAndOrdersNumURL) BuildFull ¶
func (o *GetOrdersByIssuerAndOrdersNumURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetOrdersByIssuerAndOrdersNumURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetOrdersByIssuerAndOrdersNumURL) SetBasePath ¶
func (o *GetOrdersByIssuerAndOrdersNumURL) 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 (*GetOrdersByIssuerAndOrdersNumURL) String ¶
func (o *GetOrdersByIssuerAndOrdersNumURL) String() string
String returns the string representation of the path with query string
func (*GetOrdersByIssuerAndOrdersNumURL) StringFull ¶
func (o *GetOrdersByIssuerAndOrdersNumURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetOrdersByIssuerAndOrdersNumURL) WithBasePath ¶
func (o *GetOrdersByIssuerAndOrdersNumURL) WithBasePath(bp string) *GetOrdersByIssuerAndOrdersNumURL
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 GetOrdersByIssuerAndOrdersNumUnauthorized ¶
type GetOrdersByIssuerAndOrdersNumUnauthorized struct { }
GetOrdersByIssuerAndOrdersNumUnauthorized must be authenticated to use this endpoint
swagger:response getOrdersByIssuerAndOrdersNumUnauthorized
func NewGetOrdersByIssuerAndOrdersNumUnauthorized ¶
func NewGetOrdersByIssuerAndOrdersNumUnauthorized() *GetOrdersByIssuerAndOrdersNumUnauthorized
NewGetOrdersByIssuerAndOrdersNumUnauthorized creates GetOrdersByIssuerAndOrdersNumUnauthorized with default headers values
func (*GetOrdersByIssuerAndOrdersNumUnauthorized) WriteResponse ¶
func (o *GetOrdersByIssuerAndOrdersNumUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersCountByIssuer ¶
type GetOrdersCountByIssuer struct { Context *middleware.Context Handler GetOrdersCountByIssuerHandler }
GetOrdersCountByIssuer swagger:route GET /issuers/{issuer}/count getOrdersCountByIssuer
Retrieve a count of Orders by issuer ¶
Gets a Count of Orders by issuer. ## Errors Users of this endpoint must have permission to read Orders for the `issuer` associated with the Orders. If not, this endpoint will return `403 Forbidden`.
func NewGetOrdersCountByIssuer ¶
func NewGetOrdersCountByIssuer(ctx *middleware.Context, handler GetOrdersCountByIssuerHandler) *GetOrdersCountByIssuer
NewGetOrdersCountByIssuer creates a new http.Handler for the get orders count by issuer operation
func (*GetOrdersCountByIssuer) ServeHTTP ¶
func (o *GetOrdersCountByIssuer) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetOrdersCountByIssuerBadRequest ¶
type GetOrdersCountByIssuerBadRequest struct { }
GetOrdersCountByIssuerBadRequest Invalid
swagger:response getOrdersCountByIssuerBadRequest
func NewGetOrdersCountByIssuerBadRequest ¶
func NewGetOrdersCountByIssuerBadRequest() *GetOrdersCountByIssuerBadRequest
NewGetOrdersCountByIssuerBadRequest creates GetOrdersCountByIssuerBadRequest with default headers values
func (*GetOrdersCountByIssuerBadRequest) WriteResponse ¶
func (o *GetOrdersCountByIssuerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersCountByIssuerForbidden ¶
type GetOrdersCountByIssuerForbidden struct { }
GetOrdersCountByIssuerForbidden Forbidden
swagger:response getOrdersCountByIssuerForbidden
func NewGetOrdersCountByIssuerForbidden ¶
func NewGetOrdersCountByIssuerForbidden() *GetOrdersCountByIssuerForbidden
NewGetOrdersCountByIssuerForbidden creates GetOrdersCountByIssuerForbidden with default headers values
func (*GetOrdersCountByIssuerForbidden) WriteResponse ¶
func (o *GetOrdersCountByIssuerForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersCountByIssuerHandler ¶
type GetOrdersCountByIssuerHandler interface {
Handle(GetOrdersCountByIssuerParams) middleware.Responder
}
GetOrdersCountByIssuerHandler interface for that can handle valid get orders count by issuer params
type GetOrdersCountByIssuerHandlerFunc ¶
type GetOrdersCountByIssuerHandlerFunc func(GetOrdersCountByIssuerParams) middleware.Responder
GetOrdersCountByIssuerHandlerFunc turns a function with the right signature into a get orders count by issuer handler
func (GetOrdersCountByIssuerHandlerFunc) Handle ¶
func (fn GetOrdersCountByIssuerHandlerFunc) Handle(params GetOrdersCountByIssuerParams) middleware.Responder
Handle executing the request and returning a response
type GetOrdersCountByIssuerInternalServerError ¶
type GetOrdersCountByIssuerInternalServerError struct { }
GetOrdersCountByIssuerInternalServerError Server error
swagger:response getOrdersCountByIssuerInternalServerError
func NewGetOrdersCountByIssuerInternalServerError ¶
func NewGetOrdersCountByIssuerInternalServerError() *GetOrdersCountByIssuerInternalServerError
NewGetOrdersCountByIssuerInternalServerError creates GetOrdersCountByIssuerInternalServerError with default headers values
func (*GetOrdersCountByIssuerInternalServerError) WriteResponse ¶
func (o *GetOrdersCountByIssuerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersCountByIssuerOK ¶
type GetOrdersCountByIssuerOK struct { /* In: Body */ Payload *ordersmessages.OrdersCountByIssuer `json:"body,omitempty"` }
GetOrdersCountByIssuerOK Successful
swagger:response getOrdersCountByIssuerOK
func NewGetOrdersCountByIssuerOK ¶
func NewGetOrdersCountByIssuerOK() *GetOrdersCountByIssuerOK
NewGetOrdersCountByIssuerOK creates GetOrdersCountByIssuerOK with default headers values
func (*GetOrdersCountByIssuerOK) SetPayload ¶
func (o *GetOrdersCountByIssuerOK) SetPayload(payload *ordersmessages.OrdersCountByIssuer)
SetPayload sets the payload to the get orders count by issuer o k response
func (*GetOrdersCountByIssuerOK) WithPayload ¶
func (o *GetOrdersCountByIssuerOK) WithPayload(payload *ordersmessages.OrdersCountByIssuer) *GetOrdersCountByIssuerOK
WithPayload adds the payload to the get orders count by issuer o k response
func (*GetOrdersCountByIssuerOK) WriteResponse ¶
func (o *GetOrdersCountByIssuerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersCountByIssuerParams ¶
type GetOrdersCountByIssuerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Search date-time end In: query */ EndDateTime *strfmt.DateTime /*Organization that issued the Orders. Required: true In: path */ Issuer string /*Search date-time start In: query */ StartDateTime *strfmt.DateTime }
GetOrdersCountByIssuerParams contains all the bound params for the get orders count by issuer operation typically these are obtained from a http.Request
swagger:parameters getOrdersCountByIssuer
func NewGetOrdersCountByIssuerParams ¶
func NewGetOrdersCountByIssuerParams() GetOrdersCountByIssuerParams
NewGetOrdersCountByIssuerParams creates a new GetOrdersCountByIssuerParams object no default values defined in spec.
func (*GetOrdersCountByIssuerParams) BindRequest ¶
func (o *GetOrdersCountByIssuerParams) 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 NewGetOrdersCountByIssuerParams() beforehand.
type GetOrdersCountByIssuerURL ¶
type GetOrdersCountByIssuerURL struct { Issuer string EndDateTime *strfmt.DateTime StartDateTime *strfmt.DateTime // contains filtered or unexported fields }
GetOrdersCountByIssuerURL generates an URL for the get orders count by issuer operation
func (*GetOrdersCountByIssuerURL) Build ¶
func (o *GetOrdersCountByIssuerURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetOrdersCountByIssuerURL) BuildFull ¶
func (o *GetOrdersCountByIssuerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetOrdersCountByIssuerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetOrdersCountByIssuerURL) SetBasePath ¶
func (o *GetOrdersCountByIssuerURL) 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 (*GetOrdersCountByIssuerURL) String ¶
func (o *GetOrdersCountByIssuerURL) String() string
String returns the string representation of the path with query string
func (*GetOrdersCountByIssuerURL) StringFull ¶
func (o *GetOrdersCountByIssuerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetOrdersCountByIssuerURL) WithBasePath ¶
func (o *GetOrdersCountByIssuerURL) WithBasePath(bp string) *GetOrdersCountByIssuerURL
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 GetOrdersCountByIssuerUnauthorized ¶
type GetOrdersCountByIssuerUnauthorized struct { }
GetOrdersCountByIssuerUnauthorized must be authenticated to use this endpoint
swagger:response getOrdersCountByIssuerUnauthorized
func NewGetOrdersCountByIssuerUnauthorized ¶
func NewGetOrdersCountByIssuerUnauthorized() *GetOrdersCountByIssuerUnauthorized
NewGetOrdersCountByIssuerUnauthorized creates GetOrdersCountByIssuerUnauthorized with default headers values
func (*GetOrdersCountByIssuerUnauthorized) WriteResponse ¶
func (o *GetOrdersCountByIssuerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersForbidden ¶
type GetOrdersForbidden struct { }
GetOrdersForbidden Forbidden
swagger:response getOrdersForbidden
func NewGetOrdersForbidden ¶
func NewGetOrdersForbidden() *GetOrdersForbidden
NewGetOrdersForbidden creates GetOrdersForbidden with default headers values
func (*GetOrdersForbidden) WriteResponse ¶
func (o *GetOrdersForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersHandler ¶
type GetOrdersHandler interface {
Handle(GetOrdersParams) middleware.Responder
}
GetOrdersHandler interface for that can handle valid get orders params
type GetOrdersHandlerFunc ¶
type GetOrdersHandlerFunc func(GetOrdersParams) middleware.Responder
GetOrdersHandlerFunc turns a function with the right signature into a get orders handler
func (GetOrdersHandlerFunc) Handle ¶
func (fn GetOrdersHandlerFunc) Handle(params GetOrdersParams) middleware.Responder
Handle executing the request and returning a response
type GetOrdersInternalServerError ¶
type GetOrdersInternalServerError struct { }
GetOrdersInternalServerError Server error
swagger:response getOrdersInternalServerError
func NewGetOrdersInternalServerError ¶
func NewGetOrdersInternalServerError() *GetOrdersInternalServerError
NewGetOrdersInternalServerError creates GetOrdersInternalServerError with default headers values
func (*GetOrdersInternalServerError) WriteResponse ¶
func (o *GetOrdersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersNotFound ¶
type GetOrdersNotFound struct { }
GetOrdersNotFound Orders not found
swagger:response getOrdersNotFound
func NewGetOrdersNotFound ¶
func NewGetOrdersNotFound() *GetOrdersNotFound
NewGetOrdersNotFound creates GetOrdersNotFound with default headers values
func (*GetOrdersNotFound) WriteResponse ¶
func (o *GetOrdersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersOK ¶
type GetOrdersOK struct { /* In: Body */ Payload *ordersmessages.Orders `json:"body,omitempty"` }
GetOrdersOK Successful
swagger:response getOrdersOK
func NewGetOrdersOK ¶
func NewGetOrdersOK() *GetOrdersOK
NewGetOrdersOK creates GetOrdersOK with default headers values
func (*GetOrdersOK) SetPayload ¶
func (o *GetOrdersOK) SetPayload(payload *ordersmessages.Orders)
SetPayload sets the payload to the get orders o k response
func (*GetOrdersOK) WithPayload ¶
func (o *GetOrdersOK) WithPayload(payload *ordersmessages.Orders) *GetOrdersOK
WithPayload adds the payload to the get orders o k response
func (*GetOrdersOK) WriteResponse ¶
func (o *GetOrdersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrdersParams ¶
type GetOrdersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the orders to return Required: true In: path */ UUID strfmt.UUID }
GetOrdersParams contains all the bound params for the get orders operation typically these are obtained from a http.Request
swagger:parameters getOrders
func NewGetOrdersParams ¶
func NewGetOrdersParams() GetOrdersParams
NewGetOrdersParams creates a new GetOrdersParams object no default values defined in spec.
func (*GetOrdersParams) BindRequest ¶
func (o *GetOrdersParams) 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 NewGetOrdersParams() beforehand.
type GetOrdersURL ¶
GetOrdersURL generates an URL for the get orders operation
func (*GetOrdersURL) Build ¶
func (o *GetOrdersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetOrdersURL) BuildFull ¶
func (o *GetOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetOrdersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetOrdersURL) SetBasePath ¶
func (o *GetOrdersURL) 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 (*GetOrdersURL) String ¶
func (o *GetOrdersURL) String() string
String returns the string representation of the path with query string
func (*GetOrdersURL) StringFull ¶
func (o *GetOrdersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetOrdersURL) WithBasePath ¶
func (o *GetOrdersURL) WithBasePath(bp string) *GetOrdersURL
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 GetOrdersUnauthorized ¶
type GetOrdersUnauthorized struct { }
GetOrdersUnauthorized must be authenticated to use this endpoint
swagger:response getOrdersUnauthorized
func NewGetOrdersUnauthorized ¶
func NewGetOrdersUnauthorized() *GetOrdersUnauthorized
NewGetOrdersUnauthorized creates GetOrdersUnauthorized with default headers values
func (*GetOrdersUnauthorized) WriteResponse ¶
func (o *GetOrdersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexOrdersForMember ¶
type IndexOrdersForMember struct { Context *middleware.Context Handler IndexOrdersForMemberHandler }
IndexOrdersForMember swagger:route GET /edipis/{edipi}/orders indexOrdersForMember
Retrieve orders for a particular member ¶
Returns all Orders for the specified service member. This endpoint will only return Orders cut by issuers to which the user has read permission.
func NewIndexOrdersForMember ¶
func NewIndexOrdersForMember(ctx *middleware.Context, handler IndexOrdersForMemberHandler) *IndexOrdersForMember
NewIndexOrdersForMember creates a new http.Handler for the index orders for member operation
func (*IndexOrdersForMember) ServeHTTP ¶
func (o *IndexOrdersForMember) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type IndexOrdersForMemberBadRequest ¶
type IndexOrdersForMemberBadRequest struct { }
IndexOrdersForMemberBadRequest Bad request
swagger:response indexOrdersForMemberBadRequest
func NewIndexOrdersForMemberBadRequest ¶
func NewIndexOrdersForMemberBadRequest() *IndexOrdersForMemberBadRequest
NewIndexOrdersForMemberBadRequest creates IndexOrdersForMemberBadRequest with default headers values
func (*IndexOrdersForMemberBadRequest) WriteResponse ¶
func (o *IndexOrdersForMemberBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexOrdersForMemberForbidden ¶
type IndexOrdersForMemberForbidden struct { }
IndexOrdersForMemberForbidden Forbidden
swagger:response indexOrdersForMemberForbidden
func NewIndexOrdersForMemberForbidden ¶
func NewIndexOrdersForMemberForbidden() *IndexOrdersForMemberForbidden
NewIndexOrdersForMemberForbidden creates IndexOrdersForMemberForbidden with default headers values
func (*IndexOrdersForMemberForbidden) WriteResponse ¶
func (o *IndexOrdersForMemberForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexOrdersForMemberHandler ¶
type IndexOrdersForMemberHandler interface {
Handle(IndexOrdersForMemberParams) middleware.Responder
}
IndexOrdersForMemberHandler interface for that can handle valid index orders for member params
type IndexOrdersForMemberHandlerFunc ¶
type IndexOrdersForMemberHandlerFunc func(IndexOrdersForMemberParams) middleware.Responder
IndexOrdersForMemberHandlerFunc turns a function with the right signature into a index orders for member handler
func (IndexOrdersForMemberHandlerFunc) Handle ¶
func (fn IndexOrdersForMemberHandlerFunc) Handle(params IndexOrdersForMemberParams) middleware.Responder
Handle executing the request and returning a response
type IndexOrdersForMemberInternalServerError ¶
type IndexOrdersForMemberInternalServerError struct { }
IndexOrdersForMemberInternalServerError Server error
swagger:response indexOrdersForMemberInternalServerError
func NewIndexOrdersForMemberInternalServerError ¶
func NewIndexOrdersForMemberInternalServerError() *IndexOrdersForMemberInternalServerError
NewIndexOrdersForMemberInternalServerError creates IndexOrdersForMemberInternalServerError with default headers values
func (*IndexOrdersForMemberInternalServerError) WriteResponse ¶
func (o *IndexOrdersForMemberInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexOrdersForMemberNotFound ¶
type IndexOrdersForMemberNotFound struct { }
IndexOrdersForMemberNotFound No orders found
swagger:response indexOrdersForMemberNotFound
func NewIndexOrdersForMemberNotFound ¶
func NewIndexOrdersForMemberNotFound() *IndexOrdersForMemberNotFound
NewIndexOrdersForMemberNotFound creates IndexOrdersForMemberNotFound with default headers values
func (*IndexOrdersForMemberNotFound) WriteResponse ¶
func (o *IndexOrdersForMemberNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexOrdersForMemberOK ¶
type IndexOrdersForMemberOK struct { /* In: Body */ Payload []*ordersmessages.Orders `json:"body,omitempty"` }
IndexOrdersForMemberOK Successful
swagger:response indexOrdersForMemberOK
func NewIndexOrdersForMemberOK ¶
func NewIndexOrdersForMemberOK() *IndexOrdersForMemberOK
NewIndexOrdersForMemberOK creates IndexOrdersForMemberOK with default headers values
func (*IndexOrdersForMemberOK) SetPayload ¶
func (o *IndexOrdersForMemberOK) SetPayload(payload []*ordersmessages.Orders)
SetPayload sets the payload to the index orders for member o k response
func (*IndexOrdersForMemberOK) WithPayload ¶
func (o *IndexOrdersForMemberOK) WithPayload(payload []*ordersmessages.Orders) *IndexOrdersForMemberOK
WithPayload adds the payload to the index orders for member o k response
func (*IndexOrdersForMemberOK) WriteResponse ¶
func (o *IndexOrdersForMemberOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexOrdersForMemberParams ¶
type IndexOrdersForMemberParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*EDIPI of the member to retrieve Orders Required: true Pattern: ^\d{10}$ In: path */ Edipi string }
IndexOrdersForMemberParams contains all the bound params for the index orders for member operation typically these are obtained from a http.Request
swagger:parameters indexOrdersForMember
func NewIndexOrdersForMemberParams ¶
func NewIndexOrdersForMemberParams() IndexOrdersForMemberParams
NewIndexOrdersForMemberParams creates a new IndexOrdersForMemberParams object no default values defined in spec.
func (*IndexOrdersForMemberParams) BindRequest ¶
func (o *IndexOrdersForMemberParams) 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 NewIndexOrdersForMemberParams() beforehand.
type IndexOrdersForMemberURL ¶
type IndexOrdersForMemberURL struct { Edipi string // contains filtered or unexported fields }
IndexOrdersForMemberURL generates an URL for the index orders for member operation
func (*IndexOrdersForMemberURL) Build ¶
func (o *IndexOrdersForMemberURL) Build() (*url.URL, error)
Build a url path and query string
func (*IndexOrdersForMemberURL) BuildFull ¶
func (o *IndexOrdersForMemberURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*IndexOrdersForMemberURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*IndexOrdersForMemberURL) SetBasePath ¶
func (o *IndexOrdersForMemberURL) 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 (*IndexOrdersForMemberURL) String ¶
func (o *IndexOrdersForMemberURL) String() string
String returns the string representation of the path with query string
func (*IndexOrdersForMemberURL) StringFull ¶
func (o *IndexOrdersForMemberURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*IndexOrdersForMemberURL) WithBasePath ¶
func (o *IndexOrdersForMemberURL) WithBasePath(bp string) *IndexOrdersForMemberURL
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 IndexOrdersForMemberUnauthorized ¶
type IndexOrdersForMemberUnauthorized struct { }
IndexOrdersForMemberUnauthorized must be authenticated to use this endpoint
swagger:response indexOrdersForMemberUnauthorized
func NewIndexOrdersForMemberUnauthorized ¶
func NewIndexOrdersForMemberUnauthorized() *IndexOrdersForMemberUnauthorized
NewIndexOrdersForMemberUnauthorized creates IndexOrdersForMemberUnauthorized with default headers values
func (*IndexOrdersForMemberUnauthorized) WriteResponse ¶
func (o *IndexOrdersForMemberUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type MilmoveOrdersAPI ¶
type MilmoveOrdersAPI struct { Middleware func(middleware.Builder) http.Handler // BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator // APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator // BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator // JSONConsumer registers a consumer for the following mime types: // - application/json JSONConsumer runtime.Consumer // JSONProducer registers a producer for the following mime types: // - application/json JSONProducer runtime.Producer // GetOrdersHandler sets the operation handler for the get orders operation GetOrdersHandler GetOrdersHandler // GetOrdersByIssuerAndOrdersNumHandler sets the operation handler for the get orders by issuer and orders num operation GetOrdersByIssuerAndOrdersNumHandler GetOrdersByIssuerAndOrdersNumHandler // GetOrdersCountByIssuerHandler sets the operation handler for the get orders count by issuer operation GetOrdersCountByIssuerHandler GetOrdersCountByIssuerHandler // IndexOrdersForMemberHandler sets the operation handler for the index orders for member operation IndexOrdersForMemberHandler IndexOrdersForMemberHandler // PostRevisionHandler sets the operation handler for the post revision operation PostRevisionHandler PostRevisionHandler // PostRevisionToOrdersHandler sets the operation handler for the post revision to orders operation PostRevisionToOrdersHandler PostRevisionToOrdersHandler // ServeError is called when an error is received, there is a default handler // but you can set your own with this ServeError func(http.ResponseWriter, *http.Request, error) // PreServerShutdown is called before the HTTP(S) server is shutdown // This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic PreServerShutdown func() // ServerShutdown is called when the HTTP(S) server is shut down and done // handling all active connections and does not accept connections any more ServerShutdown func() // Custom command line argument groups with their descriptions CommandLineOptionsGroups []swag.CommandLineOptionsGroup // User defined logger function. Logger func(string, ...interface{}) // contains filtered or unexported fields }
MilmoveOrdersAPI API to submit, amend, and cancel orders for move.mil.
func NewMilmoveOrdersAPI ¶
func NewMilmoveOrdersAPI(spec *loads.Document) *MilmoveOrdersAPI
NewMilmoveOrdersAPI creates a new MilmoveOrders instance
func (*MilmoveOrdersAPI) AuthenticatorsFor ¶
func (o *MilmoveOrdersAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*MilmoveOrdersAPI) Authorizer ¶
func (o *MilmoveOrdersAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*MilmoveOrdersAPI) ConsumersFor ¶
func (o *MilmoveOrdersAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.
func (*MilmoveOrdersAPI) Context ¶
func (o *MilmoveOrdersAPI) Context() *middleware.Context
Context returns the middleware context for the milmove orders API
func (*MilmoveOrdersAPI) DefaultConsumes ¶
func (o *MilmoveOrdersAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*MilmoveOrdersAPI) DefaultProduces ¶
func (o *MilmoveOrdersAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*MilmoveOrdersAPI) Formats ¶
func (o *MilmoveOrdersAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*MilmoveOrdersAPI) HandlerFor ¶
func (o *MilmoveOrdersAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*MilmoveOrdersAPI) Init ¶
func (o *MilmoveOrdersAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*MilmoveOrdersAPI) ProducersFor ¶
func (o *MilmoveOrdersAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.
func (*MilmoveOrdersAPI) RegisterConsumer ¶
func (o *MilmoveOrdersAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*MilmoveOrdersAPI) RegisterFormat ¶
func (o *MilmoveOrdersAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
RegisterFormat registers a custom format validator
func (*MilmoveOrdersAPI) RegisterProducer ¶
func (o *MilmoveOrdersAPI) RegisterProducer(mediaType string, producer runtime.Producer)
RegisterProducer allows you to add (or override) a producer for a media type.
func (*MilmoveOrdersAPI) Serve ¶
func (o *MilmoveOrdersAPI) Serve(builder middleware.Builder) http.Handler
Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))
func (*MilmoveOrdersAPI) ServeErrorFor ¶
func (o *MilmoveOrdersAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*MilmoveOrdersAPI) SetDefaultConsumes ¶
func (o *MilmoveOrdersAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*MilmoveOrdersAPI) SetDefaultProduces ¶
func (o *MilmoveOrdersAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*MilmoveOrdersAPI) SetSpec ¶
func (o *MilmoveOrdersAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*MilmoveOrdersAPI) Validate ¶
func (o *MilmoveOrdersAPI) Validate() error
Validate validates the registrations in the MilmoveOrdersAPI
type PostRevision ¶
type PostRevision struct { Context *middleware.Context Handler PostRevisionHandler }
PostRevision swagger:route POST /orders postRevision
Submit a new set of orders, make an amendment to an existing set of orders, or cancel a set of orders.
Creates a Revision of a set of orders. # Identifying the service member The Orders Gateway associates Orders and their Revisions with the member's EDIPI. For users of this API who do not have the member's EDIPI but do have the member's SSN, they can submit the SSN instead. The Orders Gateway will then fetch the member's EDIPI using DMDC's Identity Web Services. Calls using the 9-digit SSN instead of the 10-digit EDIPI will take longer to respond due to the additional overhead. # Submitting Orders Revisions ## New Orders The supplied Revision is considered part of a new set of Orders if the combination of `ordersNum` and `issuer` has never been seen before. A new UUID is created and associated with the Orders, which is returned along with the supplied Revision. ## Amended Orders If the system already has Orders with the supplied combination of `ordersNum` and `issuer`, then the supplied Revision is considered to be an amendment of those Orders. The Revision with the highest `seqNum` is considered the most recent amendment, which is not necessarily the Revision with the latest `dateIssued` or the Revision submitted last. If you stored the UUID of the Orders from a previous call to this API, you have the option of using the `POST /orders/{uuid}` API instead to supply a new Revision. ## Canceled, Rescinded, or Revoked Orders To cancel, rescind, or revoke Orders, POST a new Revision with the status set to "canceled". # Errors Users of this endpoint must have permission to write Orders for the specified `issuer`. Otherwise, this endpoint will return `403 Forbidden`. If SSN instead of EDIPI is provided to identify the member, and DMDC's Identity Web Services does not return an EDIPI for that SSN, then this endpoint will return `404 Not Found`. If amending existing Orders, the supplied seqNum must be unique when compared to existing Revisions in those Orders. If it has already been used, this endpoint will return `409 Conflict`. If amending existing Orders, the supplied memberId, as an EDIPI, or as an EDIPI retrieved from DMDC by SSN, must match the EDIPI in the existing Orders. If the EDIPIs do not match, this endpoint will return `409 Conflict`.
func NewPostRevision ¶
func NewPostRevision(ctx *middleware.Context, handler PostRevisionHandler) *PostRevision
NewPostRevision creates a new http.Handler for the post revision operation
func (*PostRevision) ServeHTTP ¶
func (o *PostRevision) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostRevisionBadRequest ¶
type PostRevisionBadRequest struct { }
PostRevisionBadRequest Invalid
swagger:response postRevisionBadRequest
func NewPostRevisionBadRequest ¶
func NewPostRevisionBadRequest() *PostRevisionBadRequest
NewPostRevisionBadRequest creates PostRevisionBadRequest with default headers values
func (*PostRevisionBadRequest) WriteResponse ¶
func (o *PostRevisionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionConflict ¶
type PostRevisionConflict struct { }
PostRevisionConflict Conflict
swagger:response postRevisionConflict
func NewPostRevisionConflict ¶
func NewPostRevisionConflict() *PostRevisionConflict
NewPostRevisionConflict creates PostRevisionConflict with default headers values
func (*PostRevisionConflict) WriteResponse ¶
func (o *PostRevisionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionCreated ¶
type PostRevisionCreated struct { /* In: Body */ Payload *ordersmessages.Orders `json:"body,omitempty"` }
PostRevisionCreated Created
swagger:response postRevisionCreated
func NewPostRevisionCreated ¶
func NewPostRevisionCreated() *PostRevisionCreated
NewPostRevisionCreated creates PostRevisionCreated with default headers values
func (*PostRevisionCreated) SetPayload ¶
func (o *PostRevisionCreated) SetPayload(payload *ordersmessages.Orders)
SetPayload sets the payload to the post revision created response
func (*PostRevisionCreated) WithPayload ¶
func (o *PostRevisionCreated) WithPayload(payload *ordersmessages.Orders) *PostRevisionCreated
WithPayload adds the payload to the post revision created response
func (*PostRevisionCreated) WriteResponse ¶
func (o *PostRevisionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionForbidden ¶
type PostRevisionForbidden struct { }
PostRevisionForbidden Forbidden
swagger:response postRevisionForbidden
func NewPostRevisionForbidden ¶
func NewPostRevisionForbidden() *PostRevisionForbidden
NewPostRevisionForbidden creates PostRevisionForbidden with default headers values
func (*PostRevisionForbidden) WriteResponse ¶
func (o *PostRevisionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionHandler ¶
type PostRevisionHandler interface {
Handle(PostRevisionParams) middleware.Responder
}
PostRevisionHandler interface for that can handle valid post revision params
type PostRevisionHandlerFunc ¶
type PostRevisionHandlerFunc func(PostRevisionParams) middleware.Responder
PostRevisionHandlerFunc turns a function with the right signature into a post revision handler
func (PostRevisionHandlerFunc) Handle ¶
func (fn PostRevisionHandlerFunc) Handle(params PostRevisionParams) middleware.Responder
Handle executing the request and returning a response
type PostRevisionInternalServerError ¶
type PostRevisionInternalServerError struct { }
PostRevisionInternalServerError Server error
swagger:response postRevisionInternalServerError
func NewPostRevisionInternalServerError ¶
func NewPostRevisionInternalServerError() *PostRevisionInternalServerError
NewPostRevisionInternalServerError creates PostRevisionInternalServerError with default headers values
func (*PostRevisionInternalServerError) WriteResponse ¶
func (o *PostRevisionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionNotFound ¶
type PostRevisionNotFound struct { }
PostRevisionNotFound Not Found
swagger:response postRevisionNotFound
func NewPostRevisionNotFound ¶
func NewPostRevisionNotFound() *PostRevisionNotFound
NewPostRevisionNotFound creates PostRevisionNotFound with default headers values
func (*PostRevisionNotFound) WriteResponse ¶
func (o *PostRevisionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionParams ¶
type PostRevisionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Organization that issued the Orders. Required: true In: query */ Issuer string /*Electronic Data Interchange Personal Identifier of the member (preferred). If the member's EDIPI is unknown, then the Social Security Number may be provided instead. Required: true Pattern: ^\d{9}\d?$ In: query */ MemberID string /*Orders number, corresponding to the ORDERS number (Army), the CT SDN (Navy, Marines), the SPECIAL ORDER NO (Air Force), the Travel Order No (Coast Guard), or the Travel Authorization Number (Civilian). Required: true In: query */ OrdersNum string /* Required: true In: body */ Revision *ordersmessages.Revision }
PostRevisionParams contains all the bound params for the post revision operation typically these are obtained from a http.Request
swagger:parameters postRevision
func NewPostRevisionParams ¶
func NewPostRevisionParams() PostRevisionParams
NewPostRevisionParams creates a new PostRevisionParams object no default values defined in spec.
func (*PostRevisionParams) BindRequest ¶
func (o *PostRevisionParams) 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 NewPostRevisionParams() beforehand.
type PostRevisionToOrders ¶
type PostRevisionToOrders struct { Context *middleware.Context Handler PostRevisionToOrdersHandler }
PostRevisionToOrders swagger:route POST /orders/{uuid} postRevisionToOrders
Make an amendment to or cancel an existing set of orders by UUID ¶
Creates a Revision of a set of orders. The Orders to be amended or canceled must already exist with the supplied UUID. ## Amendment requirements The `seqNum` in the supplied Revision must be unique among all Revisions in these Orders. Other than `seqNum`, nothing else is required to change in the Revision compared to any other Revision in these Orders. # Errors Users of this endpoint must have permission to write Orders for the `issuer` associated with the Orders that were originally POST'd to the `orders` endpoint. If not, this endpoint will return `403 Forbidden`. The UUID must match an existing set of Orders. Otherwise, this endpoint will return `404 Not Found`. If amending existing Orders, the supplied seqNum must be unique. If it has already been used, this endpoint will return `409 Conflict`.
func NewPostRevisionToOrders ¶
func NewPostRevisionToOrders(ctx *middleware.Context, handler PostRevisionToOrdersHandler) *PostRevisionToOrders
NewPostRevisionToOrders creates a new http.Handler for the post revision to orders operation
func (*PostRevisionToOrders) ServeHTTP ¶
func (o *PostRevisionToOrders) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostRevisionToOrdersBadRequest ¶
type PostRevisionToOrdersBadRequest struct { }
PostRevisionToOrdersBadRequest Invalid
swagger:response postRevisionToOrdersBadRequest
func NewPostRevisionToOrdersBadRequest ¶
func NewPostRevisionToOrdersBadRequest() *PostRevisionToOrdersBadRequest
NewPostRevisionToOrdersBadRequest creates PostRevisionToOrdersBadRequest with default headers values
func (*PostRevisionToOrdersBadRequest) WriteResponse ¶
func (o *PostRevisionToOrdersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionToOrdersConflict ¶
type PostRevisionToOrdersConflict struct { }
PostRevisionToOrdersConflict Conflict
swagger:response postRevisionToOrdersConflict
func NewPostRevisionToOrdersConflict ¶
func NewPostRevisionToOrdersConflict() *PostRevisionToOrdersConflict
NewPostRevisionToOrdersConflict creates PostRevisionToOrdersConflict with default headers values
func (*PostRevisionToOrdersConflict) WriteResponse ¶
func (o *PostRevisionToOrdersConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionToOrdersCreated ¶
type PostRevisionToOrdersCreated struct { /* In: Body */ Payload *ordersmessages.Orders `json:"body,omitempty"` }
PostRevisionToOrdersCreated Created
swagger:response postRevisionToOrdersCreated
func NewPostRevisionToOrdersCreated ¶
func NewPostRevisionToOrdersCreated() *PostRevisionToOrdersCreated
NewPostRevisionToOrdersCreated creates PostRevisionToOrdersCreated with default headers values
func (*PostRevisionToOrdersCreated) SetPayload ¶
func (o *PostRevisionToOrdersCreated) SetPayload(payload *ordersmessages.Orders)
SetPayload sets the payload to the post revision to orders created response
func (*PostRevisionToOrdersCreated) WithPayload ¶
func (o *PostRevisionToOrdersCreated) WithPayload(payload *ordersmessages.Orders) *PostRevisionToOrdersCreated
WithPayload adds the payload to the post revision to orders created response
func (*PostRevisionToOrdersCreated) WriteResponse ¶
func (o *PostRevisionToOrdersCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionToOrdersForbidden ¶
type PostRevisionToOrdersForbidden struct { }
PostRevisionToOrdersForbidden Forbidden
swagger:response postRevisionToOrdersForbidden
func NewPostRevisionToOrdersForbidden ¶
func NewPostRevisionToOrdersForbidden() *PostRevisionToOrdersForbidden
NewPostRevisionToOrdersForbidden creates PostRevisionToOrdersForbidden with default headers values
func (*PostRevisionToOrdersForbidden) WriteResponse ¶
func (o *PostRevisionToOrdersForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionToOrdersHandler ¶
type PostRevisionToOrdersHandler interface {
Handle(PostRevisionToOrdersParams) middleware.Responder
}
PostRevisionToOrdersHandler interface for that can handle valid post revision to orders params
type PostRevisionToOrdersHandlerFunc ¶
type PostRevisionToOrdersHandlerFunc func(PostRevisionToOrdersParams) middleware.Responder
PostRevisionToOrdersHandlerFunc turns a function with the right signature into a post revision to orders handler
func (PostRevisionToOrdersHandlerFunc) Handle ¶
func (fn PostRevisionToOrdersHandlerFunc) Handle(params PostRevisionToOrdersParams) middleware.Responder
Handle executing the request and returning a response
type PostRevisionToOrdersInternalServerError ¶
type PostRevisionToOrdersInternalServerError struct { }
PostRevisionToOrdersInternalServerError Server error
swagger:response postRevisionToOrdersInternalServerError
func NewPostRevisionToOrdersInternalServerError ¶
func NewPostRevisionToOrdersInternalServerError() *PostRevisionToOrdersInternalServerError
NewPostRevisionToOrdersInternalServerError creates PostRevisionToOrdersInternalServerError with default headers values
func (*PostRevisionToOrdersInternalServerError) WriteResponse ¶
func (o *PostRevisionToOrdersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionToOrdersNotFound ¶
type PostRevisionToOrdersNotFound struct { }
PostRevisionToOrdersNotFound Orders not found
swagger:response postRevisionToOrdersNotFound
func NewPostRevisionToOrdersNotFound ¶
func NewPostRevisionToOrdersNotFound() *PostRevisionToOrdersNotFound
NewPostRevisionToOrdersNotFound creates PostRevisionToOrdersNotFound with default headers values
func (*PostRevisionToOrdersNotFound) WriteResponse ¶
func (o *PostRevisionToOrdersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionToOrdersParams ¶
type PostRevisionToOrdersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Revision *ordersmessages.Revision /*UUID of the orders to amend Required: true In: path */ UUID strfmt.UUID }
PostRevisionToOrdersParams contains all the bound params for the post revision to orders operation typically these are obtained from a http.Request
swagger:parameters postRevisionToOrders
func NewPostRevisionToOrdersParams ¶
func NewPostRevisionToOrdersParams() PostRevisionToOrdersParams
NewPostRevisionToOrdersParams creates a new PostRevisionToOrdersParams object no default values defined in spec.
func (*PostRevisionToOrdersParams) BindRequest ¶
func (o *PostRevisionToOrdersParams) 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 NewPostRevisionToOrdersParams() beforehand.
type PostRevisionToOrdersURL ¶
PostRevisionToOrdersURL generates an URL for the post revision to orders operation
func (*PostRevisionToOrdersURL) Build ¶
func (o *PostRevisionToOrdersURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostRevisionToOrdersURL) BuildFull ¶
func (o *PostRevisionToOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostRevisionToOrdersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostRevisionToOrdersURL) SetBasePath ¶
func (o *PostRevisionToOrdersURL) 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 (*PostRevisionToOrdersURL) String ¶
func (o *PostRevisionToOrdersURL) String() string
String returns the string representation of the path with query string
func (*PostRevisionToOrdersURL) StringFull ¶
func (o *PostRevisionToOrdersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostRevisionToOrdersURL) WithBasePath ¶
func (o *PostRevisionToOrdersURL) WithBasePath(bp string) *PostRevisionToOrdersURL
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 PostRevisionToOrdersUnauthorized ¶
type PostRevisionToOrdersUnauthorized struct { }
PostRevisionToOrdersUnauthorized must be authenticated to use this endpoint
swagger:response postRevisionToOrdersUnauthorized
func NewPostRevisionToOrdersUnauthorized ¶
func NewPostRevisionToOrdersUnauthorized() *PostRevisionToOrdersUnauthorized
NewPostRevisionToOrdersUnauthorized creates PostRevisionToOrdersUnauthorized with default headers values
func (*PostRevisionToOrdersUnauthorized) WriteResponse ¶
func (o *PostRevisionToOrdersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostRevisionURL ¶
type PostRevisionURL struct { Issuer string MemberID string OrdersNum string // contains filtered or unexported fields }
PostRevisionURL generates an URL for the post revision operation
func (*PostRevisionURL) Build ¶
func (o *PostRevisionURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostRevisionURL) BuildFull ¶
func (o *PostRevisionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostRevisionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostRevisionURL) SetBasePath ¶
func (o *PostRevisionURL) 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 (*PostRevisionURL) String ¶
func (o *PostRevisionURL) String() string
String returns the string representation of the path with query string
func (*PostRevisionURL) StringFull ¶
func (o *PostRevisionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostRevisionURL) WithBasePath ¶
func (o *PostRevisionURL) WithBasePath(bp string) *PostRevisionURL
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 PostRevisionUnauthorized ¶
type PostRevisionUnauthorized struct { }
PostRevisionUnauthorized must be authenticated to use this endpoint
swagger:response postRevisionUnauthorized
func NewPostRevisionUnauthorized ¶
func NewPostRevisionUnauthorized() *PostRevisionUnauthorized
NewPostRevisionUnauthorized creates PostRevisionUnauthorized with default headers values
func (*PostRevisionUnauthorized) WriteResponse ¶
func (o *PostRevisionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- get_orders.go
- get_orders_by_issuer_and_orders_num.go
- get_orders_by_issuer_and_orders_num_parameters.go
- get_orders_by_issuer_and_orders_num_responses.go
- get_orders_by_issuer_and_orders_num_urlbuilder.go
- get_orders_count_by_issuer.go
- get_orders_count_by_issuer_parameters.go
- get_orders_count_by_issuer_responses.go
- get_orders_count_by_issuer_urlbuilder.go
- get_orders_parameters.go
- get_orders_responses.go
- get_orders_urlbuilder.go
- index_orders_for_member.go
- index_orders_for_member_parameters.go
- index_orders_for_member_responses.go
- index_orders_for_member_urlbuilder.go
- milmove_orders_api.go
- post_revision.go
- post_revision_parameters.go
- post_revision_responses.go
- post_revision_to_orders.go
- post_revision_to_orders_parameters.go
- post_revision_to_orders_responses.go
- post_revision_to_orders_urlbuilder.go
- post_revision_urlbuilder.go