event_v2

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 16 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 v2 API

func (*Client) GetEventSpecificUserV2Handler deprecated

Deprecated: 2022-08-10 - Use GetEventSpecificUserV2HandlerShort instead.

GetEventSpecificUserV2Handler get events from a specific user Required permission `ADMIN:NAMESPACE:{namespace}:EVENT [READ]`and scope `analytics`

func (*Client) GetEventSpecificUserV2HandlerShort added in v0.8.0

func (a *Client) GetEventSpecificUserV2HandlerShort(params *GetEventSpecificUserV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetEventSpecificUserV2HandlerOK, error)

GetEventSpecificUserV2HandlerShort get events from a specific user Required permission `ADMIN:NAMESPACE:{namespace}:EVENT [READ]`and scope `analytics`

func (*Client) GetPublicEditHistory deprecated

Deprecated: 2022-08-10 - Use GetPublicEditHistoryShort instead.

GetPublicEditHistory get a user edit history based on the provided type

Available Type:

  • email

  • password

  • displayname

  • dateofbirth

  • country

  • language

Requires a valid user access token

func (*Client) GetPublicEditHistoryShort added in v0.8.0

func (a *Client) GetPublicEditHistoryShort(params *GetPublicEditHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicEditHistoryOK, error)

GetPublicEditHistoryShort get a user edit history based on the provided type

Available Type:

  • email

  • password

  • displayname

  • dateofbirth

  • country

  • language

Requires a valid user access token

func (*Client) GetUserEventsV2Public deprecated

Deprecated: 2022-08-10 - Use GetUserEventsV2PublicShort instead.

GetUserEventsV2Public get events from a specific user

Requires valid user access token

func (*Client) GetUserEventsV2PublicShort added in v0.8.0

func (a *Client) GetUserEventsV2PublicShort(params *GetUserEventsV2PublicParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEventsV2PublicOK, error)

GetUserEventsV2PublicShort get events from a specific user

Requires valid user access token

func (*Client) QueryEventStreamHandler deprecated

Deprecated: 2022-08-10 - Use QueryEventStreamHandlerShort instead.

QueryEventStreamHandler a generic query to get a set of events based on the provided filters

This endpoint is using POST which is somewhat unfamiliar, but it's logical that we have to send/post a filter (search term) in order to get the data.

This endpoint will not return anything if you give it an empty filters in the request body.

Required permission `ADMIN:NAMESPACE:{namespace}:EVENT [READ]` and scope `"+scope+"`

func (*Client) QueryEventStreamHandlerShort added in v0.8.0

func (a *Client) QueryEventStreamHandlerShort(params *QueryEventStreamHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEventStreamHandlerOK, error)

QueryEventStreamHandlerShort a generic query to get a set of events based on the provided filters

This endpoint is using POST which is somewhat unfamiliar, but it's logical that we have to send/post a filter (search term) in order to get the data.

This endpoint will not return anything if you give it an empty filters in the request body.

