Documentation ¶
Index ¶
- Constants
- Variables
- type AddOne
- type AddOneCreated
- type AddOneDefault
- func (o *AddOneDefault) SetPayload(payload *models.Error)
- func (o *AddOneDefault) SetStatusCode(code int)
- func (o *AddOneDefault) WithPayload(payload *models.Error) *AddOneDefault
- func (o *AddOneDefault) WithStatusCode(code int) *AddOneDefault
- func (o *AddOneDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddOneHandler
- type AddOneHandlerFunc
- type AddOneParams
- type AddOneURL
- func (o *AddOneURL) Build() (*url.URL, error)
- func (o *AddOneURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddOneURL) Must(u *url.URL, err error) *url.URL
- func (o *AddOneURL) SetBasePath(bp string)
- func (o *AddOneURL) String() string
- func (o *AddOneURL) StringFull(scheme, host string) string
- func (o *AddOneURL) WithBasePath(bp string) *AddOneURL
- type DestroyOne
- type DestroyOneDefault
- func (o *DestroyOneDefault) SetPayload(payload *models.Error)
- func (o *DestroyOneDefault) SetStatusCode(code int)
- func (o *DestroyOneDefault) WithPayload(payload *models.Error) *DestroyOneDefault
- func (o *DestroyOneDefault) WithStatusCode(code int) *DestroyOneDefault
- func (o *DestroyOneDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DestroyOneHandler
- type DestroyOneHandlerFunc
- type DestroyOneNoContent
- type DestroyOneParams
- type DestroyOneURL
- func (o *DestroyOneURL) Build() (*url.URL, error)
- func (o *DestroyOneURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DestroyOneURL) Must(u *url.URL, err error) *url.URL
- func (o *DestroyOneURL) SetBasePath(bp string)
- func (o *DestroyOneURL) String() string
- func (o *DestroyOneURL) StringFull(scheme, host string) string
- func (o *DestroyOneURL) WithBasePath(bp string) *DestroyOneURL
- type Find
- type FindDefault
- func (o *FindDefault) SetPayload(payload *models.Error)
- func (o *FindDefault) SetStatusCode(code int)
- func (o *FindDefault) WithPayload(payload *models.Error) *FindDefault
- func (o *FindDefault) WithStatusCode(code int) *FindDefault
- func (o *FindDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type FindHandler
- type FindHandlerFunc
- type FindOK
- type FindParams
- type FindURL
- func (o *FindURL) Build() (*url.URL, error)
- func (o *FindURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FindURL) Must(u *url.URL, err error) *url.URL
- func (o *FindURL) SetBasePath(bp string)
- func (o *FindURL) String() string
- func (o *FindURL) StringFull(scheme, host string) string
- func (o *FindURL) WithBasePath(bp string) *FindURL
- type UpdateOne
- type UpdateOneDefault
- func (o *UpdateOneDefault) SetPayload(payload *models.Error)
- func (o *UpdateOneDefault) SetStatusCode(code int)
- func (o *UpdateOneDefault) WithPayload(payload *models.Error) *UpdateOneDefault
- func (o *UpdateOneDefault) WithStatusCode(code int) *UpdateOneDefault
- func (o *UpdateOneDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateOneHandler
- type UpdateOneHandlerFunc
- type UpdateOneOK
- type UpdateOneParams
- type UpdateOneURL
- func (o *UpdateOneURL) Build() (*url.URL, error)
- func (o *UpdateOneURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateOneURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateOneURL) SetBasePath(bp string)
- func (o *UpdateOneURL) String() string
- func (o *UpdateOneURL) StringFull(scheme, host string) string
- func (o *UpdateOneURL) WithBasePath(bp string) *UpdateOneURL
Constants ¶
const AddOneCreatedCode int = 201
AddOneCreatedCode is the HTTP code returned for type AddOneCreated
const DestroyOneNoContentCode int = 204
DestroyOneNoContentCode is the HTTP code returned for type DestroyOneNoContent
const FindOKCode int = 200
FindOKCode is the HTTP code returned for type FindOK
const UpdateOneOKCode int = 200
UpdateOneOKCode is the HTTP code returned for type UpdateOneOK
Variables ¶
var FindMaxParseMemory int64 = 32 << 20
FindMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.
The default value is 32 MB. The multipart parser stores up to this + 10MB.
Functions ¶
This section is empty.
Types ¶
type AddOne ¶
type AddOne struct { Context *middleware.Context Handler AddOneHandler }
AddOne swagger:route POST / todos addOne
AddOne add one API
func NewAddOne ¶
func NewAddOne(ctx *middleware.Context, handler AddOneHandler) *AddOne
NewAddOne creates a new http.Handler for the add one operation
type AddOneCreated ¶
AddOneCreated Created
swagger:response addOneCreated
func NewAddOneCreated ¶ added in v0.2.0
func NewAddOneCreated() *AddOneCreated
NewAddOneCreated creates AddOneCreated with default headers values
func (*AddOneCreated) SetPayload ¶ added in v0.17.0
func (o *AddOneCreated) SetPayload(payload *models.Item)
SetPayload sets the payload to the add one created response
func (*AddOneCreated) WithPayload ¶ added in v0.2.0
func (o *AddOneCreated) WithPayload(payload *models.Item) *AddOneCreated
WithPayload adds the payload to the add one created response
func (*AddOneCreated) WriteResponse ¶
func (o *AddOneCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddOneDefault ¶
type AddOneDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddOneDefault error
swagger:response addOneDefault
func NewAddOneDefault ¶ added in v0.2.0
func NewAddOneDefault(code int) *AddOneDefault
NewAddOneDefault creates AddOneDefault with default headers values
func (*AddOneDefault) SetPayload ¶ added in v0.17.0
func (o *AddOneDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the add one default response
func (*AddOneDefault) SetStatusCode ¶ added in v0.17.0
func (o *AddOneDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add one default response
func (*AddOneDefault) WithPayload ¶ added in v0.2.0
func (o *AddOneDefault) WithPayload(payload *models.Error) *AddOneDefault
WithPayload adds the payload to the add one default response
func (*AddOneDefault) WithStatusCode ¶ added in v0.2.0
func (o *AddOneDefault) WithStatusCode(code int) *AddOneDefault
WithStatusCode adds the status to the add one default response
func (*AddOneDefault) WriteResponse ¶
func (o *AddOneDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddOneHandler ¶
type AddOneHandler interface {
Handle(AddOneParams, interface{}) middleware.Responder
}
AddOneHandler interface for that can handle valid add one params
type AddOneHandlerFunc ¶
type AddOneHandlerFunc func(AddOneParams, interface{}) middleware.Responder
AddOneHandlerFunc turns a function with the right signature into a add one handler
func (AddOneHandlerFunc) Handle ¶
func (fn AddOneHandlerFunc) Handle(params AddOneParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type AddOneParams ¶
type AddOneParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *models.Item }
AddOneParams contains all the bound params for the add one operation typically these are obtained from a http.Request
swagger:parameters addOne
func NewAddOneParams ¶ added in v0.2.0
func NewAddOneParams() AddOneParams
NewAddOneParams creates a new AddOneParams object
There are no default values defined in the spec.
func (*AddOneParams) BindRequest ¶
func (o *AddOneParams) 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 NewAddOneParams() beforehand.
type AddOneURL ¶ added in v0.17.0
type AddOneURL struct {
// contains filtered or unexported fields
}
AddOneURL generates an URL for the add one operation
func (*AddOneURL) BuildFull ¶ added in v0.17.0
BuildFull builds a full url with scheme, host, path and query string
func (*AddOneURL) Must ¶ added in v0.17.0
Must is a helper function to panic when the url builder returns an error
func (*AddOneURL) SetBasePath ¶ added in v0.17.0
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 (*AddOneURL) String ¶ added in v0.17.0
String returns the string representation of the path with query string
func (*AddOneURL) StringFull ¶ added in v0.17.0
StringFull returns the string representation of a complete url
func (*AddOneURL) WithBasePath ¶ added in v0.17.0
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 DestroyOne ¶
type DestroyOne struct { Context *middleware.Context Handler DestroyOneHandler }
DestroyOne swagger:route DELETE /{id} todos destroyOne
DestroyOne destroy one API
func NewDestroyOne ¶
func NewDestroyOne(ctx *middleware.Context, handler DestroyOneHandler) *DestroyOne
NewDestroyOne creates a new http.Handler for the destroy one operation
func (*DestroyOne) ServeHTTP ¶
func (o *DestroyOne) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DestroyOneDefault ¶
type DestroyOneDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DestroyOneDefault error
swagger:response destroyOneDefault
func NewDestroyOneDefault ¶ added in v0.2.0
func NewDestroyOneDefault(code int) *DestroyOneDefault
NewDestroyOneDefault creates DestroyOneDefault with default headers values
func (*DestroyOneDefault) SetPayload ¶ added in v0.17.0
func (o *DestroyOneDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the destroy one default response
func (*DestroyOneDefault) SetStatusCode ¶ added in v0.17.0
func (o *DestroyOneDefault) SetStatusCode(code int)
SetStatusCode sets the status to the destroy one default response
func (*DestroyOneDefault) WithPayload ¶ added in v0.2.0
func (o *DestroyOneDefault) WithPayload(payload *models.Error) *DestroyOneDefault
WithPayload adds the payload to the destroy one default response
func (*DestroyOneDefault) WithStatusCode ¶ added in v0.2.0
func (o *DestroyOneDefault) WithStatusCode(code int) *DestroyOneDefault
WithStatusCode adds the status to the destroy one default response
func (*DestroyOneDefault) WriteResponse ¶
func (o *DestroyOneDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DestroyOneHandler ¶
type DestroyOneHandler interface {
Handle(DestroyOneParams, interface{}) middleware.Responder
}
DestroyOneHandler interface for that can handle valid destroy one params
type DestroyOneHandlerFunc ¶
type DestroyOneHandlerFunc func(DestroyOneParams, interface{}) middleware.Responder
DestroyOneHandlerFunc turns a function with the right signature into a destroy one handler
func (DestroyOneHandlerFunc) Handle ¶
func (fn DestroyOneHandlerFunc) Handle(params DestroyOneParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DestroyOneNoContent ¶
type DestroyOneNoContent struct { }
DestroyOneNoContent Deleted
swagger:response destroyOneNoContent
func NewDestroyOneNoContent ¶ added in v0.2.0
func NewDestroyOneNoContent() *DestroyOneNoContent
NewDestroyOneNoContent creates DestroyOneNoContent with default headers values
func (*DestroyOneNoContent) WriteResponse ¶
func (o *DestroyOneNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DestroyOneParams ¶
type DestroyOneParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string }
DestroyOneParams contains all the bound params for the destroy one operation typically these are obtained from a http.Request
swagger:parameters destroyOne
func NewDestroyOneParams ¶ added in v0.2.0
func NewDestroyOneParams() DestroyOneParams
NewDestroyOneParams creates a new DestroyOneParams object
There are no default values defined in the spec.
func (*DestroyOneParams) BindRequest ¶
func (o *DestroyOneParams) 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 NewDestroyOneParams() beforehand.
type DestroyOneURL ¶ added in v0.17.0
type DestroyOneURL struct { ID string // contains filtered or unexported fields }
DestroyOneURL generates an URL for the destroy one operation
func (*DestroyOneURL) Build ¶ added in v0.17.0
func (o *DestroyOneURL) Build() (*url.URL, error)
Build a url path and query string
func (*DestroyOneURL) BuildFull ¶ added in v0.17.0
func (o *DestroyOneURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DestroyOneURL) Must ¶ added in v0.17.0
Must is a helper function to panic when the url builder returns an error
func (*DestroyOneURL) SetBasePath ¶ added in v0.17.0
func (o *DestroyOneURL) 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 (*DestroyOneURL) String ¶ added in v0.17.0
func (o *DestroyOneURL) String() string
String returns the string representation of the path with query string
func (*DestroyOneURL) StringFull ¶ added in v0.17.0
func (o *DestroyOneURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DestroyOneURL) WithBasePath ¶ added in v0.17.0
func (o *DestroyOneURL) WithBasePath(bp string) *DestroyOneURL
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 Find ¶
type Find struct { Context *middleware.Context Handler FindHandler }
Find swagger:route GET / todos find
Find find API
func NewFind ¶
func NewFind(ctx *middleware.Context, handler FindHandler) *Find
NewFind creates a new http.Handler for the find operation
type FindDefault ¶
type FindDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
FindDefault error
swagger:response findDefault
func NewFindDefault ¶ added in v0.2.0
func NewFindDefault(code int) *FindDefault
NewFindDefault creates FindDefault with default headers values
func (*FindDefault) SetPayload ¶ added in v0.17.0
func (o *FindDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the find default response
func (*FindDefault) SetStatusCode ¶ added in v0.17.0
func (o *FindDefault) SetStatusCode(code int)
SetStatusCode sets the status to the find default response
func (*FindDefault) WithPayload ¶ added in v0.2.0
func (o *FindDefault) WithPayload(payload *models.Error) *FindDefault
WithPayload adds the payload to the find default response
func (*FindDefault) WithStatusCode ¶ added in v0.2.0
func (o *FindDefault) WithStatusCode(code int) *FindDefault
WithStatusCode adds the status to the find default response
func (*FindDefault) WriteResponse ¶
func (o *FindDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FindHandler ¶
type FindHandler interface {
Handle(FindParams, interface{}) middleware.Responder
}
FindHandler interface for that can handle valid find params
type FindHandlerFunc ¶
type FindHandlerFunc func(FindParams, interface{}) middleware.Responder
FindHandlerFunc turns a function with the right signature into a find handler
func (FindHandlerFunc) Handle ¶
func (fn FindHandlerFunc) Handle(params FindParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type FindOK ¶
FindOK OK
swagger:response findOK
func NewFindOK ¶ added in v0.2.0
func NewFindOK() *FindOK
NewFindOK creates FindOK with default headers values
func (*FindOK) SetPayload ¶ added in v0.17.0
SetPayload sets the payload to the find o k response
func (*FindOK) WithPayload ¶ added in v0.2.0
WithPayload adds the payload to the find o k response
func (*FindOK) WriteResponse ¶
func (o *FindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FindParams ¶
type FindParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ XRateLimit int32 /* Required: true In: formData */ Limit int32 /* Required: true In: formData Collection Format: multi */ Tags []int32 }
FindParams contains all the bound params for the find operation typically these are obtained from a http.Request
swagger:parameters find
func NewFindParams ¶ added in v0.2.0
func NewFindParams() FindParams
NewFindParams creates a new FindParams object
There are no default values defined in the spec.
func (*FindParams) BindRequest ¶
func (o *FindParams) 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 NewFindParams() beforehand.
type FindURL ¶ added in v0.17.0
type FindURL struct {
// contains filtered or unexported fields
}
FindURL generates an URL for the find operation
func (*FindURL) BuildFull ¶ added in v0.17.0
BuildFull builds a full url with scheme, host, path and query string
func (*FindURL) Must ¶ added in v0.17.0
Must is a helper function to panic when the url builder returns an error
func (*FindURL) SetBasePath ¶ added in v0.17.0
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 (*FindURL) String ¶ added in v0.17.0
String returns the string representation of the path with query string
func (*FindURL) StringFull ¶ added in v0.17.0
StringFull returns the string representation of a complete url
func (*FindURL) WithBasePath ¶ added in v0.17.0
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 UpdateOne ¶
type UpdateOne struct { Context *middleware.Context Handler UpdateOneHandler }
UpdateOne swagger:route PUT /{id} todos updateOne
UpdateOne update one API
func NewUpdateOne ¶
func NewUpdateOne(ctx *middleware.Context, handler UpdateOneHandler) *UpdateOne
NewUpdateOne creates a new http.Handler for the update one operation
type UpdateOneDefault ¶
type UpdateOneDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateOneDefault error
swagger:response updateOneDefault
func NewUpdateOneDefault ¶ added in v0.2.0
func NewUpdateOneDefault(code int) *UpdateOneDefault
NewUpdateOneDefault creates UpdateOneDefault with default headers values
func (*UpdateOneDefault) SetPayload ¶ added in v0.17.0
func (o *UpdateOneDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the update one default response
func (*UpdateOneDefault) SetStatusCode ¶ added in v0.17.0
func (o *UpdateOneDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update one default response
func (*UpdateOneDefault) WithPayload ¶ added in v0.2.0
func (o *UpdateOneDefault) WithPayload(payload *models.Error) *UpdateOneDefault
WithPayload adds the payload to the update one default response
func (*UpdateOneDefault) WithStatusCode ¶ added in v0.2.0
func (o *UpdateOneDefault) WithStatusCode(code int) *UpdateOneDefault
WithStatusCode adds the status to the update one default response
func (*UpdateOneDefault) WriteResponse ¶
func (o *UpdateOneDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOneHandler ¶
type UpdateOneHandler interface {
Handle(UpdateOneParams, interface{}) middleware.Responder
}
UpdateOneHandler interface for that can handle valid update one params
type UpdateOneHandlerFunc ¶
type UpdateOneHandlerFunc func(UpdateOneParams, interface{}) middleware.Responder
UpdateOneHandlerFunc turns a function with the right signature into a update one handler
func (UpdateOneHandlerFunc) Handle ¶
func (fn UpdateOneHandlerFunc) Handle(params UpdateOneParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateOneOK ¶
UpdateOneOK OK
swagger:response updateOneOK
func NewUpdateOneOK ¶ added in v0.2.0
func NewUpdateOneOK() *UpdateOneOK
NewUpdateOneOK creates UpdateOneOK with default headers values
func (*UpdateOneOK) SetPayload ¶ added in v0.17.0
func (o *UpdateOneOK) SetPayload(payload *models.Item)
SetPayload sets the payload to the update one o k response
func (*UpdateOneOK) WithPayload ¶ added in v0.2.0
func (o *UpdateOneOK) WithPayload(payload *models.Item) *UpdateOneOK
WithPayload adds the payload to the update one o k response
func (*UpdateOneOK) WriteResponse ¶
func (o *UpdateOneOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOneParams ¶
type UpdateOneParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Body *models.Item /* Required: true In: path */ ID string }
UpdateOneParams contains all the bound params for the update one operation typically these are obtained from a http.Request
swagger:parameters updateOne
func NewUpdateOneParams ¶ added in v0.2.0
func NewUpdateOneParams() UpdateOneParams
NewUpdateOneParams creates a new UpdateOneParams object
There are no default values defined in the spec.
func (*UpdateOneParams) BindRequest ¶
func (o *UpdateOneParams) 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 NewUpdateOneParams() beforehand.
type UpdateOneURL ¶ added in v0.17.0
type UpdateOneURL struct { ID string // contains filtered or unexported fields }
UpdateOneURL generates an URL for the update one operation
func (*UpdateOneURL) Build ¶ added in v0.17.0
func (o *UpdateOneURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateOneURL) BuildFull ¶ added in v0.17.0
func (o *UpdateOneURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateOneURL) Must ¶ added in v0.17.0
Must is a helper function to panic when the url builder returns an error
func (*UpdateOneURL) SetBasePath ¶ added in v0.17.0
func (o *UpdateOneURL) 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 (*UpdateOneURL) String ¶ added in v0.17.0
func (o *UpdateOneURL) String() string
String returns the string representation of the path with query string
func (*UpdateOneURL) StringFull ¶ added in v0.17.0
func (o *UpdateOneURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateOneURL) WithBasePath ¶ added in v0.17.0
func (o *UpdateOneURL) WithBasePath(bp string) *UpdateOneURL
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
Source Files ¶
- add_one.go
- add_one_parameters.go
- add_one_responses.go
- add_one_urlbuilder.go
- destroy_one.go
- destroy_one_parameters.go
- destroy_one_responses.go
- destroy_one_urlbuilder.go
- find.go
- find_parameters.go
- find_responses.go
- find_urlbuilder.go
- update_one.go
- update_one_parameters.go
- update_one_responses.go
- update_one_urlbuilder.go