items

package
v0.0.0-...-fda5bac Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2018 License: MIT Imports: 12 Imported by: 3

Documentation

Index

Constants

View Source
const CreateItemBadRequestCode int = 400

CreateItemBadRequestCode is the HTTP code returned for type CreateItemBadRequest

View Source
const CreateItemCreatedCode int = 201

CreateItemCreatedCode is the HTTP code returned for type CreateItemCreated

View Source
const DeleteItemNotFoundCode int = 404

DeleteItemNotFoundCode is the HTTP code returned for type DeleteItemNotFound

View Source
const DeleteItemOKCode int = 200

DeleteItemOKCode is the HTTP code returned for type DeleteItemOK

View Source
const DeleteItemsByOwnerNotFoundCode int = 404

DeleteItemsByOwnerNotFoundCode is the HTTP code returned for type DeleteItemsByOwnerNotFound

View Source
const DeleteItemsByOwnerOKCode int = 200

DeleteItemsByOwnerOKCode is the HTTP code returned for type DeleteItemsByOwnerOK

View Source
const DeleteItemsBySubCategoryNotFoundCode int = 404

DeleteItemsBySubCategoryNotFoundCode is the HTTP code returned for type DeleteItemsBySubCategoryNotFound

View Source
const DeleteItemsBySubCategoryOKCode int = 200

DeleteItemsBySubCategoryOKCode is the HTTP code returned for type DeleteItemsBySubCategoryOK

View Source
const DeleteItemsNotFoundCode int = 404

DeleteItemsNotFoundCode is the HTTP code returned for type DeleteItemsNotFound

View Source
const DeleteItemsOKCode int = 200

DeleteItemsOKCode is the HTTP code returned for type DeleteItemsOK

View Source
const GetItemNotFoundCode int = 404

GetItemNotFoundCode is the HTTP code returned for type GetItemNotFound

View Source
const GetItemOKCode int = 200

GetItemOKCode is the HTTP code returned for type GetItemOK

View Source
const GetItemsByOwnerBadRequestCode int = 400

GetItemsByOwnerBadRequestCode is the HTTP code returned for type GetItemsByOwnerBadRequest

View Source
const GetItemsByOwnerNotFoundCode int = 404

GetItemsByOwnerNotFoundCode is the HTTP code returned for type GetItemsByOwnerNotFound

View Source
const GetItemsByOwnerOKCode int = 200

GetItemsByOwnerOKCode is the HTTP code returned for type GetItemsByOwnerOK

View Source
const GetItemsBySubCategoryBadRequestCode int = 400

GetItemsBySubCategoryBadRequestCode is the HTTP code returned for type GetItemsBySubCategoryBadRequest

View Source
const GetItemsBySubCategoryNotFoundCode int = 404

GetItemsBySubCategoryNotFoundCode is the HTTP code returned for type GetItemsBySubCategoryNotFound

View Source
const GetItemsBySubCategoryOKCode int = 200

GetItemsBySubCategoryOKCode is the HTTP code returned for type GetItemsBySubCategoryOK

View Source
const GetItemsNotFoundCode int = 404

GetItemsNotFoundCode is the HTTP code returned for type GetItemsNotFound

View Source
const GetItemsOKCode int = 200

GetItemsOKCode is the HTTP code returned for type GetItemsOK

View Source
const UpdateItemBadRequestCode int = 400

UpdateItemBadRequestCode is the HTTP code returned for type UpdateItemBadRequest

View Source
const UpdateItemCreatedCode int = 201

UpdateItemCreatedCode is the HTTP code returned for type UpdateItemCreated

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateItem

type CreateItem struct {
	Context *middleware.Context
	Handler CreateItemHandler
}

CreateItem swagger:route POST /users/{id}/items Items createItem

Create an Item

func NewCreateItem

func NewCreateItem(ctx *middleware.Context, handler CreateItemHandler) *CreateItem

NewCreateItem creates a new http.Handler for the create item operation

func (*CreateItem) ServeHTTP

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

type CreateItemBadRequest

type CreateItemBadRequest struct {
}

CreateItemBadRequest Invalid input

swagger:response createItemBadRequest

func NewCreateItemBadRequest

func NewCreateItemBadRequest() *CreateItemBadRequest

