events

package
v0.1.1-rc Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: Apache-2.0, CC-BY-4.0, MIT Imports: 10 Imported by: 2

Documentation

Index

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

type CreateEventEndpointOK

type CreateEventEndpointOK struct {
	Payload io.Writer
}

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

WithCallbackURL adds the callbackURL to the create event endpoint params

func (*CreateEventEndpointParams) WithContext

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

WithModelID adds the modelID to the create event endpoint params

func (*CreateEventEndpointParams) WithTimeout

WithTimeout adds the timeout to the create event endpoint params

func (*CreateEventEndpointParams) WriteToRequest

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 {
	Payload *restmodels.Error
}

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

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

type DeleteEventEndpointOK

type DeleteEventEndpointOK struct {
	Payload io.Writer
}

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

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

WithModelID adds the modelID to the delete event endpoint params

func (*DeleteEventEndpointParams) WithTimeout

WithTimeout adds the timeout to the delete event endpoint params

func (*DeleteEventEndpointParams) WriteToRequest

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 {
	Payload *restmodels.Error
}

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

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

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

WithTimeout adds the timeout to the get event endpoint params

func (*GetEventEndpointParams) WriteToRequest

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 {
	Payload *restmodels.Error
}

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

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

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

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

WithHTTPClient adds the HTTPClient to the get event type endpoints params

func (*GetEventTypeEndpointsParams) WithModelID

WithModelID adds the modelID to the get event type endpoints params

func (*GetEventTypeEndpointsParams) WithTimeout

WithTimeout adds the timeout to the get event type endpoints params

func (*GetEventTypeEndpointsParams) WriteToRequest

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 {
	Payload *restmodels.Error
}

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

Jump to

Keyboard shortcuts

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