operations

package
v0.0.0-...-2c5aaa4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetItemName

type GetItemName struct {
	Context *middleware.Context
	Handler GetItemNameHandler
}

GetItemName swagger:route GET /item/{name} getItemName

GetItemName get item name API

func NewGetItemName

func NewGetItemName(ctx *middleware.Context, handler GetItemNameHandler) *GetItemName

NewGetItemName creates a new http.Handler for the get item name operation

func (*GetItemName) ServeHTTP

func (o *GetItemName) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetItemNameHandler

type GetItemNameHandler interface {
	Handle(GetItemNameParams) middleware.Responder
}

GetItemNameHandler interface for that can handle valid get item name params

type GetItemNameHandlerFunc

type GetItemNameHandlerFunc func(GetItemNameParams) middleware.Responder

GetItemNameHandlerFunc turns a function with the right signature into a get item name handler

func (GetItemNameHandlerFunc) Handle

Handle executing the request and returning a response

type GetItemNameOK

type GetItemNameOK struct {

	// In: body
	Payload *models.Item `json:"body,omitempty"`
}

GetItemNameOK get specific lab item

swagger:response getItemNameOK

func NewGetItemNameOK

func NewGetItemNameOK() *GetItemNameOK

NewGetItemNameOK creates GetItemNameOK with default headers values

func (*GetItemNameOK) SetPayload

func (o *GetItemNameOK) SetPayload(payload *models.Item)

SetPayload sets the payload to the get item name o k response

func (*GetItemNameOK) WithPayload

func (o *GetItemNameOK) WithPayload(payload *models.Item) *GetItemNameOK

WithPayload adds the payload to the get item name o k response

func (*GetItemNameOK) WriteResponse

func (o *GetItemNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetItemNameParams

type GetItemNameParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*name of the lab equipment
	  Required: true
	  Max Length: 512
	  Min Length: 1
	  In: path
	*/
	Name string
}

GetItemNameParams contains all the bound params for the get item name operation typically these are obtained from a http.Request

swagger:parameters GetItemName

func NewGetItemNameParams

func NewGetItemNameParams() GetItemNameParams

NewGetItemNameParams creates a new GetItemNameParams object with the default values initialized.

func (*GetItemNameParams) BindRequest

func (o *GetItemNameParams) 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

type GetItems

type GetItems struct {
	Context *middleware.Context
	Handler GetItemsHandler
}

GetItems swagger:route GET /items getItems

GetItems get items API

func NewGetItems

func NewGetItems(ctx *middleware.Context, handler GetItemsHandler) *GetItems

NewGetItems creates a new http.Handler for the get items operation

func (*GetItems) ServeHTTP

func (o *GetItems) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetItemsHandler

type GetItemsHandler interface {
	Handle(GetItemsParams) middleware.Responder
}

GetItemsHandler interface for that can handle valid get items params

type GetItemsHandlerFunc

type GetItemsHandlerFunc func(GetItemsParams) middleware.Responder

GetItemsHandlerFunc turns a function with the right signature into a get items handler

func (GetItemsHandlerFunc) Handle

Handle executing the request and returning a response

type GetItemsOK

type GetItemsOK struct {

	// In: body
	Payload models.Items `json:"body,omitempty"`
}

GetItemsOK list all items in the lab

swagger:response getItemsOK

func NewGetItemsOK

func NewGetItemsOK() *GetItemsOK

NewGetItemsOK creates GetItemsOK with default headers values

func (*GetItemsOK) SetPayload

func (o *GetItemsOK) SetPayload(payload models.Items)

SetPayload sets the payload to the get items o k response

func (*GetItemsOK) WithPayload

func (o *GetItemsOK) WithPayload(payload models.Items) *GetItemsOK

WithPayload adds the payload to the get items o k response

func (*GetItemsOK) WriteResponse

func (o *GetItemsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetItemsParams

type GetItemsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request
}

GetItemsParams contains all the bound params for the get items operation typically these are obtained from a http.Request