NewCreateItemBadRequest creates CreateItemBadRequest with default headers values

func (*CreateItemBadRequest) WriteResponse

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

WriteResponse to the client

type CreateItemCreated

type CreateItemCreated struct {

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

CreateItemCreated Category Created

swagger:response createItemCreated

func NewCreateItemCreated

func NewCreateItemCreated() *CreateItemCreated

NewCreateItemCreated creates CreateItemCreated with default headers values

func (*CreateItemCreated) SetPayload

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

SetPayload sets the payload to the create item created response

func (*CreateItemCreated) WithPayload

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

WithPayload adds the payload to the create item created response

func (*CreateItemCreated) WriteResponse

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

WriteResponse to the client

type CreateItemHandler

type CreateItemHandler interface {
	Handle(CreateItemParams) middleware.Responder
}

CreateItemHandler interface for that can handle valid create item params

type CreateItemHandlerFunc

type CreateItemHandlerFunc func(CreateItemParams) middleware.Responder

CreateItemHandlerFunc turns a function with the right signature into a create item handler

func (CreateItemHandlerFunc) Handle

Handle executing the request and returning a response

type CreateItemParams

type CreateItemParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*
	  Required: true
	  In: body
	*/
	Body *models.Item
	/*Owner's ID
	  Required: true
	  In: path
	*/
	ID int64
}

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

swagger:parameters createItem

func NewCreateItemParams

func NewCreateItemParams() CreateItemParams

NewCreateItemParams creates a new CreateItemParams object with the default values initialized.

func (*CreateItemParams) BindRequest

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

type CreateItemURL struct {
	ID int64
	// contains filtered or unexported fields
}

CreateItemURL generates an URL for the create item operation

func (*CreateItemURL) Build

func (o *CreateItemURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateItemURL) BuildFull

func (o *CreateItemURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateItemURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*CreateItemURL) SetBasePath

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

func (o *CreateItemURL) String() string

String returns the string representation of the path with query string

func (*CreateItemURL) StringFull

func (o *CreateItemURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateItemURL) WithBasePath

func (o *CreateItemURL) WithBasePath(bp string) *CreateItemURL

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 DeleteItem

type DeleteItem struct {
	Context *middleware.Context
	Handler DeleteItemHandler
}

DeleteItem swagger:route DELETE /items/{id} Items deleteItem

Delete an Item

func NewDeleteItem

func NewDeleteItem(ctx *middleware.Context, handler DeleteItemHandler) *DeleteItem

NewDeleteItem creates a new http.Handler for the delete item operation

func (*DeleteItem) ServeHTTP

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

type DeleteItemHandler

type DeleteItemHandler interface {
	Handle(DeleteItemParams) middleware.Responder
}

DeleteItemHandler interface for that can handle valid delete item params

type DeleteItemHandlerFunc

type DeleteItemHandlerFunc func(DeleteItemParams) middleware.Responder

DeleteItemHandlerFunc turns a function with the right signature into a delete item handler

func (DeleteItemHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteItemNotFound

type DeleteItemNotFound struct {
}

DeleteItemNotFound No items found

swagger:response deleteItemNotFound

func NewDeleteItemNotFound

func NewDeleteItemNotFound() *DeleteItemNotFound

NewDeleteItemNotFound creates DeleteItemNotFound with default headers values

func (*DeleteItemNotFound) WriteResponse

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

WriteResponse to the client

type DeleteItemOK

type DeleteItemOK struct {
}

DeleteItemOK Status Ok

swagger:response deleteItemOK

func NewDeleteItemOK

func NewDeleteItemOK() *DeleteItemOK

NewDeleteItemOK creates DeleteItemOK with default headers values

func (*DeleteItemOK) WriteResponse

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

WriteResponse to the client

type DeleteItemParams

type DeleteItemParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*Item ID
	  Required: true
	  In: path
	*/
	ID int64
}

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

swagger:parameters deleteItem

func NewDeleteItemParams

func NewDeleteItemParams() DeleteItemParams

NewDeleteItemParams creates a new DeleteItemParams object with the default values initialized.

func (*DeleteItemParams) BindRequest

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

type DeleteItemURL struct {
	ID int64
	// contains filtered or unexported fields
}

