event

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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 event API

func (*Client) EventExample

func (a *Client) EventExample(params *EventExampleParams, authInfo runtime.ClientAuthInfoWriter) (*EventExampleOK, error)

EventExample bs e t a get example webhook payload

func (*Client) EventGet

func (a *Client) EventGet(params *EventGetParams) (*EventGetOK, error)

EventGet bs e t a get all web hook event keys

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	EventExample(params *EventExampleParams, authInfo runtime.ClientAuthInfoWriter) (*EventExampleOK, error)

	EventGet(params *EventGetParams) (*EventGetOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new event API client.

type EventExampleOK

type EventExampleOK struct {
	Payload *models.ResponseWrapperEventInfoDTO
}

EventExampleOK handles this case with default header values.

successful operation

func NewEventExampleOK

func NewEventExampleOK() *EventExampleOK

NewEventExampleOK creates a EventExampleOK with default headers values

func (*EventExampleOK) Error

func (o *EventExampleOK) Error() string

func (*EventExampleOK) GetPayload

type EventExampleParams

type EventExampleParams struct {

	/*EventType
	  Event type, from /event endpoint

	*/
	EventType string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EventExampleParams contains all the parameters to send to the API endpoint for the event example operation typically these are written to a http.Request

func NewEventExampleParams

func NewEventExampleParams() *EventExampleParams

NewEventExampleParams creates a new EventExampleParams object with the default values initialized.

func NewEventExampleParamsWithContext

func NewEventExampleParamsWithContext(ctx context.Context) *EventExampleParams

NewEventExampleParamsWithContext creates a new EventExampleParams object with the default values initialized, and the ability to set a context for a request

func NewEventExampleParamsWithHTTPClient

func NewEventExampleParamsWithHTTPClient(client *http.Client) *EventExampleParams

NewEventExampleParamsWithHTTPClient creates a new EventExampleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEventExampleParamsWithTimeout

func NewEventExampleParamsWithTimeout(timeout time.Duration) *EventExampleParams

NewEventExampleParamsWithTimeout creates a new EventExampleParams object with the default values initialized, and the ability to set a timeout on a request

func (*EventExampleParams) SetContext

func (o *EventExampleParams) SetContext(ctx context.Context)

SetContext adds the context to the event example params

func (*EventExampleParams) SetEventType

func (o *EventExampleParams) SetEventType(eventType string)

SetEventType adds the eventType to the event example params

func (*EventExampleParams) SetFields

func (o *EventExampleParams) SetFields(fields *string)

SetFields adds the fields to the event example params

func (*EventExampleParams) SetHTTPClient

func (o *EventExampleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the event example params

func (*EventExampleParams) SetTimeout

func (o *EventExampleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the event example params

func (*EventExampleParams) WithContext

WithContext adds the context to the event example params

func (*EventExampleParams) WithEventType

func (o *EventExampleParams) WithEventType(eventType string) *EventExampleParams

WithEventType adds the eventType to the event example params

func (*EventExampleParams) WithFields

func (o *EventExampleParams) WithFields(fields *string) *EventExampleParams

WithFields adds the fields to the event example params

func (*EventExampleParams) WithHTTPClient

func (o *EventExampleParams) WithHTTPClient(client *http.Client) *EventExampleParams

WithHTTPClient adds the HTTPClient to the event example params

func (*EventExampleParams) WithTimeout

func (o *EventExampleParams) WithTimeout(timeout time.Duration) *EventExampleParams

WithTimeout adds the timeout to the event example params

func (*EventExampleParams) WriteToRequest

func (o *EventExampleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EventExampleReader

type EventExampleReader struct {
	// contains filtered or unexported fields
}

EventExampleReader is a Reader for the EventExample structure.

func (*EventExampleReader) ReadResponse

func (o *EventExampleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EventGetOK

type EventGetOK struct {
	Payload *models.ResponseWrapperMapStringEventInfoDescription
}

EventGetOK handles this case with default header values.

successful operation

func NewEventGetOK

func NewEventGetOK() *EventGetOK

NewEventGetOK creates a EventGetOK with default headers values

func (*EventGetOK) Error

func (o *EventGetOK) Error() string

func (*EventGetOK) GetPayload

type EventGetParams

type EventGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EventGetParams contains all the parameters to send to the API endpoint for the event get operation typically these are written to a http.Request

func NewEventGetParams

func NewEventGetParams() *EventGetParams

NewEventGetParams creates a new EventGetParams object with the default values initialized.

func NewEventGetParamsWithContext

func NewEventGetParamsWithContext(ctx context.Context) *EventGetParams

NewEventGetParamsWithContext creates a new EventGetParams object with the default values initialized, and the ability to set a context for a request

func NewEventGetParamsWithHTTPClient

func NewEventGetParamsWithHTTPClient(client *http.Client) *EventGetParams

NewEventGetParamsWithHTTPClient creates a new EventGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEventGetParamsWithTimeout

func NewEventGetParamsWithTimeout(timeout time.Duration) *EventGetParams

NewEventGetParamsWithTimeout creates a new EventGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*EventGetParams) SetContext

func (o *EventGetParams) SetContext(ctx context.Context)

SetContext adds the context to the event get params

func (*EventGetParams) SetFields

func (o *EventGetParams) SetFields(fields *string)

SetFields adds the fields to the event get params

func (*EventGetParams) SetHTTPClient

func (o *EventGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the event get params

func (*EventGetParams) SetTimeout

func (o *EventGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the event get params

func (*EventGetParams) WithContext

func (o *EventGetParams) WithContext(ctx context.Context) *EventGetParams

WithContext adds the context to the event get params

func (*EventGetParams) WithFields

func (o *EventGetParams) WithFields(fields *string) *EventGetParams

WithFields adds the fields to the event get params

func (*EventGetParams) WithHTTPClient

func (o *EventGetParams) WithHTTPClient(client *http.Client) *EventGetParams

WithHTTPClient adds the HTTPClient to the event get params

func (*EventGetParams) WithTimeout

func (o *EventGetParams) WithTimeout(timeout time.Duration) *EventGetParams

WithTimeout adds the timeout to the event get params

func (*EventGetParams) WriteToRequest

func (o *EventGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EventGetReader

type EventGetReader struct {
	// contains filtered or unexported fields
}

EventGetReader is a Reader for the EventGet structure.

func (*EventGetReader) ReadResponse

func (o *EventGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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