events

package
v0.0.0-...-853dd42 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   PostEventsConversations publishes conversation batch events
	*/
	PostEventsConversations(ctx context.Context, params *PostEventsConversationsParams) (*PostEventsConversationsOK, error)
	/*
	   PostEventsUsersPresence publishes user presence status batch events
	*/
	PostEventsUsersPresence(ctx context.Context, params *PostEventsUsersPresenceParams) (*PostEventsUsersPresenceOK, error)
	/*
	   PostEventsUsersRoutingstatus publishes agent routing status batch events
	*/
	PostEventsUsersRoutingstatus(ctx context.Context, params *PostEventsUsersRoutingstatusParams) (*PostEventsUsersRoutingstatusOK, error)
}

API is the interface of the events client

type Client

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

Client for events API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client

New creates a new events API client.

func (*Client) PostEventsConversations

func (a *Client) PostEventsConversations(ctx context.Context, params *PostEventsConversationsParams) (*PostEventsConversationsOK, error)

PostEventsConversations publishes conversation batch events

func (*Client) PostEventsUsersPresence

func (a *Client) PostEventsUsersPresence(ctx context.Context, params *PostEventsUsersPresenceParams) (*PostEventsUsersPresenceOK, error)

PostEventsUsersPresence publishes user presence status batch events

func (*Client) PostEventsUsersRoutingstatus

func (a *Client) PostEventsUsersRoutingstatus(ctx context.Context, params *PostEventsUsersRoutingstatusParams) (*PostEventsUsersRoutingstatusOK, error)

PostEventsUsersRoutingstatus publishes agent routing status batch events

type PostEventsConversationsBadRequest

type PostEventsConversationsBadRequest struct {
	Payload *models.ErrorBody
}

PostEventsConversationsBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPostEventsConversationsBadRequest

func NewPostEventsConversationsBadRequest() *PostEventsConversationsBadRequest

NewPostEventsConversationsBadRequest creates a PostEventsConversationsBadRequest with default headers values

func (*PostEventsConversationsBadRequest) Error

func (*PostEventsConversationsBadRequest) GetPayload

func (*PostEventsConversationsBadRequest) IsClientError

func (o *PostEventsConversationsBadRequest) IsClientError() bool

IsClientError returns true when this post events conversations bad request response has a 4xx status code

func (*PostEventsConversationsBadRequest) IsCode

func (o *PostEventsConversationsBadRequest) IsCode(code int) bool

IsCode returns true when this post events conversations bad request response a status code equal to that given

func (*PostEventsConversationsBadRequest) IsRedirect

func (o *PostEventsConversationsBadRequest) IsRedirect() bool

IsRedirect returns true when this post events conversations bad request response has a 3xx status code

func (*PostEventsConversationsBadRequest) IsServerError

func (o *PostEventsConversationsBadRequest) IsServerError() bool

IsServerError returns true when this post events conversations bad request response has a 5xx status code

func (*PostEventsConversationsBadRequest) IsSuccess

func (o *PostEventsConversationsBadRequest) IsSuccess() bool

IsSuccess returns true when this post events conversations bad request response has a 2xx status code

func (*PostEventsConversationsBadRequest) String

type PostEventsConversationsForbidden

type PostEventsConversationsForbidden struct {
	Payload *models.ErrorBody
}

PostEventsConversationsForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPostEventsConversationsForbidden

func NewPostEventsConversationsForbidden() *PostEventsConversationsForbidden

NewPostEventsConversationsForbidden creates a PostEventsConversationsForbidden with default headers values

func (*PostEventsConversationsForbidden) Error

func (*PostEventsConversationsForbidden) GetPayload

func (*PostEventsConversationsForbidden) IsClientError

func (o *PostEventsConversationsForbidden) IsClientError() bool

IsClientError returns true when this post events conversations forbidden response has a 4xx status code

func (*PostEventsConversationsForbidden) IsCode

func (o *PostEventsConversationsForbidden) IsCode(code int) bool

IsCode returns true when this post events conversations forbidden response a status code equal to that given

func (*PostEventsConversationsForbidden) IsRedirect

func (o *PostEventsConversationsForbidden) IsRedirect() bool

IsRedirect returns true when this post events conversations forbidden response has a 3xx status code

func (*PostEventsConversationsForbidden) IsServerError

func (o *PostEventsConversationsForbidden) IsServerError() bool

IsServerError returns true when this post events conversations forbidden response has a 5xx status code

func (*PostEventsConversationsForbidden) IsSuccess

func (o *PostEventsConversationsForbidden) IsSuccess() bool

IsSuccess returns true when this post events conversations forbidden response has a 2xx status code

func (*PostEventsConversationsForbidden) String

type PostEventsConversationsGatewayTimeout

type PostEventsConversationsGatewayTimeout struct {
	Payload *models.ErrorBody
}

PostEventsConversationsGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPostEventsConversationsGatewayTimeout

func NewPostEventsConversationsGatewayTimeout() *PostEventsConversationsGatewayTimeout

NewPostEventsConversationsGatewayTimeout creates a PostEventsConversationsGatewayTimeout with default headers values

func (*PostEventsConversationsGatewayTimeout) Error

func (*PostEventsConversationsGatewayTimeout) GetPayload

func (*PostEventsConversationsGatewayTimeout) IsClientError

func (o *PostEventsConversationsGatewayTimeout) IsClientError() bool

IsClientError returns true when this post events conversations gateway timeout response has a 4xx status code

func (*PostEventsConversationsGatewayTimeout) IsCode

IsCode returns true when this post events conversations gateway timeout response a status code equal to that given

func (*PostEventsConversationsGatewayTimeout) IsRedirect

IsRedirect returns true when this post events conversations gateway timeout response has a 3xx status code

func (*PostEventsConversationsGatewayTimeout) IsServerError

func (o *PostEventsConversationsGatewayTimeout) IsServerError() bool

IsServerError returns true when this post events conversations gateway timeout response has a 5xx status code

func (*PostEventsConversationsGatewayTimeout) IsSuccess

IsSuccess returns true when this post events conversations gateway timeout response has a 2xx status code

func (*PostEventsConversationsGatewayTimeout) String

type PostEventsConversationsInternalServerError

type PostEventsConversationsInternalServerError struct {
	Payload *models.ErrorBody
}

PostEventsConversationsInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPostEventsConversationsInternalServerError

func NewPostEventsConversationsInternalServerError() *PostEventsConversationsInternalServerError

NewPostEventsConversationsInternalServerError creates a PostEventsConversationsInternalServerError with default headers values

func (*PostEventsConversationsInternalServerError) Error

func (*PostEventsConversationsInternalServerError) GetPayload

func (*PostEventsConversationsInternalServerError) IsClientError

IsClientError returns true when this post events conversations internal server error response has a 4xx status code

func (*PostEventsConversationsInternalServerError) IsCode

IsCode returns true when this post events conversations internal server error response a status code equal to that given

func (*PostEventsConversationsInternalServerError) IsRedirect

IsRedirect returns true when this post events conversations internal server error response has a 3xx status code

func (*PostEventsConversationsInternalServerError) IsServerError

IsServerError returns true when this post events conversations internal server error response has a 5xx status code

func (*PostEventsConversationsInternalServerError) IsSuccess

IsSuccess returns true when this post events conversations internal server error response has a 2xx status code

func (*PostEventsConversationsInternalServerError) String

type PostEventsConversationsNotFound

type PostEventsConversationsNotFound struct {
	Payload *models.ErrorBody
}

PostEventsConversationsNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPostEventsConversationsNotFound

func NewPostEventsConversationsNotFound() *PostEventsConversationsNotFound

NewPostEventsConversationsNotFound creates a PostEventsConversationsNotFound with default headers values

func (*PostEventsConversationsNotFound) Error

