Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateEventEndpoint(params *CreateEventEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateEventEndpointOK, error)
- func (a *Client) DeleteEventEndpoint(params *DeleteEventEndpointParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteEventEndpointOK, error)
- func (a *Client) GetEventEndpoint(params *GetEventEndpointParams, authInfo runtime.ClientAuthInfoWriter) (*GetEventEndpointOK, error)
- func (a *Client) GetEventTypeEndpoints(params *GetEventTypeEndpointsParams) (*GetEventTypeEndpointsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateEventEndpointGone
- type CreateEventEndpointNotFound
- type CreateEventEndpointOK
- type CreateEventEndpointParams
- func NewCreateEventEndpointParams() *CreateEventEndpointParams
- func NewCreateEventEndpointParamsWithContext(ctx context.Context) *CreateEventEndpointParams
- func NewCreateEventEndpointParamsWithHTTPClient(client *http.Client) *CreateEventEndpointParams
- func NewCreateEventEndpointParamsWithTimeout(timeout time.Duration) *CreateEventEndpointParams
- func (o *CreateEventEndpointParams) SetCallbackURL(callbackURL *restmodels.EventEndpointRegistration)
- func (o *CreateEventEndpointParams) SetContext(ctx context.Context)
- func (o *CreateEventEndpointParams) SetEndpointID(endpointID string)
- func (o *CreateEventEndpointParams) SetEventType(eventType string)
- func (o *CreateEventEndpointParams) SetHTTPClient(client *http.Client)
- func (o *CreateEventEndpointParams) SetModelID(modelID string)
- func (o *CreateEventEndpointParams) SetTimeout(timeout time.Duration)
- func (o *CreateEventEndpointParams) WithCallbackURL(callbackURL *restmodels.EventEndpointRegistration) *CreateEventEndpointParams
- func (o *CreateEventEndpointParams) WithContext(ctx context.Context) *CreateEventEndpointParams
- func (o *CreateEventEndpointParams) WithEndpointID(endpointID string) *CreateEventEndpointParams
- func (o *CreateEventEndpointParams) WithEventType(eventType string) *CreateEventEndpointParams
- func (o *CreateEventEndpointParams) WithHTTPClient(client *http.Client) *CreateEventEndpointParams
- func (o *CreateEventEndpointParams) WithModelID(modelID string) *CreateEventEndpointParams
- func (o *CreateEventEndpointParams) WithTimeout(timeout time.Duration) *CreateEventEndpointParams
- func (o *CreateEventEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEventEndpointReader
- type CreateEventEndpointUnauthorized
- type DeleteEventEndpointGone
- type DeleteEventEndpointNotFound
- type DeleteEventEndpointOK
- type DeleteEventEndpointParams
- func NewDeleteEventEndpointParams() *DeleteEventEndpointParams
- func NewDeleteEventEndpointParamsWithContext(ctx context.Context) *DeleteEventEndpointParams
- func NewDeleteEventEndpointParamsWithHTTPClient(client *http.Client) *DeleteEventEndpointParams
- func NewDeleteEventEndpointParamsWithTimeout(timeout time.Duration) *DeleteEventEndpointParams
- func (o *DeleteEventEndpointParams) SetContext(ctx context.Context)
- func (o *DeleteEventEndpointParams) SetEndpointID(endpointID string)
- func (o *DeleteEventEndpointParams) SetEventType(eventType string)
- func (o *DeleteEventEndpointParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEventEndpointParams) SetModelID(modelID string)
- func (o *DeleteEventEndpointParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEventEndpointParams) WithContext(ctx context.Context) *DeleteEventEndpointParams
- func (o *DeleteEventEndpointParams) WithEndpointID(endpointID string) *DeleteEventEndpointParams
- func (o *DeleteEventEndpointParams) WithEventType(eventType string) *DeleteEventEndpointParams
- func (o *DeleteEventEndpointParams) WithHTTPClient(client *http.Client) *DeleteEventEndpointParams
- func (o *DeleteEventEndpointParams) WithModelID(modelID string) *DeleteEventEndpointParams
- func (o *DeleteEventEndpointParams) WithTimeout(timeout time.Duration) *DeleteEventEndpointParams
- func (o *DeleteEventEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEventEndpointReader
- type DeleteEventEndpointUnauthorized
- type GetEventEndpointGone
- type GetEventEndpointNotFound
- type GetEventEndpointOK
- type GetEventEndpointParams
- func NewGetEventEndpointParams() *GetEventEndpointParams
- func NewGetEventEndpointParamsWithContext(ctx context.Context) *GetEventEndpointParams
- func NewGetEventEndpointParamsWithHTTPClient(client *http.Client) *GetEventEndpointParams
- func NewGetEventEndpointParamsWithTimeout(timeout time.Duration) *GetEventEndpointParams
- func (o *GetEventEndpointParams) SetContext(ctx context.Context)
- func (o *GetEventEndpointParams) SetEndpointID(endpointID string)
- func (o *GetEventEndpointParams) SetEventType(eventType string)
- func (o *GetEventEndpointParams) SetHTTPClient(client *http.Client)
- func (o *GetEventEndpointParams) SetModelID(modelID string)
- func (o *GetEventEndpointParams) SetTimeout(timeout time.Duration)
- func (o *GetEventEndpointParams) WithContext(ctx context.Context) *GetEventEndpointParams
- func (o *GetEventEndpointParams) WithEndpointID(endpointID string) *GetEventEndpointParams
- func (o *GetEventEndpointParams) WithEventType(eventType string) *GetEventEndpointParams
- func (o *GetEventEndpointParams) WithHTTPClient(client *http.Client) *GetEventEndpointParams
- func (o *GetEventEndpointParams) WithModelID(modelID string) *GetEventEndpointParams
- func (o *GetEventEndpointParams) WithTimeout(timeout time.Duration) *GetEventEndpointParams
- func (o *GetEventEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEventEndpointReader
- type GetEventEndpointUnauthorized
- type GetEventTypeEndpointsGone
- type GetEventTypeEndpointsNotFound
- type GetEventTypeEndpointsOK
- type GetEventTypeEndpointsParams
- func NewGetEventTypeEndpointsParams() *GetEventTypeEndpointsParams
- func NewGetEventTypeEndpointsParamsWithContext(ctx context.Context) *GetEventTypeEndpointsParams
- func NewGetEventTypeEndpointsParamsWithHTTPClient(client *http.Client) *GetEventTypeEndpointsParams
- func NewGetEventTypeEndpointsParamsWithTimeout(timeout time.Duration) *GetEventTypeEndpointsParams
- func (o *GetEventTypeEndpointsParams) SetContext(ctx context.Context)
- func (o *GetEventTypeEndpointsParams) SetEventType(eventType string)
- func (o *GetEventTypeEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *GetEventTypeEndpointsParams) SetModelID(modelID string)
- func (o *GetEventTypeEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *GetEventTypeEndpointsParams) WithContext(ctx context.Context) *GetEventTypeEndpointsParams
- func (o *GetEventTypeEndpointsParams) WithEventType(eventType string) *GetEventTypeEndpointsParams
- func (o *GetEventTypeEndpointsParams) WithHTTPClient(client *http.Client) *GetEventTypeEndpointsParams
- func (o *GetEventTypeEndpointsParams) WithModelID(modelID string) *GetEventTypeEndpointsParams
- func (o *GetEventTypeEndpointsParams) WithTimeout(timeout time.Duration) *GetEventTypeEndpointsParams
- func (o *GetEventTypeEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEventTypeEndpointsReader
- type GetEventTypeEndpointsUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for events API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new events API client.
func (*Client) CreateEventEndpoint ¶
func (a *Client) CreateEventEndpoint(params *CreateEventEndpointParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*CreateEventEndpointOK, error)
CreateEventEndpoint creates an event notification endpoint
Creates a specific event type's URL notification endpoint.
func (*Client) DeleteEventEndpoint ¶
func (a *Client) DeleteEventEndpoint(params *DeleteEventEndpointParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DeleteEventEndpointOK, error)
DeleteEventEndpoint deletes an event notification endpoint
Deletes a specific event type's URL notification endpoint.
func (*Client) GetEventEndpoint ¶
func (a *Client) GetEventEndpoint(params *GetEventEndpointParams, authInfo runtime.ClientAuthInfoWriter) (*GetEventEndpointOK, error)
GetEventEndpoint gets endpoint description
Get a specific endpoint description.
func (*Client) GetEventTypeEndpoints ¶
func (a *Client) GetEventTypeEndpoints(params *GetEventTypeEndpointsParams) (*GetEventTypeEndpointsOK, error)
GetEventTypeEndpoints gets all notification endpoints for this event type
Get all notification endpoint URLs for this event type.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateEventEndpointGone ¶
type CreateEventEndpointGone struct {
Payload *restmodels.Error
}
CreateEventEndpointGone handles this case with default header values.
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.
func NewCreateEventEndpointGone ¶
func NewCreateEventEndpointGone() *CreateEventEndpointGone
NewCreateEventEndpointGone creates a CreateEventEndpointGone with default headers values
func (*CreateEventEndpointGone) Error ¶
func (o *CreateEventEndpointGone) Error() string
type CreateEventEndpointNotFound ¶
type CreateEventEndpointNotFound struct {
Payload *restmodels.Error
}
CreateEventEndpointNotFound handles this case with default header values.
The model or event type cannot be found.
func NewCreateEventEndpointNotFound ¶
func NewCreateEventEndpointNotFound() *CreateEventEndpointNotFound
NewCreateEventEndpointNotFound creates a CreateEventEndpointNotFound with default headers values
func (*CreateEventEndpointNotFound) Error ¶
func (o *CreateEventEndpointNotFound) Error() string
type CreateEventEndpointOK ¶
CreateEventEndpointOK handles this case with default header values.
Event updated successfully
func NewCreateEventEndpointOK ¶
func NewCreateEventEndpointOK(writer io.Writer) *CreateEventEndpointOK
NewCreateEventEndpointOK creates a CreateEventEndpointOK with default headers values
func (*CreateEventEndpointOK) Error ¶
func (o *CreateEventEndpointOK) Error() string
type CreateEventEndpointParams ¶
type CreateEventEndpointParams struct { /*CallbackURL The URL that should be notified when an event triggers. */ CallbackURL *restmodels.EventEndpointRegistration /*EndpointID The id of the endpoint. */ EndpointID string /*EventType The type of event. */ EventType string /*ModelID The id of the model. */ ModelID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEventEndpointParams contains all the parameters to send to the API endpoint for the create event endpoint operation typically these are written to a http.Request
func NewCreateEventEndpointParams ¶
func NewCreateEventEndpointParams() *CreateEventEndpointParams
NewCreateEventEndpointParams creates a new CreateEventEndpointParams object with the default values initialized.
func NewCreateEventEndpointParamsWithContext ¶
func NewCreateEventEndpointParamsWithContext(ctx context.Context) *CreateEventEndpointParams
NewCreateEventEndpointParamsWithContext creates a new CreateEventEndpointParams object with the default values initialized, and the ability to set a context for a request
func NewCreateEventEndpointParamsWithHTTPClient ¶
func NewCreateEventEndpointParamsWithHTTPClient(client *http.Client) *CreateEventEndpointParams
NewCreateEventEndpointParamsWithHTTPClient creates a new CreateEventEndpointParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateEventEndpointParamsWithTimeout ¶
func NewCreateEventEndpointParamsWithTimeout(timeout time.Duration) *CreateEventEndpointParams
NewCreateEventEndpointParamsWithTimeout creates a new CreateEventEndpointParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateEventEndpointParams) SetCallbackURL ¶
func (o *CreateEventEndpointParams) SetCallbackURL(callbackURL *restmodels.EventEndpointRegistration)
SetCallbackURL adds the callbackUrl to the create event endpoint params
func (*CreateEventEndpointParams) SetContext ¶
func (o *CreateEventEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the create event endpoint params
func (*CreateEventEndpointParams) SetEndpointID ¶
func (o *CreateEventEndpointParams) SetEndpointID(endpointID string)
SetEndpointID adds the endpointId to the create event endpoint params
func (*CreateEventEndpointParams) SetEventType ¶
func (o *CreateEventEndpointParams) SetEventType(eventType string)
SetEventType adds the eventType to the create event endpoint params
func (*CreateEventEndpointParams) SetHTTPClient ¶
func (o *CreateEventEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create event endpoint params
func (*CreateEventEndpointParams) SetModelID ¶
func (o *CreateEventEndpointParams) SetModelID(modelID string)
SetModelID adds the modelId to the create event endpoint params
func (*CreateEventEndpointParams) SetTimeout ¶
func (o *CreateEventEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create event endpoint params
func (*CreateEventEndpointParams) WithCallbackURL ¶
func (o *CreateEventEndpointParams) WithCallbackURL(callbackURL *restmodels.EventEndpointRegistration) *CreateEventEndpointParams
WithCallbackURL adds the callbackURL to the create event endpoint params
func (*CreateEventEndpointParams) WithContext ¶
func (o *CreateEventEndpointParams) WithContext(ctx context.Context) *CreateEventEndpointParams
WithContext adds the context to the create event endpoint params
func (*CreateEventEndpointParams) WithEndpointID ¶
func (o *CreateEventEndpointParams) WithEndpointID(endpointID string) *CreateEventEndpointParams
WithEndpointID adds the endpointID to the create event endpoint params
func (*CreateEventEndpointParams) WithEventType ¶
func (o *CreateEventEndpointParams) WithEventType(eventType string) *CreateEventEndpointParams
WithEventType adds the eventType to the create event endpoint params
func (*CreateEventEndpointParams) WithHTTPClient ¶
func (o *CreateEventEndpointParams) WithHTTPClient(client *http.Client) *CreateEventEndpointParams
WithHTTPClient adds the HTTPClient to the create event endpoint params
func (*CreateEventEndpointParams) WithModelID ¶
func (o *CreateEventEndpointParams) WithModelID(modelID string) *CreateEventEndpointParams
WithModelID adds the modelID to the create event endpoint params
func (*CreateEventEndpointParams) WithTimeout ¶
func (o *CreateEventEndpointParams) WithTimeout(timeout time.Duration) *CreateEventEndpointParams
WithTimeout adds the timeout to the create event endpoint params
func (*CreateEventEndpointParams) WriteToRequest ¶
func (o *CreateEventEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEventEndpointReader ¶
type CreateEventEndpointReader struct {
// contains filtered or unexported fields
}
CreateEventEndpointReader is a Reader for the CreateEventEndpoint structure.
func (*CreateEventEndpointReader) ReadResponse ¶
func (o *CreateEventEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEventEndpointUnauthorized ¶
type CreateEventEndpointUnauthorized struct {
}CreateEventEndpointUnauthorized handles this case with default header values.
Unauthorized
func NewCreateEventEndpointUnauthorized ¶
func NewCreateEventEndpointUnauthorized() *CreateEventEndpointUnauthorized
NewCreateEventEndpointUnauthorized creates a CreateEventEndpointUnauthorized with default headers values
func (*CreateEventEndpointUnauthorized) Error ¶
func (o *CreateEventEndpointUnauthorized) Error() string
type DeleteEventEndpointGone ¶
type DeleteEventEndpointGone struct {
Payload *restmodels.Error
}
DeleteEventEndpointGone handles this case with default header values.
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.
func NewDeleteEventEndpointGone ¶
func NewDeleteEventEndpointGone() *DeleteEventEndpointGone
NewDeleteEventEndpointGone creates a DeleteEventEndpointGone with default headers values
func (*DeleteEventEndpointGone) Error ¶
func (o *DeleteEventEndpointGone) Error() string
type DeleteEventEndpointNotFound ¶
type DeleteEventEndpointNotFound struct {
Payload *restmodels.Error
}
DeleteEventEndpointNotFound handles this case with default header values.
The model or event type cannot be found.
func NewDeleteEventEndpointNotFound ¶
func NewDeleteEventEndpointNotFound() *DeleteEventEndpointNotFound
NewDeleteEventEndpointNotFound creates a DeleteEventEndpointNotFound with default headers values
func (*DeleteEventEndpointNotFound) Error ¶
func (o *DeleteEventEndpointNotFound) Error() string
type DeleteEventEndpointOK ¶
DeleteEventEndpointOK handles this case with default header values.
Event updated successfully
func NewDeleteEventEndpointOK ¶
func NewDeleteEventEndpointOK(writer io.Writer) *DeleteEventEndpointOK
NewDeleteEventEndpointOK creates a DeleteEventEndpointOK with default headers values
func (*DeleteEventEndpointOK) Error ¶
func (o *DeleteEventEndpointOK) Error() string
type DeleteEventEndpointParams ¶
type DeleteEventEndpointParams struct { /*EndpointID The id of the endpoint. */ EndpointID string /*EventType The type of event. */ EventType string /*ModelID The id of the model. */ ModelID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEventEndpointParams contains all the parameters to send to the API endpoint for the delete event endpoint operation typically these are written to a http.Request
func NewDeleteEventEndpointParams ¶
func NewDeleteEventEndpointParams() *DeleteEventEndpointParams
NewDeleteEventEndpointParams creates a new DeleteEventEndpointParams object with the default values initialized.
func NewDeleteEventEndpointParamsWithContext ¶
func NewDeleteEventEndpointParamsWithContext(ctx context.Context) *DeleteEventEndpointParams
NewDeleteEventEndpointParamsWithContext creates a new DeleteEventEndpointParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteEventEndpointParamsWithHTTPClient ¶
func NewDeleteEventEndpointParamsWithHTTPClient(client *http.Client) *DeleteEventEndpointParams
NewDeleteEventEndpointParamsWithHTTPClient creates a new DeleteEventEndpointParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteEventEndpointParamsWithTimeout ¶
func NewDeleteEventEndpointParamsWithTimeout(timeout time.Duration) *DeleteEventEndpointParams
NewDeleteEventEndpointParamsWithTimeout creates a new DeleteEventEndpointParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteEventEndpointParams) SetContext ¶
func (o *DeleteEventEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the delete event endpoint params
func (*DeleteEventEndpointParams) SetEndpointID ¶
func (o *DeleteEventEndpointParams) SetEndpointID(endpointID string)
SetEndpointID adds the endpointId to the delete event endpoint params
func (*DeleteEventEndpointParams) SetEventType ¶
func (o *DeleteEventEndpointParams) SetEventType(eventType string)
SetEventType adds the eventType to the delete event endpoint params
func (*DeleteEventEndpointParams) SetHTTPClient ¶
func (o *DeleteEventEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete event endpoint params
func (*DeleteEventEndpointParams) SetModelID ¶
func (o *DeleteEventEndpointParams) SetModelID(modelID string)
SetModelID adds the modelId to the delete event endpoint params
func (*DeleteEventEndpointParams) SetTimeout ¶
func (o *DeleteEventEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete event endpoint params
func (*DeleteEventEndpointParams) WithContext ¶
func (o *DeleteEventEndpointParams) WithContext(ctx context.Context) *DeleteEventEndpointParams
WithContext adds the context to the delete event endpoint params
func (*DeleteEventEndpointParams) WithEndpointID ¶
func (o *DeleteEventEndpointParams) WithEndpointID(endpointID string) *DeleteEventEndpointParams
WithEndpointID adds the endpointID to the delete event endpoint params
func (*DeleteEventEndpointParams) WithEventType ¶
func (o *DeleteEventEndpointParams) WithEventType(eventType string) *DeleteEventEndpointParams
WithEventType adds the eventType to the delete event endpoint params
func (*DeleteEventEndpointParams) WithHTTPClient ¶
func (o *DeleteEventEndpointParams) WithHTTPClient(client *http.Client) *DeleteEventEndpointParams
WithHTTPClient adds the HTTPClient to the delete event endpoint params
func (*DeleteEventEndpointParams) WithModelID ¶
func (o *DeleteEventEndpointParams) WithModelID(modelID string) *DeleteEventEndpointParams
WithModelID adds the modelID to the delete event endpoint params
func (*DeleteEventEndpointParams) WithTimeout ¶
func (o *DeleteEventEndpointParams) WithTimeout(timeout time.Duration) *DeleteEventEndpointParams
WithTimeout adds the timeout to the delete event endpoint params
func (*DeleteEventEndpointParams) WriteToRequest ¶
func (o *DeleteEventEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEventEndpointReader ¶
type DeleteEventEndpointReader struct {
// contains filtered or unexported fields
}
DeleteEventEndpointReader is a Reader for the DeleteEventEndpoint structure.
func (*DeleteEventEndpointReader) ReadResponse ¶
func (o *DeleteEventEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEventEndpointUnauthorized ¶
type DeleteEventEndpointUnauthorized struct {
}DeleteEventEndpointUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteEventEndpointUnauthorized ¶
func NewDeleteEventEndpointUnauthorized() *DeleteEventEndpointUnauthorized
NewDeleteEventEndpointUnauthorized creates a DeleteEventEndpointUnauthorized with default headers values
func (*DeleteEventEndpointUnauthorized) Error ¶
func (o *DeleteEventEndpointUnauthorized) Error() string
type GetEventEndpointGone ¶
type GetEventEndpointGone struct {
Payload *restmodels.Error
}
GetEventEndpointGone handles this case with default header values.
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.
func NewGetEventEndpointGone ¶
func NewGetEventEndpointGone() *GetEventEndpointGone
NewGetEventEndpointGone creates a GetEventEndpointGone with default headers values
func (*GetEventEndpointGone) Error ¶
func (o *GetEventEndpointGone) Error() string
type GetEventEndpointNotFound ¶
type GetEventEndpointNotFound struct {
Payload *restmodels.Error
}
GetEventEndpointNotFound handles this case with default header values.
The model or event type cannot be found.
func NewGetEventEndpointNotFound ¶
func NewGetEventEndpointNotFound() *GetEventEndpointNotFound
NewGetEventEndpointNotFound creates a GetEventEndpointNotFound with default headers values
func (*GetEventEndpointNotFound) Error ¶
func (o *GetEventEndpointNotFound) Error() string
type GetEventEndpointOK ¶
type GetEventEndpointOK struct {
Payload *restmodels.Endpoint
}
GetEventEndpointOK handles this case with default header values.
Event description
func NewGetEventEndpointOK ¶
func NewGetEventEndpointOK() *GetEventEndpointOK
NewGetEventEndpointOK creates a GetEventEndpointOK with default headers values
func (*GetEventEndpointOK) Error ¶
func (o *GetEventEndpointOK) Error() string
type GetEventEndpointParams ¶
type GetEventEndpointParams struct { /*EndpointID The id of the endpoint. */ EndpointID string /*EventType The type of event. */ EventType string /*ModelID The id of the model. */ ModelID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEventEndpointParams contains all the parameters to send to the API endpoint for the get event endpoint operation typically these are written to a http.Request
func NewGetEventEndpointParams ¶
func NewGetEventEndpointParams() *GetEventEndpointParams
NewGetEventEndpointParams creates a new GetEventEndpointParams object with the default values initialized.
func NewGetEventEndpointParamsWithContext ¶
func NewGetEventEndpointParamsWithContext(ctx context.Context) *GetEventEndpointParams
NewGetEventEndpointParamsWithContext creates a new GetEventEndpointParams object with the default values initialized, and the ability to set a context for a request
func NewGetEventEndpointParamsWithHTTPClient ¶
func NewGetEventEndpointParamsWithHTTPClient(client *http.Client) *GetEventEndpointParams
NewGetEventEndpointParamsWithHTTPClient creates a new GetEventEndpointParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEventEndpointParamsWithTimeout ¶
func NewGetEventEndpointParamsWithTimeout(timeout time.Duration) *GetEventEndpointParams
NewGetEventEndpointParamsWithTimeout creates a new GetEventEndpointParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEventEndpointParams) SetContext ¶
func (o *GetEventEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the get event endpoint params
func (*GetEventEndpointParams) SetEndpointID ¶
func (o *GetEventEndpointParams) SetEndpointID(endpointID string)
SetEndpointID adds the endpointId to the get event endpoint params
func (*GetEventEndpointParams) SetEventType ¶
func (o *GetEventEndpointParams) SetEventType(eventType string)
SetEventType adds the eventType to the get event endpoint params
func (*GetEventEndpointParams) SetHTTPClient ¶
func (o *GetEventEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get event endpoint params
func (*GetEventEndpointParams) SetModelID ¶
func (o *GetEventEndpointParams) SetModelID(modelID string)
SetModelID adds the modelId to the get event endpoint params
func (*GetEventEndpointParams) SetTimeout ¶
func (o *GetEventEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get event endpoint params
func (*GetEventEndpointParams) WithContext ¶
func (o *GetEventEndpointParams) WithContext(ctx context.Context) *GetEventEndpointParams
WithContext adds the context to the get event endpoint params
func (*GetEventEndpointParams) WithEndpointID ¶
func (o *GetEventEndpointParams) WithEndpointID(endpointID string) *GetEventEndpointParams
WithEndpointID adds the endpointID to the get event endpoint params
func (*GetEventEndpointParams) WithEventType ¶
func (o *GetEventEndpointParams) WithEventType(eventType string) *GetEventEndpointParams
WithEventType adds the eventType to the get event endpoint params
func (*GetEventEndpointParams) WithHTTPClient ¶
func (o *GetEventEndpointParams) WithHTTPClient(client *http.Client) *GetEventEndpointParams
WithHTTPClient adds the HTTPClient to the get event endpoint params
func (*GetEventEndpointParams) WithModelID ¶
func (o *GetEventEndpointParams) WithModelID(modelID string) *GetEventEndpointParams
WithModelID adds the modelID to the get event endpoint params
func (*GetEventEndpointParams) WithTimeout ¶
func (o *GetEventEndpointParams) WithTimeout(timeout time.Duration) *GetEventEndpointParams
WithTimeout adds the timeout to the get event endpoint params
func (*GetEventEndpointParams) WriteToRequest ¶
func (o *GetEventEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEventEndpointReader ¶
type GetEventEndpointReader struct {
// contains filtered or unexported fields
}
GetEventEndpointReader is a Reader for the GetEventEndpoint structure.
func (*GetEventEndpointReader) ReadResponse ¶
func (o *GetEventEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEventEndpointUnauthorized ¶
type GetEventEndpointUnauthorized struct {
}GetEventEndpointUnauthorized handles this case with default header values.
Unauthorized
func NewGetEventEndpointUnauthorized ¶
func NewGetEventEndpointUnauthorized() *GetEventEndpointUnauthorized
NewGetEventEndpointUnauthorized creates a GetEventEndpointUnauthorized with default headers values
func (*GetEventEndpointUnauthorized) Error ¶
func (o *GetEventEndpointUnauthorized) Error() string
type GetEventTypeEndpointsGone ¶
type GetEventTypeEndpointsGone struct {
Payload *restmodels.Error
}
GetEventTypeEndpointsGone handles this case with default header values.
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.
func NewGetEventTypeEndpointsGone ¶
func NewGetEventTypeEndpointsGone() *GetEventTypeEndpointsGone
NewGetEventTypeEndpointsGone creates a GetEventTypeEndpointsGone with default headers values
func (*GetEventTypeEndpointsGone) Error ¶
func (o *GetEventTypeEndpointsGone) Error() string
type GetEventTypeEndpointsNotFound ¶
type GetEventTypeEndpointsNotFound struct {
Payload *restmodels.Error
}
GetEventTypeEndpointsNotFound handles this case with default header values.
The model or event type cannot be found.
func NewGetEventTypeEndpointsNotFound ¶
func NewGetEventTypeEndpointsNotFound() *GetEventTypeEndpointsNotFound
NewGetEventTypeEndpointsNotFound creates a GetEventTypeEndpointsNotFound with default headers values
func (*GetEventTypeEndpointsNotFound) Error ¶
func (o *GetEventTypeEndpointsNotFound) Error() string
type GetEventTypeEndpointsOK ¶
type GetEventTypeEndpointsOK struct {
Payload *restmodels.EndpointList
}
GetEventTypeEndpointsOK handles this case with default header values.
Event endpoints
func NewGetEventTypeEndpointsOK ¶
func NewGetEventTypeEndpointsOK() *GetEventTypeEndpointsOK
NewGetEventTypeEndpointsOK creates a GetEventTypeEndpointsOK with default headers values
func (*GetEventTypeEndpointsOK) Error ¶
func (o *GetEventTypeEndpointsOK) Error() string
type GetEventTypeEndpointsParams ¶
type GetEventTypeEndpointsParams struct { /*EventType The type of event. */ EventType string /*ModelID The id of the model. */ ModelID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEventTypeEndpointsParams contains all the parameters to send to the API endpoint for the get event type endpoints operation typically these are written to a http.Request
func NewGetEventTypeEndpointsParams ¶
func NewGetEventTypeEndpointsParams() *GetEventTypeEndpointsParams
NewGetEventTypeEndpointsParams creates a new GetEventTypeEndpointsParams object with the default values initialized.
func NewGetEventTypeEndpointsParamsWithContext ¶
func NewGetEventTypeEndpointsParamsWithContext(ctx context.Context) *GetEventTypeEndpointsParams
NewGetEventTypeEndpointsParamsWithContext creates a new GetEventTypeEndpointsParams object with the default values initialized, and the ability to set a context for a request
func NewGetEventTypeEndpointsParamsWithHTTPClient ¶
func NewGetEventTypeEndpointsParamsWithHTTPClient(client *http.Client) *GetEventTypeEndpointsParams
NewGetEventTypeEndpointsParamsWithHTTPClient creates a new GetEventTypeEndpointsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEventTypeEndpointsParamsWithTimeout ¶
func NewGetEventTypeEndpointsParamsWithTimeout(timeout time.Duration) *GetEventTypeEndpointsParams
NewGetEventTypeEndpointsParamsWithTimeout creates a new GetEventTypeEndpointsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEventTypeEndpointsParams) SetContext ¶
func (o *GetEventTypeEndpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the get event type endpoints params
func (*GetEventTypeEndpointsParams) SetEventType ¶
func (o *GetEventTypeEndpointsParams) SetEventType(eventType string)
SetEventType adds the eventType to the get event type endpoints params
func (*GetEventTypeEndpointsParams) SetHTTPClient ¶
func (o *GetEventTypeEndpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get event type endpoints params
func (*GetEventTypeEndpointsParams) SetModelID ¶
func (o *GetEventTypeEndpointsParams) SetModelID(modelID string)
SetModelID adds the modelId to the get event type endpoints params
func (*GetEventTypeEndpointsParams) SetTimeout ¶
func (o *GetEventTypeEndpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get event type endpoints params
func (*GetEventTypeEndpointsParams) WithContext ¶
func (o *GetEventTypeEndpointsParams) WithContext(ctx context.Context) *GetEventTypeEndpointsParams
WithContext adds the context to the get event type endpoints params
func (*GetEventTypeEndpointsParams) WithEventType ¶
func (o *GetEventTypeEndpointsParams) WithEventType(eventType string) *GetEventTypeEndpointsParams
WithEventType adds the eventType to the get event type endpoints params
func (*GetEventTypeEndpointsParams) WithHTTPClient ¶
func (o *GetEventTypeEndpointsParams) WithHTTPClient(client *http.Client) *GetEventTypeEndpointsParams
WithHTTPClient adds the HTTPClient to the get event type endpoints params
func (*GetEventTypeEndpointsParams) WithModelID ¶
func (o *GetEventTypeEndpointsParams) WithModelID(modelID string) *GetEventTypeEndpointsParams
WithModelID adds the modelID to the get event type endpoints params
func (*GetEventTypeEndpointsParams) WithTimeout ¶
func (o *GetEventTypeEndpointsParams) WithTimeout(timeout time.Duration) *GetEventTypeEndpointsParams
WithTimeout adds the timeout to the get event type endpoints params
func (*GetEventTypeEndpointsParams) WriteToRequest ¶
func (o *GetEventTypeEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEventTypeEndpointsReader ¶
type GetEventTypeEndpointsReader struct {
// contains filtered or unexported fields
}
GetEventTypeEndpointsReader is a Reader for the GetEventTypeEndpoints structure.
func (*GetEventTypeEndpointsReader) ReadResponse ¶
func (o *GetEventTypeEndpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEventTypeEndpointsUnauthorized ¶
type GetEventTypeEndpointsUnauthorized struct {
}GetEventTypeEndpointsUnauthorized handles this case with default header values.
Unauthorized
func NewGetEventTypeEndpointsUnauthorized ¶
func NewGetEventTypeEndpointsUnauthorized() *GetEventTypeEndpointsUnauthorized
NewGetEventTypeEndpointsUnauthorized creates a GetEventTypeEndpointsUnauthorized with default headers values
func (*GetEventTypeEndpointsUnauthorized) Error ¶
func (o *GetEventTypeEndpointsUnauthorized) Error() string
Source Files ¶
- create_event_endpoint_parameters.go
- create_event_endpoint_responses.go
- delete_event_endpoint_parameters.go
- delete_event_endpoint_responses.go
- events_client.go
- get_event_endpoint_parameters.go
- get_event_endpoint_responses.go
- get_event_type_endpoints_parameters.go
- get_event_type_endpoints_responses.go