DeleteItemURL generates an URL for the delete item operation

func (*DeleteItemURL) Build

func (o *DeleteItemURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteItemURL) BuildFull

func (o *DeleteItemURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteItemURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteItemURL) SetBasePath

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

func (o *DeleteItemURL) String() string

String returns the string representation of the path with query string

func (*DeleteItemURL) StringFull

func (o *DeleteItemURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteItemURL) WithBasePath

func (o *DeleteItemURL) WithBasePath(bp string) *DeleteItemURL

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 DeleteItems

type DeleteItems struct {
	Context *middleware.Context
	Handler DeleteItemsHandler
}

DeleteItems swagger:route DELETE /items Items deleteItems

Delete all Items

func NewDeleteItems

func NewDeleteItems(ctx *middleware.Context, handler DeleteItemsHandler) *DeleteItems

NewDeleteItems creates a new http.Handler for the delete items operation

func (*DeleteItems) ServeHTTP

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

type DeleteItemsByOwner

type DeleteItemsByOwner struct {
	Context *middleware.Context
	Handler DeleteItemsByOwnerHandler
}

DeleteItemsByOwner swagger:route DELETE /users/{id}/items Items deleteItemsByOwner

Delete an Item

func NewDeleteItemsByOwner

func NewDeleteItemsByOwner(ctx *middleware.Context, handler DeleteItemsByOwnerHandler) *DeleteItemsByOwner

NewDeleteItemsByOwner creates a new http.Handler for the delete items by owner operation

func (*DeleteItemsByOwner) ServeHTTP

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

type DeleteItemsByOwnerHandler

type DeleteItemsByOwnerHandler interface {
	Handle(DeleteItemsByOwnerParams) middleware.Responder
}

DeleteItemsByOwnerHandler interface for that can handle valid delete items by owner params

type DeleteItemsByOwnerHandlerFunc

type DeleteItemsByOwnerHandlerFunc func(DeleteItemsByOwnerParams) middleware.Responder

DeleteItemsByOwnerHandlerFunc turns a function with the right signature into a delete items by owner handler

func (DeleteItemsByOwnerHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteItemsByOwnerNotFound

type DeleteItemsByOwnerNotFound struct {
}

DeleteItemsByOwnerNotFound No items found

swagger:response deleteItemsByOwnerNotFound

func NewDeleteItemsByOwnerNotFound

func NewDeleteItemsByOwnerNotFound() *DeleteItemsByOwnerNotFound

NewDeleteItemsByOwnerNotFound creates DeleteItemsByOwnerNotFound with default headers values

func (*DeleteItemsByOwnerNotFound) WriteResponse

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

WriteResponse to the client

type DeleteItemsByOwnerOK

type DeleteItemsByOwnerOK struct {
}

DeleteItemsByOwnerOK Status Ok

swagger:response deleteItemsByOwnerOK

func NewDeleteItemsByOwnerOK

func NewDeleteItemsByOwnerOK() *DeleteItemsByOwnerOK

NewDeleteItemsByOwnerOK creates DeleteItemsByOwnerOK with default headers values

func (*DeleteItemsByOwnerOK) WriteResponse

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

WriteResponse to the client

type DeleteItemsByOwnerParams

type DeleteItemsByOwnerParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*Item ID
	  Required: true
	  In: path
	*/
	ID int64
}

DeleteItemsByOwnerParams contains all the bound params for the delete items by owner operation typically these are obtained from a http.Request

swagger:parameters deleteItemsByOwner

func NewDeleteItemsByOwnerParams

func NewDeleteItemsByOwnerParams() DeleteItemsByOwnerParams

NewDeleteItemsByOwnerParams creates a new DeleteItemsByOwnerParams object with the default values initialized.

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

type DeleteItemsByOwnerURL struct {
	ID int64
	// contains filtered or unexported fields
}

DeleteItemsByOwnerURL generates an URL for the delete items by owner operation

func (*DeleteItemsByOwnerURL) Build

func (o *DeleteItemsByOwnerURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteItemsByOwnerURL) BuildFull

func (o *DeleteItemsByOwnerURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteItemsByOwnerURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteItemsByOwnerURL) SetBasePath

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

func (o *DeleteItemsByOwnerURL) String() string

String returns the string representation of the path with query string