func (*PostEventsConversationsNotFound) GetPayload

func (*PostEventsConversationsNotFound) IsClientError

func (o *PostEventsConversationsNotFound) IsClientError() bool

IsClientError returns true when this post events conversations not found response has a 4xx status code

func (*PostEventsConversationsNotFound) IsCode

func (o *PostEventsConversationsNotFound) IsCode(code int) bool

IsCode returns true when this post events conversations not found response a status code equal to that given

func (*PostEventsConversationsNotFound) IsRedirect

func (o *PostEventsConversationsNotFound) IsRedirect() bool

IsRedirect returns true when this post events conversations not found response has a 3xx status code

func (*PostEventsConversationsNotFound) IsServerError

func (o *PostEventsConversationsNotFound) IsServerError() bool

IsServerError returns true when this post events conversations not found response has a 5xx status code

func (*PostEventsConversationsNotFound) IsSuccess

func (o *PostEventsConversationsNotFound) IsSuccess() bool

IsSuccess returns true when this post events conversations not found response has a 2xx status code

func (*PostEventsConversationsNotFound) String

type PostEventsConversationsOK

type PostEventsConversationsOK struct {
	Payload *models.BatchEventResponse
}

PostEventsConversationsOK describes a response with status code 200, with default header values.

successful operation

func NewPostEventsConversationsOK

func NewPostEventsConversationsOK() *PostEventsConversationsOK

NewPostEventsConversationsOK creates a PostEventsConversationsOK with default headers values

func (*PostEventsConversationsOK) Error

func (o *PostEventsConversationsOK) Error() string

func (*PostEventsConversationsOK) GetPayload

func (*PostEventsConversationsOK) IsClientError

func (o *PostEventsConversationsOK) IsClientError() bool

IsClientError returns true when this post events conversations o k response has a 4xx status code

func (*PostEventsConversationsOK) IsCode

func (o *PostEventsConversationsOK) IsCode(code int) bool

IsCode returns true when this post events conversations o k response a status code equal to that given

func (*PostEventsConversationsOK) IsRedirect

func (o *PostEventsConversationsOK) IsRedirect() bool

IsRedirect returns true when this post events conversations o k response has a 3xx status code

func (*PostEventsConversationsOK) IsServerError

func (o *PostEventsConversationsOK) IsServerError() bool

IsServerError returns true when this post events conversations o k response has a 5xx status code

func (*PostEventsConversationsOK) IsSuccess

func (o *PostEventsConversationsOK) IsSuccess() bool

IsSuccess returns true when this post events conversations o k response has a 2xx status code

func (*PostEventsConversationsOK) String

func (o *PostEventsConversationsOK) String() string

type PostEventsConversationsParams