swagger:parameters GetItems

func NewGetItemsParams

func NewGetItemsParams() GetItemsParams

NewGetItemsParams creates a new GetItemsParams object with the default values initialized.

func (*GetItemsParams) BindRequest

func (o *GetItemsParams) 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

type GetUsers

type GetUsers struct {
	Context *middleware.Context
	Handler GetUsersHandler
}

GetUsers swagger:route GET /users getUsers

GetUsers get users API

func NewGetUsers

func NewGetUsers(ctx *middleware.Context, handler GetUsersHandler) *GetUsers

NewGetUsers creates a new http.Handler for the get users operation

func (*GetUsers) ServeHTTP

func (o *GetUsers) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetUsersHandler

type GetUsersHandler interface {
	Handle(GetUsersParams) middleware.Responder
}

GetUsersHandler interface for that can handle valid get users params

type GetUsersHandlerFunc

type GetUsersHandlerFunc func(GetUsersParams) middleware.Responder

GetUsersHandlerFunc turns a function with the right signature into a get users handler

func (GetUsersHandlerFunc) Handle

Handle executing the request and returning a response

type GetUsersOK

type GetUsersOK struct {

	// In: body
	Payload models.Users `json:"body,omitempty"`
}

GetUsersOK list all users in the lab

swagger:response getUsersOK

func NewGetUsersOK

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates GetUsersOK with default headers values

func (*GetUsersOK) SetPayload

func (o *GetUsersOK) SetPayload(payload models.Users)

SetPayload sets the payload to the get users o k response

func (*GetUsersOK) WithPayload

func (o *GetUsersOK) WithPayload(payload models.Users) *GetUsersOK

WithPayload adds the payload to the get users o k response

func (*GetUsersOK) WriteResponse

func (o *GetUsersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUsersParams

type GetUsersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request
}

GetUsersParams contains all the bound params for the get users operation typically these are obtained from a http.Request

swagger:parameters GetUsers

func NewGetUsersParams

func NewGetUsersParams() GetUsersParams

NewGetUsersParams creates a new GetUsersParams object with the default values initialized.

func (*GetUsersParams) BindRequest

func (o *GetUsersParams) 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

type LabReservedAPI

type LabReservedAPI struct {

	// JSONConsumer registers a consumer for a "application/json" mime type
	JSONConsumer runtime.Consumer

	// JSONProducer registers a producer for a "application/json" mime type
	JSONProducer runtime.Producer

	// GetItemsHandler sets the operation handler for the get items operation
	GetItemsHandler GetItemsHandler

	// 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)

	// 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
}

LabReservedAPI REST interface for lab items reserved by a person until a date

func NewLabReservedAPI

func NewLabReservedAPI(spec *loads.Document) *LabReservedAPI

NewLabReservedAPI creates a new LabReserved instance

func (*LabReservedAPI) AuthenticatorsFor

func (o *LabReservedAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*LabReservedAPI) ConsumersFor