func (*DeleteItemsByOwnerURL) StringFull

func (o *DeleteItemsByOwnerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteItemsByOwnerURL) WithBasePath

func (o *DeleteItemsByOwnerURL) WithBasePath(bp string) *DeleteItemsByOwnerURL

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 DeleteItemsBySubCategory

type DeleteItemsBySubCategory struct {
	Context *middleware.Context
	Handler DeleteItemsBySubCategoryHandler
}

DeleteItemsBySubCategory swagger:route DELETE /subcategories/{id}/items Items deleteItemsBySubCategory

Delete an Item

func NewDeleteItemsBySubCategory

func NewDeleteItemsBySubCategory(ctx *middleware.Context, handler DeleteItemsBySubCategoryHandler) *DeleteItemsBySubCategory

NewDeleteItemsBySubCategory creates a new http.Handler for the delete items by sub category operation

func (*DeleteItemsBySubCategory) ServeHTTP

type DeleteItemsBySubCategoryHandler

type DeleteItemsBySubCategoryHandler interface {
	Handle(DeleteItemsBySubCategoryParams) middleware.Responder
}

DeleteItemsBySubCategoryHandler interface for that can handle valid delete items by sub category params

type DeleteItemsBySubCategoryHandlerFunc

type DeleteItemsBySubCategoryHandlerFunc func(DeleteItemsBySubCategoryParams) middleware.Responder

DeleteItemsBySubCategoryHandlerFunc turns a function with the right signature into a delete items by sub category handler

func (DeleteItemsBySubCategoryHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteItemsBySubCategoryNotFound

type DeleteItemsBySubCategoryNotFound struct {
}

DeleteItemsBySubCategoryNotFound No items found

swagger:response deleteItemsBySubCategoryNotFound

func NewDeleteItemsBySubCategoryNotFound

func NewDeleteItemsBySubCategoryNotFound() *DeleteItemsBySubCategoryNotFound

NewDeleteItemsBySubCategoryNotFound creates DeleteItemsBySubCategoryNotFound with default headers values

func (*DeleteItemsBySubCategoryNotFound) WriteResponse

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

WriteResponse to the client

type DeleteItemsBySubCategoryOK

type DeleteItemsBySubCategoryOK struct {
}

DeleteItemsBySubCategoryOK Status Ok

swagger:response deleteItemsBySubCategoryOK

func NewDeleteItemsBySubCategoryOK

func NewDeleteItemsBySubCategoryOK() *DeleteItemsBySubCategoryOK

NewDeleteItemsBySubCategoryOK creates DeleteItemsBySubCategoryOK with default headers values

func (*DeleteItemsBySubCategoryOK) WriteResponse

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

WriteResponse to the client

type DeleteItemsBySubCategoryParams

type DeleteItemsBySubCategoryParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*SubCategory ID
	  Required: true
	  In: path
	*/
	ID int64
}

DeleteItemsBySubCategoryParams contains all the bound params for the delete items by sub category operation typically these are obtained from a http.Request

swagger:parameters deleteItemsBySubCategory

func NewDeleteItemsBySubCategoryParams

func NewDeleteItemsBySubCategoryParams() DeleteItemsBySubCategoryParams

NewDeleteItemsBySubCategoryParams creates a new DeleteItemsBySubCategoryParams object with the default values initialized.

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

type DeleteItemsBySubCategoryURL struct {
	ID int64
	// contains filtered or unexported fields
}

DeleteItemsBySubCategoryURL generates an URL for the delete items by sub category operation

func (*DeleteItemsBySubCategoryURL) Build

func (o *DeleteItemsBySubCategoryURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteItemsBySubCategoryURL) BuildFull

func (o *DeleteItemsBySubCategoryURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteItemsBySubCategoryURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteItemsBySubCategoryURL) SetBasePath

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

func (o *DeleteItemsBySubCategoryURL) String() string

String returns the string representation of the path with query string

func (*DeleteItemsBySubCategoryURL) StringFull

func (o *DeleteItemsBySubCategoryURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteItemsBySubCategoryURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DeleteItemsHandler

type DeleteItemsHandler interface {
	Handle(DeleteItemsParams) middleware.Responder
}

DeleteItemsHandler interface for that can handle valid delete items params

type DeleteItemsHandlerFunc

type DeleteItemsHandlerFunc func(DeleteItemsParams) middleware.Responder

DeleteItemsHandlerFunc turns a function with the right signature into a delete items handler

func (DeleteItemsHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteItemsNotFound

type DeleteItemsNotFound struct {
}

DeleteItemsNotFound No items found

swagger:response deleteItemsNotFound

func NewDeleteItemsNotFound

func NewDeleteItemsNotFound() *DeleteItemsNotFound

NewDeleteItemsNotFound creates DeleteItemsNotFound with default headers values

func (*DeleteItemsNotFound) WriteResponse

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

WriteResponse to the client

type DeleteItemsOK

type DeleteItemsOK struct {
}

DeleteItemsOK Status Ok

swagger:response deleteItemsOK

func NewDeleteItemsOK

func NewDeleteItemsOK() *DeleteItemsOK

NewDeleteItemsOK creates DeleteItemsOK with default headers values

func (*DeleteItemsOK) WriteResponse

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

WriteResponse to the client

type DeleteItemsParams

type DeleteItemsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request
}

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

swagger:parameters deleteItems

func NewDeleteItemsParams

func NewDeleteItemsParams() DeleteItemsParams

NewDeleteItemsParams creates a new DeleteItemsParams object with the default values initialized.

func (*DeleteItemsParams) BindRequest

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

type DeleteItemsURL struct {
	// contains filtered or unexported fields
}

DeleteItemsURL generates an URL for the delete items operation

func (*DeleteItemsURL) Build

func (o *DeleteItemsURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteItemsURL) BuildFull

func (o *DeleteItemsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteItemsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteItemsURL) SetBasePath

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

func (o *DeleteItemsURL) String() string

String returns the string representation of the path with query string

func (*DeleteItemsURL) StringFull

func (o *DeleteItemsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteItemsURL) WithBasePath

func (o *DeleteItemsURL) WithBasePath(bp string) *DeleteItemsURL

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 GetItem

type GetItem struct {
	Context *middleware.Context
	Handler GetItemHandler
}

GetItem swagger:route GET /items/{id} Items getItem

Get specific Item

func NewGetItem

func NewGetItem(ctx *middleware.Context, handler GetItemHandler) *GetItem

NewGetItem creates a new http.Handler for the get item operation

func (*GetItem) ServeHTTP

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

type GetItemHandler

type GetItemHandler interface {
	Handle(GetItemParams) middleware.Responder
}

GetItemHandler interface for that can handle valid get item params

type GetItemHandlerFunc

type GetItemHandlerFunc func(GetItemParams) middleware.Responder

GetItemHandlerFunc turns a function with the right signature into a get item handler

func (GetItemHandlerFunc) Handle

Handle executing the request and returning a response

type GetItemNotFound

type GetItemNotFound struct {
}

GetItemNotFound No items found

swagger:response getItemNotFound

func NewGetItemNotFound

func NewGetItemNotFound() *GetItemNotFound

NewGetItemNotFound creates GetItemNotFound with default headers values

func (*GetItemNotFound) WriteResponse

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

WriteResponse to the client

type GetItemOK

type GetItemOK struct {

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

GetItemOK Status Ok

swagger:response getItemOK

func NewGetItemOK

func NewGetItemOK() *GetItemOK

NewGetItemOK creates GetItemOK with default headers values

func (*GetItemOK) SetPayload

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

SetPayload sets the payload to the get item o k response

func (*GetItemOK) WithPayload

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

WithPayload adds the payload to the get item o k response

func (*GetItemOK) WriteResponse

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

WriteResponse to the client

type GetItemParams

type GetItemParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*Item ID
	  Required: true
	  In: path
	*/
	ID int64
}

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

swagger:parameters getItem

func NewGetItemParams

func NewGetItemParams() GetItemParams

NewGetItemParams creates a new GetItemParams object with the default values initialized.

func (*GetItemParams) BindRequest

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

type GetItemURL struct {
	ID int64
	// contains filtered or unexported fields
}

GetItemURL generates an URL for the get item operation

func (*GetItemURL) Build

func (o *GetItemURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetItemURL) BuildFull

func (o *GetItemURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetItemURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetItemURL) SetBasePath

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

func (o *GetItemURL) String() string

String returns the string representation of the path with query string

func (*GetItemURL) StringFull

func (o *GetItemURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetItemURL) WithBasePath

func (o *GetItemURL) WithBasePath(bp string) *GetItemURL

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 GetItems

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

GetItems swagger:route GET /items Items getItems

Get all Items

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 GetItemsByOwner

type GetItemsByOwner struct {
	Context *middleware.Context
	Handler GetItemsByOwnerHandler
}

GetItemsByOwner swagger:route GET /users/{id}/items Items getItemsByOwner

Get all Items by Owner

func NewGetItemsByOwner

func NewGetItemsByOwner(ctx *middleware.Context, handler GetItemsByOwnerHandler) *GetItemsByOwner

NewGetItemsByOwner creates a new http.Handler for the get items by owner operation

func (*GetItemsByOwner) ServeHTTP

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

type GetItemsByOwnerBadRequest

type GetItemsByOwnerBadRequest struct {
}

GetItemsByOwnerBadRequest Invalid input

swagger:response getItemsByOwnerBadRequest

func NewGetItemsByOwnerBadRequest

func NewGetItemsByOwnerBadRequest() *GetItemsByOwnerBadRequest

NewGetItemsByOwnerBadRequest creates GetItemsByOwnerBadRequest with default headers values

func (*GetItemsByOwnerBadRequest) WriteResponse

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

WriteResponse to the client

type GetItemsByOwnerHandler

type GetItemsByOwnerHandler interface {
	Handle(GetItemsByOwnerParams) middleware.Responder
}

GetItemsByOwnerHandler interface for that can handle valid get items by owner params

type GetItemsByOwnerHandlerFunc

type GetItemsByOwnerHandlerFunc func(GetItemsByOwnerParams) middleware.Responder

GetItemsByOwnerHandlerFunc turns a function with the right signature into a get items by owner handler

func (GetItemsByOwnerHandlerFunc) Handle

Handle executing the request and returning a response

type GetItemsByOwnerNotFound

type GetItemsByOwnerNotFound struct {
}

GetItemsByOwnerNotFound No items found

swagger:response getItemsByOwnerNotFound

func NewGetItemsByOwnerNotFound

func NewGetItemsByOwnerNotFound() *GetItemsByOwnerNotFound

NewGetItemsByOwnerNotFound creates GetItemsByOwnerNotFound with default headers values

func (*GetItemsByOwnerNotFound) WriteResponse

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

WriteResponse to the client

type GetItemsByOwnerOK

type GetItemsByOwnerOK struct {

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

GetItemsByOwnerOK Status Ok

swagger:response getItemsByOwnerOK

func NewGetItemsByOwnerOK

func NewGetItemsByOwnerOK() *GetItemsByOwnerOK

NewGetItemsByOwnerOK creates GetItemsByOwnerOK with default headers values

func (*GetItemsByOwnerOK) SetPayload

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

SetPayload sets the payload to the get items by owner o k response

func (*GetItemsByOwnerOK) WithPayload

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

WithPayload adds the payload to the get items by owner o k response

func (*GetItemsByOwnerOK) WriteResponse

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

WriteResponse to the client

type GetItemsByOwnerParams

type GetItemsByOwnerParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*Owner's ID
	  Required: true
	  In: path
	*/
	ID int64
}

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

swagger:parameters getItemsByOwner

func NewGetItemsByOwnerParams

func NewGetItemsByOwnerParams() GetItemsByOwnerParams

NewGetItemsByOwnerParams creates a new GetItemsByOwnerParams object with the default values initialized.

func (*GetItemsByOwnerParams) BindRequest

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

type GetItemsByOwnerURL struct {
	ID int64
	// contains filtered or unexported fields
}

GetItemsByOwnerURL generates an URL for the get items by owner operation

func (*GetItemsByOwnerURL) Build

func (o *GetItemsByOwnerURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetItemsByOwnerURL) BuildFull

func (o *GetItemsByOwnerURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetItemsByOwnerURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetItemsByOwnerURL) SetBasePath

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

func (o *GetItemsByOwnerURL) String() string

String returns the string representation of the path with query string

func (*GetItemsByOwnerURL) StringFull

func (o *GetItemsByOwnerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetItemsByOwnerURL) WithBasePath

func (o *GetItemsByOwnerURL) WithBasePath(bp string) *GetItemsByOwnerURL

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 GetItemsBySubCategory

type GetItemsBySubCategory struct {
	Context *middleware.Context
	Handler GetItemsBySubCategoryHandler
}

GetItemsBySubCategory swagger:route GET /subcategories/{id}/items Items getItemsBySubCategory

Get all Items by Subcategory

func NewGetItemsBySubCategory

func NewGetItemsBySubCategory(ctx *middleware.Context, handler GetItemsBySubCategoryHandler) *GetItemsBySubCategory

NewGetItemsBySubCategory creates a new http.Handler for the get items by sub category operation

func (*GetItemsBySubCategory) ServeHTTP

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

type GetItemsBySubCategoryBadRequest

type GetItemsBySubCategoryBadRequest struct {
}

GetItemsBySubCategoryBadRequest Invalid input

swagger:response getItemsBySubCategoryBadRequest

func NewGetItemsBySubCategoryBadRequest

func NewGetItemsBySubCategoryBadRequest() *GetItemsBySubCategoryBadRequest

NewGetItemsBySubCategoryBadRequest creates GetItemsBySubCategoryBadRequest with default headers values

func (*GetItemsBySubCategoryBadRequest) WriteResponse

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

WriteResponse to the client

type GetItemsBySubCategoryHandler

type GetItemsBySubCategoryHandler interface {
	Handle(GetItemsBySubCategoryParams) middleware.Responder
}

GetItemsBySubCategoryHandler interface for that can handle valid get items by sub category params

type GetItemsBySubCategoryHandlerFunc

type GetItemsBySubCategoryHandlerFunc func(GetItemsBySubCategoryParams) middleware.Responder

GetItemsBySubCategoryHandlerFunc turns a function with the right signature into a get items by sub category handler

func (GetItemsBySubCategoryHandlerFunc) Handle

Handle executing the request and returning a response

type GetItemsBySubCategoryNotFound

type GetItemsBySubCategoryNotFound struct {
}

GetItemsBySubCategoryNotFound No items found

swagger:response getItemsBySubCategoryNotFound

func NewGetItemsBySubCategoryNotFound

func NewGetItemsBySubCategoryNotFound() *GetItemsBySubCategoryNotFound

NewGetItemsBySubCategoryNotFound creates GetItemsBySubCategoryNotFound with default headers values

func (*GetItemsBySubCategoryNotFound) WriteResponse

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

WriteResponse to the client

type GetItemsBySubCategoryOK

type GetItemsBySubCategoryOK struct {

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

GetItemsBySubCategoryOK Status Ok

swagger:response getItemsBySubCategoryOK

func NewGetItemsBySubCategoryOK

func NewGetItemsBySubCategoryOK() *GetItemsBySubCategoryOK

NewGetItemsBySubCategoryOK creates GetItemsBySubCategoryOK with default headers values

func (*GetItemsBySubCategoryOK) SetPayload

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

SetPayload sets the payload to the get items by sub category o k response

func (*GetItemsBySubCategoryOK) WithPayload

WithPayload adds the payload to the get items by sub category o k response

func (*GetItemsBySubCategoryOK) WriteResponse

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

WriteResponse to the client

type GetItemsBySubCategoryParams

type GetItemsBySubCategoryParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*SubCategory ID
	  Required: true
	  In: path
	*/
	ID int64
}

GetItemsBySubCategoryParams contains all the bound params for the get items by sub category operation typically these are obtained from a http.Request

swagger:parameters getItemsBySubCategory

func NewGetItemsBySubCategoryParams

func NewGetItemsBySubCategoryParams() GetItemsBySubCategoryParams

NewGetItemsBySubCategoryParams creates a new GetItemsBySubCategoryParams object with the default values initialized.

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

type GetItemsBySubCategoryURL struct {
	ID int64
	// contains filtered or unexported fields
}

GetItemsBySubCategoryURL generates an URL for the get items by sub category operation

func (*GetItemsBySubCategoryURL) Build

func (o *GetItemsBySubCategoryURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetItemsBySubCategoryURL) BuildFull

func (o *GetItemsBySubCategoryURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetItemsBySubCategoryURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetItemsBySubCategoryURL) SetBasePath

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

func (o *GetItemsBySubCategoryURL) String() string

String returns the string representation of the path with query string

func (*GetItemsBySubCategoryURL) StringFull

func (o *GetItemsBySubCategoryURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetItemsBySubCategoryURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type 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 GetItemsNotFound

type GetItemsNotFound struct {
}

GetItemsNotFound No items found

swagger:response getItemsNotFound

func NewGetItemsNotFound

func NewGetItemsNotFound() *GetItemsNotFound

NewGetItemsNotFound creates GetItemsNotFound with default headers values

func (*GetItemsNotFound) WriteResponse

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

WriteResponse to the client

type GetItemsOK

type GetItemsOK struct {

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

GetItemsOK Status Ok

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 GetItemsURL

type GetItemsURL struct {
	// contains filtered or unexported fields
}

GetItemsURL generates an URL for the get items operation

func (*GetItemsURL) Build

func (o *GetItemsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetItemsURL) BuildFull

func (o *GetItemsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetItemsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetItemsURL) SetBasePath

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

func (o *GetItemsURL) String() string

String returns the string representation of the path with query string

func (*GetItemsURL) StringFull

func (o *GetItemsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetItemsURL) WithBasePath

func (o *GetItemsURL) WithBasePath(bp string) *GetItemsURL

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 UpdateItem

type UpdateItem struct {
	Context *middleware.Context
	Handler UpdateItemHandler
}

UpdateItem swagger:route PUT /items/{id} Items updateItem

update an Item

func NewUpdateItem

func NewUpdateItem(ctx *middleware.Context, handler UpdateItemHandler) *UpdateItem

NewUpdateItem creates a new http.Handler for the update item operation

func (*UpdateItem) ServeHTTP

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

type UpdateItemBadRequest

type UpdateItemBadRequest struct {
}

UpdateItemBadRequest Invalid input

swagger:response updateItemBadRequest

func NewUpdateItemBadRequest

func NewUpdateItemBadRequest() *UpdateItemBadRequest

NewUpdateItemBadRequest creates UpdateItemBadRequest with default headers values

func (*UpdateItemBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateItemCreated

type UpdateItemCreated struct {

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

UpdateItemCreated Category Created

swagger:response updateItemCreated

func NewUpdateItemCreated

func NewUpdateItemCreated() *UpdateItemCreated

NewUpdateItemCreated creates UpdateItemCreated with default headers values

func (*UpdateItemCreated) SetPayload

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

SetPayload sets the payload to the update item created response

func (*UpdateItemCreated) WithPayload

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

WithPayload adds the payload to the update item created response

func (*UpdateItemCreated) WriteResponse

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

WriteResponse to the client

type UpdateItemHandler

type UpdateItemHandler interface {
	Handle(UpdateItemParams) middleware.Responder
}

UpdateItemHandler interface for that can handle valid update item params

type UpdateItemHandlerFunc

type UpdateItemHandlerFunc func(UpdateItemParams) middleware.Responder

UpdateItemHandlerFunc turns a function with the right signature into a update item handler

func (UpdateItemHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateItemParams

type UpdateItemParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*
	  Required: true
	  In: body
	*/
	Body *models.Item
	/*Item ID
	  Required: true
	  In: path
	*/
	ID int64
}

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

swagger:parameters updateItem

func NewUpdateItemParams

func NewUpdateItemParams() UpdateItemParams

NewUpdateItemParams creates a new UpdateItemParams object with the default values initialized.

func (*UpdateItemParams) BindRequest

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

type UpdateItemURL struct {
	ID int64
	// contains filtered or unexported fields
}

UpdateItemURL generates an URL for the update item operation

func (*UpdateItemURL) Build

func (o *UpdateItemURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateItemURL) BuildFull

func (o *UpdateItemURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateItemURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*UpdateItemURL) SetBasePath

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

func (o *UpdateItemURL) String() string

String returns the string representation of the path with query string

func (*UpdateItemURL) StringFull

func (o *UpdateItemURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateItemURL) WithBasePath

func (o *UpdateItemURL) WithBasePath(bp string) *UpdateItemURL

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

Jump to

Keyboard shortcuts

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