Documentation ¶
Index ¶
- Constants
- type CreateEventEndpoint
- type CreateEventEndpointGone
- type CreateEventEndpointHandler
- type CreateEventEndpointHandlerFunc
- type CreateEventEndpointNotFound
- type CreateEventEndpointOK
- type CreateEventEndpointParams
- type CreateEventEndpointURL
- func (o *CreateEventEndpointURL) Build() (*url.URL, error)
- func (o *CreateEventEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateEventEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateEventEndpointURL) SetBasePath(bp string)
- func (o *CreateEventEndpointURL) String() string
- func (o *CreateEventEndpointURL) StringFull(scheme, host string) string
- func (o *CreateEventEndpointURL) WithBasePath(bp string) *CreateEventEndpointURL
- type CreateEventEndpointUnauthorized
- func (o *CreateEventEndpointUnauthorized) SetPayload(payload *restmodels.Error)
- func (o *CreateEventEndpointUnauthorized) WithPayload(payload *restmodels.Error) *CreateEventEndpointUnauthorized
- func (o *CreateEventEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteEventEndpoint
- type DeleteEventEndpointGone
- type DeleteEventEndpointHandler
- type DeleteEventEndpointHandlerFunc
- type DeleteEventEndpointNotFound
- type DeleteEventEndpointOK
- type DeleteEventEndpointParams
- type DeleteEventEndpointURL
- func (o *DeleteEventEndpointURL) Build() (*url.URL, error)
- func (o *DeleteEventEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteEventEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteEventEndpointURL) SetBasePath(bp string)
- func (o *DeleteEventEndpointURL) String() string
- func (o *DeleteEventEndpointURL) StringFull(scheme, host string) string
- func (o *DeleteEventEndpointURL) WithBasePath(bp string) *DeleteEventEndpointURL
- type DeleteEventEndpointUnauthorized
- func (o *DeleteEventEndpointUnauthorized) SetPayload(payload *restmodels.Error)
- func (o *DeleteEventEndpointUnauthorized) WithPayload(payload *restmodels.Error) *DeleteEventEndpointUnauthorized
- func (o *DeleteEventEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEventEndpoint
- type GetEventEndpointGone
- type GetEventEndpointHandler
- type GetEventEndpointHandlerFunc
- type GetEventEndpointNotFound
- type GetEventEndpointOK
- type GetEventEndpointParams
- type GetEventEndpointURL
- func (o *GetEventEndpointURL) Build() (*url.URL, error)
- func (o *GetEventEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEventEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEventEndpointURL) SetBasePath(bp string)
- func (o *GetEventEndpointURL) String() string
- func (o *GetEventEndpointURL) StringFull(scheme, host string) string
- func (o *GetEventEndpointURL) WithBasePath(bp string) *GetEventEndpointURL
- type GetEventEndpointUnauthorized
- type GetEventTypeEndpoints
- type GetEventTypeEndpointsGone
- type GetEventTypeEndpointsHandler
- type GetEventTypeEndpointsHandlerFunc
- type GetEventTypeEndpointsNotFound
- type GetEventTypeEndpointsOK
- type GetEventTypeEndpointsParams
- type GetEventTypeEndpointsURL
- func (o *GetEventTypeEndpointsURL) Build() (*url.URL, error)
- func (o *GetEventTypeEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEventTypeEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEventTypeEndpointsURL) SetBasePath(bp string)
- func (o *GetEventTypeEndpointsURL) String() string
- func (o *GetEventTypeEndpointsURL) StringFull(scheme, host string) string
- func (o *GetEventTypeEndpointsURL) WithBasePath(bp string) *GetEventTypeEndpointsURL
- type GetEventTypeEndpointsUnauthorized
- func (o *GetEventTypeEndpointsUnauthorized) SetPayload(payload *restmodels.Error)
- func (o *GetEventTypeEndpointsUnauthorized) WithPayload(payload *restmodels.Error) *GetEventTypeEndpointsUnauthorized
- func (o *GetEventTypeEndpointsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateEventEndpoint
- type UpdateEventEndpointGone
- type UpdateEventEndpointHandler
- type UpdateEventEndpointHandlerFunc
- type UpdateEventEndpointNotFound
- type UpdateEventEndpointOK
- type UpdateEventEndpointParams
- type UpdateEventEndpointURL
- func (o *UpdateEventEndpointURL) Build() (*url.URL, error)
- func (o *UpdateEventEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateEventEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateEventEndpointURL) SetBasePath(bp string)
- func (o *UpdateEventEndpointURL) String() string
- func (o *UpdateEventEndpointURL) StringFull(scheme, host string) string
- func (o *UpdateEventEndpointURL) WithBasePath(bp string) *UpdateEventEndpointURL
- type UpdateEventEndpointUnauthorized
- func (o *UpdateEventEndpointUnauthorized) SetPayload(payload *restmodels.Error)
- func (o *UpdateEventEndpointUnauthorized) WithPayload(payload *restmodels.Error) *UpdateEventEndpointUnauthorized
- func (o *UpdateEventEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateEventEndpointGoneCode int = 410
CreateEventEndpointGoneCode is the HTTP code returned for type CreateEventEndpointGone
const CreateEventEndpointNotFoundCode int = 404
CreateEventEndpointNotFoundCode is the HTTP code returned for type CreateEventEndpointNotFound
const CreateEventEndpointOKCode int = 200
CreateEventEndpointOKCode is the HTTP code returned for type CreateEventEndpointOK
CreateEventEndpointUnauthorizedCode is the HTTP code returned for type CreateEventEndpointUnauthorized
const DeleteEventEndpointGoneCode int = 410
DeleteEventEndpointGoneCode is the HTTP code returned for type DeleteEventEndpointGone
const DeleteEventEndpointNotFoundCode int = 404
DeleteEventEndpointNotFoundCode is the HTTP code returned for type DeleteEventEndpointNotFound
const DeleteEventEndpointOKCode int = 200
DeleteEventEndpointOKCode is the HTTP code returned for type DeleteEventEndpointOK
DeleteEventEndpointUnauthorizedCode is the HTTP code returned for type DeleteEventEndpointUnauthorized
const GetEventEndpointGoneCode int = 410
GetEventEndpointGoneCode is the HTTP code returned for type GetEventEndpointGone
const GetEventEndpointNotFoundCode int = 404
GetEventEndpointNotFoundCode is the HTTP code returned for type GetEventEndpointNotFound
const GetEventEndpointOKCode int = 200
GetEventEndpointOKCode is the HTTP code returned for type GetEventEndpointOK
GetEventEndpointUnauthorizedCode is the HTTP code returned for type GetEventEndpointUnauthorized
const GetEventTypeEndpointsGoneCode int = 410
GetEventTypeEndpointsGoneCode is the HTTP code returned for type GetEventTypeEndpointsGone
const GetEventTypeEndpointsNotFoundCode int = 404
GetEventTypeEndpointsNotFoundCode is the HTTP code returned for type GetEventTypeEndpointsNotFound
const GetEventTypeEndpointsOKCode int = 200
GetEventTypeEndpointsOKCode is the HTTP code returned for type GetEventTypeEndpointsOK
GetEventTypeEndpointsUnauthorizedCode is the HTTP code returned for type GetEventTypeEndpointsUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateEventEndpoint ¶
type CreateEventEndpoint struct { Context *middleware.Context Handler CreateEventEndpointHandler }
CreateEventEndpoint swagger:route POST /v1/models/{model_id}/events/{event_type}/{endpoint_id} Events createEventEndpoint
Creates an event notification endpoint.
Creates a specific event type's URL notification endpoint.
func NewCreateEventEndpoint ¶
func NewCreateEventEndpoint(ctx *middleware.Context, handler CreateEventEndpointHandler) *CreateEventEndpoint
NewCreateEventEndpoint creates a new http.Handler for the create event endpoint operation
func (*CreateEventEndpoint) ServeHTTP ¶
func (o *CreateEventEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateEventEndpointGone ¶
type CreateEventEndpointGone struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
CreateEventEndpointGone If the trained model storage time has expired and it has been deleted. It only gets deleted if it not stored on an external data store.
swagger:response createEventEndpointGone
func NewCreateEventEndpointGone ¶
func NewCreateEventEndpointGone() *CreateEventEndpointGone
NewCreateEventEndpointGone creates CreateEventEndpointGone with default headers values
func (*CreateEventEndpointGone) SetPayload ¶
func (o *CreateEventEndpointGone) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the create event endpoint gone response
func (*CreateEventEndpointGone) WithPayload ¶
func (o *CreateEventEndpointGone) WithPayload(payload *restmodels.Error) *CreateEventEndpointGone
WithPayload adds the payload to the create event endpoint gone response
func (*CreateEventEndpointGone) WriteResponse ¶
func (o *CreateEventEndpointGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateEventEndpointHandler ¶
type CreateEventEndpointHandler interface {
Handle(CreateEventEndpointParams, interface{}) middleware.Responder
}
CreateEventEndpointHandler interface for that can handle valid create event endpoint params
type CreateEventEndpointHandlerFunc ¶
type CreateEventEndpointHandlerFunc func(CreateEventEndpointParams, interface{}) middleware.Responder
CreateEventEndpointHandlerFunc turns a function with the right signature into a create event endpoint handler
func (CreateEventEndpointHandlerFunc) Handle ¶
func (fn CreateEventEndpointHandlerFunc) Handle(params CreateEventEndpointParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateEventEndpointNotFound ¶
type CreateEventEndpointNotFound struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
CreateEventEndpointNotFound The model or event type cannot be found.
swagger:response createEventEndpointNotFound
func NewCreateEventEndpointNotFound ¶
func NewCreateEventEndpointNotFound() *CreateEventEndpointNotFound
NewCreateEventEndpointNotFound creates CreateEventEndpointNotFound with default headers values
func (*CreateEventEndpointNotFound) SetPayload ¶
func (o *CreateEventEndpointNotFound) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the create event endpoint not found response
func (*CreateEventEndpointNotFound) WithPayload ¶
func (o *CreateEventEndpointNotFound) WithPayload(payload *restmodels.Error) *CreateEventEndpointNotFound
WithPayload adds the payload to the create event endpoint not found response
func (*CreateEventEndpointNotFound) WriteResponse ¶
func (o *CreateEventEndpointNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateEventEndpointOK ¶
type CreateEventEndpointOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
CreateEventEndpointOK Event updated successfully
swagger:response createEventEndpointOK
func NewCreateEventEndpointOK ¶
func NewCreateEventEndpointOK() *CreateEventEndpointOK
NewCreateEventEndpointOK creates CreateEventEndpointOK with default headers values
func (*CreateEventEndpointOK) SetPayload ¶
func (o *CreateEventEndpointOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the create event endpoint o k response
func (*CreateEventEndpointOK) WithPayload ¶
func (o *CreateEventEndpointOK) WithPayload(payload io.ReadCloser) *CreateEventEndpointOK
WithPayload adds the payload to the create event endpoint o k response
func (*CreateEventEndpointOK) WriteResponse ¶
func (o *CreateEventEndpointOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateEventEndpointParams ¶
type CreateEventEndpointParams struct { // HTTP Request Object HTTPRequest *http.Request /*The URL that should be notified when an event triggers. Required: true In: body */ CallbackURL *restmodels.EventEndpointRegistration /*The id of the endpoint. Required: true In: path */ EndpointID string /*The type of event. Required: true In: path */ EventType string /*The id of the model. Required: true In: path */ ModelID string }
CreateEventEndpointParams contains all the bound params for the create event endpoint operation typically these are obtained from a http.Request
swagger:parameters createEventEndpoint
func NewCreateEventEndpointParams ¶
func NewCreateEventEndpointParams() CreateEventEndpointParams
NewCreateEventEndpointParams creates a new CreateEventEndpointParams object with the default values initialized.
func (*CreateEventEndpointParams) BindRequest ¶
func (o *CreateEventEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls
type CreateEventEndpointURL ¶
type CreateEventEndpointURL struct { EndpointID string EventType string ModelID string // contains filtered or unexported fields }
CreateEventEndpointURL generates an URL for the create event endpoint operation
func (*CreateEventEndpointURL) Build ¶
func (o *CreateEventEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateEventEndpointURL) BuildFull ¶
func (o *CreateEventEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateEventEndpointURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateEventEndpointURL) SetBasePath ¶
func (o *CreateEventEndpointURL) 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 (*CreateEventEndpointURL) String ¶
func (o *CreateEventEndpointURL) String() string
String returns the string representation of the path with query string
func (*CreateEventEndpointURL) StringFull ¶
func (o *CreateEventEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateEventEndpointURL) WithBasePath ¶
func (o *CreateEventEndpointURL) WithBasePath(bp string) *CreateEventEndpointURL
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 CreateEventEndpointUnauthorized ¶
type CreateEventEndpointUnauthorized struct { restmodels.Error `json:"body,omitempty"` }Payload *
CreateEventEndpointUnauthorized Unauthorized
swagger:response createEventEndpointUnauthorized
func NewCreateEventEndpointUnauthorized ¶
func NewCreateEventEndpointUnauthorized() *CreateEventEndpointUnauthorized
NewCreateEventEndpointUnauthorized creates CreateEventEndpointUnauthorized with default headers values
func (*CreateEventEndpointUnauthorized) SetPayload ¶
func (o *CreateEventEndpointUnauthorized) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the create event endpoint unauthorized response
func (*CreateEventEndpointUnauthorized) WithPayload ¶
func (o *CreateEventEndpointUnauthorized) WithPayload(payload *restmodels.Error) *CreateEventEndpointUnauthorized
WithPayload adds the payload to the create event endpoint unauthorized response
func (*CreateEventEndpointUnauthorized) WriteResponse ¶
func (o *CreateEventEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEventEndpoint ¶
type DeleteEventEndpoint struct { Context *middleware.Context Handler DeleteEventEndpointHandler }
DeleteEventEndpoint swagger:route DELETE /v1/models/{model_id}/events/{event_type}/{endpoint_id} Events deleteEventEndpoint
Deletes an event notification endpoint.
Deletes a specific event type's URL notification endpoint.
func NewDeleteEventEndpoint ¶
func NewDeleteEventEndpoint(ctx *middleware.Context, handler DeleteEventEndpointHandler) *DeleteEventEndpoint
NewDeleteEventEndpoint creates a new http.Handler for the delete event endpoint operation
func (*DeleteEventEndpoint) ServeHTTP ¶
func (o *DeleteEventEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteEventEndpointGone ¶
type DeleteEventEndpointGone struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
DeleteEventEndpointGone If the trained model storage time has expired and it has been deleted. It only gets deleted if it not stored on an external data store.
swagger:response deleteEventEndpointGone
func NewDeleteEventEndpointGone ¶
func NewDeleteEventEndpointGone() *DeleteEventEndpointGone
NewDeleteEventEndpointGone creates DeleteEventEndpointGone with default headers values
func (*DeleteEventEndpointGone) SetPayload ¶
func (o *DeleteEventEndpointGone) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the delete event endpoint gone response
func (*DeleteEventEndpointGone) WithPayload ¶
func (o *DeleteEventEndpointGone) WithPayload(payload *restmodels.Error) *DeleteEventEndpointGone
WithPayload adds the payload to the delete event endpoint gone response
func (*DeleteEventEndpointGone) WriteResponse ¶
func (o *DeleteEventEndpointGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEventEndpointHandler ¶
type DeleteEventEndpointHandler interface {
Handle(DeleteEventEndpointParams, interface{}) middleware.Responder
}
DeleteEventEndpointHandler interface for that can handle valid delete event endpoint params
type DeleteEventEndpointHandlerFunc ¶
type DeleteEventEndpointHandlerFunc func(DeleteEventEndpointParams, interface{}) middleware.Responder
DeleteEventEndpointHandlerFunc turns a function with the right signature into a delete event endpoint handler
func (DeleteEventEndpointHandlerFunc) Handle ¶
func (fn DeleteEventEndpointHandlerFunc) Handle(params DeleteEventEndpointParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteEventEndpointNotFound ¶
type DeleteEventEndpointNotFound struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
DeleteEventEndpointNotFound The model or event type cannot be found.
swagger:response deleteEventEndpointNotFound
func NewDeleteEventEndpointNotFound ¶
func NewDeleteEventEndpointNotFound() *DeleteEventEndpointNotFound
NewDeleteEventEndpointNotFound creates DeleteEventEndpointNotFound with default headers values
func (*DeleteEventEndpointNotFound) SetPayload ¶
func (o *DeleteEventEndpointNotFound) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the delete event endpoint not found response
func (*DeleteEventEndpointNotFound) WithPayload ¶
func (o *DeleteEventEndpointNotFound) WithPayload(payload *restmodels.Error) *DeleteEventEndpointNotFound
WithPayload adds the payload to the delete event endpoint not found response
func (*DeleteEventEndpointNotFound) WriteResponse ¶
func (o *DeleteEventEndpointNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEventEndpointOK ¶
type DeleteEventEndpointOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
DeleteEventEndpointOK Event updated successfully
swagger:response deleteEventEndpointOK
func NewDeleteEventEndpointOK ¶
func NewDeleteEventEndpointOK() *DeleteEventEndpointOK
NewDeleteEventEndpointOK creates DeleteEventEndpointOK with default headers values
func (*DeleteEventEndpointOK) SetPayload ¶
func (o *DeleteEventEndpointOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the delete event endpoint o k response
func (*DeleteEventEndpointOK) WithPayload ¶
func (o *DeleteEventEndpointOK) WithPayload(payload io.ReadCloser) *DeleteEventEndpointOK
WithPayload adds the payload to the delete event endpoint o k response
func (*DeleteEventEndpointOK) WriteResponse ¶
func (o *DeleteEventEndpointOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteEventEndpointParams ¶
type DeleteEventEndpointParams struct { // HTTP Request Object HTTPRequest *http.Request /*The id of the endpoint. Required: true In: path */ EndpointID string /*The type of event. Required: true In: path */ EventType string /*The id of the model. Required: true In: path */ ModelID string }
DeleteEventEndpointParams contains all the bound params for the delete event endpoint operation typically these are obtained from a http.Request
swagger:parameters deleteEventEndpoint
func NewDeleteEventEndpointParams ¶
func NewDeleteEventEndpointParams() DeleteEventEndpointParams
NewDeleteEventEndpointParams creates a new DeleteEventEndpointParams object with the default values initialized.
func (*DeleteEventEndpointParams) BindRequest ¶
func (o *DeleteEventEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls
type DeleteEventEndpointURL ¶
type DeleteEventEndpointURL struct { EndpointID string EventType string ModelID string // contains filtered or unexported fields }
DeleteEventEndpointURL generates an URL for the delete event endpoint operation
func (*DeleteEventEndpointURL) Build ¶
func (o *DeleteEventEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteEventEndpointURL) BuildFull ¶
func (o *DeleteEventEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteEventEndpointURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteEventEndpointURL) SetBasePath ¶
func (o *DeleteEventEndpointURL) 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 (*DeleteEventEndpointURL) String ¶
func (o *DeleteEventEndpointURL) String() string
String returns the string representation of the path with query string
func (*DeleteEventEndpointURL) StringFull ¶
func (o *DeleteEventEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteEventEndpointURL) WithBasePath ¶
func (o *DeleteEventEndpointURL) WithBasePath(bp string) *DeleteEventEndpointURL
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 DeleteEventEndpointUnauthorized ¶
type DeleteEventEndpointUnauthorized struct { restmodels.Error `json:"body,omitempty"` }Payload *
DeleteEventEndpointUnauthorized Unauthorized
swagger:response deleteEventEndpointUnauthorized
func NewDeleteEventEndpointUnauthorized ¶
func NewDeleteEventEndpointUnauthorized() *DeleteEventEndpointUnauthorized
NewDeleteEventEndpointUnauthorized creates DeleteEventEndpointUnauthorized with default headers values
func (*DeleteEventEndpointUnauthorized) SetPayload ¶
func (o *DeleteEventEndpointUnauthorized) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the delete event endpoint unauthorized response
func (*DeleteEventEndpointUnauthorized) WithPayload ¶
func (o *DeleteEventEndpointUnauthorized) WithPayload(payload *restmodels.Error) *DeleteEventEndpointUnauthorized
WithPayload adds the payload to the delete event endpoint unauthorized response
func (*DeleteEventEndpointUnauthorized) WriteResponse ¶
func (o *DeleteEventEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventEndpoint ¶
type GetEventEndpoint struct { Context *middleware.Context Handler GetEventEndpointHandler }
GetEventEndpoint swagger:route GET /v1/models/{model_id}/events/{event_type}/{endpoint_id} Events getEventEndpoint
Get endpoint description.
Get a specific endpoint description.
func NewGetEventEndpoint ¶
func NewGetEventEndpoint(ctx *middleware.Context, handler GetEventEndpointHandler) *GetEventEndpoint
NewGetEventEndpoint creates a new http.Handler for the get event endpoint operation
func (*GetEventEndpoint) ServeHTTP ¶
func (o *GetEventEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetEventEndpointGone ¶
type GetEventEndpointGone struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
GetEventEndpointGone If the trained model storage time has expired and it has been deleted. It only gets deleted if it not stored on an external data store.
swagger:response getEventEndpointGone
func NewGetEventEndpointGone ¶
func NewGetEventEndpointGone() *GetEventEndpointGone
NewGetEventEndpointGone creates GetEventEndpointGone with default headers values
func (*GetEventEndpointGone) SetPayload ¶
func (o *GetEventEndpointGone) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the get event endpoint gone response
func (*GetEventEndpointGone) WithPayload ¶
func (o *GetEventEndpointGone) WithPayload(payload *restmodels.Error) *GetEventEndpointGone
WithPayload adds the payload to the get event endpoint gone response
func (*GetEventEndpointGone) WriteResponse ¶
func (o *GetEventEndpointGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventEndpointHandler ¶
type GetEventEndpointHandler interface {
Handle(GetEventEndpointParams, interface{}) middleware.Responder
}
GetEventEndpointHandler interface for that can handle valid get event endpoint params
type GetEventEndpointHandlerFunc ¶
type GetEventEndpointHandlerFunc func(GetEventEndpointParams, interface{}) middleware.Responder
GetEventEndpointHandlerFunc turns a function with the right signature into a get event endpoint handler
func (GetEventEndpointHandlerFunc) Handle ¶
func (fn GetEventEndpointHandlerFunc) Handle(params GetEventEndpointParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetEventEndpointNotFound ¶
type GetEventEndpointNotFound struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
GetEventEndpointNotFound The model or event type cannot be found.
swagger:response getEventEndpointNotFound
func NewGetEventEndpointNotFound ¶
func NewGetEventEndpointNotFound() *GetEventEndpointNotFound
NewGetEventEndpointNotFound creates GetEventEndpointNotFound with default headers values
func (*GetEventEndpointNotFound) SetPayload ¶
func (o *GetEventEndpointNotFound) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the get event endpoint not found response
func (*GetEventEndpointNotFound) WithPayload ¶
func (o *GetEventEndpointNotFound) WithPayload(payload *restmodels.Error) *GetEventEndpointNotFound
WithPayload adds the payload to the get event endpoint not found response
func (*GetEventEndpointNotFound) WriteResponse ¶
func (o *GetEventEndpointNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventEndpointOK ¶
type GetEventEndpointOK struct { /* In: Body */ Payload *restmodels.Endpoint `json:"body,omitempty"` }
GetEventEndpointOK Event description
swagger:response getEventEndpointOK
func NewGetEventEndpointOK ¶
func NewGetEventEndpointOK() *GetEventEndpointOK
NewGetEventEndpointOK creates GetEventEndpointOK with default headers values
func (*GetEventEndpointOK) SetPayload ¶
func (o *GetEventEndpointOK) SetPayload(payload *restmodels.Endpoint)
SetPayload sets the payload to the get event endpoint o k response
func (*GetEventEndpointOK) WithPayload ¶
func (o *GetEventEndpointOK) WithPayload(payload *restmodels.Endpoint) *GetEventEndpointOK
WithPayload adds the payload to the get event endpoint o k response
func (*GetEventEndpointOK) WriteResponse ¶
func (o *GetEventEndpointOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventEndpointParams ¶
type GetEventEndpointParams struct { // HTTP Request Object HTTPRequest *http.Request /*The id of the endpoint. Required: true In: path */ EndpointID string /*The type of event. Required: true In: path */ EventType string /*The id of the model. Required: true In: path */ ModelID string }
GetEventEndpointParams contains all the bound params for the get event endpoint operation typically these are obtained from a http.Request
swagger:parameters getEventEndpoint
func NewGetEventEndpointParams ¶
func NewGetEventEndpointParams() GetEventEndpointParams
NewGetEventEndpointParams creates a new GetEventEndpointParams object with the default values initialized.
func (*GetEventEndpointParams) BindRequest ¶
func (o *GetEventEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls
type GetEventEndpointURL ¶
type GetEventEndpointURL struct { EndpointID string EventType string ModelID string // contains filtered or unexported fields }
GetEventEndpointURL generates an URL for the get event endpoint operation
func (*GetEventEndpointURL) Build ¶
func (o *GetEventEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetEventEndpointURL) BuildFull ¶
func (o *GetEventEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetEventEndpointURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetEventEndpointURL) SetBasePath ¶
func (o *GetEventEndpointURL) 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 (*GetEventEndpointURL) String ¶
func (o *GetEventEndpointURL) String() string
String returns the string representation of the path with query string
func (*GetEventEndpointURL) StringFull ¶
func (o *GetEventEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetEventEndpointURL) WithBasePath ¶
func (o *GetEventEndpointURL) WithBasePath(bp string) *GetEventEndpointURL
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 GetEventEndpointUnauthorized ¶
type GetEventEndpointUnauthorized struct { restmodels.Error `json:"body,omitempty"` }Payload *
GetEventEndpointUnauthorized Unauthorized
swagger:response getEventEndpointUnauthorized
func NewGetEventEndpointUnauthorized ¶
func NewGetEventEndpointUnauthorized() *GetEventEndpointUnauthorized
NewGetEventEndpointUnauthorized creates GetEventEndpointUnauthorized with default headers values
func (*GetEventEndpointUnauthorized) SetPayload ¶
func (o *GetEventEndpointUnauthorized) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the get event endpoint unauthorized response
func (*GetEventEndpointUnauthorized) WithPayload ¶
func (o *GetEventEndpointUnauthorized) WithPayload(payload *restmodels.Error) *GetEventEndpointUnauthorized
WithPayload adds the payload to the get event endpoint unauthorized response
func (*GetEventEndpointUnauthorized) WriteResponse ¶
func (o *GetEventEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventTypeEndpoints ¶
type GetEventTypeEndpoints struct { Context *middleware.Context Handler GetEventTypeEndpointsHandler }
GetEventTypeEndpoints swagger:route GET /v1/models/{model_id}/events/{event_type} Events getEventTypeEndpoints
Get all notification endpoints for this event type.
Get all notification endpoint URLs for this event type.
func NewGetEventTypeEndpoints ¶
func NewGetEventTypeEndpoints(ctx *middleware.Context, handler GetEventTypeEndpointsHandler) *GetEventTypeEndpoints
NewGetEventTypeEndpoints creates a new http.Handler for the get event type endpoints operation
func (*GetEventTypeEndpoints) ServeHTTP ¶
func (o *GetEventTypeEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetEventTypeEndpointsGone ¶
type GetEventTypeEndpointsGone struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
GetEventTypeEndpointsGone If the trained model storage time has expired and it has been deleted. It only gets deleted if it not stored on an external data store.
swagger:response getEventTypeEndpointsGone
func NewGetEventTypeEndpointsGone ¶
func NewGetEventTypeEndpointsGone() *GetEventTypeEndpointsGone
NewGetEventTypeEndpointsGone creates GetEventTypeEndpointsGone with default headers values
func (*GetEventTypeEndpointsGone) SetPayload ¶
func (o *GetEventTypeEndpointsGone) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the get event type endpoints gone response
func (*GetEventTypeEndpointsGone) WithPayload ¶
func (o *GetEventTypeEndpointsGone) WithPayload(payload *restmodels.Error) *GetEventTypeEndpointsGone
WithPayload adds the payload to the get event type endpoints gone response
func (*GetEventTypeEndpointsGone) WriteResponse ¶
func (o *GetEventTypeEndpointsGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventTypeEndpointsHandler ¶
type GetEventTypeEndpointsHandler interface {
Handle(GetEventTypeEndpointsParams) middleware.Responder
}
GetEventTypeEndpointsHandler interface for that can handle valid get event type endpoints params
type GetEventTypeEndpointsHandlerFunc ¶
type GetEventTypeEndpointsHandlerFunc func(GetEventTypeEndpointsParams) middleware.Responder
GetEventTypeEndpointsHandlerFunc turns a function with the right signature into a get event type endpoints handler
func (GetEventTypeEndpointsHandlerFunc) Handle ¶
func (fn GetEventTypeEndpointsHandlerFunc) Handle(params GetEventTypeEndpointsParams) middleware.Responder
Handle executing the request and returning a response
type GetEventTypeEndpointsNotFound ¶
type GetEventTypeEndpointsNotFound struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
GetEventTypeEndpointsNotFound The model or event type cannot be found.
swagger:response getEventTypeEndpointsNotFound
func NewGetEventTypeEndpointsNotFound ¶
func NewGetEventTypeEndpointsNotFound() *GetEventTypeEndpointsNotFound
NewGetEventTypeEndpointsNotFound creates GetEventTypeEndpointsNotFound with default headers values
func (*GetEventTypeEndpointsNotFound) SetPayload ¶
func (o *GetEventTypeEndpointsNotFound) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the get event type endpoints not found response
func (*GetEventTypeEndpointsNotFound) WithPayload ¶
func (o *GetEventTypeEndpointsNotFound) WithPayload(payload *restmodels.Error) *GetEventTypeEndpointsNotFound
WithPayload adds the payload to the get event type endpoints not found response
func (*GetEventTypeEndpointsNotFound) WriteResponse ¶
func (o *GetEventTypeEndpointsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventTypeEndpointsOK ¶
type GetEventTypeEndpointsOK struct { /* In: Body */ Payload *restmodels.EndpointList `json:"body,omitempty"` }
GetEventTypeEndpointsOK Event endpoints
swagger:response getEventTypeEndpointsOK
func NewGetEventTypeEndpointsOK ¶
func NewGetEventTypeEndpointsOK() *GetEventTypeEndpointsOK
NewGetEventTypeEndpointsOK creates GetEventTypeEndpointsOK with default headers values
func (*GetEventTypeEndpointsOK) SetPayload ¶
func (o *GetEventTypeEndpointsOK) SetPayload(payload *restmodels.EndpointList)
SetPayload sets the payload to the get event type endpoints o k response
func (*GetEventTypeEndpointsOK) WithPayload ¶
func (o *GetEventTypeEndpointsOK) WithPayload(payload *restmodels.EndpointList) *GetEventTypeEndpointsOK
WithPayload adds the payload to the get event type endpoints o k response
func (*GetEventTypeEndpointsOK) WriteResponse ¶
func (o *GetEventTypeEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventTypeEndpointsParams ¶
type GetEventTypeEndpointsParams struct { // HTTP Request Object HTTPRequest *http.Request /*The type of event. Required: true In: path */ EventType string /*The id of the model. Required: true In: path */ ModelID string }
GetEventTypeEndpointsParams contains all the bound params for the get event type endpoints operation typically these are obtained from a http.Request
swagger:parameters getEventTypeEndpoints
func NewGetEventTypeEndpointsParams ¶
func NewGetEventTypeEndpointsParams() GetEventTypeEndpointsParams
NewGetEventTypeEndpointsParams creates a new GetEventTypeEndpointsParams object with the default values initialized.
func (*GetEventTypeEndpointsParams) BindRequest ¶
func (o *GetEventTypeEndpointsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls
type GetEventTypeEndpointsURL ¶
type GetEventTypeEndpointsURL struct { EventType string ModelID string // contains filtered or unexported fields }
GetEventTypeEndpointsURL generates an URL for the get event type endpoints operation
func (*GetEventTypeEndpointsURL) Build ¶
func (o *GetEventTypeEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetEventTypeEndpointsURL) BuildFull ¶
func (o *GetEventTypeEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetEventTypeEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetEventTypeEndpointsURL) SetBasePath ¶
func (o *GetEventTypeEndpointsURL) 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 (*GetEventTypeEndpointsURL) String ¶
func (o *GetEventTypeEndpointsURL) String() string
String returns the string representation of the path with query string
func (*GetEventTypeEndpointsURL) StringFull ¶
func (o *GetEventTypeEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetEventTypeEndpointsURL) WithBasePath ¶
func (o *GetEventTypeEndpointsURL) WithBasePath(bp string) *GetEventTypeEndpointsURL
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 GetEventTypeEndpointsUnauthorized ¶
type GetEventTypeEndpointsUnauthorized struct { restmodels.Error `json:"body,omitempty"` }Payload *
GetEventTypeEndpointsUnauthorized Unauthorized
swagger:response getEventTypeEndpointsUnauthorized
func NewGetEventTypeEndpointsUnauthorized ¶
func NewGetEventTypeEndpointsUnauthorized() *GetEventTypeEndpointsUnauthorized
NewGetEventTypeEndpointsUnauthorized creates GetEventTypeEndpointsUnauthorized with default headers values
func (*GetEventTypeEndpointsUnauthorized) SetPayload ¶
func (o *GetEventTypeEndpointsUnauthorized) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the get event type endpoints unauthorized response
func (*GetEventTypeEndpointsUnauthorized) WithPayload ¶
func (o *GetEventTypeEndpointsUnauthorized) WithPayload(payload *restmodels.Error) *GetEventTypeEndpointsUnauthorized
WithPayload adds the payload to the get event type endpoints unauthorized response
func (*GetEventTypeEndpointsUnauthorized) WriteResponse ¶
func (o *GetEventTypeEndpointsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateEventEndpoint ¶
type UpdateEventEndpoint struct { Context *middleware.Context Handler UpdateEventEndpointHandler }
UpdateEventEndpoint swagger:route POST /v1/models/{model_id}/events/{event_type} Events updateEventEndpoint
Update an event notification endpoint.
Updates a specific event type's URL notification endpoint.
func NewUpdateEventEndpoint ¶
func NewUpdateEventEndpoint(ctx *middleware.Context, handler UpdateEventEndpointHandler) *UpdateEventEndpoint
NewUpdateEventEndpoint creates a new http.Handler for the update event endpoint operation
func (*UpdateEventEndpoint) ServeHTTP ¶
func (o *UpdateEventEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateEventEndpointGone ¶
type UpdateEventEndpointGone struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
UpdateEventEndpointGone If the trained model storage time has expired and it has been deleted. It only gets deleted if it not stored on an external data store.
swagger:response updateEventEndpointGone
func NewUpdateEventEndpointGone ¶
func NewUpdateEventEndpointGone() *UpdateEventEndpointGone
NewUpdateEventEndpointGone creates UpdateEventEndpointGone with default headers values
func (*UpdateEventEndpointGone) SetPayload ¶
func (o *UpdateEventEndpointGone) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the update event endpoint gone response
func (*UpdateEventEndpointGone) WithPayload ¶
func (o *UpdateEventEndpointGone) WithPayload(payload *restmodels.Error) *UpdateEventEndpointGone
WithPayload adds the payload to the update event endpoint gone response
func (*UpdateEventEndpointGone) WriteResponse ¶
func (o *UpdateEventEndpointGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateEventEndpointHandler ¶
type UpdateEventEndpointHandler interface {
Handle(UpdateEventEndpointParams, interface{}) middleware.Responder
}
UpdateEventEndpointHandler interface for that can handle valid update event endpoint params
type UpdateEventEndpointHandlerFunc ¶
type UpdateEventEndpointHandlerFunc func(UpdateEventEndpointParams, interface{}) middleware.Responder
UpdateEventEndpointHandlerFunc turns a function with the right signature into a update event endpoint handler
func (UpdateEventEndpointHandlerFunc) Handle ¶
func (fn UpdateEventEndpointHandlerFunc) Handle(params UpdateEventEndpointParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateEventEndpointNotFound ¶
type UpdateEventEndpointNotFound struct { /* In: Body */ Payload *restmodels.Error `json:"body,omitempty"` }
UpdateEventEndpointNotFound The model or event type cannot be found.
swagger:response updateEventEndpointNotFound
func NewUpdateEventEndpointNotFound ¶
func NewUpdateEventEndpointNotFound() *UpdateEventEndpointNotFound
NewUpdateEventEndpointNotFound creates UpdateEventEndpointNotFound with default headers values
func (*UpdateEventEndpointNotFound) SetPayload ¶
func (o *UpdateEventEndpointNotFound) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the update event endpoint not found response
func (*UpdateEventEndpointNotFound) WithPayload ¶
func (o *UpdateEventEndpointNotFound) WithPayload(payload *restmodels.Error) *UpdateEventEndpointNotFound
WithPayload adds the payload to the update event endpoint not found response
func (*UpdateEventEndpointNotFound) WriteResponse ¶
func (o *UpdateEventEndpointNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateEventEndpointOK ¶
type UpdateEventEndpointOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
UpdateEventEndpointOK Event updated successfully
swagger:response updateEventEndpointOK
func NewUpdateEventEndpointOK ¶
func NewUpdateEventEndpointOK() *UpdateEventEndpointOK
NewUpdateEventEndpointOK creates UpdateEventEndpointOK with default headers values
func (*UpdateEventEndpointOK) SetPayload ¶
func (o *UpdateEventEndpointOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the update event endpoint o k response
func (*UpdateEventEndpointOK) WithPayload ¶
func (o *UpdateEventEndpointOK) WithPayload(payload io.ReadCloser) *UpdateEventEndpointOK
WithPayload adds the payload to the update event endpoint o k response
func (*UpdateEventEndpointOK) WriteResponse ¶
func (o *UpdateEventEndpointOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateEventEndpointParams ¶
type UpdateEventEndpointParams struct { // HTTP Request Object HTTPRequest *http.Request /*The type of event. Required: true In: path */ EventType string /*The id of the model. Required: true In: path */ ModelID string /*The URL that should be notified when an event triggers. Required: true In: body */ Payload *restmodels.EventEndpointRegistration }
UpdateEventEndpointParams contains all the bound params for the update event endpoint operation typically these are obtained from a http.Request
swagger:parameters updateEventEndpoint
func NewUpdateEventEndpointParams ¶
func NewUpdateEventEndpointParams() UpdateEventEndpointParams
NewUpdateEventEndpointParams creates a new UpdateEventEndpointParams object with the default values initialized.
func (*UpdateEventEndpointParams) BindRequest ¶
func (o *UpdateEventEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls
type UpdateEventEndpointURL ¶
type UpdateEventEndpointURL struct { EventType string ModelID string // contains filtered or unexported fields }
UpdateEventEndpointURL generates an URL for the update event endpoint operation
func (*UpdateEventEndpointURL) Build ¶
func (o *UpdateEventEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateEventEndpointURL) BuildFull ¶
func (o *UpdateEventEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateEventEndpointURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateEventEndpointURL) SetBasePath ¶
func (o *UpdateEventEndpointURL) 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 (*UpdateEventEndpointURL) String ¶
func (o *UpdateEventEndpointURL) String() string
String returns the string representation of the path with query string
func (*UpdateEventEndpointURL) StringFull ¶
func (o *UpdateEventEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateEventEndpointURL) WithBasePath ¶
func (o *UpdateEventEndpointURL) WithBasePath(bp string) *UpdateEventEndpointURL
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 UpdateEventEndpointUnauthorized ¶
type UpdateEventEndpointUnauthorized struct { restmodels.Error `json:"body,omitempty"` }Payload *
UpdateEventEndpointUnauthorized Unauthorized
swagger:response updateEventEndpointUnauthorized
func NewUpdateEventEndpointUnauthorized ¶
func NewUpdateEventEndpointUnauthorized() *UpdateEventEndpointUnauthorized
NewUpdateEventEndpointUnauthorized creates UpdateEventEndpointUnauthorized with default headers values
func (*UpdateEventEndpointUnauthorized) SetPayload ¶
func (o *UpdateEventEndpointUnauthorized) SetPayload(payload *restmodels.Error)
SetPayload sets the payload to the update event endpoint unauthorized response
func (*UpdateEventEndpointUnauthorized) WithPayload ¶
func (o *UpdateEventEndpointUnauthorized) WithPayload(payload *restmodels.Error) *UpdateEventEndpointUnauthorized
WithPayload adds the payload to the update event endpoint unauthorized response
func (*UpdateEventEndpointUnauthorized) WriteResponse ¶
func (o *UpdateEventEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_event_endpoint.go
- create_event_endpoint_parameters.go
- create_event_endpoint_responses.go
- create_event_endpoint_urlbuilder.go
- delete_event_endpoint.go
- delete_event_endpoint_parameters.go
- delete_event_endpoint_responses.go
- delete_event_endpoint_urlbuilder.go
- get_event_endpoint.go
- get_event_endpoint_parameters.go
- get_event_endpoint_responses.go
- get_event_endpoint_urlbuilder.go
- get_event_type_endpoints.go
- get_event_type_endpoints_parameters.go
- get_event_type_endpoints_responses.go
- get_event_type_endpoints_urlbuilder.go
- update_event_endpoint.go
- update_event_endpoint_parameters.go
- update_event_endpoint_responses.go
- update_event_endpoint_urlbuilder.go