func (o *LabReservedAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer

ConsumersFor gets the consumers for the specified media types

func (*LabReservedAPI) DefaultConsumes

func (o *LabReservedAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*LabReservedAPI) DefaultProduces

func (o *LabReservedAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*LabReservedAPI) Formats

func (o *LabReservedAPI) Formats() strfmt.Registry

Formats returns the registered string formats

func (*LabReservedAPI) HandlerFor

func (o *LabReservedAPI) HandlerFor(method, path string) (http.Handler, bool)

HandlerFor gets a http.Handler for the provided operation method and path

func (*LabReservedAPI) ProducersFor

func (o *LabReservedAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer

ProducersFor gets the producers for the specified media types

func (*LabReservedAPI) RegisterFormat

func (o *LabReservedAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)

RegisterFormat registers a custom format validator

func (*LabReservedAPI) Serve

func (o *LabReservedAPI) 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 (*LabReservedAPI) ServeErrorFor

func (o *LabReservedAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)

ServeErrorFor gets a error handler for a given operation id

func (*LabReservedAPI) SetDefaultConsumes

func (o *LabReservedAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*LabReservedAPI) SetDefaultProduces

func (o *LabReservedAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*LabReservedAPI) Validate

func (o *LabReservedAPI) Validate() error

Validate validates the registrations in the LabReservedAPI

type LabreservedAPI

type LabreservedAPI struct {

	// JSONConsumer registers a consumer for a "application/json" mime type
	JSONConsumer runtime.Consumer

	// JSONProducer registers a producer for a "application/json" mime type
	JSONProducer runtime.Producer

	// GetItemNameHandler sets the operation handler for the get item name operation
	GetItemNameHandler GetItemNameHandler
	// GetItemsHandler sets the operation handler for the get items operation
	GetItemsHandler GetItemsHandler
	// GetUsersHandler sets the operation handler for the get users operation
	GetUsersHandler GetUsersHandler
	// PostItemHandler sets the operation handler for the post item operation
	PostItemHandler PostItemHandler
	// PostItemNameReservationHandler sets the operation handler for the post item name reservation operation
	PostItemNameReservationHandler PostItemNameReservationHandler
	// PostUserHandler sets the operation handler for the post user operation
	PostUserHandler PostUserHandler

	// 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)

	// 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
}

LabreservedAPI REST interface for lab items reserved by a person until a date

func NewLabreservedAPI

func NewLabreservedAPI(spec *loads.Document) *LabreservedAPI

NewLabreservedAPI creates a new Labreserved instance

func (*LabreservedAPI) AuthenticatorsFor

func (o *LabreservedAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*LabreservedAPI) ConsumersFor

func (o *LabreservedAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer

ConsumersFor gets the consumers for the specified media types

func (*LabreservedAPI) DefaultConsumes

func (o *LabreservedAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*LabreservedAPI) DefaultProduces

func (o *LabreservedAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*LabreservedAPI) Formats

func (o *LabreservedAPI) Formats() strfmt.Registry

Formats returns the registered string formats

func (*LabreservedAPI) HandlerFor

func (o *LabreservedAPI) HandlerFor(method, path string) (http.Handler, bool)

HandlerFor gets a http.Handler for the provided operation method and path

func (*LabreservedAPI) ProducersFor

func (o *LabreservedAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer

ProducersFor gets the producers for the specified media types

func (*LabreservedAPI) RegisterFormat

func (o *LabreservedAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)

RegisterFormat registers a custom format validator

func (*LabreservedAPI) Serve

func (o *LabreservedAPI) 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 (*LabreservedAPI) ServeErrorFor

func (o *LabreservedAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)

ServeErrorFor gets a error handler for a given operation id

func (*LabreservedAPI) SetDefaultConsumes

func (o *LabreservedAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*LabreservedAPI) SetDefaultProduces

func (o *LabreservedAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*LabreservedAPI) Validate

func (o *LabreservedAPI) Validate() error

Validate validates the registrations in the LabreservedAPI

type PostItem

type PostItem struct {
	Context *middleware.Context
	Handler PostItemHandler
}

PostItem swagger:route POST /item postItem

add a single item to the lab list

func NewPostItem

func NewPostItem(ctx *middleware.Context, handler PostItemHandler) *PostItem

NewPostItem creates a new http.Handler for the post item operation

func (*PostItem) ServeHTTP

func (o *PostItem) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostItemBadRequest

type PostItemBadRequest struct {

	// In: body
	Payload string `json:"body,omitempty"`
}

PostItemBadRequest Error

swagger:response postItemBadRequest

func NewPostItemBadRequest

func NewPostItemBadRequest() *PostItemBadRequest

NewPostItemBadRequest creates PostItemBadRequest with default headers values

func (*PostItemBadRequest) SetPayload

func (o *PostItemBadRequest) SetPayload(payload string)

SetPayload sets the payload to the post item bad request response

func (*PostItemBadRequest) WithPayload

func (o *PostItemBadRequest) WithPayload(payload string) *PostItemBadRequest

WithPayload adds the payload to the post item bad request response

func (*PostItemBadRequest) WriteResponse

func (o *PostItemBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostItemHandler

type PostItemHandler interface {
	Handle(PostItemParams) middleware.Responder
}

PostItemHandler interface for that can handle valid post item params

type PostItemHandlerFunc

type PostItemHandlerFunc func(PostItemParams) middleware.Responder

PostItemHandlerFunc turns a function with the right signature into a post item handler

func (PostItemHandlerFunc) Handle

Handle executing the request and returning a response

type PostItemNameReservation

type PostItemNameReservation struct {
	Context *middleware.Context
	Handler PostItemNameReservationHandler
}

PostItemNameReservation swagger:route POST /item/{name}/reservation postItemNameReservation

post a reservation for a specific lab item

func NewPostItemNameReservation

func NewPostItemNameReservation(ctx *middleware.Context, handler PostItemNameReservationHandler) *PostItemNameReservation

NewPostItemNameReservation creates a new http.Handler for the post item name reservation operation

func (*PostItemNameReservation) ServeHTTP

type PostItemNameReservationBadRequest

type PostItemNameReservationBadRequest struct {

	// In: body
	Payload string `json:"body,omitempty"`
}

PostItemNameReservationBadRequest Error

swagger:response postItemNameReservationBadRequest

func NewPostItemNameReservationBadRequest

func NewPostItemNameReservationBadRequest() *PostItemNameReservationBadRequest

NewPostItemNameReservationBadRequest creates PostItemNameReservationBadRequest with default headers values

func (*PostItemNameReservationBadRequest) SetPayload

func (o *PostItemNameReservationBadRequest) SetPayload(payload string)

SetPayload sets the payload to the post item name reservation bad request response

func (*PostItemNameReservationBadRequest) WithPayload

WithPayload adds the payload to the post item name reservation bad request response

func (*PostItemNameReservationBadRequest) WriteResponse

func (o *PostItemNameReservationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostItemNameReservationHandler

type PostItemNameReservationHandler interface {
	Handle(PostItemNameReservationParams) middleware.Responder
}

PostItemNameReservationHandler interface for that can handle valid post item name reservation params

type PostItemNameReservationHandlerFunc

type PostItemNameReservationHandlerFunc func(PostItemNameReservationParams) middleware.Responder

PostItemNameReservationHandlerFunc turns a function with the right signature into a post item name reservation handler

func (PostItemNameReservationHandlerFunc) Handle

Handle executing the request and returning a response

type PostItemNameReservationOK

type PostItemNameReservationOK struct {

	// In: body
	Payload *models.Reservation `json:"body,omitempty"`
}

PostItemNameReservationOK Accepted

swagger:response postItemNameReservationOK

func NewPostItemNameReservationOK

func NewPostItemNameReservationOK() *PostItemNameReservationOK

NewPostItemNameReservationOK creates PostItemNameReservationOK with default headers values

func (*PostItemNameReservationOK) SetPayload

func (o *PostItemNameReservationOK) SetPayload(payload *models.Reservation)

SetPayload sets the payload to the post item name reservation o k response

func (*PostItemNameReservationOK) WithPayload

WithPayload adds the payload to the post item name reservation o k response

func (*PostItemNameReservationOK) WriteResponse

func (o *PostItemNameReservationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostItemNameReservationParams

type PostItemNameReservationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*name of the lab equipment
	  Required: true
	  Max Length: 512
	  Min Length: 1
	  In: path
	*/
	Name string
	/*representation of the reservation to add
	  Required: true
	  In: body
	*/
	Reservation *models.Reservation
}

PostItemNameReservationParams contains all the bound params for the post item name reservation operation typically these are obtained from a http.Request

swagger:parameters PostItemNameReservation

func NewPostItemNameReservationParams

func NewPostItemNameReservationParams() PostItemNameReservationParams

NewPostItemNameReservationParams creates a new PostItemNameReservationParams object with the default values initialized.

func (*PostItemNameReservationParams) 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

type PostItemOK

type PostItemOK struct {

	// In: body
	Payload *models.Item `json:"body,omitempty"`
}

PostItemOK Accepted

swagger:response postItemOK

func NewPostItemOK

func NewPostItemOK() *PostItemOK

NewPostItemOK creates PostItemOK with default headers values

func (*PostItemOK) SetPayload

func (o *PostItemOK) SetPayload(payload *models.Item)

SetPayload sets the payload to the post item o k response

func (*PostItemOK) WithPayload

func (o *PostItemOK) WithPayload(payload *models.Item) *PostItemOK

WithPayload adds the payload to the post item o k response

func (*PostItemOK) WriteResponse

func (o *PostItemOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostItemParams

type PostItemParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*representation of the item to add
	  Required: true
	  In: body
	*/
	Additem *models.Item
}

PostItemParams contains all the bound params for the post item operation typically these are obtained from a http.Request

swagger:parameters PostItem

func NewPostItemParams

func NewPostItemParams() PostItemParams

NewPostItemParams creates a new PostItemParams object with the default values initialized.

func (*PostItemParams) BindRequest

func (o *PostItemParams) 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

type PostUser

type PostUser struct {
	Context *middleware.Context
	Handler PostUserHandler
}

PostUser swagger:route POST /user postUser

add a single user

func NewPostUser

func NewPostUser(ctx *middleware.Context, handler PostUserHandler) *PostUser

NewPostUser creates a new http.Handler for the post user operation

func (*PostUser) ServeHTTP

func (o *PostUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostUserBadRequest

type PostUserBadRequest struct {

	// In: body
	Payload string `json:"body,omitempty"`
}

PostUserBadRequest Error

swagger:response postUserBadRequest

func NewPostUserBadRequest

func NewPostUserBadRequest() *PostUserBadRequest

NewPostUserBadRequest creates PostUserBadRequest with default headers values

func (*PostUserBadRequest) SetPayload

func (o *PostUserBadRequest) SetPayload(payload string)

SetPayload sets the payload to the post user bad request response

func (*PostUserBadRequest) WithPayload

func (o *PostUserBadRequest) WithPayload(payload string) *PostUserBadRequest

WithPayload adds the payload to the post user bad request response

func (*PostUserBadRequest) WriteResponse

func (o *PostUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostUserHandler

type PostUserHandler interface {
	Handle(PostUserParams) middleware.Responder
}

PostUserHandler interface for that can handle valid post user params

type PostUserHandlerFunc

type PostUserHandlerFunc func(PostUserParams) middleware.Responder

PostUserHandlerFunc turns a function with the right signature into a post user handler

func (PostUserHandlerFunc) Handle

Handle executing the request and returning a response

type PostUserOK

type PostUserOK struct {

	// In: body
	Payload *models.User `json:"body,omitempty"`
}

PostUserOK Accepted

swagger:response postUserOK

func NewPostUserOK

func NewPostUserOK() *PostUserOK

NewPostUserOK creates PostUserOK with default headers values

func (*PostUserOK) SetPayload

func (o *PostUserOK) SetPayload(payload *models.User)

SetPayload sets the payload to the post user o k response

func (*PostUserOK) WithPayload

func (o *PostUserOK) WithPayload(payload *models.User) *PostUserOK

WithPayload adds the payload to the post user o k response

func (*PostUserOK) WriteResponse

func (o *PostUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostUserParams

type PostUserParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*representation of the user to add
	  Required: true
	  In: body
	*/
	Adduser *models.User
}

PostUserParams contains all the bound params for the post user operation typically these are obtained from a http.Request

swagger:parameters PostUser

func NewPostUserParams

func NewPostUserParams() PostUserParams

NewPostUserParams creates a new PostUserParams object with the default values initialized.

func (*PostUserParams) BindRequest

func (o *PostUserParams) 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

Jump to

Keyboard shortcuts

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