Required permission `ADMIN:NAMESPACE:{namespace}:EVENT [READ]` and scope `"+scope+"`

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	QueryEventStreamHandler(params *QueryEventStreamHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEventStreamHandlerOK, *QueryEventStreamHandlerBadRequest, *QueryEventStreamHandlerUnauthorized, *QueryEventStreamHandlerForbidden, *QueryEventStreamHandlerNotFound, *QueryEventStreamHandlerInternalServerError, *QueryEventStreamHandlerNotImplemented, error)
	QueryEventStreamHandlerShort(params *QueryEventStreamHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEventStreamHandlerOK, error)
	GetEventSpecificUserV2Handler(params *GetEventSpecificUserV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetEventSpecificUserV2HandlerOK, *GetEventSpecificUserV2HandlerBadRequest, *GetEventSpecificUserV2HandlerUnauthorized, *GetEventSpecificUserV2HandlerForbidden, *GetEventSpecificUserV2HandlerNotFound, *GetEventSpecificUserV2HandlerInternalServerError, *GetEventSpecificUserV2HandlerNotImplemented, error)
	GetEventSpecificUserV2HandlerShort(params *GetEventSpecificUserV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetEventSpecificUserV2HandlerOK, error)
	GetPublicEditHistory(params *GetPublicEditHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicEditHistoryOK, *GetPublicEditHistoryBadRequest, *GetPublicEditHistoryUnauthorized, *GetPublicEditHistoryForbidden, *GetPublicEditHistoryNotFound, *GetPublicEditHistoryInternalServerError, *GetPublicEditHistoryNotImplemented, error)
	GetPublicEditHistoryShort(params *GetPublicEditHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublicEditHistoryOK, error)
	GetUserEventsV2Public(params *GetUserEventsV2PublicParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEventsV2PublicOK, *GetUserEventsV2PublicBadRequest, *GetUserEventsV2PublicUnauthorized, *GetUserEventsV2PublicForbidden, *GetUserEventsV2PublicNotFound, *GetUserEventsV2PublicInternalServerError, *GetUserEventsV2PublicNotImplemented, error)
	GetUserEventsV2PublicShort(params *GetUserEventsV2PublicParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEventsV2PublicOK, 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 v2 API client.

type GetEventSpecificUserV2HandlerBadRequest

type GetEventSpecificUserV2HandlerBadRequest struct {
}

GetEventSpecificUserV2HandlerBadRequest handles this case with default header values.

Bad Request

func NewGetEventSpecificUserV2HandlerBadRequest

func NewGetEventSpecificUserV2HandlerBadRequest() *GetEventSpecificUserV2HandlerBadRequest

NewGetEventSpecificUserV2HandlerBadRequest creates a GetEventSpecificUserV2HandlerBadRequest with default headers values

func (*GetEventSpecificUserV2HandlerBadRequest) Error

type GetEventSpecificUserV2HandlerForbidden

type GetEventSpecificUserV2HandlerForbidden struct {
}

GetEventSpecificUserV2HandlerForbidden handles this case with default header values.

Forbidden

func NewGetEventSpecificUserV2HandlerForbidden

func NewGetEventSpecificUserV2HandlerForbidden() *GetEventSpecificUserV2HandlerForbidden

NewGetEventSpecificUserV2HandlerForbidden creates a GetEventSpecificUserV2HandlerForbidden with default headers values

func (*GetEventSpecificUserV2HandlerForbidden) Error

type GetEventSpecificUserV2HandlerInternalServerError

type GetEventSpecificUserV2HandlerInternalServerError struct {
}

GetEventSpecificUserV2HandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewGetEventSpecificUserV2HandlerInternalServerError

func NewGetEventSpecificUserV2HandlerInternalServerError() *GetEventSpecificUserV2HandlerInternalServerError

NewGetEventSpecificUserV2HandlerInternalServerError creates a GetEventSpecificUserV2HandlerInternalServerError with default headers values

func (*GetEventSpecificUserV2HandlerInternalServerError) Error

type GetEventSpecificUserV2HandlerNotFound

type GetEventSpecificUserV2HandlerNotFound struct {
}

GetEventSpecificUserV2HandlerNotFound handles this case with default header values.

Not Found

func NewGetEventSpecificUserV2HandlerNotFound

func NewGetEventSpecificUserV2HandlerNotFound() *GetEventSpecificUserV2HandlerNotFound

NewGetEventSpecificUserV2HandlerNotFound creates a GetEventSpecificUserV2HandlerNotFound with default headers values

func (*GetEventSpecificUserV2HandlerNotFound) Error

type GetEventSpecificUserV2HandlerNotImplemented

type GetEventSpecificUserV2HandlerNotImplemented struct {
}

GetEventSpecificUserV2HandlerNotImplemented handles this case with default header values.

Internal Server Error

func NewGetEventSpecificUserV2HandlerNotImplemented

func NewGetEventSpecificUserV2HandlerNotImplemented() *GetEventSpecificUserV2HandlerNotImplemented

NewGetEventSpecificUserV2HandlerNotImplemented creates a GetEventSpecificUserV2HandlerNotImplemented with default headers values

func (*GetEventSpecificUserV2HandlerNotImplemented) Error

type GetEventSpecificUserV2HandlerOK

type GetEventSpecificUserV2HandlerOK struct {
	Payload *eventlogclientmodels.ModelsEventResponseV2
}

GetEventSpecificUserV2HandlerOK handles this case with default header values.

OK

func NewGetEventSpecificUserV2HandlerOK

func NewGetEventSpecificUserV2HandlerOK() *GetEventSpecificUserV2HandlerOK

NewGetEventSpecificUserV2HandlerOK creates a GetEventSpecificUserV2HandlerOK with default headers values

func (*GetEventSpecificUserV2HandlerOK) Error

func (*GetEventSpecificUserV2HandlerOK) GetPayload

func (*GetEventSpecificUserV2HandlerOK) ToJSONString added in v0.25.0

func (o *GetEventSpecificUserV2HandlerOK) ToJSONString() string

type GetEventSpecificUserV2HandlerParams

type GetEventSpecificUserV2HandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string
	/*EndDate
	  Ending date. e.g. 2015-03-20T12:27:06Z. Default : Current time in UTC

	*/
	EndDate *string
	/*EventName
	  Event Name to filter

	*/
	EventName *string
	/*Offset
	  Offset to query. Default : 0

	*/
	Offset *int64
	/*PageSize
	  Number of result in a page. Default : 100. Max : 500

	*/
	PageSize *int64
	/*StartDate
	  Starting date. e.g. 2015-03-20T12:27:06Z. Default : 1970-01-01T00:00:00Z

	*/
	StartDate *string

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

GetEventSpecificUserV2HandlerParams contains all the parameters to send to the API endpoint for the get event specific user v2 handler operation typically these are written to a http.Request

func NewGetEventSpecificUserV2HandlerParams

func NewGetEventSpecificUserV2HandlerParams() *GetEventSpecificUserV2HandlerParams

NewGetEventSpecificUserV2HandlerParams creates a new GetEventSpecificUserV2HandlerParams object with the default values initialized.

func NewGetEventSpecificUserV2HandlerParamsWithContext

func NewGetEventSpecificUserV2HandlerParamsWithContext(ctx context.Context) *GetEventSpecificUserV2HandlerParams

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

func NewGetEventSpecificUserV2HandlerParamsWithHTTPClient

func NewGetEventSpecificUserV2HandlerParamsWithHTTPClient(client *http.Client) *GetEventSpecificUserV2HandlerParams

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

func NewGetEventSpecificUserV2HandlerParamsWithTimeout

func NewGetEventSpecificUserV2HandlerParamsWithTimeout(timeout time.Duration) *GetEventSpecificUserV2HandlerParams

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

func (*GetEventSpecificUserV2HandlerParams) SetAuthInfoWriter added in v0.17.0

func (o *GetEventSpecificUserV2HandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetContext

SetContext adds the context to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetEndDate

func (o *GetEventSpecificUserV2HandlerParams) SetEndDate(endDate *string)

SetEndDate adds the endDate to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetEventName

func (o *GetEventSpecificUserV2HandlerParams) SetEventName(eventName *string)

SetEventName adds the eventName to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetHTTPClientTransport added in v0.19.0

func (o *GetEventSpecificUserV2HandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetNamespace

func (o *GetEventSpecificUserV2HandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetOffset

func (o *GetEventSpecificUserV2HandlerParams) SetOffset(offset *int64)

SetOffset adds the offset to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetPageSize

func (o *GetEventSpecificUserV2HandlerParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetStartDate

func (o *GetEventSpecificUserV2HandlerParams) SetStartDate(startDate *string)

SetStartDate adds the startDate to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetTimeout

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

SetTimeout adds the timeout to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) SetUserID

func (o *GetEventSpecificUserV2HandlerParams) SetUserID(userID string)

SetUserID adds the userId to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithContext

WithContext adds the context to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithEndDate

WithEndDate adds the endDate to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithEventName

WithEventName adds the eventName to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithNamespace

WithNamespace adds the namespace to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithOffset

WithOffset adds the offset to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithPageSize

WithPageSize adds the pageSize to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithStartDate

WithStartDate adds the startDate to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithTimeout

WithTimeout adds the timeout to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WithUserID

WithUserID adds the userID to the get event specific user v2 handler params

func (*GetEventSpecificUserV2HandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEventSpecificUserV2HandlerReader

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

GetEventSpecificUserV2HandlerReader is a Reader for the GetEventSpecificUserV2Handler structure.

func (*GetEventSpecificUserV2HandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEventSpecificUserV2HandlerUnauthorized

type GetEventSpecificUserV2HandlerUnauthorized struct {
}

GetEventSpecificUserV2HandlerUnauthorized handles this case with default header values.

Unauthorized

func NewGetEventSpecificUserV2HandlerUnauthorized

func NewGetEventSpecificUserV2HandlerUnauthorized() *GetEventSpecificUserV2HandlerUnauthorized

NewGetEventSpecificUserV2HandlerUnauthorized creates a GetEventSpecificUserV2HandlerUnauthorized with default headers values

func (*GetEventSpecificUserV2HandlerUnauthorized) Error

type GetPublicEditHistoryBadRequest

type GetPublicEditHistoryBadRequest struct {
}

GetPublicEditHistoryBadRequest handles this case with default header values.

Bad Request

func NewGetPublicEditHistoryBadRequest

func NewGetPublicEditHistoryBadRequest() *GetPublicEditHistoryBadRequest

NewGetPublicEditHistoryBadRequest creates a GetPublicEditHistoryBadRequest with default headers values

func (*GetPublicEditHistoryBadRequest) Error

type GetPublicEditHistoryForbidden

type GetPublicEditHistoryForbidden struct {
}

GetPublicEditHistoryForbidden handles this case with default header values.

Forbidden

func NewGetPublicEditHistoryForbidden

func NewGetPublicEditHistoryForbidden() *GetPublicEditHistoryForbidden

NewGetPublicEditHistoryForbidden creates a GetPublicEditHistoryForbidden with default headers values

func (*GetPublicEditHistoryForbidden) Error

type GetPublicEditHistoryInternalServerError

type GetPublicEditHistoryInternalServerError struct {
}

GetPublicEditHistoryInternalServerError handles this case with default header values.

Internal Server Error

func NewGetPublicEditHistoryInternalServerError

func NewGetPublicEditHistoryInternalServerError() *GetPublicEditHistoryInternalServerError

NewGetPublicEditHistoryInternalServerError creates a GetPublicEditHistoryInternalServerError with default headers values

func (*GetPublicEditHistoryInternalServerError) Error

type GetPublicEditHistoryNotFound

type GetPublicEditHistoryNotFound struct {
}

GetPublicEditHistoryNotFound handles this case with default header values.

Not Found

func NewGetPublicEditHistoryNotFound

func NewGetPublicEditHistoryNotFound() *GetPublicEditHistoryNotFound

NewGetPublicEditHistoryNotFound creates a GetPublicEditHistoryNotFound with default headers values

func (*GetPublicEditHistoryNotFound) Error

type GetPublicEditHistoryNotImplemented

type GetPublicEditHistoryNotImplemented struct {
}

GetPublicEditHistoryNotImplemented handles this case with default header values.

Not Implemented

func NewGetPublicEditHistoryNotImplemented

func NewGetPublicEditHistoryNotImplemented() *GetPublicEditHistoryNotImplemented

NewGetPublicEditHistoryNotImplemented creates a GetPublicEditHistoryNotImplemented with default headers values

func (*GetPublicEditHistoryNotImplemented) Error

type GetPublicEditHistoryOK

type GetPublicEditHistoryOK struct {
	Payload *eventlogclientmodels.ModelsEventResponseV2
}

GetPublicEditHistoryOK handles this case with default header values.

OK

func NewGetPublicEditHistoryOK

func NewGetPublicEditHistoryOK() *GetPublicEditHistoryOK

NewGetPublicEditHistoryOK creates a GetPublicEditHistoryOK with default headers values

func (*GetPublicEditHistoryOK) Error

func (o *GetPublicEditHistoryOK) Error() string

func (*GetPublicEditHistoryOK) GetPayload

func (*GetPublicEditHistoryOK) ToJSONString added in v0.25.0

func (o *GetPublicEditHistoryOK) ToJSONString() string

type GetPublicEditHistoryParams

type GetPublicEditHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string
	/*EndDate
	  Ending date. e.g. 2015-03-20T12:27:06Z. Default : Current time in UTC

	*/
	EndDate *string
	/*Offset
	  Offset to query. Default : 0

	*/
	Offset *int64
	/*PageSize
	  Number of result in a page. Default : 100. Max : 500

	*/
	PageSize *int64
	/*StartDate
	  Starting date. e.g. 2015-03-20T12:27:06Z. Default : 1970-01-01T00:00:00Z

	*/
	StartDate *string
	/*Type
	  Edit History type to fetch

	*/
	Type *string

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

GetPublicEditHistoryParams contains all the parameters to send to the API endpoint for the get public edit history operation typically these are written to a http.Request

func NewGetPublicEditHistoryParams

func NewGetPublicEditHistoryParams() *GetPublicEditHistoryParams

NewGetPublicEditHistoryParams creates a new GetPublicEditHistoryParams object with the default values initialized.

func NewGetPublicEditHistoryParamsWithContext

func NewGetPublicEditHistoryParamsWithContext(ctx context.Context) *GetPublicEditHistoryParams

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

func NewGetPublicEditHistoryParamsWithHTTPClient

func NewGetPublicEditHistoryParamsWithHTTPClient(client *http.Client) *GetPublicEditHistoryParams

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

func NewGetPublicEditHistoryParamsWithTimeout

func NewGetPublicEditHistoryParamsWithTimeout(timeout time.Duration) *GetPublicEditHistoryParams

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

func (*GetPublicEditHistoryParams) SetAuthInfoWriter added in v0.17.0

func (o *GetPublicEditHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get public edit history params

func (*GetPublicEditHistoryParams) SetContext

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

SetContext adds the context to the get public edit history params

func (*GetPublicEditHistoryParams) SetEndDate

func (o *GetPublicEditHistoryParams) SetEndDate(endDate *string)

SetEndDate adds the endDate to the get public edit history params

func (*GetPublicEditHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public edit history params

func (*GetPublicEditHistoryParams) SetHTTPClientTransport added in v0.19.0

func (o *GetPublicEditHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get public edit history params

func (*GetPublicEditHistoryParams) SetNamespace

func (o *GetPublicEditHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get public edit history params

func (*GetPublicEditHistoryParams) SetOffset

func (o *GetPublicEditHistoryParams) SetOffset(offset *int64)

SetOffset adds the offset to the get public edit history params

func (*GetPublicEditHistoryParams) SetPageSize

func (o *GetPublicEditHistoryParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get public edit history params

func (*GetPublicEditHistoryParams) SetStartDate

func (o *GetPublicEditHistoryParams) SetStartDate(startDate *string)

SetStartDate adds the startDate to the get public edit history params

func (*GetPublicEditHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the get public edit history params

func (*GetPublicEditHistoryParams) SetType

func (o *GetPublicEditHistoryParams) SetType(typeVar *string)

SetType adds the type to the get public edit history params

func (*GetPublicEditHistoryParams) SetUserID

func (o *GetPublicEditHistoryParams) SetUserID(userID string)

SetUserID adds the userId to the get public edit history params

func (*GetPublicEditHistoryParams) WithContext

WithContext adds the context to the get public edit history params

func (*GetPublicEditHistoryParams) WithEndDate

WithEndDate adds the endDate to the get public edit history params

func (*GetPublicEditHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public edit history params

func (*GetPublicEditHistoryParams) WithNamespace

func (o *GetPublicEditHistoryParams) WithNamespace(namespace string) *GetPublicEditHistoryParams

WithNamespace adds the namespace to the get public edit history params

func (*GetPublicEditHistoryParams) WithOffset

WithOffset adds the offset to the get public edit history params

func (*GetPublicEditHistoryParams) WithPageSize

func (o *GetPublicEditHistoryParams) WithPageSize(pageSize *int64) *GetPublicEditHistoryParams

WithPageSize adds the pageSize to the get public edit history params

func (*GetPublicEditHistoryParams) WithStartDate

func (o *GetPublicEditHistoryParams) WithStartDate(startDate *string) *GetPublicEditHistoryParams

WithStartDate adds the startDate to the get public edit history params

func (*GetPublicEditHistoryParams) WithTimeout

WithTimeout adds the timeout to the get public edit history params

func (*GetPublicEditHistoryParams) WithType

WithType adds the typeVar to the get public edit history params

func (*GetPublicEditHistoryParams) WithUserID

WithUserID adds the userID to the get public edit history params

func (*GetPublicEditHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicEditHistoryReader

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

GetPublicEditHistoryReader is a Reader for the GetPublicEditHistory structure.

func (*GetPublicEditHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicEditHistoryUnauthorized

type GetPublicEditHistoryUnauthorized struct {
}

GetPublicEditHistoryUnauthorized handles this case with default header values.

Unauthorized

func NewGetPublicEditHistoryUnauthorized

func NewGetPublicEditHistoryUnauthorized() *GetPublicEditHistoryUnauthorized

NewGetPublicEditHistoryUnauthorized creates a GetPublicEditHistoryUnauthorized with default headers values

func (*GetPublicEditHistoryUnauthorized) Error

type GetUserEventsV2PublicBadRequest

type GetUserEventsV2PublicBadRequest struct {
}

GetUserEventsV2PublicBadRequest handles this case with default header values.

Bad Request

func NewGetUserEventsV2PublicBadRequest

func NewGetUserEventsV2PublicBadRequest() *GetUserEventsV2PublicBadRequest

NewGetUserEventsV2PublicBadRequest creates a GetUserEventsV2PublicBadRequest with default headers values

func (*GetUserEventsV2PublicBadRequest) Error

type GetUserEventsV2PublicForbidden

type GetUserEventsV2PublicForbidden struct {
}

GetUserEventsV2PublicForbidden handles this case with default header values.

Forbidden

func NewGetUserEventsV2PublicForbidden

func NewGetUserEventsV2PublicForbidden() *GetUserEventsV2PublicForbidden

NewGetUserEventsV2PublicForbidden creates a GetUserEventsV2PublicForbidden with default headers values

func (*GetUserEventsV2PublicForbidden) Error

type GetUserEventsV2PublicInternalServerError

type GetUserEventsV2PublicInternalServerError struct {
}

GetUserEventsV2PublicInternalServerError handles this case with default header values.

Internal Server Error

func NewGetUserEventsV2PublicInternalServerError

func NewGetUserEventsV2PublicInternalServerError() *GetUserEventsV2PublicInternalServerError

NewGetUserEventsV2PublicInternalServerError creates a GetUserEventsV2PublicInternalServerError with default headers values

func (*GetUserEventsV2PublicInternalServerError) Error

type GetUserEventsV2PublicNotFound

type GetUserEventsV2PublicNotFound struct {
}

GetUserEventsV2PublicNotFound handles this case with default header values.

Not Found

func NewGetUserEventsV2PublicNotFound

func NewGetUserEventsV2PublicNotFound() *GetUserEventsV2PublicNotFound

NewGetUserEventsV2PublicNotFound creates a GetUserEventsV2PublicNotFound with default headers values

func (*GetUserEventsV2PublicNotFound) Error

type GetUserEventsV2PublicNotImplemented

type GetUserEventsV2PublicNotImplemented struct {
}

GetUserEventsV2PublicNotImplemented handles this case with default header values.

Internal Server Error

func NewGetUserEventsV2PublicNotImplemented

func NewGetUserEventsV2PublicNotImplemented() *GetUserEventsV2PublicNotImplemented

NewGetUserEventsV2PublicNotImplemented creates a GetUserEventsV2PublicNotImplemented with default headers values

func (*GetUserEventsV2PublicNotImplemented) Error

type GetUserEventsV2PublicOK

type GetUserEventsV2PublicOK struct {
	Payload *eventlogclientmodels.ModelsEventResponseV2
}

GetUserEventsV2PublicOK handles this case with default header values.

OK

func NewGetUserEventsV2PublicOK

func NewGetUserEventsV2PublicOK() *GetUserEventsV2PublicOK

NewGetUserEventsV2PublicOK creates a GetUserEventsV2PublicOK with default headers values

func (*GetUserEventsV2PublicOK) Error

func (o *GetUserEventsV2PublicOK) Error() string

func (*GetUserEventsV2PublicOK) GetPayload

func (*GetUserEventsV2PublicOK) ToJSONString added in v0.25.0

func (o *GetUserEventsV2PublicOK) ToJSONString() string

type GetUserEventsV2PublicParams

type GetUserEventsV2PublicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string
	/*EndDate
	  Ending date. e.g. 2015-03-20T12:27:06Z. Default : Current time in UTC

	*/
	EndDate *string
	/*EventName
	  Event Name to filter

	*/
	EventName *string
	/*Offset
	  Offset to query. Default : 0

	*/
	Offset *int64
	/*PageSize
	  Number of result in a page. Default : 100. Max : 500

	*/
	PageSize *int64
	/*StartDate
	  Starting date. e.g. 2015-03-20T12:27:06Z. Default : 1970-01-01T00:00:00Z

	*/
	StartDate *string

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

GetUserEventsV2PublicParams contains all the parameters to send to the API endpoint for the get user events v2 public operation typically these are written to a http.Request

func NewGetUserEventsV2PublicParams

func NewGetUserEventsV2PublicParams() *GetUserEventsV2PublicParams

NewGetUserEventsV2PublicParams creates a new GetUserEventsV2PublicParams object with the default values initialized.

func NewGetUserEventsV2PublicParamsWithContext

func NewGetUserEventsV2PublicParamsWithContext(ctx context.Context) *GetUserEventsV2PublicParams

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

func NewGetUserEventsV2PublicParamsWithHTTPClient

func NewGetUserEventsV2PublicParamsWithHTTPClient(client *http.Client) *GetUserEventsV2PublicParams

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

func NewGetUserEventsV2PublicParamsWithTimeout

func NewGetUserEventsV2PublicParamsWithTimeout(timeout time.Duration) *GetUserEventsV2PublicParams

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

func (*GetUserEventsV2PublicParams) SetAuthInfoWriter added in v0.17.0

func (o *GetUserEventsV2PublicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetContext

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

SetContext adds the context to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetEndDate

func (o *GetUserEventsV2PublicParams) SetEndDate(endDate *string)

SetEndDate adds the endDate to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetEventName

func (o *GetUserEventsV2PublicParams) SetEventName(eventName *string)

SetEventName adds the eventName to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetHTTPClientTransport added in v0.19.0

func (o *GetUserEventsV2PublicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetNamespace

func (o *GetUserEventsV2PublicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetOffset

func (o *GetUserEventsV2PublicParams) SetOffset(offset *int64)

SetOffset adds the offset to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetPageSize

func (o *GetUserEventsV2PublicParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetStartDate

func (o *GetUserEventsV2PublicParams) SetStartDate(startDate *string)

SetStartDate adds the startDate to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetTimeout

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

SetTimeout adds the timeout to the get user events v2 public params

func (*GetUserEventsV2PublicParams) SetUserID

func (o *GetUserEventsV2PublicParams) SetUserID(userID string)

SetUserID adds the userId to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithContext

WithContext adds the context to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithEndDate

WithEndDate adds the endDate to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithEventName

func (o *GetUserEventsV2PublicParams) WithEventName(eventName *string) *GetUserEventsV2PublicParams

WithEventName adds the eventName to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithNamespace

func (o *GetUserEventsV2PublicParams) WithNamespace(namespace string) *GetUserEventsV2PublicParams

WithNamespace adds the namespace to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithOffset

WithOffset adds the offset to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithPageSize

WithPageSize adds the pageSize to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithStartDate

func (o *GetUserEventsV2PublicParams) WithStartDate(startDate *string) *GetUserEventsV2PublicParams

WithStartDate adds the startDate to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithTimeout

WithTimeout adds the timeout to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WithUserID

WithUserID adds the userID to the get user events v2 public params

func (*GetUserEventsV2PublicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserEventsV2PublicReader

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

GetUserEventsV2PublicReader is a Reader for the GetUserEventsV2Public structure.

func (*GetUserEventsV2PublicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserEventsV2PublicUnauthorized

type GetUserEventsV2PublicUnauthorized struct {
}

GetUserEventsV2PublicUnauthorized handles this case with default header values.

Unauthorized

func NewGetUserEventsV2PublicUnauthorized

func NewGetUserEventsV2PublicUnauthorized() *GetUserEventsV2PublicUnauthorized

NewGetUserEventsV2PublicUnauthorized creates a GetUserEventsV2PublicUnauthorized with default headers values

func (*GetUserEventsV2PublicUnauthorized) Error

type QueryEventStreamHandlerBadRequest

type QueryEventStreamHandlerBadRequest struct {
}

QueryEventStreamHandlerBadRequest handles this case with default header values.

Bad Request

func NewQueryEventStreamHandlerBadRequest

func NewQueryEventStreamHandlerBadRequest() *QueryEventStreamHandlerBadRequest

NewQueryEventStreamHandlerBadRequest creates a QueryEventStreamHandlerBadRequest with default headers values

func (*QueryEventStreamHandlerBadRequest) Error

type QueryEventStreamHandlerForbidden

type QueryEventStreamHandlerForbidden struct {
}

QueryEventStreamHandlerForbidden handles this case with default header values.

Forbidden

func NewQueryEventStreamHandlerForbidden

func NewQueryEventStreamHandlerForbidden() *QueryEventStreamHandlerForbidden

NewQueryEventStreamHandlerForbidden creates a QueryEventStreamHandlerForbidden with default headers values

func (*QueryEventStreamHandlerForbidden) Error

type QueryEventStreamHandlerInternalServerError

type QueryEventStreamHandlerInternalServerError struct {
}

QueryEventStreamHandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewQueryEventStreamHandlerInternalServerError

func NewQueryEventStreamHandlerInternalServerError() *QueryEventStreamHandlerInternalServerError

NewQueryEventStreamHandlerInternalServerError creates a QueryEventStreamHandlerInternalServerError with default headers values

func (*QueryEventStreamHandlerInternalServerError) Error

type QueryEventStreamHandlerNotFound

type QueryEventStreamHandlerNotFound struct {
}

QueryEventStreamHandlerNotFound handles this case with default header values.

Not Found

func NewQueryEventStreamHandlerNotFound

func NewQueryEventStreamHandlerNotFound() *QueryEventStreamHandlerNotFound

NewQueryEventStreamHandlerNotFound creates a QueryEventStreamHandlerNotFound with default headers values

func (*QueryEventStreamHandlerNotFound) Error

type QueryEventStreamHandlerNotImplemented

type QueryEventStreamHandlerNotImplemented struct {
}

QueryEventStreamHandlerNotImplemented handles this case with default header values.

Internal Server Error

func NewQueryEventStreamHandlerNotImplemented

func NewQueryEventStreamHandlerNotImplemented() *QueryEventStreamHandlerNotImplemented

NewQueryEventStreamHandlerNotImplemented creates a QueryEventStreamHandlerNotImplemented with default headers values

func (*QueryEventStreamHandlerNotImplemented) Error

type QueryEventStreamHandlerOK

type QueryEventStreamHandlerOK struct {
	Payload *eventlogclientmodels.ModelsEventResponseV2
}

QueryEventStreamHandlerOK handles this case with default header values.

OK

func NewQueryEventStreamHandlerOK

func NewQueryEventStreamHandlerOK() *QueryEventStreamHandlerOK

NewQueryEventStreamHandlerOK creates a QueryEventStreamHandlerOK with default headers values

func (*QueryEventStreamHandlerOK) Error

func (o *QueryEventStreamHandlerOK) Error() string

func (*QueryEventStreamHandlerOK) GetPayload

func (*QueryEventStreamHandlerOK) ToJSONString added in v0.25.0

func (o *QueryEventStreamHandlerOK) ToJSONString() string

type QueryEventStreamHandlerParams

type QueryEventStreamHandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *eventlogclientmodels.ModelsGenericQueryPayload
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*EndDate
	  Ending date. e.g. 2015-03-20T12:27:06Z. Default : Current time in UTC

	*/
	EndDate *string
	/*Offset
	  Offset to query. Default : 0

	*/
	Offset *int64
	/*PageSize
	  Number of result in a page. Default : 100. Max : 500

	*/
	PageSize *int64
	/*StartDate
	  Starting date. e.g. 2015-03-20T12:27:06Z. Default : 1970-01-01T00:00:00Z

	*/
	StartDate *string

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

QueryEventStreamHandlerParams contains all the parameters to send to the API endpoint for the query event stream handler operation typically these are written to a http.Request

func NewQueryEventStreamHandlerParams

func NewQueryEventStreamHandlerParams() *QueryEventStreamHandlerParams

NewQueryEventStreamHandlerParams creates a new QueryEventStreamHandlerParams object with the default values initialized.

func NewQueryEventStreamHandlerParamsWithContext

func NewQueryEventStreamHandlerParamsWithContext(ctx context.Context) *QueryEventStreamHandlerParams

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

func NewQueryEventStreamHandlerParamsWithHTTPClient

func NewQueryEventStreamHandlerParamsWithHTTPClient(client *http.Client) *QueryEventStreamHandlerParams

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

func NewQueryEventStreamHandlerParamsWithTimeout

func NewQueryEventStreamHandlerParamsWithTimeout(timeout time.Duration) *QueryEventStreamHandlerParams

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

func (*QueryEventStreamHandlerParams) SetAuthInfoWriter added in v0.17.0

func (o *QueryEventStreamHandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetBody

SetBody adds the body to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetContext

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

SetContext adds the context to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetEndDate

func (o *QueryEventStreamHandlerParams) SetEndDate(endDate *string)

SetEndDate adds the endDate to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetHTTPClientTransport added in v0.19.0

func (o *QueryEventStreamHandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetNamespace

func (o *QueryEventStreamHandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetOffset

func (o *QueryEventStreamHandlerParams) SetOffset(offset *int64)

SetOffset adds the offset to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetPageSize

func (o *QueryEventStreamHandlerParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetStartDate

func (o *QueryEventStreamHandlerParams) SetStartDate(startDate *string)

SetStartDate adds the startDate to the query event stream handler params

func (*QueryEventStreamHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the query event stream handler params

func (*QueryEventStreamHandlerParams) WithBody

WithBody adds the body to the query event stream handler params

func (*QueryEventStreamHandlerParams) WithContext

WithContext adds the context to the query event stream handler params

func (*QueryEventStreamHandlerParams) WithEndDate

WithEndDate adds the endDate to the query event stream handler params

func (*QueryEventStreamHandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query event stream handler params

func (*QueryEventStreamHandlerParams) WithNamespace

WithNamespace adds the namespace to the query event stream handler params

func (*QueryEventStreamHandlerParams) WithOffset

WithOffset adds the offset to the query event stream handler params

func (*QueryEventStreamHandlerParams) WithPageSize

WithPageSize adds the pageSize to the query event stream handler params

func (*QueryEventStreamHandlerParams) WithStartDate

WithStartDate adds the startDate to the query event stream handler params

func (*QueryEventStreamHandlerParams) WithTimeout

WithTimeout adds the timeout to the query event stream handler params

func (*QueryEventStreamHandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryEventStreamHandlerReader

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

QueryEventStreamHandlerReader is a Reader for the QueryEventStreamHandler structure.

func (*QueryEventStreamHandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryEventStreamHandlerUnauthorized

type QueryEventStreamHandlerUnauthorized struct {
}

QueryEventStreamHandlerUnauthorized handles this case with default header values.

Unauthorized

func NewQueryEventStreamHandlerUnauthorized

func NewQueryEventStreamHandlerUnauthorized() *QueryEventStreamHandlerUnauthorized

NewQueryEventStreamHandlerUnauthorized creates a QueryEventStreamHandlerUnauthorized with default headers values

func (*QueryEventStreamHandlerUnauthorized) Error

Jump to

Keyboard shortcuts

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