Documentation ¶
Index ¶
- Constants
- type AddAPI
- type AddAPIBadRequest
- type AddAPIConflict
- type AddAPIDefault
- func (o *AddAPIDefault) SetPayload(payload *v1.Error)
- func (o *AddAPIDefault) SetStatusCode(code int)
- func (o *AddAPIDefault) WithPayload(payload *v1.Error) *AddAPIDefault
- func (o *AddAPIDefault) WithStatusCode(code int) *AddAPIDefault
- func (o *AddAPIDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddAPIForbidden
- type AddAPIHandler
- type AddAPIHandlerFunc
- type AddAPIOK
- type AddAPIParams
- type AddAPIURL
- func (o *AddAPIURL) Build() (*url.URL, error)
- func (o *AddAPIURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddAPIURL) Must(u *url.URL, err error) *url.URL
- func (o *AddAPIURL) SetBasePath(bp string)
- func (o *AddAPIURL) String() string
- func (o *AddAPIURL) StringFull(scheme, host string) string
- func (o *AddAPIURL) WithBasePath(bp string) *AddAPIURL
- type AddAPIUnauthorized
- type DeleteAPI
- type DeleteAPIBadRequest
- type DeleteAPIDefault
- func (o *DeleteAPIDefault) SetPayload(payload *v1.Error)
- func (o *DeleteAPIDefault) SetStatusCode(code int)
- func (o *DeleteAPIDefault) WithPayload(payload *v1.Error) *DeleteAPIDefault
- func (o *DeleteAPIDefault) WithStatusCode(code int) *DeleteAPIDefault
- func (o *DeleteAPIDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteAPIForbidden
- type DeleteAPIHandler
- type DeleteAPIHandlerFunc
- type DeleteAPINotFound
- type DeleteAPIOK
- type DeleteAPIParams
- type DeleteAPIURL
- func (o *DeleteAPIURL) Build() (*url.URL, error)
- func (o *DeleteAPIURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteAPIURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteAPIURL) SetBasePath(bp string)
- func (o *DeleteAPIURL) String() string
- func (o *DeleteAPIURL) StringFull(scheme, host string) string
- func (o *DeleteAPIURL) WithBasePath(bp string) *DeleteAPIURL
- type DeleteAPIUnauthorized
- type GetAPI
- type GetAPIBadRequest
- type GetAPIDefault
- func (o *GetAPIDefault) SetPayload(payload *v1.Error)
- func (o *GetAPIDefault) SetStatusCode(code int)
- func (o *GetAPIDefault) WithPayload(payload *v1.Error) *GetAPIDefault
- func (o *GetAPIDefault) WithStatusCode(code int) *GetAPIDefault
- func (o *GetAPIDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAPIForbidden
- type GetAPIHandler
- type GetAPIHandlerFunc
- type GetAPINotFound
- type GetAPIOK
- type GetAPIParams
- type GetAPIURL
- func (o *GetAPIURL) Build() (*url.URL, error)
- func (o *GetAPIURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAPIURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAPIURL) SetBasePath(bp string)
- func (o *GetAPIURL) String() string
- func (o *GetAPIURL) StringFull(scheme, host string) string
- func (o *GetAPIURL) WithBasePath(bp string) *GetAPIURL
- type GetAPIUnauthorized
- type GetApis
- type GetApisDefault
- func (o *GetApisDefault) SetPayload(payload *v1.Error)
- func (o *GetApisDefault) SetStatusCode(code int)
- func (o *GetApisDefault) WithPayload(payload *v1.Error) *GetApisDefault
- func (o *GetApisDefault) WithStatusCode(code int) *GetApisDefault
- func (o *GetApisDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApisForbidden
- type GetApisHandler
- type GetApisHandlerFunc
- type GetApisOK
- type GetApisParams
- type GetApisURL
- func (o *GetApisURL) Build() (*url.URL, error)
- func (o *GetApisURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetApisURL) Must(u *url.URL, err error) *url.URL
- func (o *GetApisURL) SetBasePath(bp string)
- func (o *GetApisURL) String() string
- func (o *GetApisURL) StringFull(scheme, host string) string
- func (o *GetApisURL) WithBasePath(bp string) *GetApisURL
- type GetApisUnauthorized
- type UpdateAPI
- type UpdateAPIBadRequest
- type UpdateAPIDefault
- func (o *UpdateAPIDefault) SetPayload(payload *v1.Error)
- func (o *UpdateAPIDefault) SetStatusCode(code int)
- func (o *UpdateAPIDefault) WithPayload(payload *v1.Error) *UpdateAPIDefault
- func (o *UpdateAPIDefault) WithStatusCode(code int) *UpdateAPIDefault
- func (o *UpdateAPIDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAPIForbidden
- type UpdateAPIHandler
- type UpdateAPIHandlerFunc
- type UpdateAPINotFound
- type UpdateAPIOK
- type UpdateAPIParams
- type UpdateAPIURL
- func (o *UpdateAPIURL) Build() (*url.URL, error)
- func (o *UpdateAPIURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateAPIURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateAPIURL) SetBasePath(bp string)
- func (o *UpdateAPIURL) String() string
- func (o *UpdateAPIURL) StringFull(scheme, host string) string
- func (o *UpdateAPIURL) WithBasePath(bp string) *UpdateAPIURL
- type UpdateAPIUnauthorized
Constants ¶
const AddAPIBadRequestCode int = 400
AddAPIBadRequestCode is the HTTP code returned for type AddAPIBadRequest
const AddAPIConflictCode int = 409
AddAPIConflictCode is the HTTP code returned for type AddAPIConflict
const AddAPIForbiddenCode int = 403
AddAPIForbiddenCode is the HTTP code returned for type AddAPIForbidden
const AddAPIOKCode int = 200
AddAPIOKCode is the HTTP code returned for type AddAPIOK
AddAPIUnauthorizedCode is the HTTP code returned for type AddAPIUnauthorized
const DeleteAPIBadRequestCode int = 400
DeleteAPIBadRequestCode is the HTTP code returned for type DeleteAPIBadRequest
const DeleteAPIForbiddenCode int = 403
DeleteAPIForbiddenCode is the HTTP code returned for type DeleteAPIForbidden
const DeleteAPINotFoundCode int = 404
DeleteAPINotFoundCode is the HTTP code returned for type DeleteAPINotFound
const DeleteAPIOKCode int = 200
DeleteAPIOKCode is the HTTP code returned for type DeleteAPIOK
DeleteAPIUnauthorizedCode is the HTTP code returned for type DeleteAPIUnauthorized
const GetAPIBadRequestCode int = 400
GetAPIBadRequestCode is the HTTP code returned for type GetAPIBadRequest
const GetAPIForbiddenCode int = 403
GetAPIForbiddenCode is the HTTP code returned for type GetAPIForbidden
const GetAPINotFoundCode int = 404
GetAPINotFoundCode is the HTTP code returned for type GetAPINotFound
const GetAPIOKCode int = 200
GetAPIOKCode is the HTTP code returned for type GetAPIOK
GetAPIUnauthorizedCode is the HTTP code returned for type GetAPIUnauthorized
const GetApisForbiddenCode int = 403
GetApisForbiddenCode is the HTTP code returned for type GetApisForbidden
const GetApisOKCode int = 200
GetApisOKCode is the HTTP code returned for type GetApisOK
GetApisUnauthorizedCode is the HTTP code returned for type GetApisUnauthorized
const UpdateAPIBadRequestCode int = 400
UpdateAPIBadRequestCode is the HTTP code returned for type UpdateAPIBadRequest
const UpdateAPIForbiddenCode int = 403
UpdateAPIForbiddenCode is the HTTP code returned for type UpdateAPIForbidden
const UpdateAPINotFoundCode int = 404
UpdateAPINotFoundCode is the HTTP code returned for type UpdateAPINotFound
const UpdateAPIOKCode int = 200
UpdateAPIOKCode is the HTTP code returned for type UpdateAPIOK
UpdateAPIUnauthorizedCode is the HTTP code returned for type UpdateAPIUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAPI ¶
type AddAPI struct { Context *middleware.Context Handler AddAPIHandler }
AddAPI swagger:route POST / endpoint addApi
Add a new API
func NewAddAPI ¶
func NewAddAPI(ctx *middleware.Context, handler AddAPIHandler) *AddAPI
NewAddAPI creates a new http.Handler for the add API operation
type AddAPIBadRequest ¶
AddAPIBadRequest Invalid Input
swagger:response addApiBadRequest
func NewAddAPIBadRequest ¶
func NewAddAPIBadRequest() *AddAPIBadRequest
NewAddAPIBadRequest creates AddAPIBadRequest with default headers values
func (*AddAPIBadRequest) SetPayload ¶
func (o *AddAPIBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add Api bad request response
func (*AddAPIBadRequest) WithPayload ¶
func (o *AddAPIBadRequest) WithPayload(payload *v1.Error) *AddAPIBadRequest
WithPayload adds the payload to the add Api bad request response
func (*AddAPIBadRequest) WriteResponse ¶
func (o *AddAPIBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddAPIConflict ¶ added in v0.1.13
AddAPIConflict Already Exists
swagger:response addApiConflict
func NewAddAPIConflict ¶ added in v0.1.13
func NewAddAPIConflict() *AddAPIConflict
NewAddAPIConflict creates AddAPIConflict with default headers values
func (*AddAPIConflict) SetPayload ¶ added in v0.1.13
func (o *AddAPIConflict) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add Api conflict response
func (*AddAPIConflict) WithPayload ¶ added in v0.1.13
func (o *AddAPIConflict) WithPayload(payload *v1.Error) *AddAPIConflict
WithPayload adds the payload to the add Api conflict response
func (*AddAPIConflict) WriteResponse ¶ added in v0.1.13
func (o *AddAPIConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddAPIDefault ¶ added in v0.1.18
type AddAPIDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddAPIDefault Unknown error
swagger:response addApiDefault
func NewAddAPIDefault ¶ added in v0.1.18
func NewAddAPIDefault(code int) *AddAPIDefault
NewAddAPIDefault creates AddAPIDefault with default headers values
func (*AddAPIDefault) SetPayload ¶ added in v0.1.18
func (o *AddAPIDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add API default response
func (*AddAPIDefault) SetStatusCode ¶ added in v0.1.18
func (o *AddAPIDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add API default response
func (*AddAPIDefault) WithPayload ¶ added in v0.1.18
func (o *AddAPIDefault) WithPayload(payload *v1.Error) *AddAPIDefault
WithPayload adds the payload to the add API default response
func (*AddAPIDefault) WithStatusCode ¶ added in v0.1.18
func (o *AddAPIDefault) WithStatusCode(code int) *AddAPIDefault
WithStatusCode adds the status to the add API default response
func (*AddAPIDefault) WriteResponse ¶ added in v0.1.18
func (o *AddAPIDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddAPIForbidden ¶ added in v0.1.18
AddAPIForbidden access to this resource is forbidden
swagger:response addApiForbidden
func NewAddAPIForbidden ¶ added in v0.1.18
func NewAddAPIForbidden() *AddAPIForbidden
NewAddAPIForbidden creates AddAPIForbidden with default headers values
func (*AddAPIForbidden) SetPayload ¶ added in v0.1.18
func (o *AddAPIForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add Api forbidden response
func (*AddAPIForbidden) WithPayload ¶ added in v0.1.18
func (o *AddAPIForbidden) WithPayload(payload *v1.Error) *AddAPIForbidden
WithPayload adds the payload to the add Api forbidden response
func (*AddAPIForbidden) WriteResponse ¶ added in v0.1.18
func (o *AddAPIForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddAPIHandler ¶
type AddAPIHandler interface {
Handle(AddAPIParams, interface{}) middleware.Responder
}
AddAPIHandler interface for that can handle valid add API params
type AddAPIHandlerFunc ¶
type AddAPIHandlerFunc func(AddAPIParams, interface{}) middleware.Responder
AddAPIHandlerFunc turns a function with the right signature into a add API handler
func (AddAPIHandlerFunc) Handle ¶
func (fn AddAPIHandlerFunc) Handle(params AddAPIParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type AddAPIOK ¶
AddAPIOK API created
swagger:response addApiOK
func NewAddAPIOK ¶
func NewAddAPIOK() *AddAPIOK
NewAddAPIOK creates AddAPIOK with default headers values
func (*AddAPIOK) SetPayload ¶
SetPayload sets the payload to the add Api o k response
func (*AddAPIOK) WithPayload ¶
WithPayload adds the payload to the add Api o k response
func (*AddAPIOK) WriteResponse ¶
func (o *AddAPIOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddAPIParams ¶
type AddAPIParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ XDispatchOrg string /*API object Required: true In: body */ Body *v1.API }
AddAPIParams contains all the bound params for the add API operation typically these are obtained from a http.Request
swagger:parameters addAPI
func NewAddAPIParams ¶
func NewAddAPIParams() AddAPIParams
NewAddAPIParams creates a new AddAPIParams object no default values defined in spec.
func (*AddAPIParams) BindRequest ¶
func (o *AddAPIParams) 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 NewAddAPIParams() beforehand.
type AddAPIURL ¶
type AddAPIURL struct {
// contains filtered or unexported fields
}
AddAPIURL generates an URL for the add API operation
func (*AddAPIURL) SetBasePath ¶
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 (*AddAPIURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*AddAPIURL) 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 AddAPIUnauthorized ¶
AddAPIUnauthorized Unauthorized Request
swagger:response addApiUnauthorized
func NewAddAPIUnauthorized ¶
func NewAddAPIUnauthorized() *AddAPIUnauthorized
NewAddAPIUnauthorized creates AddAPIUnauthorized with default headers values
func (*AddAPIUnauthorized) SetPayload ¶
func (o *AddAPIUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add Api unauthorized response
func (*AddAPIUnauthorized) WithPayload ¶
func (o *AddAPIUnauthorized) WithPayload(payload *v1.Error) *AddAPIUnauthorized
WithPayload adds the payload to the add Api unauthorized response
func (*AddAPIUnauthorized) WriteResponse ¶
func (o *AddAPIUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAPI ¶
type DeleteAPI struct { Context *middleware.Context Handler DeleteAPIHandler }
DeleteAPI swagger:route DELETE /{api} endpoint deleteApi
Deletes an API
func NewDeleteAPI ¶
func NewDeleteAPI(ctx *middleware.Context, handler DeleteAPIHandler) *DeleteAPI
NewDeleteAPI creates a new http.Handler for the delete API operation
type DeleteAPIBadRequest ¶
DeleteAPIBadRequest Invalid Name supplied
swagger:response deleteApiBadRequest
func NewDeleteAPIBadRequest ¶
func NewDeleteAPIBadRequest() *DeleteAPIBadRequest
NewDeleteAPIBadRequest creates DeleteAPIBadRequest with default headers values
func (*DeleteAPIBadRequest) SetPayload ¶
func (o *DeleteAPIBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete Api bad request response
func (*DeleteAPIBadRequest) WithPayload ¶
func (o *DeleteAPIBadRequest) WithPayload(payload *v1.Error) *DeleteAPIBadRequest
WithPayload adds the payload to the delete Api bad request response
func (*DeleteAPIBadRequest) WriteResponse ¶
func (o *DeleteAPIBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAPIDefault ¶ added in v0.1.18
type DeleteAPIDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteAPIDefault Unknown error
swagger:response deleteApiDefault
func NewDeleteAPIDefault ¶ added in v0.1.18
func NewDeleteAPIDefault(code int) *DeleteAPIDefault
NewDeleteAPIDefault creates DeleteAPIDefault with default headers values
func (*DeleteAPIDefault) SetPayload ¶ added in v0.1.18
func (o *DeleteAPIDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete API default response
func (*DeleteAPIDefault) SetStatusCode ¶ added in v0.1.18
func (o *DeleteAPIDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete API default response
func (*DeleteAPIDefault) WithPayload ¶ added in v0.1.18
func (o *DeleteAPIDefault) WithPayload(payload *v1.Error) *DeleteAPIDefault
WithPayload adds the payload to the delete API default response
func (*DeleteAPIDefault) WithStatusCode ¶ added in v0.1.18
func (o *DeleteAPIDefault) WithStatusCode(code int) *DeleteAPIDefault
WithStatusCode adds the status to the delete API default response
func (*DeleteAPIDefault) WriteResponse ¶ added in v0.1.18
func (o *DeleteAPIDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAPIForbidden ¶ added in v0.1.18
DeleteAPIForbidden access to this resource is forbidden
swagger:response deleteApiForbidden
func NewDeleteAPIForbidden ¶ added in v0.1.18
func NewDeleteAPIForbidden() *DeleteAPIForbidden
NewDeleteAPIForbidden creates DeleteAPIForbidden with default headers values
func (*DeleteAPIForbidden) SetPayload ¶ added in v0.1.18
func (o *DeleteAPIForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete Api forbidden response
func (*DeleteAPIForbidden) WithPayload ¶ added in v0.1.18
func (o *DeleteAPIForbidden) WithPayload(payload *v1.Error) *DeleteAPIForbidden
WithPayload adds the payload to the delete Api forbidden response
func (*DeleteAPIForbidden) WriteResponse ¶ added in v0.1.18
func (o *DeleteAPIForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAPIHandler ¶
type DeleteAPIHandler interface {
Handle(DeleteAPIParams, interface{}) middleware.Responder
}
DeleteAPIHandler interface for that can handle valid delete API params
type DeleteAPIHandlerFunc ¶
type DeleteAPIHandlerFunc func(DeleteAPIParams, interface{}) middleware.Responder
DeleteAPIHandlerFunc turns a function with the right signature into a delete API handler
func (DeleteAPIHandlerFunc) Handle ¶
func (fn DeleteAPIHandlerFunc) Handle(params DeleteAPIParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteAPINotFound ¶
DeleteAPINotFound API not found
swagger:response deleteApiNotFound
func NewDeleteAPINotFound ¶
func NewDeleteAPINotFound() *DeleteAPINotFound
NewDeleteAPINotFound creates DeleteAPINotFound with default headers values
func (*DeleteAPINotFound) SetPayload ¶
func (o *DeleteAPINotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete Api not found response
func (*DeleteAPINotFound) WithPayload ¶
func (o *DeleteAPINotFound) WithPayload(payload *v1.Error) *DeleteAPINotFound
WithPayload adds the payload to the delete Api not found response
func (*DeleteAPINotFound) WriteResponse ¶
func (o *DeleteAPINotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAPIOK ¶
DeleteAPIOK Successful operation
swagger:response deleteApiOK
func NewDeleteAPIOK ¶
func NewDeleteAPIOK() *DeleteAPIOK
NewDeleteAPIOK creates DeleteAPIOK with default headers values
func (*DeleteAPIOK) SetPayload ¶
func (o *DeleteAPIOK) SetPayload(payload *v1.API)
SetPayload sets the payload to the delete Api o k response
func (*DeleteAPIOK) WithPayload ¶
func (o *DeleteAPIOK) WithPayload(payload *v1.API) *DeleteAPIOK
WithPayload adds the payload to the delete Api o k response
func (*DeleteAPIOK) WriteResponse ¶
func (o *DeleteAPIOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteAPIParams ¶
type DeleteAPIParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ XDispatchOrg string /*Name of API to work on Required: true Pattern: ^[\w\d\-]+$ In: path */ API string /*Filter based on tags In: query Collection Format: multi */ Tags []string }
DeleteAPIParams contains all the bound params for the delete API operation typically these are obtained from a http.Request
swagger:parameters deleteAPI
func NewDeleteAPIParams ¶
func NewDeleteAPIParams() DeleteAPIParams
NewDeleteAPIParams creates a new DeleteAPIParams object no default values defined in spec.
func (*DeleteAPIParams) BindRequest ¶
func (o *DeleteAPIParams) 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 NewDeleteAPIParams() beforehand.
type DeleteAPIURL ¶
DeleteAPIURL generates an URL for the delete API operation
func (*DeleteAPIURL) Build ¶
func (o *DeleteAPIURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteAPIURL) BuildFull ¶
func (o *DeleteAPIURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteAPIURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteAPIURL) SetBasePath ¶
func (o *DeleteAPIURL) 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 (*DeleteAPIURL) String ¶
func (o *DeleteAPIURL) String() string
String returns the string representation of the path with query string
func (*DeleteAPIURL) StringFull ¶
func (o *DeleteAPIURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteAPIURL) WithBasePath ¶
func (o *DeleteAPIURL) WithBasePath(bp string) *DeleteAPIURL
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 DeleteAPIUnauthorized ¶ added in v0.1.18
DeleteAPIUnauthorized Unauthorized Request
swagger:response deleteApiUnauthorized
func NewDeleteAPIUnauthorized ¶ added in v0.1.18
func NewDeleteAPIUnauthorized() *DeleteAPIUnauthorized
NewDeleteAPIUnauthorized creates DeleteAPIUnauthorized with default headers values
func (*DeleteAPIUnauthorized) SetPayload ¶ added in v0.1.18
func (o *DeleteAPIUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete Api unauthorized response
func (*DeleteAPIUnauthorized) WithPayload ¶ added in v0.1.18
func (o *DeleteAPIUnauthorized) WithPayload(payload *v1.Error) *DeleteAPIUnauthorized
WithPayload adds the payload to the delete Api unauthorized response
func (*DeleteAPIUnauthorized) WriteResponse ¶ added in v0.1.18
func (o *DeleteAPIUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAPI ¶
type GetAPI struct { Context *middleware.Context Handler GetAPIHandler }
GetAPI swagger:route GET /{api} endpoint getApi
Find API by name ¶
get an API by name
func NewGetAPI ¶
func NewGetAPI(ctx *middleware.Context, handler GetAPIHandler) *GetAPI
NewGetAPI creates a new http.Handler for the get API operation
type GetAPIBadRequest ¶
GetAPIBadRequest Invalid Name supplied
swagger:response getApiBadRequest
func NewGetAPIBadRequest ¶
func NewGetAPIBadRequest() *GetAPIBadRequest
NewGetAPIBadRequest creates GetAPIBadRequest with default headers values
func (*GetAPIBadRequest) SetPayload ¶
func (o *GetAPIBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get Api bad request response
func (*GetAPIBadRequest) WithPayload ¶
func (o *GetAPIBadRequest) WithPayload(payload *v1.Error) *GetAPIBadRequest
WithPayload adds the payload to the get Api bad request response
func (*GetAPIBadRequest) WriteResponse ¶
func (o *GetAPIBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAPIDefault ¶ added in v0.1.18
type GetAPIDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetAPIDefault Unknown error
swagger:response getApiDefault
func NewGetAPIDefault ¶ added in v0.1.18
func NewGetAPIDefault(code int) *GetAPIDefault
NewGetAPIDefault creates GetAPIDefault with default headers values
func (*GetAPIDefault) SetPayload ¶ added in v0.1.18
func (o *GetAPIDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get API default response
func (*GetAPIDefault) SetStatusCode ¶ added in v0.1.18
func (o *GetAPIDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get API default response
func (*GetAPIDefault) WithPayload ¶ added in v0.1.18
func (o *GetAPIDefault) WithPayload(payload *v1.Error) *GetAPIDefault
WithPayload adds the payload to the get API default response
func (*GetAPIDefault) WithStatusCode ¶ added in v0.1.18
func (o *GetAPIDefault) WithStatusCode(code int) *GetAPIDefault
WithStatusCode adds the status to the get API default response
func (*GetAPIDefault) WriteResponse ¶ added in v0.1.18
func (o *GetAPIDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAPIForbidden ¶ added in v0.1.18
GetAPIForbidden access to this resource is forbidden
swagger:response getApiForbidden
func NewGetAPIForbidden ¶ added in v0.1.18
func NewGetAPIForbidden() *GetAPIForbidden
NewGetAPIForbidden creates GetAPIForbidden with default headers values
func (*GetAPIForbidden) SetPayload ¶ added in v0.1.18
func (o *GetAPIForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get Api forbidden response
func (*GetAPIForbidden) WithPayload ¶ added in v0.1.18
func (o *GetAPIForbidden) WithPayload(payload *v1.Error) *GetAPIForbidden
WithPayload adds the payload to the get Api forbidden response
func (*GetAPIForbidden) WriteResponse ¶ added in v0.1.18
func (o *GetAPIForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAPIHandler ¶
type GetAPIHandler interface {
Handle(GetAPIParams, interface{}) middleware.Responder
}
GetAPIHandler interface for that can handle valid get API params
type GetAPIHandlerFunc ¶
type GetAPIHandlerFunc func(GetAPIParams, interface{}) middleware.Responder
GetAPIHandlerFunc turns a function with the right signature into a get API handler
func (GetAPIHandlerFunc) Handle ¶
func (fn GetAPIHandlerFunc) Handle(params GetAPIParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetAPINotFound ¶
GetAPINotFound API not found
swagger:response getApiNotFound
func NewGetAPINotFound ¶
func NewGetAPINotFound() *GetAPINotFound
NewGetAPINotFound creates GetAPINotFound with default headers values
func (*GetAPINotFound) SetPayload ¶
func (o *GetAPINotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get Api not found response
func (*GetAPINotFound) WithPayload ¶
func (o *GetAPINotFound) WithPayload(payload *v1.Error) *GetAPINotFound
WithPayload adds the payload to the get Api not found response
func (*GetAPINotFound) WriteResponse ¶
func (o *GetAPINotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAPIOK ¶
GetAPIOK Successful operation
swagger:response getApiOK
func NewGetAPIOK ¶
func NewGetAPIOK() *GetAPIOK
NewGetAPIOK creates GetAPIOK with default headers values
func (*GetAPIOK) SetPayload ¶
SetPayload sets the payload to the get Api o k response
func (*GetAPIOK) WithPayload ¶
WithPayload adds the payload to the get Api o k response
func (*GetAPIOK) WriteResponse ¶
func (o *GetAPIOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAPIParams ¶
type GetAPIParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ XDispatchOrg string /*Name of API to work on Required: true Pattern: ^[\w\d\-]+$ In: path */ API string /*Filter based on tags In: query Collection Format: multi */ Tags []string }
GetAPIParams contains all the bound params for the get API operation typically these are obtained from a http.Request
swagger:parameters getAPI
func NewGetAPIParams ¶
func NewGetAPIParams() GetAPIParams
NewGetAPIParams creates a new GetAPIParams object no default values defined in spec.
func (*GetAPIParams) BindRequest ¶
func (o *GetAPIParams) 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 NewGetAPIParams() beforehand.
type GetAPIURL ¶
GetAPIURL generates an URL for the get API operation
func (*GetAPIURL) SetBasePath ¶
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 (*GetAPIURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*GetAPIURL) 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 GetAPIUnauthorized ¶ added in v0.1.18
GetAPIUnauthorized Unauthorized Request
swagger:response getApiUnauthorized
func NewGetAPIUnauthorized ¶ added in v0.1.18
func NewGetAPIUnauthorized() *GetAPIUnauthorized
NewGetAPIUnauthorized creates GetAPIUnauthorized with default headers values
func (*GetAPIUnauthorized) SetPayload ¶ added in v0.1.18
func (o *GetAPIUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get Api unauthorized response
func (*GetAPIUnauthorized) WithPayload ¶ added in v0.1.18
func (o *GetAPIUnauthorized) WithPayload(payload *v1.Error) *GetAPIUnauthorized
WithPayload adds the payload to the get Api unauthorized response
func (*GetAPIUnauthorized) WriteResponse ¶ added in v0.1.18
func (o *GetAPIUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApis ¶
type GetApis struct { Context *middleware.Context Handler GetApisHandler }
GetApis swagger:route GET / endpoint getApis
List all existing APIs
func NewGetApis ¶
func NewGetApis(ctx *middleware.Context, handler GetApisHandler) *GetApis
NewGetApis creates a new http.Handler for the get apis operation
type GetApisDefault ¶
type GetApisDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetApisDefault Unexpected Error
swagger:response getApisDefault
func NewGetApisDefault ¶
func NewGetApisDefault(code int) *GetApisDefault
NewGetApisDefault creates GetApisDefault with default headers values
func (*GetApisDefault) SetPayload ¶
func (o *GetApisDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get apis default response
func (*GetApisDefault) SetStatusCode ¶
func (o *GetApisDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get apis default response
func (*GetApisDefault) WithPayload ¶
func (o *GetApisDefault) WithPayload(payload *v1.Error) *GetApisDefault
WithPayload adds the payload to the get apis default response
func (*GetApisDefault) WithStatusCode ¶
func (o *GetApisDefault) WithStatusCode(code int) *GetApisDefault
WithStatusCode adds the status to the get apis default response
func (*GetApisDefault) WriteResponse ¶
func (o *GetApisDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApisForbidden ¶ added in v0.1.18
GetApisForbidden access to this resource is forbidden
swagger:response getApisForbidden
func NewGetApisForbidden ¶ added in v0.1.18
func NewGetApisForbidden() *GetApisForbidden
NewGetApisForbidden creates GetApisForbidden with default headers values
func (*GetApisForbidden) SetPayload ¶ added in v0.1.18
func (o *GetApisForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get apis forbidden response
func (*GetApisForbidden) WithPayload ¶ added in v0.1.18
func (o *GetApisForbidden) WithPayload(payload *v1.Error) *GetApisForbidden
WithPayload adds the payload to the get apis forbidden response
func (*GetApisForbidden) WriteResponse ¶ added in v0.1.18
func (o *GetApisForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApisHandler ¶
type GetApisHandler interface {
Handle(GetApisParams, interface{}) middleware.Responder
}
GetApisHandler interface for that can handle valid get apis params
type GetApisHandlerFunc ¶
type GetApisHandlerFunc func(GetApisParams, interface{}) middleware.Responder
GetApisHandlerFunc turns a function with the right signature into a get apis handler
func (GetApisHandlerFunc) Handle ¶
func (fn GetApisHandlerFunc) Handle(params GetApisParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetApisOK ¶
GetApisOK Successful operation
swagger:response getApisOK
func NewGetApisOK ¶
func NewGetApisOK() *GetApisOK
NewGetApisOK creates GetApisOK with default headers values
func (*GetApisOK) SetPayload ¶
SetPayload sets the payload to the get apis o k response
func (*GetApisOK) WithPayload ¶
WithPayload adds the payload to the get apis o k response
func (*GetApisOK) WriteResponse ¶
func (o *GetApisOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApisParams ¶
type GetApisParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ XDispatchOrg string /*Filter based on function names In: query */ Function *string /*Filter based on tags In: query Collection Format: multi */ Tags []string }
GetApisParams contains all the bound params for the get apis operation typically these are obtained from a http.Request
swagger:parameters getAPIs
func NewGetApisParams ¶
func NewGetApisParams() GetApisParams
NewGetApisParams creates a new GetApisParams object no default values defined in spec.
func (*GetApisParams) BindRequest ¶
func (o *GetApisParams) 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 NewGetApisParams() beforehand.
type GetApisURL ¶
GetApisURL generates an URL for the get apis operation
func (*GetApisURL) Build ¶
func (o *GetApisURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetApisURL) BuildFull ¶
func (o *GetApisURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetApisURL) SetBasePath ¶
func (o *GetApisURL) 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 (*GetApisURL) String ¶
func (o *GetApisURL) String() string
String returns the string representation of the path with query string
func (*GetApisURL) StringFull ¶
func (o *GetApisURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetApisURL) WithBasePath ¶
func (o *GetApisURL) WithBasePath(bp string) *GetApisURL
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 GetApisUnauthorized ¶ added in v0.1.18
GetApisUnauthorized Unauthorized Request
swagger:response getApisUnauthorized
func NewGetApisUnauthorized ¶ added in v0.1.18
func NewGetApisUnauthorized() *GetApisUnauthorized
NewGetApisUnauthorized creates GetApisUnauthorized with default headers values
func (*GetApisUnauthorized) SetPayload ¶ added in v0.1.18
func (o *GetApisUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get apis unauthorized response
func (*GetApisUnauthorized) WithPayload ¶ added in v0.1.18
func (o *GetApisUnauthorized) WithPayload(payload *v1.Error) *GetApisUnauthorized
WithPayload adds the payload to the get apis unauthorized response
func (*GetApisUnauthorized) WriteResponse ¶ added in v0.1.18
func (o *GetApisUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAPI ¶
type UpdateAPI struct { Context *middleware.Context Handler UpdateAPIHandler }
UpdateAPI swagger:route PUT /{api} endpoint updateApi
Update an API
func NewUpdateAPI ¶
func NewUpdateAPI(ctx *middleware.Context, handler UpdateAPIHandler) *UpdateAPI
NewUpdateAPI creates a new http.Handler for the update API operation
type UpdateAPIBadRequest ¶
UpdateAPIBadRequest Invalid input
swagger:response updateApiBadRequest
func NewUpdateAPIBadRequest ¶
func NewUpdateAPIBadRequest() *UpdateAPIBadRequest
NewUpdateAPIBadRequest creates UpdateAPIBadRequest with default headers values
func (*UpdateAPIBadRequest) SetPayload ¶
func (o *UpdateAPIBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update Api bad request response
func (*UpdateAPIBadRequest) WithPayload ¶
func (o *UpdateAPIBadRequest) WithPayload(payload *v1.Error) *UpdateAPIBadRequest
WithPayload adds the payload to the update Api bad request response
func (*UpdateAPIBadRequest) WriteResponse ¶
func (o *UpdateAPIBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAPIDefault ¶ added in v0.1.18
type UpdateAPIDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateAPIDefault Unknown error
swagger:response updateApiDefault
func NewUpdateAPIDefault ¶ added in v0.1.18
func NewUpdateAPIDefault(code int) *UpdateAPIDefault
NewUpdateAPIDefault creates UpdateAPIDefault with default headers values
func (*UpdateAPIDefault) SetPayload ¶ added in v0.1.18
func (o *UpdateAPIDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update API default response
func (*UpdateAPIDefault) SetStatusCode ¶ added in v0.1.18
func (o *UpdateAPIDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update API default response
func (*UpdateAPIDefault) WithPayload ¶ added in v0.1.18
func (o *UpdateAPIDefault) WithPayload(payload *v1.Error) *UpdateAPIDefault
WithPayload adds the payload to the update API default response
func (*UpdateAPIDefault) WithStatusCode ¶ added in v0.1.18
func (o *UpdateAPIDefault) WithStatusCode(code int) *UpdateAPIDefault
WithStatusCode adds the status to the update API default response
func (*UpdateAPIDefault) WriteResponse ¶ added in v0.1.18
func (o *UpdateAPIDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAPIForbidden ¶ added in v0.1.18
UpdateAPIForbidden access to this resource is forbidden
swagger:response updateApiForbidden
func NewUpdateAPIForbidden ¶ added in v0.1.18
func NewUpdateAPIForbidden() *UpdateAPIForbidden
NewUpdateAPIForbidden creates UpdateAPIForbidden with default headers values
func (*UpdateAPIForbidden) SetPayload ¶ added in v0.1.18
func (o *UpdateAPIForbidden) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update Api forbidden response
func (*UpdateAPIForbidden) WithPayload ¶ added in v0.1.18
func (o *UpdateAPIForbidden) WithPayload(payload *v1.Error) *UpdateAPIForbidden
WithPayload adds the payload to the update Api forbidden response
func (*UpdateAPIForbidden) WriteResponse ¶ added in v0.1.18
func (o *UpdateAPIForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAPIHandler ¶
type UpdateAPIHandler interface {
Handle(UpdateAPIParams, interface{}) middleware.Responder
}
UpdateAPIHandler interface for that can handle valid update API params
type UpdateAPIHandlerFunc ¶
type UpdateAPIHandlerFunc func(UpdateAPIParams, interface{}) middleware.Responder
UpdateAPIHandlerFunc turns a function with the right signature into a update API handler
func (UpdateAPIHandlerFunc) Handle ¶
func (fn UpdateAPIHandlerFunc) Handle(params UpdateAPIParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateAPINotFound ¶
UpdateAPINotFound API not found
swagger:response updateApiNotFound
func NewUpdateAPINotFound ¶
func NewUpdateAPINotFound() *UpdateAPINotFound
NewUpdateAPINotFound creates UpdateAPINotFound with default headers values
func (*UpdateAPINotFound) SetPayload ¶
func (o *UpdateAPINotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update Api not found response
func (*UpdateAPINotFound) WithPayload ¶
func (o *UpdateAPINotFound) WithPayload(payload *v1.Error) *UpdateAPINotFound
WithPayload adds the payload to the update Api not found response
func (*UpdateAPINotFound) WriteResponse ¶
func (o *UpdateAPINotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAPIOK ¶
UpdateAPIOK Successful update
swagger:response updateApiOK
func NewUpdateAPIOK ¶
func NewUpdateAPIOK() *UpdateAPIOK
NewUpdateAPIOK creates UpdateAPIOK with default headers values
func (*UpdateAPIOK) SetPayload ¶
func (o *UpdateAPIOK) SetPayload(payload *v1.API)
SetPayload sets the payload to the update Api o k response
func (*UpdateAPIOK) WithPayload ¶
func (o *UpdateAPIOK) WithPayload(payload *v1.API) *UpdateAPIOK
WithPayload adds the payload to the update Api o k response
func (*UpdateAPIOK) WriteResponse ¶
func (o *UpdateAPIOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAPIParams ¶
type UpdateAPIParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ XDispatchOrg string /*Name of API to work on Required: true Pattern: ^[\w\d\-]+$ In: path */ API string /*API object Required: true In: body */ Body *v1.API /*Filter based on tags In: query Collection Format: multi */ Tags []string }
UpdateAPIParams contains all the bound params for the update API operation typically these are obtained from a http.Request
swagger:parameters updateAPI
func NewUpdateAPIParams ¶
func NewUpdateAPIParams() UpdateAPIParams
NewUpdateAPIParams creates a new UpdateAPIParams object no default values defined in spec.
func (*UpdateAPIParams) BindRequest ¶
func (o *UpdateAPIParams) 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 NewUpdateAPIParams() beforehand.
type UpdateAPIURL ¶
UpdateAPIURL generates an URL for the update API operation
func (*UpdateAPIURL) Build ¶
func (o *UpdateAPIURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateAPIURL) BuildFull ¶
func (o *UpdateAPIURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateAPIURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateAPIURL) SetBasePath ¶
func (o *UpdateAPIURL) 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 (*UpdateAPIURL) String ¶
func (o *UpdateAPIURL) String() string
String returns the string representation of the path with query string
func (*UpdateAPIURL) StringFull ¶
func (o *UpdateAPIURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateAPIURL) WithBasePath ¶
func (o *UpdateAPIURL) WithBasePath(bp string) *UpdateAPIURL
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 UpdateAPIUnauthorized ¶ added in v0.1.18
UpdateAPIUnauthorized Unauthorized Request
swagger:response updateApiUnauthorized
func NewUpdateAPIUnauthorized ¶ added in v0.1.18
func NewUpdateAPIUnauthorized() *UpdateAPIUnauthorized
NewUpdateAPIUnauthorized creates UpdateAPIUnauthorized with default headers values
func (*UpdateAPIUnauthorized) SetPayload ¶ added in v0.1.18
func (o *UpdateAPIUnauthorized) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update Api unauthorized response
func (*UpdateAPIUnauthorized) WithPayload ¶ added in v0.1.18
func (o *UpdateAPIUnauthorized) WithPayload(payload *v1.Error) *UpdateAPIUnauthorized
WithPayload adds the payload to the update Api unauthorized response
func (*UpdateAPIUnauthorized) WriteResponse ¶ added in v0.1.18
func (o *UpdateAPIUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- add_api.go
- add_api_parameters.go
- add_api_responses.go
- add_api_urlbuilder.go
- delete_api.go
- delete_api_parameters.go
- delete_api_responses.go
- delete_api_urlbuilder.go
- get_api.go
- get_api_parameters.go
- get_api_responses.go
- get_api_urlbuilder.go
- get_apis.go
- get_apis_parameters.go
- get_apis_responses.go
- get_apis_urlbuilder.go
- update_api.go
- update_api_parameters.go
- update_api_responses.go
- update_api_urlbuilder.go