endpoint

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2018 License: Apache-2.0 Imports: 13 Imported by: 12

Documentation

Index

Constants

View Source
const AddAPIBadRequestCode int = 400

AddAPIBadRequestCode is the HTTP code returned for type AddAPIBadRequest

View Source
const AddAPIConflictCode int = 409

AddAPIConflictCode is the HTTP code returned for type AddAPIConflict

View Source
const AddAPIForbiddenCode int = 403

AddAPIForbiddenCode is the HTTP code returned for type AddAPIForbidden

View Source
const AddAPIOKCode int = 200

AddAPIOKCode is the HTTP code returned for type AddAPIOK

View Source
const AddAPIUnauthorizedCode int = 401

AddAPIUnauthorizedCode is the HTTP code returned for type AddAPIUnauthorized

View Source
const DeleteAPIBadRequestCode int = 400

DeleteAPIBadRequestCode is the HTTP code returned for type DeleteAPIBadRequest

View Source
const DeleteAPIForbiddenCode int = 403

DeleteAPIForbiddenCode is the HTTP code returned for type DeleteAPIForbidden

View Source
const DeleteAPINotFoundCode int = 404

DeleteAPINotFoundCode is the HTTP code returned for type DeleteAPINotFound

View Source
const DeleteAPIOKCode int = 200

DeleteAPIOKCode is the HTTP code returned for type DeleteAPIOK

View Source
const DeleteAPIUnauthorizedCode int = 401

DeleteAPIUnauthorizedCode is the HTTP code returned for type DeleteAPIUnauthorized

View Source
const GetAPIBadRequestCode int = 400

GetAPIBadRequestCode is the HTTP code returned for type GetAPIBadRequest

View Source
const GetAPIForbiddenCode int = 403

GetAPIForbiddenCode is the HTTP code returned for type GetAPIForbidden

View Source
const GetAPINotFoundCode int = 404

GetAPINotFoundCode is the HTTP code returned for type GetAPINotFound

View Source
const GetAPIOKCode int = 200

GetAPIOKCode is the HTTP code returned for type GetAPIOK

View Source
const GetAPIUnauthorizedCode int = 401

GetAPIUnauthorizedCode is the HTTP code returned for type GetAPIUnauthorized

View Source
const GetApisForbiddenCode int = 403

GetApisForbiddenCode is the HTTP code returned for type GetApisForbidden

View Source
const GetApisOKCode int = 200

GetApisOKCode is the HTTP code returned for type GetApisOK

View Source
const GetApisUnauthorizedCode int = 401

GetApisUnauthorizedCode is the HTTP code returned for type GetApisUnauthorized

View Source
const UpdateAPIBadRequestCode int = 400

UpdateAPIBadRequestCode is the HTTP code returned for type UpdateAPIBadRequest

View Source
const UpdateAPIForbiddenCode int = 403

UpdateAPIForbiddenCode is the HTTP code returned for type UpdateAPIForbidden

View Source
const UpdateAPINotFoundCode int = 404

UpdateAPINotFoundCode is the HTTP code returned for type UpdateAPINotFound

View Source
const UpdateAPIOKCode int = 200

UpdateAPIOKCode is the HTTP code returned for type UpdateAPIOK

View Source
const UpdateAPIUnauthorizedCode int = 401

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

func (*AddAPI) ServeHTTP

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

type AddAPIBadRequest

type AddAPIBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type AddAPIConflict struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type AddAPIForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type AddAPIOK struct {

	/*
	  In: Body
	*/
	Payload *v1.API `json:"body,omitempty"`
}

AddAPIOK API created

swagger:response addApiOK

func NewAddAPIOK

func NewAddAPIOK() *AddAPIOK

NewAddAPIOK creates AddAPIOK with default headers values

func (*AddAPIOK) SetPayload

func (o *AddAPIOK) SetPayload(payload *v1.API)

SetPayload sets the payload to the add Api o k response

func (*AddAPIOK) WithPayload

func (o *AddAPIOK) WithPayload(payload *v1.API) *AddAPIOK

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

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

Build a url path and query string

func (*AddAPIURL) BuildFull

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

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

func (*AddAPIURL) Must

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

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

func (*AddAPIURL) SetBasePath

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

func (o *AddAPIURL) String() string

String returns the string representation of the path with query string

func (*AddAPIURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddAPIURL) WithBasePath

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

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

type AddAPIUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

func (*DeleteAPI) ServeHTTP

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

type DeleteAPIBadRequest

type DeleteAPIBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type DeleteAPIForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type DeleteAPINotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type DeleteAPIOK struct {

	/*
	  In: Body
	*/
	Payload *v1.API `json:"body,omitempty"`
}

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

type DeleteAPIURL struct {
	API string

	Tags []string
	// contains filtered or unexported fields
}

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

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

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

type DeleteAPIUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

func (*GetAPI) ServeHTTP

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

type GetAPIBadRequest

type GetAPIBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type GetAPIForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type GetAPINotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type GetAPIOK struct {

	/*
	  In: Body
	*/
	Payload *v1.API `json:"body,omitempty"`
}

GetAPIOK Successful operation

swagger:response getApiOK

func NewGetAPIOK

func NewGetAPIOK() *GetAPIOK

NewGetAPIOK creates GetAPIOK with default headers values

func (*GetAPIOK) SetPayload

func (o *GetAPIOK) SetPayload(payload *v1.API)

SetPayload sets the payload to the get Api o k response

func (*GetAPIOK) WithPayload

func (o *GetAPIOK) WithPayload(payload *v1.API) *GetAPIOK

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

type GetAPIURL struct {
	API string

	Tags []string
	// contains filtered or unexported fields
}

GetAPIURL generates an URL for the get API operation

func (*GetAPIURL) Build

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

Build a url path and query string

func (*GetAPIURL) BuildFull

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

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

func (*GetAPIURL) Must

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

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

func (*GetAPIURL) SetBasePath

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

func (o *GetAPIURL) String() string

String returns the string representation of the path with query string

func (*GetAPIURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetAPIURL) WithBasePath

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

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

type GetAPIUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

func (*GetApis) ServeHTTP

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

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

type GetApisForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type GetApisOK struct {

	/*
	  In: Body
	*/
	Payload []*v1.API `json:"body,omitempty"`
}

GetApisOK Successful operation

swagger:response getApisOK

func NewGetApisOK

func NewGetApisOK() *GetApisOK

NewGetApisOK creates GetApisOK with default headers values

func (*GetApisOK) SetPayload

func (o *GetApisOK) SetPayload(payload []*v1.API)

SetPayload sets the payload to the get apis o k response

func (*GetApisOK) WithPayload

func (o *GetApisOK) WithPayload(payload []*v1.API) *GetApisOK

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

type GetApisURL struct {
	Function *string
	Tags     []string
	// contains filtered or unexported fields
}

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

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

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

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

type GetApisUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

func (*UpdateAPI) ServeHTTP

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

type UpdateAPIBadRequest

type UpdateAPIBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type UpdateAPIForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type UpdateAPINotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type UpdateAPIOK struct {

	/*
	  In: Body
	*/
	Payload *v1.API `json:"body,omitempty"`
}

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

type UpdateAPIURL struct {
	API string

	Tags []string
	// contains filtered or unexported fields
}

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

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

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

type UpdateAPIUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

Jump to

Keyboard shortcuts

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