type PostEventsConversationsParams struct {

	/* Body.

	   batchRequest
	*/
	Body *models.BatchConversationEventRequest

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

PostEventsConversationsParams contains all the parameters to send to the API endpoint

for the post events conversations operation.

Typically these are written to a http.Request.

func NewPostEventsConversationsParams

func NewPostEventsConversationsParams() *PostEventsConversationsParams

NewPostEventsConversationsParams creates a new PostEventsConversationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostEventsConversationsParamsWithContext

func NewPostEventsConversationsParamsWithContext(ctx context.Context) *PostEventsConversationsParams

NewPostEventsConversationsParamsWithContext creates a new PostEventsConversationsParams object with the ability to set a context for a request.

func NewPostEventsConversationsParamsWithHTTPClient

func NewPostEventsConversationsParamsWithHTTPClient(client *http.Client) *PostEventsConversationsParams

NewPostEventsConversationsParamsWithHTTPClient creates a new PostEventsConversationsParams object with the ability to set a custom HTTPClient for a request.

func NewPostEventsConversationsParamsWithTimeout

func NewPostEventsConversationsParamsWithTimeout(timeout time.Duration) *PostEventsConversationsParams

NewPostEventsConversationsParamsWithTimeout creates a new PostEventsConversationsParams object with the ability to set a timeout on a request.

func (*PostEventsConversationsParams) SetBody

SetBody adds the body to the post events conversations params

func (*PostEventsConversationsParams) SetContext

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

SetContext adds the context to the post events conversations params

func (*PostEventsConversationsParams) SetDefaults

func (o *PostEventsConversationsParams) SetDefaults()

SetDefaults hydrates default values in the post events conversations params (not the query body).

All values with no default are reset to their zero value.

func (*PostEventsConversationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post events conversations params

func (*PostEventsConversationsParams) SetTimeout

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

SetTimeout adds the timeout to the post events conversations params

func (*PostEventsConversationsParams) WithBody

WithBody adds the body to the post events conversations params

func (*PostEventsConversationsParams) WithContext

WithContext adds the context to the post events conversations params

func (*PostEventsConversationsParams) WithDefaults

WithDefaults hydrates default values in the post events conversations params (not the query body).

All values with no default are reset to their zero value.

func (*PostEventsConversationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post events conversations params

func (*PostEventsConversationsParams) WithTimeout

WithTimeout adds the timeout to the post events conversations params

func (*PostEventsConversationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEventsConversationsReader

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

PostEventsConversationsReader is a Reader for the PostEventsConversations structure.

func (*PostEventsConversationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEventsConversationsRequestEntityTooLarge

type PostEventsConversationsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PostEventsConversationsRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPostEventsConversationsRequestEntityTooLarge

func NewPostEventsConversationsRequestEntityTooLarge() *PostEventsConversationsRequestEntityTooLarge

NewPostEventsConversationsRequestEntityTooLarge creates a PostEventsConversationsRequestEntityTooLarge with default headers values

func (*PostEventsConversationsRequestEntityTooLarge) Error

func (*PostEventsConversationsRequestEntityTooLarge) GetPayload

func (*PostEventsConversationsRequestEntityTooLarge) IsClientError

IsClientError returns true when this post events conversations request entity too large response has a 4xx status code

func (*PostEventsConversationsRequestEntityTooLarge) IsCode

IsCode returns true when this post events conversations request entity too large response a status code equal to that given

func (*PostEventsConversationsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this post events conversations request entity too large response has a 3xx status code

func (*PostEventsConversationsRequestEntityTooLarge) IsServerError

IsServerError returns true when this post events conversations request entity too large response has a 5xx status code

func (*PostEventsConversationsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this post events conversations request entity too large response has a 2xx status code

func (*PostEventsConversationsRequestEntityTooLarge) String

type PostEventsConversationsRequestTimeout

type PostEventsConversationsRequestTimeout struct {
	Payload *models.ErrorBody
}

PostEventsConversationsRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPostEventsConversationsRequestTimeout

func NewPostEventsConversationsRequestTimeout() *PostEventsConversationsRequestTimeout

NewPostEventsConversationsRequestTimeout creates a PostEventsConversationsRequestTimeout with default headers values

func (*PostEventsConversationsRequestTimeout) Error

func (*PostEventsConversationsRequestTimeout) GetPayload

func (*PostEventsConversationsRequestTimeout) IsClientError

func (o *PostEventsConversationsRequestTimeout) IsClientError() bool

IsClientError returns true when this post events conversations request timeout response has a 4xx status code

func (*PostEventsConversationsRequestTimeout) IsCode

IsCode returns true when this post events conversations request timeout response a status code equal to that given

func (*PostEventsConversationsRequestTimeout) IsRedirect

IsRedirect returns true when this post events conversations request timeout response has a 3xx status code

func (*PostEventsConversationsRequestTimeout) IsServerError

func (o *PostEventsConversationsRequestTimeout) IsServerError() bool

IsServerError returns true when this post events conversations request timeout response has a 5xx status code

func (*PostEventsConversationsRequestTimeout) IsSuccess

IsSuccess returns true when this post events conversations request timeout response has a 2xx status code

func (*PostEventsConversationsRequestTimeout) String

type PostEventsConversationsServiceUnavailable

type PostEventsConversationsServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostEventsConversationsServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPostEventsConversationsServiceUnavailable

func NewPostEventsConversationsServiceUnavailable() *PostEventsConversationsServiceUnavailable

NewPostEventsConversationsServiceUnavailable creates a PostEventsConversationsServiceUnavailable with default headers values

func (*PostEventsConversationsServiceUnavailable) Error

func (*PostEventsConversationsServiceUnavailable) GetPayload

func (*PostEventsConversationsServiceUnavailable) IsClientError

IsClientError returns true when this post events conversations service unavailable response has a 4xx status code

func (*PostEventsConversationsServiceUnavailable) IsCode

IsCode returns true when this post events conversations service unavailable response a status code equal to that given

func (*PostEventsConversationsServiceUnavailable) IsRedirect

IsRedirect returns true when this post events conversations service unavailable response has a 3xx status code

func (*PostEventsConversationsServiceUnavailable) IsServerError

IsServerError returns true when this post events conversations service unavailable response has a 5xx status code

func (*PostEventsConversationsServiceUnavailable) IsSuccess

IsSuccess returns true when this post events conversations service unavailable response has a 2xx status code

func (*PostEventsConversationsServiceUnavailable) String

type PostEventsConversationsTooManyRequests

type PostEventsConversationsTooManyRequests struct {
	Payload *models.ErrorBody
}

PostEventsConversationsTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPostEventsConversationsTooManyRequests

func NewPostEventsConversationsTooManyRequests() *PostEventsConversationsTooManyRequests

NewPostEventsConversationsTooManyRequests creates a PostEventsConversationsTooManyRequests with default headers values

func (*PostEventsConversationsTooManyRequests) Error

func (*PostEventsConversationsTooManyRequests) GetPayload

func (*PostEventsConversationsTooManyRequests) IsClientError

func (o *PostEventsConversationsTooManyRequests) IsClientError() bool

IsClientError returns true when this post events conversations too many requests response has a 4xx status code

func (*PostEventsConversationsTooManyRequests) IsCode

IsCode returns true when this post events conversations too many requests response a status code equal to that given

func (*PostEventsConversationsTooManyRequests) IsRedirect

IsRedirect returns true when this post events conversations too many requests response has a 3xx status code

func (*PostEventsConversationsTooManyRequests) IsServerError

func (o *PostEventsConversationsTooManyRequests) IsServerError() bool

IsServerError returns true when this post events conversations too many requests response has a 5xx status code

func (*PostEventsConversationsTooManyRequests) IsSuccess

IsSuccess returns true when this post events conversations too many requests response has a 2xx status code

func (*PostEventsConversationsTooManyRequests) String

type PostEventsConversationsUnauthorized

type PostEventsConversationsUnauthorized struct {
	Payload *models.ErrorBody
}

PostEventsConversationsUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPostEventsConversationsUnauthorized

func NewPostEventsConversationsUnauthorized() *PostEventsConversationsUnauthorized

NewPostEventsConversationsUnauthorized creates a PostEventsConversationsUnauthorized with default headers values

func (*PostEventsConversationsUnauthorized) Error

func (*PostEventsConversationsUnauthorized) GetPayload

func (*PostEventsConversationsUnauthorized) IsClientError

func (o *PostEventsConversationsUnauthorized) IsClientError() bool

IsClientError returns true when this post events conversations unauthorized response has a 4xx status code

func (*PostEventsConversationsUnauthorized) IsCode

IsCode returns true when this post events conversations unauthorized response a status code equal to that given

func (*PostEventsConversationsUnauthorized) IsRedirect

func (o *PostEventsConversationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this post events conversations unauthorized response has a 3xx status code

func (*PostEventsConversationsUnauthorized) IsServerError

func (o *PostEventsConversationsUnauthorized) IsServerError() bool

IsServerError returns true when this post events conversations unauthorized response has a 5xx status code

func (*PostEventsConversationsUnauthorized) IsSuccess

IsSuccess returns true when this post events conversations unauthorized response has a 2xx status code

func (*PostEventsConversationsUnauthorized) String

type PostEventsConversationsUnsupportedMediaType

type PostEventsConversationsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostEventsConversationsUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPostEventsConversationsUnsupportedMediaType

func NewPostEventsConversationsUnsupportedMediaType() *PostEventsConversationsUnsupportedMediaType

NewPostEventsConversationsUnsupportedMediaType creates a PostEventsConversationsUnsupportedMediaType with default headers values

func (*PostEventsConversationsUnsupportedMediaType) Error

func (*PostEventsConversationsUnsupportedMediaType) GetPayload

func (*PostEventsConversationsUnsupportedMediaType) IsClientError

IsClientError returns true when this post events conversations unsupported media type response has a 4xx status code

func (*PostEventsConversationsUnsupportedMediaType) IsCode

IsCode returns true when this post events conversations unsupported media type response a status code equal to that given

func (*PostEventsConversationsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this post events conversations unsupported media type response has a 3xx status code

func (*PostEventsConversationsUnsupportedMediaType) IsServerError

IsServerError returns true when this post events conversations unsupported media type response has a 5xx status code

func (*PostEventsConversationsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this post events conversations unsupported media type response has a 2xx status code

func (*PostEventsConversationsUnsupportedMediaType) String

type PostEventsUsersPresenceBadRequest

type PostEventsUsersPresenceBadRequest struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPostEventsUsersPresenceBadRequest

func NewPostEventsUsersPresenceBadRequest() *PostEventsUsersPresenceBadRequest

NewPostEventsUsersPresenceBadRequest creates a PostEventsUsersPresenceBadRequest with default headers values

func (*PostEventsUsersPresenceBadRequest) Error

func (*PostEventsUsersPresenceBadRequest) GetPayload

func (*PostEventsUsersPresenceBadRequest) IsClientError

func (o *PostEventsUsersPresenceBadRequest) IsClientError() bool

IsClientError returns true when this post events users presence bad request response has a 4xx status code

func (*PostEventsUsersPresenceBadRequest) IsCode

func (o *PostEventsUsersPresenceBadRequest) IsCode(code int) bool

IsCode returns true when this post events users presence bad request response a status code equal to that given

func (*PostEventsUsersPresenceBadRequest) IsRedirect

func (o *PostEventsUsersPresenceBadRequest) IsRedirect() bool

IsRedirect returns true when this post events users presence bad request response has a 3xx status code

func (*PostEventsUsersPresenceBadRequest) IsServerError

func (o *PostEventsUsersPresenceBadRequest) IsServerError() bool

IsServerError returns true when this post events users presence bad request response has a 5xx status code

func (*PostEventsUsersPresenceBadRequest) IsSuccess

func (o *PostEventsUsersPresenceBadRequest) IsSuccess() bool

IsSuccess returns true when this post events users presence bad request response has a 2xx status code

func (*PostEventsUsersPresenceBadRequest) String

type PostEventsUsersPresenceForbidden

type PostEventsUsersPresenceForbidden struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPostEventsUsersPresenceForbidden

func NewPostEventsUsersPresenceForbidden() *PostEventsUsersPresenceForbidden

NewPostEventsUsersPresenceForbidden creates a PostEventsUsersPresenceForbidden with default headers values

func (*PostEventsUsersPresenceForbidden) Error

func (*PostEventsUsersPresenceForbidden) GetPayload

func (*PostEventsUsersPresenceForbidden) IsClientError

func (o *PostEventsUsersPresenceForbidden) IsClientError() bool

IsClientError returns true when this post events users presence forbidden response has a 4xx status code

func (*PostEventsUsersPresenceForbidden) IsCode

func (o *PostEventsUsersPresenceForbidden) IsCode(code int) bool

IsCode returns true when this post events users presence forbidden response a status code equal to that given

func (*PostEventsUsersPresenceForbidden) IsRedirect

func (o *PostEventsUsersPresenceForbidden) IsRedirect() bool

IsRedirect returns true when this post events users presence forbidden response has a 3xx status code

func (*PostEventsUsersPresenceForbidden) IsServerError

func (o *PostEventsUsersPresenceForbidden) IsServerError() bool

IsServerError returns true when this post events users presence forbidden response has a 5xx status code

func (*PostEventsUsersPresenceForbidden) IsSuccess

func (o *PostEventsUsersPresenceForbidden) IsSuccess() bool

IsSuccess returns true when this post events users presence forbidden response has a 2xx status code

func (*PostEventsUsersPresenceForbidden) String

type PostEventsUsersPresenceGatewayTimeout

type PostEventsUsersPresenceGatewayTimeout struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPostEventsUsersPresenceGatewayTimeout

func NewPostEventsUsersPresenceGatewayTimeout() *PostEventsUsersPresenceGatewayTimeout

NewPostEventsUsersPresenceGatewayTimeout creates a PostEventsUsersPresenceGatewayTimeout with default headers values

func (*PostEventsUsersPresenceGatewayTimeout) Error

func (*PostEventsUsersPresenceGatewayTimeout) GetPayload

func (*PostEventsUsersPresenceGatewayTimeout) IsClientError

func (o *PostEventsUsersPresenceGatewayTimeout) IsClientError() bool

IsClientError returns true when this post events users presence gateway timeout response has a 4xx status code

func (*PostEventsUsersPresenceGatewayTimeout) IsCode

IsCode returns true when this post events users presence gateway timeout response a status code equal to that given

func (*PostEventsUsersPresenceGatewayTimeout) IsRedirect

IsRedirect returns true when this post events users presence gateway timeout response has a 3xx status code

func (*PostEventsUsersPresenceGatewayTimeout) IsServerError

func (o *PostEventsUsersPresenceGatewayTimeout) IsServerError() bool

IsServerError returns true when this post events users presence gateway timeout response has a 5xx status code

func (*PostEventsUsersPresenceGatewayTimeout) IsSuccess

IsSuccess returns true when this post events users presence gateway timeout response has a 2xx status code

func (*PostEventsUsersPresenceGatewayTimeout) String

type PostEventsUsersPresenceInternalServerError

type PostEventsUsersPresenceInternalServerError struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPostEventsUsersPresenceInternalServerError

func NewPostEventsUsersPresenceInternalServerError() *PostEventsUsersPresenceInternalServerError

NewPostEventsUsersPresenceInternalServerError creates a PostEventsUsersPresenceInternalServerError with default headers values

func (*PostEventsUsersPresenceInternalServerError) Error

func (*PostEventsUsersPresenceInternalServerError) GetPayload

func (*PostEventsUsersPresenceInternalServerError) IsClientError

IsClientError returns true when this post events users presence internal server error response has a 4xx status code

func (*PostEventsUsersPresenceInternalServerError) IsCode

IsCode returns true when this post events users presence internal server error response a status code equal to that given

func (*PostEventsUsersPresenceInternalServerError) IsRedirect

IsRedirect returns true when this post events users presence internal server error response has a 3xx status code

func (*PostEventsUsersPresenceInternalServerError) IsServerError

IsServerError returns true when this post events users presence internal server error response has a 5xx status code

func (*PostEventsUsersPresenceInternalServerError) IsSuccess

IsSuccess returns true when this post events users presence internal server error response has a 2xx status code

func (*PostEventsUsersPresenceInternalServerError) String

type PostEventsUsersPresenceNotFound

type PostEventsUsersPresenceNotFound struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPostEventsUsersPresenceNotFound

func NewPostEventsUsersPresenceNotFound() *PostEventsUsersPresenceNotFound

NewPostEventsUsersPresenceNotFound creates a PostEventsUsersPresenceNotFound with default headers values

func (*PostEventsUsersPresenceNotFound) Error

func (*PostEventsUsersPresenceNotFound) GetPayload

func (*PostEventsUsersPresenceNotFound) IsClientError

func (o *PostEventsUsersPresenceNotFound) IsClientError() bool

IsClientError returns true when this post events users presence not found response has a 4xx status code

func (*PostEventsUsersPresenceNotFound) IsCode

func (o *PostEventsUsersPresenceNotFound) IsCode(code int) bool

IsCode returns true when this post events users presence not found response a status code equal to that given

func (*PostEventsUsersPresenceNotFound) IsRedirect

func (o *PostEventsUsersPresenceNotFound) IsRedirect() bool

IsRedirect returns true when this post events users presence not found response has a 3xx status code

func (*PostEventsUsersPresenceNotFound) IsServerError

func (o *PostEventsUsersPresenceNotFound) IsServerError() bool

IsServerError returns true when this post events users presence not found response has a 5xx status code

func (*PostEventsUsersPresenceNotFound) IsSuccess

func (o *PostEventsUsersPresenceNotFound) IsSuccess() bool

IsSuccess returns true when this post events users presence not found response has a 2xx status code

func (*PostEventsUsersPresenceNotFound) String

type PostEventsUsersPresenceOK

type PostEventsUsersPresenceOK struct {
	Payload *models.BatchEventResponse
}

PostEventsUsersPresenceOK describes a response with status code 200, with default header values.

successful operation

func NewPostEventsUsersPresenceOK

func NewPostEventsUsersPresenceOK() *PostEventsUsersPresenceOK

NewPostEventsUsersPresenceOK creates a PostEventsUsersPresenceOK with default headers values

func (*PostEventsUsersPresenceOK) Error

func (o *PostEventsUsersPresenceOK) Error() string

func (*PostEventsUsersPresenceOK) GetPayload

func (*PostEventsUsersPresenceOK) IsClientError

func (o *PostEventsUsersPresenceOK) IsClientError() bool

IsClientError returns true when this post events users presence o k response has a 4xx status code

func (*PostEventsUsersPresenceOK) IsCode

func (o *PostEventsUsersPresenceOK) IsCode(code int) bool

IsCode returns true when this post events users presence o k response a status code equal to that given

func (*PostEventsUsersPresenceOK) IsRedirect

func (o *PostEventsUsersPresenceOK) IsRedirect() bool

IsRedirect returns true when this post events users presence o k response has a 3xx status code

func (*PostEventsUsersPresenceOK) IsServerError

func (o *PostEventsUsersPresenceOK) IsServerError() bool

IsServerError returns true when this post events users presence o k response has a 5xx status code

func (*PostEventsUsersPresenceOK) IsSuccess

func (o *PostEventsUsersPresenceOK) IsSuccess() bool

IsSuccess returns true when this post events users presence o k response has a 2xx status code

func (*PostEventsUsersPresenceOK) String

func (o *PostEventsUsersPresenceOK) String() string

type PostEventsUsersPresenceParams

type PostEventsUsersPresenceParams struct {

	/* Body.

	   batchRequest
	*/
	Body *models.BatchUserPresenceEventRequest

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

PostEventsUsersPresenceParams contains all the parameters to send to the API endpoint

for the post events users presence operation.

Typically these are written to a http.Request.

func NewPostEventsUsersPresenceParams

func NewPostEventsUsersPresenceParams() *PostEventsUsersPresenceParams

NewPostEventsUsersPresenceParams creates a new PostEventsUsersPresenceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostEventsUsersPresenceParamsWithContext

func NewPostEventsUsersPresenceParamsWithContext(ctx context.Context) *PostEventsUsersPresenceParams

NewPostEventsUsersPresenceParamsWithContext creates a new PostEventsUsersPresenceParams object with the ability to set a context for a request.

func NewPostEventsUsersPresenceParamsWithHTTPClient

func NewPostEventsUsersPresenceParamsWithHTTPClient(client *http.Client) *PostEventsUsersPresenceParams

NewPostEventsUsersPresenceParamsWithHTTPClient creates a new PostEventsUsersPresenceParams object with the ability to set a custom HTTPClient for a request.

func NewPostEventsUsersPresenceParamsWithTimeout

func NewPostEventsUsersPresenceParamsWithTimeout(timeout time.Duration) *PostEventsUsersPresenceParams

NewPostEventsUsersPresenceParamsWithTimeout creates a new PostEventsUsersPresenceParams object with the ability to set a timeout on a request.

func (*PostEventsUsersPresenceParams) SetBody

SetBody adds the body to the post events users presence params

func (*PostEventsUsersPresenceParams) SetContext

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

SetContext adds the context to the post events users presence params

func (*PostEventsUsersPresenceParams) SetDefaults

func (o *PostEventsUsersPresenceParams) SetDefaults()

SetDefaults hydrates default values in the post events users presence params (not the query body).

All values with no default are reset to their zero value.

func (*PostEventsUsersPresenceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post events users presence params

func (*PostEventsUsersPresenceParams) SetTimeout

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

SetTimeout adds the timeout to the post events users presence params

func (*PostEventsUsersPresenceParams) WithBody

WithBody adds the body to the post events users presence params

func (*PostEventsUsersPresenceParams) WithContext

WithContext adds the context to the post events users presence params

func (*PostEventsUsersPresenceParams) WithDefaults

WithDefaults hydrates default values in the post events users presence params (not the query body).

All values with no default are reset to their zero value.

func (*PostEventsUsersPresenceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post events users presence params

func (*PostEventsUsersPresenceParams) WithTimeout

WithTimeout adds the timeout to the post events users presence params

func (*PostEventsUsersPresenceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEventsUsersPresenceReader

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

PostEventsUsersPresenceReader is a Reader for the PostEventsUsersPresence structure.

func (*PostEventsUsersPresenceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEventsUsersPresenceRequestEntityTooLarge

type PostEventsUsersPresenceRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPostEventsUsersPresenceRequestEntityTooLarge

func NewPostEventsUsersPresenceRequestEntityTooLarge() *PostEventsUsersPresenceRequestEntityTooLarge

NewPostEventsUsersPresenceRequestEntityTooLarge creates a PostEventsUsersPresenceRequestEntityTooLarge with default headers values

func (*PostEventsUsersPresenceRequestEntityTooLarge) Error

func (*PostEventsUsersPresenceRequestEntityTooLarge) GetPayload

func (*PostEventsUsersPresenceRequestEntityTooLarge) IsClientError

IsClientError returns true when this post events users presence request entity too large response has a 4xx status code

func (*PostEventsUsersPresenceRequestEntityTooLarge) IsCode

IsCode returns true when this post events users presence request entity too large response a status code equal to that given

func (*PostEventsUsersPresenceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this post events users presence request entity too large response has a 3xx status code

func (*PostEventsUsersPresenceRequestEntityTooLarge) IsServerError

IsServerError returns true when this post events users presence request entity too large response has a 5xx status code

func (*PostEventsUsersPresenceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this post events users presence request entity too large response has a 2xx status code

func (*PostEventsUsersPresenceRequestEntityTooLarge) String

type PostEventsUsersPresenceRequestTimeout

type PostEventsUsersPresenceRequestTimeout struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPostEventsUsersPresenceRequestTimeout

func NewPostEventsUsersPresenceRequestTimeout() *PostEventsUsersPresenceRequestTimeout

NewPostEventsUsersPresenceRequestTimeout creates a PostEventsUsersPresenceRequestTimeout with default headers values

func (*PostEventsUsersPresenceRequestTimeout) Error

func (*PostEventsUsersPresenceRequestTimeout) GetPayload

func (*PostEventsUsersPresenceRequestTimeout) IsClientError

func (o *PostEventsUsersPresenceRequestTimeout) IsClientError() bool

IsClientError returns true when this post events users presence request timeout response has a 4xx status code

func (*PostEventsUsersPresenceRequestTimeout) IsCode

IsCode returns true when this post events users presence request timeout response a status code equal to that given

func (*PostEventsUsersPresenceRequestTimeout) IsRedirect

IsRedirect returns true when this post events users presence request timeout response has a 3xx status code

func (*PostEventsUsersPresenceRequestTimeout) IsServerError

func (o *PostEventsUsersPresenceRequestTimeout) IsServerError() bool

IsServerError returns true when this post events users presence request timeout response has a 5xx status code

func (*PostEventsUsersPresenceRequestTimeout) IsSuccess

IsSuccess returns true when this post events users presence request timeout response has a 2xx status code

func (*PostEventsUsersPresenceRequestTimeout) String

type PostEventsUsersPresenceServiceUnavailable

type PostEventsUsersPresenceServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPostEventsUsersPresenceServiceUnavailable

func NewPostEventsUsersPresenceServiceUnavailable() *PostEventsUsersPresenceServiceUnavailable

NewPostEventsUsersPresenceServiceUnavailable creates a PostEventsUsersPresenceServiceUnavailable with default headers values

func (*PostEventsUsersPresenceServiceUnavailable) Error

func (*PostEventsUsersPresenceServiceUnavailable) GetPayload

func (*PostEventsUsersPresenceServiceUnavailable) IsClientError

IsClientError returns true when this post events users presence service unavailable response has a 4xx status code

func (*PostEventsUsersPresenceServiceUnavailable) IsCode

IsCode returns true when this post events users presence service unavailable response a status code equal to that given

func (*PostEventsUsersPresenceServiceUnavailable) IsRedirect

IsRedirect returns true when this post events users presence service unavailable response has a 3xx status code

func (*PostEventsUsersPresenceServiceUnavailable) IsServerError

IsServerError returns true when this post events users presence service unavailable response has a 5xx status code

func (*PostEventsUsersPresenceServiceUnavailable) IsSuccess

IsSuccess returns true when this post events users presence service unavailable response has a 2xx status code

func (*PostEventsUsersPresenceServiceUnavailable) String

type PostEventsUsersPresenceTooManyRequests

type PostEventsUsersPresenceTooManyRequests struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPostEventsUsersPresenceTooManyRequests

func NewPostEventsUsersPresenceTooManyRequests() *PostEventsUsersPresenceTooManyRequests

NewPostEventsUsersPresenceTooManyRequests creates a PostEventsUsersPresenceTooManyRequests with default headers values

func (*PostEventsUsersPresenceTooManyRequests) Error

func (*PostEventsUsersPresenceTooManyRequests) GetPayload

func (*PostEventsUsersPresenceTooManyRequests) IsClientError

func (o *PostEventsUsersPresenceTooManyRequests) IsClientError() bool

IsClientError returns true when this post events users presence too many requests response has a 4xx status code

func (*PostEventsUsersPresenceTooManyRequests) IsCode

IsCode returns true when this post events users presence too many requests response a status code equal to that given

func (*PostEventsUsersPresenceTooManyRequests) IsRedirect

IsRedirect returns true when this post events users presence too many requests response has a 3xx status code

func (*PostEventsUsersPresenceTooManyRequests) IsServerError

func (o *PostEventsUsersPresenceTooManyRequests) IsServerError() bool

IsServerError returns true when this post events users presence too many requests response has a 5xx status code

func (*PostEventsUsersPresenceTooManyRequests) IsSuccess

IsSuccess returns true when this post events users presence too many requests response has a 2xx status code

func (*PostEventsUsersPresenceTooManyRequests) String

type PostEventsUsersPresenceUnauthorized

type PostEventsUsersPresenceUnauthorized struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPostEventsUsersPresenceUnauthorized

func NewPostEventsUsersPresenceUnauthorized() *PostEventsUsersPresenceUnauthorized

NewPostEventsUsersPresenceUnauthorized creates a PostEventsUsersPresenceUnauthorized with default headers values

func (*PostEventsUsersPresenceUnauthorized) Error

func (*PostEventsUsersPresenceUnauthorized) GetPayload

func (*PostEventsUsersPresenceUnauthorized) IsClientError

func (o *PostEventsUsersPresenceUnauthorized) IsClientError() bool

IsClientError returns true when this post events users presence unauthorized response has a 4xx status code

func (*PostEventsUsersPresenceUnauthorized) IsCode

IsCode returns true when this post events users presence unauthorized response a status code equal to that given

func (*PostEventsUsersPresenceUnauthorized) IsRedirect

func (o *PostEventsUsersPresenceUnauthorized) IsRedirect() bool

IsRedirect returns true when this post events users presence unauthorized response has a 3xx status code

func (*PostEventsUsersPresenceUnauthorized) IsServerError

func (o *PostEventsUsersPresenceUnauthorized) IsServerError() bool

IsServerError returns true when this post events users presence unauthorized response has a 5xx status code

func (*PostEventsUsersPresenceUnauthorized) IsSuccess

IsSuccess returns true when this post events users presence unauthorized response has a 2xx status code

func (*PostEventsUsersPresenceUnauthorized) String

type PostEventsUsersPresenceUnsupportedMediaType

type PostEventsUsersPresenceUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostEventsUsersPresenceUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPostEventsUsersPresenceUnsupportedMediaType

func NewPostEventsUsersPresenceUnsupportedMediaType() *PostEventsUsersPresenceUnsupportedMediaType

NewPostEventsUsersPresenceUnsupportedMediaType creates a PostEventsUsersPresenceUnsupportedMediaType with default headers values

func (*PostEventsUsersPresenceUnsupportedMediaType) Error

func (*PostEventsUsersPresenceUnsupportedMediaType) GetPayload

func (*PostEventsUsersPresenceUnsupportedMediaType) IsClientError

IsClientError returns true when this post events users presence unsupported media type response has a 4xx status code

func (*PostEventsUsersPresenceUnsupportedMediaType) IsCode

IsCode returns true when this post events users presence unsupported media type response a status code equal to that given

func (*PostEventsUsersPresenceUnsupportedMediaType) IsRedirect

IsRedirect returns true when this post events users presence unsupported media type response has a 3xx status code

func (*PostEventsUsersPresenceUnsupportedMediaType) IsServerError

IsServerError returns true when this post events users presence unsupported media type response has a 5xx status code

func (*PostEventsUsersPresenceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this post events users presence unsupported media type response has a 2xx status code

func (*PostEventsUsersPresenceUnsupportedMediaType) String

type PostEventsUsersRoutingstatusBadRequest

type PostEventsUsersRoutingstatusBadRequest struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPostEventsUsersRoutingstatusBadRequest

func NewPostEventsUsersRoutingstatusBadRequest() *PostEventsUsersRoutingstatusBadRequest

NewPostEventsUsersRoutingstatusBadRequest creates a PostEventsUsersRoutingstatusBadRequest with default headers values

func (*PostEventsUsersRoutingstatusBadRequest) Error

func (*PostEventsUsersRoutingstatusBadRequest) GetPayload

func (*PostEventsUsersRoutingstatusBadRequest) IsClientError

func (o *PostEventsUsersRoutingstatusBadRequest) IsClientError() bool

IsClientError returns true when this post events users routingstatus bad request response has a 4xx status code

func (*PostEventsUsersRoutingstatusBadRequest) IsCode

IsCode returns true when this post events users routingstatus bad request response a status code equal to that given

func (*PostEventsUsersRoutingstatusBadRequest) IsRedirect

IsRedirect returns true when this post events users routingstatus bad request response has a 3xx status code

func (*PostEventsUsersRoutingstatusBadRequest) IsServerError

func (o *PostEventsUsersRoutingstatusBadRequest) IsServerError() bool

IsServerError returns true when this post events users routingstatus bad request response has a 5xx status code

func (*PostEventsUsersRoutingstatusBadRequest) IsSuccess

IsSuccess returns true when this post events users routingstatus bad request response has a 2xx status code

func (*PostEventsUsersRoutingstatusBadRequest) String

type PostEventsUsersRoutingstatusForbidden

type PostEventsUsersRoutingstatusForbidden struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPostEventsUsersRoutingstatusForbidden

func NewPostEventsUsersRoutingstatusForbidden() *PostEventsUsersRoutingstatusForbidden

NewPostEventsUsersRoutingstatusForbidden creates a PostEventsUsersRoutingstatusForbidden with default headers values

func (*PostEventsUsersRoutingstatusForbidden) Error

func (*PostEventsUsersRoutingstatusForbidden) GetPayload

func (*PostEventsUsersRoutingstatusForbidden) IsClientError

func (o *PostEventsUsersRoutingstatusForbidden) IsClientError() bool

IsClientError returns true when this post events users routingstatus forbidden response has a 4xx status code

func (*PostEventsUsersRoutingstatusForbidden) IsCode

IsCode returns true when this post events users routingstatus forbidden response a status code equal to that given

func (*PostEventsUsersRoutingstatusForbidden) IsRedirect

IsRedirect returns true when this post events users routingstatus forbidden response has a 3xx status code

func (*PostEventsUsersRoutingstatusForbidden) IsServerError

func (o *PostEventsUsersRoutingstatusForbidden) IsServerError() bool

IsServerError returns true when this post events users routingstatus forbidden response has a 5xx status code

func (*PostEventsUsersRoutingstatusForbidden) IsSuccess

IsSuccess returns true when this post events users routingstatus forbidden response has a 2xx status code

func (*PostEventsUsersRoutingstatusForbidden) String

type PostEventsUsersRoutingstatusGatewayTimeout

type PostEventsUsersRoutingstatusGatewayTimeout struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPostEventsUsersRoutingstatusGatewayTimeout

func NewPostEventsUsersRoutingstatusGatewayTimeout() *PostEventsUsersRoutingstatusGatewayTimeout

NewPostEventsUsersRoutingstatusGatewayTimeout creates a PostEventsUsersRoutingstatusGatewayTimeout with default headers values

func (*PostEventsUsersRoutingstatusGatewayTimeout) Error

func (*PostEventsUsersRoutingstatusGatewayTimeout) GetPayload

func (*PostEventsUsersRoutingstatusGatewayTimeout) IsClientError

IsClientError returns true when this post events users routingstatus gateway timeout response has a 4xx status code

func (*PostEventsUsersRoutingstatusGatewayTimeout) IsCode

IsCode returns true when this post events users routingstatus gateway timeout response a status code equal to that given

func (*PostEventsUsersRoutingstatusGatewayTimeout) IsRedirect

IsRedirect returns true when this post events users routingstatus gateway timeout response has a 3xx status code

func (*PostEventsUsersRoutingstatusGatewayTimeout) IsServerError

IsServerError returns true when this post events users routingstatus gateway timeout response has a 5xx status code

func (*PostEventsUsersRoutingstatusGatewayTimeout) IsSuccess

IsSuccess returns true when this post events users routingstatus gateway timeout response has a 2xx status code

func (*PostEventsUsersRoutingstatusGatewayTimeout) String

type PostEventsUsersRoutingstatusInternalServerError

type PostEventsUsersRoutingstatusInternalServerError struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPostEventsUsersRoutingstatusInternalServerError

func NewPostEventsUsersRoutingstatusInternalServerError() *PostEventsUsersRoutingstatusInternalServerError

NewPostEventsUsersRoutingstatusInternalServerError creates a PostEventsUsersRoutingstatusInternalServerError with default headers values

func (*PostEventsUsersRoutingstatusInternalServerError) Error

func (*PostEventsUsersRoutingstatusInternalServerError) GetPayload

func (*PostEventsUsersRoutingstatusInternalServerError) IsClientError

IsClientError returns true when this post events users routingstatus internal server error response has a 4xx status code

func (*PostEventsUsersRoutingstatusInternalServerError) IsCode

IsCode returns true when this post events users routingstatus internal server error response a status code equal to that given

func (*PostEventsUsersRoutingstatusInternalServerError) IsRedirect

IsRedirect returns true when this post events users routingstatus internal server error response has a 3xx status code

func (*PostEventsUsersRoutingstatusInternalServerError) IsServerError

IsServerError returns true when this post events users routingstatus internal server error response has a 5xx status code

func (*PostEventsUsersRoutingstatusInternalServerError) IsSuccess

IsSuccess returns true when this post events users routingstatus internal server error response has a 2xx status code

func (*PostEventsUsersRoutingstatusInternalServerError) String

type PostEventsUsersRoutingstatusNotFound

type PostEventsUsersRoutingstatusNotFound struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPostEventsUsersRoutingstatusNotFound

func NewPostEventsUsersRoutingstatusNotFound() *PostEventsUsersRoutingstatusNotFound

NewPostEventsUsersRoutingstatusNotFound creates a PostEventsUsersRoutingstatusNotFound with default headers values

func (*PostEventsUsersRoutingstatusNotFound) Error

func (*PostEventsUsersRoutingstatusNotFound) GetPayload

func (*PostEventsUsersRoutingstatusNotFound) IsClientError

func (o *PostEventsUsersRoutingstatusNotFound) IsClientError() bool

IsClientError returns true when this post events users routingstatus not found response has a 4xx status code

func (*PostEventsUsersRoutingstatusNotFound) IsCode

IsCode returns true when this post events users routingstatus not found response a status code equal to that given

func (*PostEventsUsersRoutingstatusNotFound) IsRedirect

IsRedirect returns true when this post events users routingstatus not found response has a 3xx status code

func (*PostEventsUsersRoutingstatusNotFound) IsServerError

func (o *PostEventsUsersRoutingstatusNotFound) IsServerError() bool

IsServerError returns true when this post events users routingstatus not found response has a 5xx status code

func (*PostEventsUsersRoutingstatusNotFound) IsSuccess

IsSuccess returns true when this post events users routingstatus not found response has a 2xx status code

func (*PostEventsUsersRoutingstatusNotFound) String

type PostEventsUsersRoutingstatusOK

type PostEventsUsersRoutingstatusOK struct {
	Payload *models.BatchEventResponse
}

PostEventsUsersRoutingstatusOK describes a response with status code 200, with default header values.

successful operation

func NewPostEventsUsersRoutingstatusOK

func NewPostEventsUsersRoutingstatusOK() *PostEventsUsersRoutingstatusOK

NewPostEventsUsersRoutingstatusOK creates a PostEventsUsersRoutingstatusOK with default headers values

func (*PostEventsUsersRoutingstatusOK) Error

func (*PostEventsUsersRoutingstatusOK) GetPayload

func (*PostEventsUsersRoutingstatusOK) IsClientError

func (o *PostEventsUsersRoutingstatusOK) IsClientError() bool

IsClientError returns true when this post events users routingstatus o k response has a 4xx status code

func (*PostEventsUsersRoutingstatusOK) IsCode

func (o *PostEventsUsersRoutingstatusOK) IsCode(code int) bool

IsCode returns true when this post events users routingstatus o k response a status code equal to that given

func (*PostEventsUsersRoutingstatusOK) IsRedirect

func (o *PostEventsUsersRoutingstatusOK) IsRedirect() bool

IsRedirect returns true when this post events users routingstatus o k response has a 3xx status code

func (*PostEventsUsersRoutingstatusOK) IsServerError

func (o *PostEventsUsersRoutingstatusOK) IsServerError() bool

IsServerError returns true when this post events users routingstatus o k response has a 5xx status code

func (*PostEventsUsersRoutingstatusOK) IsSuccess

func (o *PostEventsUsersRoutingstatusOK) IsSuccess() bool

IsSuccess returns true when this post events users routingstatus o k response has a 2xx status code

func (*PostEventsUsersRoutingstatusOK) String

type PostEventsUsersRoutingstatusParams

type PostEventsUsersRoutingstatusParams struct {

	/* Body.

	   batchRequest
	*/
	Body *models.BatchUserRoutingStatusEventRequest

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

PostEventsUsersRoutingstatusParams contains all the parameters to send to the API endpoint

for the post events users routingstatus operation.

Typically these are written to a http.Request.

func NewPostEventsUsersRoutingstatusParams

func NewPostEventsUsersRoutingstatusParams() *PostEventsUsersRoutingstatusParams

NewPostEventsUsersRoutingstatusParams creates a new PostEventsUsersRoutingstatusParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostEventsUsersRoutingstatusParamsWithContext

func NewPostEventsUsersRoutingstatusParamsWithContext(ctx context.Context) *PostEventsUsersRoutingstatusParams

NewPostEventsUsersRoutingstatusParamsWithContext creates a new PostEventsUsersRoutingstatusParams object with the ability to set a context for a request.

func NewPostEventsUsersRoutingstatusParamsWithHTTPClient

func NewPostEventsUsersRoutingstatusParamsWithHTTPClient(client *http.Client) *PostEventsUsersRoutingstatusParams

NewPostEventsUsersRoutingstatusParamsWithHTTPClient creates a new PostEventsUsersRoutingstatusParams object with the ability to set a custom HTTPClient for a request.

func NewPostEventsUsersRoutingstatusParamsWithTimeout

func NewPostEventsUsersRoutingstatusParamsWithTimeout(timeout time.Duration) *PostEventsUsersRoutingstatusParams

NewPostEventsUsersRoutingstatusParamsWithTimeout creates a new PostEventsUsersRoutingstatusParams object with the ability to set a timeout on a request.

func (*PostEventsUsersRoutingstatusParams) SetBody

SetBody adds the body to the post events users routingstatus params

func (*PostEventsUsersRoutingstatusParams) SetContext

SetContext adds the context to the post events users routingstatus params

func (*PostEventsUsersRoutingstatusParams) SetDefaults

func (o *PostEventsUsersRoutingstatusParams) SetDefaults()

SetDefaults hydrates default values in the post events users routingstatus params (not the query body).

All values with no default are reset to their zero value.

func (*PostEventsUsersRoutingstatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post events users routingstatus params

func (*PostEventsUsersRoutingstatusParams) SetTimeout

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

SetTimeout adds the timeout to the post events users routingstatus params

func (*PostEventsUsersRoutingstatusParams) WithBody

WithBody adds the body to the post events users routingstatus params

func (*PostEventsUsersRoutingstatusParams) WithContext

WithContext adds the context to the post events users routingstatus params

func (*PostEventsUsersRoutingstatusParams) WithDefaults

WithDefaults hydrates default values in the post events users routingstatus params (not the query body).

All values with no default are reset to their zero value.

func (*PostEventsUsersRoutingstatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post events users routingstatus params

func (*PostEventsUsersRoutingstatusParams) WithTimeout

WithTimeout adds the timeout to the post events users routingstatus params

func (*PostEventsUsersRoutingstatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEventsUsersRoutingstatusReader

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

PostEventsUsersRoutingstatusReader is a Reader for the PostEventsUsersRoutingstatus structure.

func (*PostEventsUsersRoutingstatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEventsUsersRoutingstatusRequestEntityTooLarge

type PostEventsUsersRoutingstatusRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPostEventsUsersRoutingstatusRequestEntityTooLarge

func NewPostEventsUsersRoutingstatusRequestEntityTooLarge() *PostEventsUsersRoutingstatusRequestEntityTooLarge

NewPostEventsUsersRoutingstatusRequestEntityTooLarge creates a PostEventsUsersRoutingstatusRequestEntityTooLarge with default headers values

func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) Error

func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) GetPayload

func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsClientError

IsClientError returns true when this post events users routingstatus request entity too large response has a 4xx status code

func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsCode

IsCode returns true when this post events users routingstatus request entity too large response a status code equal to that given

func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this post events users routingstatus request entity too large response has a 3xx status code

func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsServerError

IsServerError returns true when this post events users routingstatus request entity too large response has a 5xx status code

func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this post events users routingstatus request entity too large response has a 2xx status code

func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) String

type PostEventsUsersRoutingstatusRequestTimeout

type PostEventsUsersRoutingstatusRequestTimeout struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPostEventsUsersRoutingstatusRequestTimeout

func NewPostEventsUsersRoutingstatusRequestTimeout() *PostEventsUsersRoutingstatusRequestTimeout

NewPostEventsUsersRoutingstatusRequestTimeout creates a PostEventsUsersRoutingstatusRequestTimeout with default headers values

func (*PostEventsUsersRoutingstatusRequestTimeout) Error

func (*PostEventsUsersRoutingstatusRequestTimeout) GetPayload

func (*PostEventsUsersRoutingstatusRequestTimeout) IsClientError

IsClientError returns true when this post events users routingstatus request timeout response has a 4xx status code

func (*PostEventsUsersRoutingstatusRequestTimeout) IsCode

IsCode returns true when this post events users routingstatus request timeout response a status code equal to that given

func (*PostEventsUsersRoutingstatusRequestTimeout) IsRedirect

IsRedirect returns true when this post events users routingstatus request timeout response has a 3xx status code

func (*PostEventsUsersRoutingstatusRequestTimeout) IsServerError

IsServerError returns true when this post events users routingstatus request timeout response has a 5xx status code

func (*PostEventsUsersRoutingstatusRequestTimeout) IsSuccess

IsSuccess returns true when this post events users routingstatus request timeout response has a 2xx status code

func (*PostEventsUsersRoutingstatusRequestTimeout) String

type PostEventsUsersRoutingstatusServiceUnavailable

type PostEventsUsersRoutingstatusServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPostEventsUsersRoutingstatusServiceUnavailable

func NewPostEventsUsersRoutingstatusServiceUnavailable() *PostEventsUsersRoutingstatusServiceUnavailable

NewPostEventsUsersRoutingstatusServiceUnavailable creates a PostEventsUsersRoutingstatusServiceUnavailable with default headers values

func (*PostEventsUsersRoutingstatusServiceUnavailable) Error

func (*PostEventsUsersRoutingstatusServiceUnavailable) GetPayload

func (*PostEventsUsersRoutingstatusServiceUnavailable) IsClientError

IsClientError returns true when this post events users routingstatus service unavailable response has a 4xx status code

func (*PostEventsUsersRoutingstatusServiceUnavailable) IsCode

IsCode returns true when this post events users routingstatus service unavailable response a status code equal to that given

func (*PostEventsUsersRoutingstatusServiceUnavailable) IsRedirect

IsRedirect returns true when this post events users routingstatus service unavailable response has a 3xx status code

func (*PostEventsUsersRoutingstatusServiceUnavailable) IsServerError

IsServerError returns true when this post events users routingstatus service unavailable response has a 5xx status code

func (*PostEventsUsersRoutingstatusServiceUnavailable) IsSuccess

IsSuccess returns true when this post events users routingstatus service unavailable response has a 2xx status code

func (*PostEventsUsersRoutingstatusServiceUnavailable) String

type PostEventsUsersRoutingstatusTooManyRequests

type PostEventsUsersRoutingstatusTooManyRequests struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPostEventsUsersRoutingstatusTooManyRequests

func NewPostEventsUsersRoutingstatusTooManyRequests() *PostEventsUsersRoutingstatusTooManyRequests

NewPostEventsUsersRoutingstatusTooManyRequests creates a PostEventsUsersRoutingstatusTooManyRequests with default headers values

func (*PostEventsUsersRoutingstatusTooManyRequests) Error

func (*PostEventsUsersRoutingstatusTooManyRequests) GetPayload

func (*PostEventsUsersRoutingstatusTooManyRequests) IsClientError

IsClientError returns true when this post events users routingstatus too many requests response has a 4xx status code

func (*PostEventsUsersRoutingstatusTooManyRequests) IsCode

IsCode returns true when this post events users routingstatus too many requests response a status code equal to that given

func (*PostEventsUsersRoutingstatusTooManyRequests) IsRedirect

IsRedirect returns true when this post events users routingstatus too many requests response has a 3xx status code

func (*PostEventsUsersRoutingstatusTooManyRequests) IsServerError

IsServerError returns true when this post events users routingstatus too many requests response has a 5xx status code

func (*PostEventsUsersRoutingstatusTooManyRequests) IsSuccess

IsSuccess returns true when this post events users routingstatus too many requests response has a 2xx status code

func (*PostEventsUsersRoutingstatusTooManyRequests) String

type PostEventsUsersRoutingstatusUnauthorized

type PostEventsUsersRoutingstatusUnauthorized struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPostEventsUsersRoutingstatusUnauthorized

func NewPostEventsUsersRoutingstatusUnauthorized() *PostEventsUsersRoutingstatusUnauthorized

NewPostEventsUsersRoutingstatusUnauthorized creates a PostEventsUsersRoutingstatusUnauthorized with default headers values

func (*PostEventsUsersRoutingstatusUnauthorized) Error

func (*PostEventsUsersRoutingstatusUnauthorized) GetPayload

func (*PostEventsUsersRoutingstatusUnauthorized) IsClientError

IsClientError returns true when this post events users routingstatus unauthorized response has a 4xx status code

func (*PostEventsUsersRoutingstatusUnauthorized) IsCode

IsCode returns true when this post events users routingstatus unauthorized response a status code equal to that given

func (*PostEventsUsersRoutingstatusUnauthorized) IsRedirect

IsRedirect returns true when this post events users routingstatus unauthorized response has a 3xx status code

func (*PostEventsUsersRoutingstatusUnauthorized) IsServerError

IsServerError returns true when this post events users routingstatus unauthorized response has a 5xx status code

func (*PostEventsUsersRoutingstatusUnauthorized) IsSuccess

IsSuccess returns true when this post events users routingstatus unauthorized response has a 2xx status code

func (*PostEventsUsersRoutingstatusUnauthorized) String

type PostEventsUsersRoutingstatusUnsupportedMediaType

type PostEventsUsersRoutingstatusUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostEventsUsersRoutingstatusUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPostEventsUsersRoutingstatusUnsupportedMediaType

func NewPostEventsUsersRoutingstatusUnsupportedMediaType() *PostEventsUsersRoutingstatusUnsupportedMediaType

NewPostEventsUsersRoutingstatusUnsupportedMediaType creates a PostEventsUsersRoutingstatusUnsupportedMediaType with default headers values

func (*PostEventsUsersRoutingstatusUnsupportedMediaType) Error

func (*PostEventsUsersRoutingstatusUnsupportedMediaType) GetPayload

func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsClientError

IsClientError returns true when this post events users routingstatus unsupported media type response has a 4xx status code

func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsCode

IsCode returns true when this post events users routingstatus unsupported media type response a status code equal to that given

func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsRedirect

IsRedirect returns true when this post events users routingstatus unsupported media type response has a 3xx status code

func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsServerError

IsServerError returns true when this post events users routingstatus unsupported media type response has a 5xx status code

func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsSuccess

IsSuccess returns true when this post events users routingstatus unsupported media type response has a 2xx status code

func (*PostEventsUsersRoutingstatusUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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