Documentation
¶
Index ¶
- type API
- type Client
- func (a *Client) PostEventsConversations(ctx context.Context, params *PostEventsConversationsParams) (*PostEventsConversationsOK, error)
- func (a *Client) PostEventsUsersPresence(ctx context.Context, params *PostEventsUsersPresenceParams) (*PostEventsUsersPresenceOK, error)
- func (a *Client) PostEventsUsersRoutingstatus(ctx context.Context, params *PostEventsUsersRoutingstatusParams) (*PostEventsUsersRoutingstatusOK, error)
- type PostEventsConversationsBadRequest
- func (o *PostEventsConversationsBadRequest) Error() string
- func (o *PostEventsConversationsBadRequest) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsBadRequest) IsClientError() bool
- func (o *PostEventsConversationsBadRequest) IsCode(code int) bool
- func (o *PostEventsConversationsBadRequest) IsRedirect() bool
- func (o *PostEventsConversationsBadRequest) IsServerError() bool
- func (o *PostEventsConversationsBadRequest) IsSuccess() bool
- func (o *PostEventsConversationsBadRequest) String() string
- type PostEventsConversationsForbidden
- func (o *PostEventsConversationsForbidden) Error() string
- func (o *PostEventsConversationsForbidden) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsForbidden) IsClientError() bool
- func (o *PostEventsConversationsForbidden) IsCode(code int) bool
- func (o *PostEventsConversationsForbidden) IsRedirect() bool
- func (o *PostEventsConversationsForbidden) IsServerError() bool
- func (o *PostEventsConversationsForbidden) IsSuccess() bool
- func (o *PostEventsConversationsForbidden) String() string
- type PostEventsConversationsGatewayTimeout
- func (o *PostEventsConversationsGatewayTimeout) Error() string
- func (o *PostEventsConversationsGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsGatewayTimeout) IsClientError() bool
- func (o *PostEventsConversationsGatewayTimeout) IsCode(code int) bool
- func (o *PostEventsConversationsGatewayTimeout) IsRedirect() bool
- func (o *PostEventsConversationsGatewayTimeout) IsServerError() bool
- func (o *PostEventsConversationsGatewayTimeout) IsSuccess() bool
- func (o *PostEventsConversationsGatewayTimeout) String() string
- type PostEventsConversationsInternalServerError
- func (o *PostEventsConversationsInternalServerError) Error() string
- func (o *PostEventsConversationsInternalServerError) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsInternalServerError) IsClientError() bool
- func (o *PostEventsConversationsInternalServerError) IsCode(code int) bool
- func (o *PostEventsConversationsInternalServerError) IsRedirect() bool
- func (o *PostEventsConversationsInternalServerError) IsServerError() bool
- func (o *PostEventsConversationsInternalServerError) IsSuccess() bool
- func (o *PostEventsConversationsInternalServerError) String() string
- type PostEventsConversationsNotFound
- func (o *PostEventsConversationsNotFound) Error() string
- func (o *PostEventsConversationsNotFound) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsNotFound) IsClientError() bool
- func (o *PostEventsConversationsNotFound) IsCode(code int) bool
- func (o *PostEventsConversationsNotFound) IsRedirect() bool
- func (o *PostEventsConversationsNotFound) IsServerError() bool
- func (o *PostEventsConversationsNotFound) IsSuccess() bool
- func (o *PostEventsConversationsNotFound) String() string
- type PostEventsConversationsOK
- func (o *PostEventsConversationsOK) Error() string
- func (o *PostEventsConversationsOK) GetPayload() *models.BatchEventResponse
- func (o *PostEventsConversationsOK) IsClientError() bool
- func (o *PostEventsConversationsOK) IsCode(code int) bool
- func (o *PostEventsConversationsOK) IsRedirect() bool
- func (o *PostEventsConversationsOK) IsServerError() bool
- func (o *PostEventsConversationsOK) IsSuccess() bool
- func (o *PostEventsConversationsOK) String() string
- type PostEventsConversationsParams
- func NewPostEventsConversationsParams() *PostEventsConversationsParams
- func NewPostEventsConversationsParamsWithContext(ctx context.Context) *PostEventsConversationsParams
- func NewPostEventsConversationsParamsWithHTTPClient(client *http.Client) *PostEventsConversationsParams
- func NewPostEventsConversationsParamsWithTimeout(timeout time.Duration) *PostEventsConversationsParams
- func (o *PostEventsConversationsParams) SetBody(body *models.BatchConversationEventRequest)
- func (o *PostEventsConversationsParams) SetContext(ctx context.Context)
- func (o *PostEventsConversationsParams) SetDefaults()
- func (o *PostEventsConversationsParams) SetHTTPClient(client *http.Client)
- func (o *PostEventsConversationsParams) SetTimeout(timeout time.Duration)
- func (o *PostEventsConversationsParams) WithBody(body *models.BatchConversationEventRequest) *PostEventsConversationsParams
- func (o *PostEventsConversationsParams) WithContext(ctx context.Context) *PostEventsConversationsParams
- func (o *PostEventsConversationsParams) WithDefaults() *PostEventsConversationsParams
- func (o *PostEventsConversationsParams) WithHTTPClient(client *http.Client) *PostEventsConversationsParams
- func (o *PostEventsConversationsParams) WithTimeout(timeout time.Duration) *PostEventsConversationsParams
- func (o *PostEventsConversationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEventsConversationsReader
- type PostEventsConversationsRequestEntityTooLarge
- func (o *PostEventsConversationsRequestEntityTooLarge) Error() string
- func (o *PostEventsConversationsRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsRequestEntityTooLarge) IsClientError() bool
- func (o *PostEventsConversationsRequestEntityTooLarge) IsCode(code int) bool
- func (o *PostEventsConversationsRequestEntityTooLarge) IsRedirect() bool
- func (o *PostEventsConversationsRequestEntityTooLarge) IsServerError() bool
- func (o *PostEventsConversationsRequestEntityTooLarge) IsSuccess() bool
- func (o *PostEventsConversationsRequestEntityTooLarge) String() string
- type PostEventsConversationsRequestTimeout
- func (o *PostEventsConversationsRequestTimeout) Error() string
- func (o *PostEventsConversationsRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsRequestTimeout) IsClientError() bool
- func (o *PostEventsConversationsRequestTimeout) IsCode(code int) bool
- func (o *PostEventsConversationsRequestTimeout) IsRedirect() bool
- func (o *PostEventsConversationsRequestTimeout) IsServerError() bool
- func (o *PostEventsConversationsRequestTimeout) IsSuccess() bool
- func (o *PostEventsConversationsRequestTimeout) String() string
- type PostEventsConversationsServiceUnavailable
- func (o *PostEventsConversationsServiceUnavailable) Error() string
- func (o *PostEventsConversationsServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsServiceUnavailable) IsClientError() bool
- func (o *PostEventsConversationsServiceUnavailable) IsCode(code int) bool
- func (o *PostEventsConversationsServiceUnavailable) IsRedirect() bool
- func (o *PostEventsConversationsServiceUnavailable) IsServerError() bool
- func (o *PostEventsConversationsServiceUnavailable) IsSuccess() bool
- func (o *PostEventsConversationsServiceUnavailable) String() string
- type PostEventsConversationsTooManyRequests
- func (o *PostEventsConversationsTooManyRequests) Error() string
- func (o *PostEventsConversationsTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsTooManyRequests) IsClientError() bool
- func (o *PostEventsConversationsTooManyRequests) IsCode(code int) bool
- func (o *PostEventsConversationsTooManyRequests) IsRedirect() bool
- func (o *PostEventsConversationsTooManyRequests) IsServerError() bool
- func (o *PostEventsConversationsTooManyRequests) IsSuccess() bool
- func (o *PostEventsConversationsTooManyRequests) String() string
- type PostEventsConversationsUnauthorized
- func (o *PostEventsConversationsUnauthorized) Error() string
- func (o *PostEventsConversationsUnauthorized) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsUnauthorized) IsClientError() bool
- func (o *PostEventsConversationsUnauthorized) IsCode(code int) bool
- func (o *PostEventsConversationsUnauthorized) IsRedirect() bool
- func (o *PostEventsConversationsUnauthorized) IsServerError() bool
- func (o *PostEventsConversationsUnauthorized) IsSuccess() bool
- func (o *PostEventsConversationsUnauthorized) String() string
- type PostEventsConversationsUnsupportedMediaType
- func (o *PostEventsConversationsUnsupportedMediaType) Error() string
- func (o *PostEventsConversationsUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PostEventsConversationsUnsupportedMediaType) IsClientError() bool
- func (o *PostEventsConversationsUnsupportedMediaType) IsCode(code int) bool
- func (o *PostEventsConversationsUnsupportedMediaType) IsRedirect() bool
- func (o *PostEventsConversationsUnsupportedMediaType) IsServerError() bool
- func (o *PostEventsConversationsUnsupportedMediaType) IsSuccess() bool
- func (o *PostEventsConversationsUnsupportedMediaType) String() string
- type PostEventsUsersPresenceBadRequest
- func (o *PostEventsUsersPresenceBadRequest) Error() string
- func (o *PostEventsUsersPresenceBadRequest) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceBadRequest) IsClientError() bool
- func (o *PostEventsUsersPresenceBadRequest) IsCode(code int) bool
- func (o *PostEventsUsersPresenceBadRequest) IsRedirect() bool
- func (o *PostEventsUsersPresenceBadRequest) IsServerError() bool
- func (o *PostEventsUsersPresenceBadRequest) IsSuccess() bool
- func (o *PostEventsUsersPresenceBadRequest) String() string
- type PostEventsUsersPresenceForbidden
- func (o *PostEventsUsersPresenceForbidden) Error() string
- func (o *PostEventsUsersPresenceForbidden) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceForbidden) IsClientError() bool
- func (o *PostEventsUsersPresenceForbidden) IsCode(code int) bool
- func (o *PostEventsUsersPresenceForbidden) IsRedirect() bool
- func (o *PostEventsUsersPresenceForbidden) IsServerError() bool
- func (o *PostEventsUsersPresenceForbidden) IsSuccess() bool
- func (o *PostEventsUsersPresenceForbidden) String() string
- type PostEventsUsersPresenceGatewayTimeout
- func (o *PostEventsUsersPresenceGatewayTimeout) Error() string
- func (o *PostEventsUsersPresenceGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceGatewayTimeout) IsClientError() bool
- func (o *PostEventsUsersPresenceGatewayTimeout) IsCode(code int) bool
- func (o *PostEventsUsersPresenceGatewayTimeout) IsRedirect() bool
- func (o *PostEventsUsersPresenceGatewayTimeout) IsServerError() bool
- func (o *PostEventsUsersPresenceGatewayTimeout) IsSuccess() bool
- func (o *PostEventsUsersPresenceGatewayTimeout) String() string
- type PostEventsUsersPresenceInternalServerError
- func (o *PostEventsUsersPresenceInternalServerError) Error() string
- func (o *PostEventsUsersPresenceInternalServerError) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceInternalServerError) IsClientError() bool
- func (o *PostEventsUsersPresenceInternalServerError) IsCode(code int) bool
- func (o *PostEventsUsersPresenceInternalServerError) IsRedirect() bool
- func (o *PostEventsUsersPresenceInternalServerError) IsServerError() bool
- func (o *PostEventsUsersPresenceInternalServerError) IsSuccess() bool
- func (o *PostEventsUsersPresenceInternalServerError) String() string
- type PostEventsUsersPresenceNotFound
- func (o *PostEventsUsersPresenceNotFound) Error() string
- func (o *PostEventsUsersPresenceNotFound) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceNotFound) IsClientError() bool
- func (o *PostEventsUsersPresenceNotFound) IsCode(code int) bool
- func (o *PostEventsUsersPresenceNotFound) IsRedirect() bool
- func (o *PostEventsUsersPresenceNotFound) IsServerError() bool
- func (o *PostEventsUsersPresenceNotFound) IsSuccess() bool
- func (o *PostEventsUsersPresenceNotFound) String() string
- type PostEventsUsersPresenceOK
- func (o *PostEventsUsersPresenceOK) Error() string
- func (o *PostEventsUsersPresenceOK) GetPayload() *models.BatchEventResponse
- func (o *PostEventsUsersPresenceOK) IsClientError() bool
- func (o *PostEventsUsersPresenceOK) IsCode(code int) bool
- func (o *PostEventsUsersPresenceOK) IsRedirect() bool
- func (o *PostEventsUsersPresenceOK) IsServerError() bool
- func (o *PostEventsUsersPresenceOK) IsSuccess() bool
- func (o *PostEventsUsersPresenceOK) String() string
- type PostEventsUsersPresenceParams
- func NewPostEventsUsersPresenceParams() *PostEventsUsersPresenceParams
- func NewPostEventsUsersPresenceParamsWithContext(ctx context.Context) *PostEventsUsersPresenceParams
- func NewPostEventsUsersPresenceParamsWithHTTPClient(client *http.Client) *PostEventsUsersPresenceParams
- func NewPostEventsUsersPresenceParamsWithTimeout(timeout time.Duration) *PostEventsUsersPresenceParams
- func (o *PostEventsUsersPresenceParams) SetBody(body *models.BatchUserPresenceEventRequest)
- func (o *PostEventsUsersPresenceParams) SetContext(ctx context.Context)
- func (o *PostEventsUsersPresenceParams) SetDefaults()
- func (o *PostEventsUsersPresenceParams) SetHTTPClient(client *http.Client)
- func (o *PostEventsUsersPresenceParams) SetTimeout(timeout time.Duration)
- func (o *PostEventsUsersPresenceParams) WithBody(body *models.BatchUserPresenceEventRequest) *PostEventsUsersPresenceParams
- func (o *PostEventsUsersPresenceParams) WithContext(ctx context.Context) *PostEventsUsersPresenceParams
- func (o *PostEventsUsersPresenceParams) WithDefaults() *PostEventsUsersPresenceParams
- func (o *PostEventsUsersPresenceParams) WithHTTPClient(client *http.Client) *PostEventsUsersPresenceParams
- func (o *PostEventsUsersPresenceParams) WithTimeout(timeout time.Duration) *PostEventsUsersPresenceParams
- func (o *PostEventsUsersPresenceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEventsUsersPresenceReader
- type PostEventsUsersPresenceRequestEntityTooLarge
- func (o *PostEventsUsersPresenceRequestEntityTooLarge) Error() string
- func (o *PostEventsUsersPresenceRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsClientError() bool
- func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsCode(code int) bool
- func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsRedirect() bool
- func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsServerError() bool
- func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsSuccess() bool
- func (o *PostEventsUsersPresenceRequestEntityTooLarge) String() string
- type PostEventsUsersPresenceRequestTimeout
- func (o *PostEventsUsersPresenceRequestTimeout) Error() string
- func (o *PostEventsUsersPresenceRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceRequestTimeout) IsClientError() bool
- func (o *PostEventsUsersPresenceRequestTimeout) IsCode(code int) bool
- func (o *PostEventsUsersPresenceRequestTimeout) IsRedirect() bool
- func (o *PostEventsUsersPresenceRequestTimeout) IsServerError() bool
- func (o *PostEventsUsersPresenceRequestTimeout) IsSuccess() bool
- func (o *PostEventsUsersPresenceRequestTimeout) String() string
- type PostEventsUsersPresenceServiceUnavailable
- func (o *PostEventsUsersPresenceServiceUnavailable) Error() string
- func (o *PostEventsUsersPresenceServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceServiceUnavailable) IsClientError() bool
- func (o *PostEventsUsersPresenceServiceUnavailable) IsCode(code int) bool
- func (o *PostEventsUsersPresenceServiceUnavailable) IsRedirect() bool
- func (o *PostEventsUsersPresenceServiceUnavailable) IsServerError() bool
- func (o *PostEventsUsersPresenceServiceUnavailable) IsSuccess() bool
- func (o *PostEventsUsersPresenceServiceUnavailable) String() string
- type PostEventsUsersPresenceTooManyRequests
- func (o *PostEventsUsersPresenceTooManyRequests) Error() string
- func (o *PostEventsUsersPresenceTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceTooManyRequests) IsClientError() bool
- func (o *PostEventsUsersPresenceTooManyRequests) IsCode(code int) bool
- func (o *PostEventsUsersPresenceTooManyRequests) IsRedirect() bool
- func (o *PostEventsUsersPresenceTooManyRequests) IsServerError() bool
- func (o *PostEventsUsersPresenceTooManyRequests) IsSuccess() bool
- func (o *PostEventsUsersPresenceTooManyRequests) String() string
- type PostEventsUsersPresenceUnauthorized
- func (o *PostEventsUsersPresenceUnauthorized) Error() string
- func (o *PostEventsUsersPresenceUnauthorized) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceUnauthorized) IsClientError() bool
- func (o *PostEventsUsersPresenceUnauthorized) IsCode(code int) bool
- func (o *PostEventsUsersPresenceUnauthorized) IsRedirect() bool
- func (o *PostEventsUsersPresenceUnauthorized) IsServerError() bool
- func (o *PostEventsUsersPresenceUnauthorized) IsSuccess() bool
- func (o *PostEventsUsersPresenceUnauthorized) String() string
- type PostEventsUsersPresenceUnsupportedMediaType
- func (o *PostEventsUsersPresenceUnsupportedMediaType) Error() string
- func (o *PostEventsUsersPresenceUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersPresenceUnsupportedMediaType) IsClientError() bool
- func (o *PostEventsUsersPresenceUnsupportedMediaType) IsCode(code int) bool
- func (o *PostEventsUsersPresenceUnsupportedMediaType) IsRedirect() bool
- func (o *PostEventsUsersPresenceUnsupportedMediaType) IsServerError() bool
- func (o *PostEventsUsersPresenceUnsupportedMediaType) IsSuccess() bool
- func (o *PostEventsUsersPresenceUnsupportedMediaType) String() string
- type PostEventsUsersRoutingstatusBadRequest
- func (o *PostEventsUsersRoutingstatusBadRequest) Error() string
- func (o *PostEventsUsersRoutingstatusBadRequest) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusBadRequest) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusBadRequest) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusBadRequest) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusBadRequest) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusBadRequest) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusBadRequest) String() string
- type PostEventsUsersRoutingstatusForbidden
- func (o *PostEventsUsersRoutingstatusForbidden) Error() string
- func (o *PostEventsUsersRoutingstatusForbidden) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusForbidden) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusForbidden) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusForbidden) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusForbidden) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusForbidden) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusForbidden) String() string
- type PostEventsUsersRoutingstatusGatewayTimeout
- func (o *PostEventsUsersRoutingstatusGatewayTimeout) Error() string
- func (o *PostEventsUsersRoutingstatusGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusGatewayTimeout) String() string
- type PostEventsUsersRoutingstatusInternalServerError
- func (o *PostEventsUsersRoutingstatusInternalServerError) Error() string
- func (o *PostEventsUsersRoutingstatusInternalServerError) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusInternalServerError) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusInternalServerError) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusInternalServerError) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusInternalServerError) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusInternalServerError) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusInternalServerError) String() string
- type PostEventsUsersRoutingstatusNotFound
- func (o *PostEventsUsersRoutingstatusNotFound) Error() string
- func (o *PostEventsUsersRoutingstatusNotFound) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusNotFound) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusNotFound) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusNotFound) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusNotFound) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusNotFound) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusNotFound) String() string
- type PostEventsUsersRoutingstatusOK
- func (o *PostEventsUsersRoutingstatusOK) Error() string
- func (o *PostEventsUsersRoutingstatusOK) GetPayload() *models.BatchEventResponse
- func (o *PostEventsUsersRoutingstatusOK) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusOK) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusOK) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusOK) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusOK) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusOK) String() string
- type PostEventsUsersRoutingstatusParams
- func NewPostEventsUsersRoutingstatusParams() *PostEventsUsersRoutingstatusParams
- func NewPostEventsUsersRoutingstatusParamsWithContext(ctx context.Context) *PostEventsUsersRoutingstatusParams
- func NewPostEventsUsersRoutingstatusParamsWithHTTPClient(client *http.Client) *PostEventsUsersRoutingstatusParams
- func NewPostEventsUsersRoutingstatusParamsWithTimeout(timeout time.Duration) *PostEventsUsersRoutingstatusParams
- func (o *PostEventsUsersRoutingstatusParams) SetBody(body *models.BatchUserRoutingStatusEventRequest)
- func (o *PostEventsUsersRoutingstatusParams) SetContext(ctx context.Context)
- func (o *PostEventsUsersRoutingstatusParams) SetDefaults()
- func (o *PostEventsUsersRoutingstatusParams) SetHTTPClient(client *http.Client)
- func (o *PostEventsUsersRoutingstatusParams) SetTimeout(timeout time.Duration)
- func (o *PostEventsUsersRoutingstatusParams) WithBody(body *models.BatchUserRoutingStatusEventRequest) *PostEventsUsersRoutingstatusParams
- func (o *PostEventsUsersRoutingstatusParams) WithContext(ctx context.Context) *PostEventsUsersRoutingstatusParams
- func (o *PostEventsUsersRoutingstatusParams) WithDefaults() *PostEventsUsersRoutingstatusParams
- func (o *PostEventsUsersRoutingstatusParams) WithHTTPClient(client *http.Client) *PostEventsUsersRoutingstatusParams
- func (o *PostEventsUsersRoutingstatusParams) WithTimeout(timeout time.Duration) *PostEventsUsersRoutingstatusParams
- func (o *PostEventsUsersRoutingstatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEventsUsersRoutingstatusReader
- type PostEventsUsersRoutingstatusRequestEntityTooLarge
- func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) Error() string
- func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) String() string
- type PostEventsUsersRoutingstatusRequestTimeout
- func (o *PostEventsUsersRoutingstatusRequestTimeout) Error() string
- func (o *PostEventsUsersRoutingstatusRequestTimeout) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusRequestTimeout) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusRequestTimeout) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusRequestTimeout) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusRequestTimeout) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusRequestTimeout) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusRequestTimeout) String() string
- type PostEventsUsersRoutingstatusServiceUnavailable
- func (o *PostEventsUsersRoutingstatusServiceUnavailable) Error() string
- func (o *PostEventsUsersRoutingstatusServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusServiceUnavailable) String() string
- type PostEventsUsersRoutingstatusTooManyRequests
- func (o *PostEventsUsersRoutingstatusTooManyRequests) Error() string
- func (o *PostEventsUsersRoutingstatusTooManyRequests) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusTooManyRequests) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusTooManyRequests) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusTooManyRequests) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusTooManyRequests) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusTooManyRequests) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusTooManyRequests) String() string
- type PostEventsUsersRoutingstatusUnauthorized
- func (o *PostEventsUsersRoutingstatusUnauthorized) Error() string
- func (o *PostEventsUsersRoutingstatusUnauthorized) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusUnauthorized) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusUnauthorized) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusUnauthorized) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusUnauthorized) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusUnauthorized) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusUnauthorized) String() string
- type PostEventsUsersRoutingstatusUnsupportedMediaType
- func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) Error() string
- func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsClientError() bool
- func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsCode(code int) bool
- func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsRedirect() bool
- func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsServerError() bool
- func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsSuccess() bool
- func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) String() string
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 ¶
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 (o *PostEventsConversationsBadRequest) Error() string
func (*PostEventsConversationsBadRequest) GetPayload ¶
func (o *PostEventsConversationsBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsConversationsBadRequest) String() string
type PostEventsConversationsForbidden ¶
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 (o *PostEventsConversationsForbidden) Error() string
func (*PostEventsConversationsForbidden) GetPayload ¶
func (o *PostEventsConversationsForbidden) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsConversationsForbidden) String() string
type PostEventsConversationsGatewayTimeout ¶
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 (o *PostEventsConversationsGatewayTimeout) Error() string
func (*PostEventsConversationsGatewayTimeout) GetPayload ¶
func (o *PostEventsConversationsGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsConversationsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this post events conversations gateway timeout response a status code equal to that given
func (*PostEventsConversationsGatewayTimeout) IsRedirect ¶
func (o *PostEventsConversationsGatewayTimeout) IsRedirect() bool
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 ¶
func (o *PostEventsConversationsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this post events conversations gateway timeout response has a 2xx status code
func (*PostEventsConversationsGatewayTimeout) String ¶
func (o *PostEventsConversationsGatewayTimeout) String() string
type PostEventsConversationsInternalServerError ¶
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 (o *PostEventsConversationsInternalServerError) Error() string
func (*PostEventsConversationsInternalServerError) GetPayload ¶
func (o *PostEventsConversationsInternalServerError) GetPayload() *models.ErrorBody
func (*PostEventsConversationsInternalServerError) IsClientError ¶
func (o *PostEventsConversationsInternalServerError) IsClientError() bool
IsClientError returns true when this post events conversations internal server error response has a 4xx status code
func (*PostEventsConversationsInternalServerError) IsCode ¶
func (o *PostEventsConversationsInternalServerError) IsCode(code int) bool
IsCode returns true when this post events conversations internal server error response a status code equal to that given
func (*PostEventsConversationsInternalServerError) IsRedirect ¶
func (o *PostEventsConversationsInternalServerError) IsRedirect() bool
IsRedirect returns true when this post events conversations internal server error response has a 3xx status code
func (*PostEventsConversationsInternalServerError) IsServerError ¶
func (o *PostEventsConversationsInternalServerError) IsServerError() bool
IsServerError returns true when this post events conversations internal server error response has a 5xx status code
func (*PostEventsConversationsInternalServerError) IsSuccess ¶
func (o *PostEventsConversationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this post events conversations internal server error response has a 2xx status code
func (*PostEventsConversationsInternalServerError) String ¶
func (o *PostEventsConversationsInternalServerError) String() string
type PostEventsConversationsNotFound ¶
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 (o *PostEventsConversationsNotFound) Error() string
func (*PostEventsConversationsNotFound) GetPayload ¶
func (o *PostEventsConversationsNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsConversationsNotFound) String() 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 (o *PostEventsConversationsOK) GetPayload() *models.BatchEventResponse
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 ¶
func (o *PostEventsConversationsParams) SetBody(body *models.BatchConversationEventRequest)
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 ¶
func (o *PostEventsConversationsParams) WithBody(body *models.BatchConversationEventRequest) *PostEventsConversationsParams
WithBody adds the body to the post events conversations params
func (*PostEventsConversationsParams) WithContext ¶
func (o *PostEventsConversationsParams) WithContext(ctx context.Context) *PostEventsConversationsParams
WithContext adds the context to the post events conversations params
func (*PostEventsConversationsParams) WithDefaults ¶
func (o *PostEventsConversationsParams) WithDefaults() *PostEventsConversationsParams
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 ¶
func (o *PostEventsConversationsParams) WithHTTPClient(client *http.Client) *PostEventsConversationsParams
WithHTTPClient adds the HTTPClient to the post events conversations params
func (*PostEventsConversationsParams) WithTimeout ¶
func (o *PostEventsConversationsParams) WithTimeout(timeout time.Duration) *PostEventsConversationsParams
WithTimeout adds the timeout to the post events conversations params
func (*PostEventsConversationsParams) WriteToRequest ¶
func (o *PostEventsConversationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PostEventsConversationsRequestEntityTooLarge) Error() string
func (*PostEventsConversationsRequestEntityTooLarge) GetPayload ¶
func (o *PostEventsConversationsRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PostEventsConversationsRequestEntityTooLarge) IsClientError ¶
func (o *PostEventsConversationsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this post events conversations request entity too large response has a 4xx status code
func (*PostEventsConversationsRequestEntityTooLarge) IsCode ¶
func (o *PostEventsConversationsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this post events conversations request entity too large response a status code equal to that given
func (*PostEventsConversationsRequestEntityTooLarge) IsRedirect ¶
func (o *PostEventsConversationsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this post events conversations request entity too large response has a 3xx status code
func (*PostEventsConversationsRequestEntityTooLarge) IsServerError ¶
func (o *PostEventsConversationsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this post events conversations request entity too large response has a 5xx status code
func (*PostEventsConversationsRequestEntityTooLarge) IsSuccess ¶
func (o *PostEventsConversationsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this post events conversations request entity too large response has a 2xx status code
func (*PostEventsConversationsRequestEntityTooLarge) String ¶
func (o *PostEventsConversationsRequestEntityTooLarge) String() string
type PostEventsConversationsRequestTimeout ¶
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 (o *PostEventsConversationsRequestTimeout) Error() string
func (*PostEventsConversationsRequestTimeout) GetPayload ¶
func (o *PostEventsConversationsRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsConversationsRequestTimeout) IsCode(code int) bool
IsCode returns true when this post events conversations request timeout response a status code equal to that given
func (*PostEventsConversationsRequestTimeout) IsRedirect ¶
func (o *PostEventsConversationsRequestTimeout) IsRedirect() bool
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 ¶
func (o *PostEventsConversationsRequestTimeout) IsSuccess() bool
IsSuccess returns true when this post events conversations request timeout response has a 2xx status code
func (*PostEventsConversationsRequestTimeout) String ¶
func (o *PostEventsConversationsRequestTimeout) String() string
type PostEventsConversationsServiceUnavailable ¶
type PostEventsConversationsServiceUnavailable struct {
}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 (o *PostEventsConversationsServiceUnavailable) Error() string
func (*PostEventsConversationsServiceUnavailable) GetPayload ¶
func (o *PostEventsConversationsServiceUnavailable) GetPayload() *models.ErrorBody
func (*PostEventsConversationsServiceUnavailable) IsClientError ¶
func (o *PostEventsConversationsServiceUnavailable) IsClientError() bool
IsClientError returns true when this post events conversations service unavailable response has a 4xx status code
func (*PostEventsConversationsServiceUnavailable) IsCode ¶
func (o *PostEventsConversationsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this post events conversations service unavailable response a status code equal to that given
func (*PostEventsConversationsServiceUnavailable) IsRedirect ¶
func (o *PostEventsConversationsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this post events conversations service unavailable response has a 3xx status code
func (*PostEventsConversationsServiceUnavailable) IsServerError ¶
func (o *PostEventsConversationsServiceUnavailable) IsServerError() bool
IsServerError returns true when this post events conversations service unavailable response has a 5xx status code
func (*PostEventsConversationsServiceUnavailable) IsSuccess ¶
func (o *PostEventsConversationsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this post events conversations service unavailable response has a 2xx status code
func (*PostEventsConversationsServiceUnavailable) String ¶
func (o *PostEventsConversationsServiceUnavailable) String() string
type PostEventsConversationsTooManyRequests ¶
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 (o *PostEventsConversationsTooManyRequests) Error() string
func (*PostEventsConversationsTooManyRequests) GetPayload ¶
func (o *PostEventsConversationsTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsConversationsTooManyRequests) IsCode(code int) bool
IsCode returns true when this post events conversations too many requests response a status code equal to that given
func (*PostEventsConversationsTooManyRequests) IsRedirect ¶
func (o *PostEventsConversationsTooManyRequests) IsRedirect() bool
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 ¶
func (o *PostEventsConversationsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this post events conversations too many requests response has a 2xx status code
func (*PostEventsConversationsTooManyRequests) String ¶
func (o *PostEventsConversationsTooManyRequests) String() string
type PostEventsConversationsUnauthorized ¶
type PostEventsConversationsUnauthorized struct {
}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 (o *PostEventsConversationsUnauthorized) Error() string
func (*PostEventsConversationsUnauthorized) GetPayload ¶
func (o *PostEventsConversationsUnauthorized) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsConversationsUnauthorized) IsCode(code int) bool
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 ¶
func (o *PostEventsConversationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this post events conversations unauthorized response has a 2xx status code
func (*PostEventsConversationsUnauthorized) String ¶
func (o *PostEventsConversationsUnauthorized) String() string
type PostEventsConversationsUnsupportedMediaType ¶
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 (o *PostEventsConversationsUnsupportedMediaType) Error() string
func (*PostEventsConversationsUnsupportedMediaType) GetPayload ¶
func (o *PostEventsConversationsUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*PostEventsConversationsUnsupportedMediaType) IsClientError ¶
func (o *PostEventsConversationsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this post events conversations unsupported media type response has a 4xx status code
func (*PostEventsConversationsUnsupportedMediaType) IsCode ¶
func (o *PostEventsConversationsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this post events conversations unsupported media type response a status code equal to that given
func (*PostEventsConversationsUnsupportedMediaType) IsRedirect ¶
func (o *PostEventsConversationsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this post events conversations unsupported media type response has a 3xx status code
func (*PostEventsConversationsUnsupportedMediaType) IsServerError ¶
func (o *PostEventsConversationsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this post events conversations unsupported media type response has a 5xx status code
func (*PostEventsConversationsUnsupportedMediaType) IsSuccess ¶
func (o *PostEventsConversationsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this post events conversations unsupported media type response has a 2xx status code
func (*PostEventsConversationsUnsupportedMediaType) String ¶
func (o *PostEventsConversationsUnsupportedMediaType) String() string
type PostEventsUsersPresenceBadRequest ¶
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 (o *PostEventsUsersPresenceBadRequest) Error() string
func (*PostEventsUsersPresenceBadRequest) GetPayload ¶
func (o *PostEventsUsersPresenceBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersPresenceBadRequest) String() string
type PostEventsUsersPresenceForbidden ¶
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 (o *PostEventsUsersPresenceForbidden) Error() string
func (*PostEventsUsersPresenceForbidden) GetPayload ¶
func (o *PostEventsUsersPresenceForbidden) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersPresenceForbidden) String() string
type PostEventsUsersPresenceGatewayTimeout ¶
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 (o *PostEventsUsersPresenceGatewayTimeout) Error() string
func (*PostEventsUsersPresenceGatewayTimeout) GetPayload ¶
func (o *PostEventsUsersPresenceGatewayTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersPresenceGatewayTimeout) IsCode(code int) bool
IsCode returns true when this post events users presence gateway timeout response a status code equal to that given
func (*PostEventsUsersPresenceGatewayTimeout) IsRedirect ¶
func (o *PostEventsUsersPresenceGatewayTimeout) IsRedirect() bool
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 ¶
func (o *PostEventsUsersPresenceGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this post events users presence gateway timeout response has a 2xx status code
func (*PostEventsUsersPresenceGatewayTimeout) String ¶
func (o *PostEventsUsersPresenceGatewayTimeout) String() string
type PostEventsUsersPresenceInternalServerError ¶
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 (o *PostEventsUsersPresenceInternalServerError) Error() string
func (*PostEventsUsersPresenceInternalServerError) GetPayload ¶
func (o *PostEventsUsersPresenceInternalServerError) GetPayload() *models.ErrorBody
func (*PostEventsUsersPresenceInternalServerError) IsClientError ¶
func (o *PostEventsUsersPresenceInternalServerError) IsClientError() bool
IsClientError returns true when this post events users presence internal server error response has a 4xx status code
func (*PostEventsUsersPresenceInternalServerError) IsCode ¶
func (o *PostEventsUsersPresenceInternalServerError) IsCode(code int) bool
IsCode returns true when this post events users presence internal server error response a status code equal to that given
func (*PostEventsUsersPresenceInternalServerError) IsRedirect ¶
func (o *PostEventsUsersPresenceInternalServerError) IsRedirect() bool
IsRedirect returns true when this post events users presence internal server error response has a 3xx status code
func (*PostEventsUsersPresenceInternalServerError) IsServerError ¶
func (o *PostEventsUsersPresenceInternalServerError) IsServerError() bool
IsServerError returns true when this post events users presence internal server error response has a 5xx status code
func (*PostEventsUsersPresenceInternalServerError) IsSuccess ¶
func (o *PostEventsUsersPresenceInternalServerError) IsSuccess() bool
IsSuccess returns true when this post events users presence internal server error response has a 2xx status code
func (*PostEventsUsersPresenceInternalServerError) String ¶
func (o *PostEventsUsersPresenceInternalServerError) String() string
type PostEventsUsersPresenceNotFound ¶
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 (o *PostEventsUsersPresenceNotFound) Error() string
func (*PostEventsUsersPresenceNotFound) GetPayload ¶
func (o *PostEventsUsersPresenceNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersPresenceNotFound) String() 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 (o *PostEventsUsersPresenceOK) GetPayload() *models.BatchEventResponse
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 ¶
func (o *PostEventsUsersPresenceParams) SetBody(body *models.BatchUserPresenceEventRequest)
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 ¶
func (o *PostEventsUsersPresenceParams) WithBody(body *models.BatchUserPresenceEventRequest) *PostEventsUsersPresenceParams
WithBody adds the body to the post events users presence params
func (*PostEventsUsersPresenceParams) WithContext ¶
func (o *PostEventsUsersPresenceParams) WithContext(ctx context.Context) *PostEventsUsersPresenceParams
WithContext adds the context to the post events users presence params
func (*PostEventsUsersPresenceParams) WithDefaults ¶
func (o *PostEventsUsersPresenceParams) WithDefaults() *PostEventsUsersPresenceParams
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 ¶
func (o *PostEventsUsersPresenceParams) WithHTTPClient(client *http.Client) *PostEventsUsersPresenceParams
WithHTTPClient adds the HTTPClient to the post events users presence params
func (*PostEventsUsersPresenceParams) WithTimeout ¶
func (o *PostEventsUsersPresenceParams) WithTimeout(timeout time.Duration) *PostEventsUsersPresenceParams
WithTimeout adds the timeout to the post events users presence params
func (*PostEventsUsersPresenceParams) WriteToRequest ¶
func (o *PostEventsUsersPresenceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PostEventsUsersPresenceRequestEntityTooLarge) Error() string
func (*PostEventsUsersPresenceRequestEntityTooLarge) GetPayload ¶
func (o *PostEventsUsersPresenceRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PostEventsUsersPresenceRequestEntityTooLarge) IsClientError ¶
func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this post events users presence request entity too large response has a 4xx status code
func (*PostEventsUsersPresenceRequestEntityTooLarge) IsCode ¶
func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this post events users presence request entity too large response a status code equal to that given
func (*PostEventsUsersPresenceRequestEntityTooLarge) IsRedirect ¶
func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this post events users presence request entity too large response has a 3xx status code
func (*PostEventsUsersPresenceRequestEntityTooLarge) IsServerError ¶
func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this post events users presence request entity too large response has a 5xx status code
func (*PostEventsUsersPresenceRequestEntityTooLarge) IsSuccess ¶
func (o *PostEventsUsersPresenceRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this post events users presence request entity too large response has a 2xx status code
func (*PostEventsUsersPresenceRequestEntityTooLarge) String ¶
func (o *PostEventsUsersPresenceRequestEntityTooLarge) String() string
type PostEventsUsersPresenceRequestTimeout ¶
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 (o *PostEventsUsersPresenceRequestTimeout) Error() string
func (*PostEventsUsersPresenceRequestTimeout) GetPayload ¶
func (o *PostEventsUsersPresenceRequestTimeout) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersPresenceRequestTimeout) IsCode(code int) bool
IsCode returns true when this post events users presence request timeout response a status code equal to that given
func (*PostEventsUsersPresenceRequestTimeout) IsRedirect ¶
func (o *PostEventsUsersPresenceRequestTimeout) IsRedirect() bool
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 ¶
func (o *PostEventsUsersPresenceRequestTimeout) IsSuccess() bool
IsSuccess returns true when this post events users presence request timeout response has a 2xx status code
func (*PostEventsUsersPresenceRequestTimeout) String ¶
func (o *PostEventsUsersPresenceRequestTimeout) String() string
type PostEventsUsersPresenceServiceUnavailable ¶
type PostEventsUsersPresenceServiceUnavailable struct {
}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 (o *PostEventsUsersPresenceServiceUnavailable) Error() string
func (*PostEventsUsersPresenceServiceUnavailable) GetPayload ¶
func (o *PostEventsUsersPresenceServiceUnavailable) GetPayload() *models.ErrorBody
func (*PostEventsUsersPresenceServiceUnavailable) IsClientError ¶
func (o *PostEventsUsersPresenceServiceUnavailable) IsClientError() bool
IsClientError returns true when this post events users presence service unavailable response has a 4xx status code
func (*PostEventsUsersPresenceServiceUnavailable) IsCode ¶
func (o *PostEventsUsersPresenceServiceUnavailable) IsCode(code int) bool
IsCode returns true when this post events users presence service unavailable response a status code equal to that given
func (*PostEventsUsersPresenceServiceUnavailable) IsRedirect ¶
func (o *PostEventsUsersPresenceServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this post events users presence service unavailable response has a 3xx status code
func (*PostEventsUsersPresenceServiceUnavailable) IsServerError ¶
func (o *PostEventsUsersPresenceServiceUnavailable) IsServerError() bool
IsServerError returns true when this post events users presence service unavailable response has a 5xx status code
func (*PostEventsUsersPresenceServiceUnavailable) IsSuccess ¶
func (o *PostEventsUsersPresenceServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this post events users presence service unavailable response has a 2xx status code
func (*PostEventsUsersPresenceServiceUnavailable) String ¶
func (o *PostEventsUsersPresenceServiceUnavailable) String() string
type PostEventsUsersPresenceTooManyRequests ¶
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 (o *PostEventsUsersPresenceTooManyRequests) Error() string
func (*PostEventsUsersPresenceTooManyRequests) GetPayload ¶
func (o *PostEventsUsersPresenceTooManyRequests) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersPresenceTooManyRequests) IsCode(code int) bool
IsCode returns true when this post events users presence too many requests response a status code equal to that given
func (*PostEventsUsersPresenceTooManyRequests) IsRedirect ¶
func (o *PostEventsUsersPresenceTooManyRequests) IsRedirect() bool
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 ¶
func (o *PostEventsUsersPresenceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this post events users presence too many requests response has a 2xx status code
func (*PostEventsUsersPresenceTooManyRequests) String ¶
func (o *PostEventsUsersPresenceTooManyRequests) String() string
type PostEventsUsersPresenceUnauthorized ¶
type PostEventsUsersPresenceUnauthorized struct {
}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 (o *PostEventsUsersPresenceUnauthorized) Error() string
func (*PostEventsUsersPresenceUnauthorized) GetPayload ¶
func (o *PostEventsUsersPresenceUnauthorized) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersPresenceUnauthorized) IsCode(code int) bool
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 ¶
func (o *PostEventsUsersPresenceUnauthorized) IsSuccess() bool
IsSuccess returns true when this post events users presence unauthorized response has a 2xx status code
func (*PostEventsUsersPresenceUnauthorized) String ¶
func (o *PostEventsUsersPresenceUnauthorized) String() string
type PostEventsUsersPresenceUnsupportedMediaType ¶
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 (o *PostEventsUsersPresenceUnsupportedMediaType) Error() string
func (*PostEventsUsersPresenceUnsupportedMediaType) GetPayload ¶
func (o *PostEventsUsersPresenceUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*PostEventsUsersPresenceUnsupportedMediaType) IsClientError ¶
func (o *PostEventsUsersPresenceUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this post events users presence unsupported media type response has a 4xx status code
func (*PostEventsUsersPresenceUnsupportedMediaType) IsCode ¶
func (o *PostEventsUsersPresenceUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this post events users presence unsupported media type response a status code equal to that given
func (*PostEventsUsersPresenceUnsupportedMediaType) IsRedirect ¶
func (o *PostEventsUsersPresenceUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this post events users presence unsupported media type response has a 3xx status code
func (*PostEventsUsersPresenceUnsupportedMediaType) IsServerError ¶
func (o *PostEventsUsersPresenceUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this post events users presence unsupported media type response has a 5xx status code
func (*PostEventsUsersPresenceUnsupportedMediaType) IsSuccess ¶
func (o *PostEventsUsersPresenceUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this post events users presence unsupported media type response has a 2xx status code
func (*PostEventsUsersPresenceUnsupportedMediaType) String ¶
func (o *PostEventsUsersPresenceUnsupportedMediaType) String() string
type PostEventsUsersRoutingstatusBadRequest ¶
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 (o *PostEventsUsersRoutingstatusBadRequest) Error() string
func (*PostEventsUsersRoutingstatusBadRequest) GetPayload ¶
func (o *PostEventsUsersRoutingstatusBadRequest) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersRoutingstatusBadRequest) IsCode(code int) bool
IsCode returns true when this post events users routingstatus bad request response a status code equal to that given
func (*PostEventsUsersRoutingstatusBadRequest) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusBadRequest) IsRedirect() bool
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 ¶
func (o *PostEventsUsersRoutingstatusBadRequest) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus bad request response has a 2xx status code
func (*PostEventsUsersRoutingstatusBadRequest) String ¶
func (o *PostEventsUsersRoutingstatusBadRequest) String() string
type PostEventsUsersRoutingstatusForbidden ¶
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 (o *PostEventsUsersRoutingstatusForbidden) Error() string
func (*PostEventsUsersRoutingstatusForbidden) GetPayload ¶
func (o *PostEventsUsersRoutingstatusForbidden) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersRoutingstatusForbidden) IsCode(code int) bool
IsCode returns true when this post events users routingstatus forbidden response a status code equal to that given
func (*PostEventsUsersRoutingstatusForbidden) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusForbidden) IsRedirect() bool
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 ¶
func (o *PostEventsUsersRoutingstatusForbidden) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus forbidden response has a 2xx status code
func (*PostEventsUsersRoutingstatusForbidden) String ¶
func (o *PostEventsUsersRoutingstatusForbidden) String() string
type PostEventsUsersRoutingstatusGatewayTimeout ¶
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 (o *PostEventsUsersRoutingstatusGatewayTimeout) Error() string
func (*PostEventsUsersRoutingstatusGatewayTimeout) GetPayload ¶
func (o *PostEventsUsersRoutingstatusGatewayTimeout) GetPayload() *models.ErrorBody
func (*PostEventsUsersRoutingstatusGatewayTimeout) IsClientError ¶
func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsClientError() bool
IsClientError returns true when this post events users routingstatus gateway timeout response has a 4xx status code
func (*PostEventsUsersRoutingstatusGatewayTimeout) IsCode ¶
func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsCode(code int) bool
IsCode returns true when this post events users routingstatus gateway timeout response a status code equal to that given
func (*PostEventsUsersRoutingstatusGatewayTimeout) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this post events users routingstatus gateway timeout response has a 3xx status code
func (*PostEventsUsersRoutingstatusGatewayTimeout) IsServerError ¶
func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsServerError() bool
IsServerError returns true when this post events users routingstatus gateway timeout response has a 5xx status code
func (*PostEventsUsersRoutingstatusGatewayTimeout) IsSuccess ¶
func (o *PostEventsUsersRoutingstatusGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus gateway timeout response has a 2xx status code
func (*PostEventsUsersRoutingstatusGatewayTimeout) String ¶
func (o *PostEventsUsersRoutingstatusGatewayTimeout) String() string
type PostEventsUsersRoutingstatusInternalServerError ¶
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 (o *PostEventsUsersRoutingstatusInternalServerError) Error() string
func (*PostEventsUsersRoutingstatusInternalServerError) GetPayload ¶
func (o *PostEventsUsersRoutingstatusInternalServerError) GetPayload() *models.ErrorBody
func (*PostEventsUsersRoutingstatusInternalServerError) IsClientError ¶
func (o *PostEventsUsersRoutingstatusInternalServerError) IsClientError() bool
IsClientError returns true when this post events users routingstatus internal server error response has a 4xx status code
func (*PostEventsUsersRoutingstatusInternalServerError) IsCode ¶
func (o *PostEventsUsersRoutingstatusInternalServerError) IsCode(code int) bool
IsCode returns true when this post events users routingstatus internal server error response a status code equal to that given
func (*PostEventsUsersRoutingstatusInternalServerError) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this post events users routingstatus internal server error response has a 3xx status code
func (*PostEventsUsersRoutingstatusInternalServerError) IsServerError ¶
func (o *PostEventsUsersRoutingstatusInternalServerError) IsServerError() bool
IsServerError returns true when this post events users routingstatus internal server error response has a 5xx status code
func (*PostEventsUsersRoutingstatusInternalServerError) IsSuccess ¶
func (o *PostEventsUsersRoutingstatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus internal server error response has a 2xx status code
func (*PostEventsUsersRoutingstatusInternalServerError) String ¶
func (o *PostEventsUsersRoutingstatusInternalServerError) String() string
type PostEventsUsersRoutingstatusNotFound ¶
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 (o *PostEventsUsersRoutingstatusNotFound) Error() string
func (*PostEventsUsersRoutingstatusNotFound) GetPayload ¶
func (o *PostEventsUsersRoutingstatusNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *PostEventsUsersRoutingstatusNotFound) IsCode(code int) bool
IsCode returns true when this post events users routingstatus not found response a status code equal to that given
func (*PostEventsUsersRoutingstatusNotFound) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusNotFound) IsRedirect() bool
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 ¶
func (o *PostEventsUsersRoutingstatusNotFound) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus not found response has a 2xx status code
func (*PostEventsUsersRoutingstatusNotFound) String ¶
func (o *PostEventsUsersRoutingstatusNotFound) String() 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 (o *PostEventsUsersRoutingstatusOK) Error() string
func (*PostEventsUsersRoutingstatusOK) GetPayload ¶
func (o *PostEventsUsersRoutingstatusOK) GetPayload() *models.BatchEventResponse
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 ¶
func (o *PostEventsUsersRoutingstatusOK) String() 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 ¶
func (o *PostEventsUsersRoutingstatusParams) SetBody(body *models.BatchUserRoutingStatusEventRequest)
SetBody adds the body to the post events users routingstatus params
func (*PostEventsUsersRoutingstatusParams) SetContext ¶
func (o *PostEventsUsersRoutingstatusParams) SetContext(ctx context.Context)
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 ¶
func (o *PostEventsUsersRoutingstatusParams) WithBody(body *models.BatchUserRoutingStatusEventRequest) *PostEventsUsersRoutingstatusParams
WithBody adds the body to the post events users routingstatus params
func (*PostEventsUsersRoutingstatusParams) WithContext ¶
func (o *PostEventsUsersRoutingstatusParams) WithContext(ctx context.Context) *PostEventsUsersRoutingstatusParams
WithContext adds the context to the post events users routingstatus params
func (*PostEventsUsersRoutingstatusParams) WithDefaults ¶
func (o *PostEventsUsersRoutingstatusParams) WithDefaults() *PostEventsUsersRoutingstatusParams
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 ¶
func (o *PostEventsUsersRoutingstatusParams) WithHTTPClient(client *http.Client) *PostEventsUsersRoutingstatusParams
WithHTTPClient adds the HTTPClient to the post events users routingstatus params
func (*PostEventsUsersRoutingstatusParams) WithTimeout ¶
func (o *PostEventsUsersRoutingstatusParams) WithTimeout(timeout time.Duration) *PostEventsUsersRoutingstatusParams
WithTimeout adds the timeout to the post events users routingstatus params
func (*PostEventsUsersRoutingstatusParams) WriteToRequest ¶
func (o *PostEventsUsersRoutingstatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) Error() string
func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) GetPayload ¶
func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsClientError ¶
func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this post events users routingstatus request entity too large response has a 4xx status code
func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsCode ¶
func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this post events users routingstatus request entity too large response a status code equal to that given
func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this post events users routingstatus request entity too large response has a 3xx status code
func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsServerError ¶
func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this post events users routingstatus request entity too large response has a 5xx status code
func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) IsSuccess ¶
func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus request entity too large response has a 2xx status code
func (*PostEventsUsersRoutingstatusRequestEntityTooLarge) String ¶
func (o *PostEventsUsersRoutingstatusRequestEntityTooLarge) String() string
type PostEventsUsersRoutingstatusRequestTimeout ¶
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 (o *PostEventsUsersRoutingstatusRequestTimeout) Error() string
func (*PostEventsUsersRoutingstatusRequestTimeout) GetPayload ¶
func (o *PostEventsUsersRoutingstatusRequestTimeout) GetPayload() *models.ErrorBody
func (*PostEventsUsersRoutingstatusRequestTimeout) IsClientError ¶
func (o *PostEventsUsersRoutingstatusRequestTimeout) IsClientError() bool
IsClientError returns true when this post events users routingstatus request timeout response has a 4xx status code
func (*PostEventsUsersRoutingstatusRequestTimeout) IsCode ¶
func (o *PostEventsUsersRoutingstatusRequestTimeout) IsCode(code int) bool
IsCode returns true when this post events users routingstatus request timeout response a status code equal to that given
func (*PostEventsUsersRoutingstatusRequestTimeout) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusRequestTimeout) IsRedirect() bool
IsRedirect returns true when this post events users routingstatus request timeout response has a 3xx status code
func (*PostEventsUsersRoutingstatusRequestTimeout) IsServerError ¶
func (o *PostEventsUsersRoutingstatusRequestTimeout) IsServerError() bool
IsServerError returns true when this post events users routingstatus request timeout response has a 5xx status code
func (*PostEventsUsersRoutingstatusRequestTimeout) IsSuccess ¶
func (o *PostEventsUsersRoutingstatusRequestTimeout) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus request timeout response has a 2xx status code
func (*PostEventsUsersRoutingstatusRequestTimeout) String ¶
func (o *PostEventsUsersRoutingstatusRequestTimeout) String() string
type PostEventsUsersRoutingstatusServiceUnavailable ¶
type PostEventsUsersRoutingstatusServiceUnavailable struct {
}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 (o *PostEventsUsersRoutingstatusServiceUnavailable) Error() string
func (*PostEventsUsersRoutingstatusServiceUnavailable) GetPayload ¶
func (o *PostEventsUsersRoutingstatusServiceUnavailable) GetPayload() *models.ErrorBody
func (*PostEventsUsersRoutingstatusServiceUnavailable) IsClientError ¶
func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsClientError() bool
IsClientError returns true when this post events users routingstatus service unavailable response has a 4xx status code
func (*PostEventsUsersRoutingstatusServiceUnavailable) IsCode ¶
func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsCode(code int) bool
IsCode returns true when this post events users routingstatus service unavailable response a status code equal to that given
func (*PostEventsUsersRoutingstatusServiceUnavailable) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this post events users routingstatus service unavailable response has a 3xx status code
func (*PostEventsUsersRoutingstatusServiceUnavailable) IsServerError ¶
func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsServerError() bool
IsServerError returns true when this post events users routingstatus service unavailable response has a 5xx status code
func (*PostEventsUsersRoutingstatusServiceUnavailable) IsSuccess ¶
func (o *PostEventsUsersRoutingstatusServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus service unavailable response has a 2xx status code
func (*PostEventsUsersRoutingstatusServiceUnavailable) String ¶
func (o *PostEventsUsersRoutingstatusServiceUnavailable) String() string
type PostEventsUsersRoutingstatusTooManyRequests ¶
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 (o *PostEventsUsersRoutingstatusTooManyRequests) Error() string
func (*PostEventsUsersRoutingstatusTooManyRequests) GetPayload ¶
func (o *PostEventsUsersRoutingstatusTooManyRequests) GetPayload() *models.ErrorBody
func (*PostEventsUsersRoutingstatusTooManyRequests) IsClientError ¶
func (o *PostEventsUsersRoutingstatusTooManyRequests) IsClientError() bool
IsClientError returns true when this post events users routingstatus too many requests response has a 4xx status code
func (*PostEventsUsersRoutingstatusTooManyRequests) IsCode ¶
func (o *PostEventsUsersRoutingstatusTooManyRequests) IsCode(code int) bool
IsCode returns true when this post events users routingstatus too many requests response a status code equal to that given
func (*PostEventsUsersRoutingstatusTooManyRequests) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusTooManyRequests) IsRedirect() bool
IsRedirect returns true when this post events users routingstatus too many requests response has a 3xx status code
func (*PostEventsUsersRoutingstatusTooManyRequests) IsServerError ¶
func (o *PostEventsUsersRoutingstatusTooManyRequests) IsServerError() bool
IsServerError returns true when this post events users routingstatus too many requests response has a 5xx status code
func (*PostEventsUsersRoutingstatusTooManyRequests) IsSuccess ¶
func (o *PostEventsUsersRoutingstatusTooManyRequests) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus too many requests response has a 2xx status code
func (*PostEventsUsersRoutingstatusTooManyRequests) String ¶
func (o *PostEventsUsersRoutingstatusTooManyRequests) String() string
type PostEventsUsersRoutingstatusUnauthorized ¶
type PostEventsUsersRoutingstatusUnauthorized struct {
}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 (o *PostEventsUsersRoutingstatusUnauthorized) Error() string
func (*PostEventsUsersRoutingstatusUnauthorized) GetPayload ¶
func (o *PostEventsUsersRoutingstatusUnauthorized) GetPayload() *models.ErrorBody
func (*PostEventsUsersRoutingstatusUnauthorized) IsClientError ¶
func (o *PostEventsUsersRoutingstatusUnauthorized) IsClientError() bool
IsClientError returns true when this post events users routingstatus unauthorized response has a 4xx status code
func (*PostEventsUsersRoutingstatusUnauthorized) IsCode ¶
func (o *PostEventsUsersRoutingstatusUnauthorized) IsCode(code int) bool
IsCode returns true when this post events users routingstatus unauthorized response a status code equal to that given
func (*PostEventsUsersRoutingstatusUnauthorized) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this post events users routingstatus unauthorized response has a 3xx status code
func (*PostEventsUsersRoutingstatusUnauthorized) IsServerError ¶
func (o *PostEventsUsersRoutingstatusUnauthorized) IsServerError() bool
IsServerError returns true when this post events users routingstatus unauthorized response has a 5xx status code
func (*PostEventsUsersRoutingstatusUnauthorized) IsSuccess ¶
func (o *PostEventsUsersRoutingstatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus unauthorized response has a 2xx status code
func (*PostEventsUsersRoutingstatusUnauthorized) String ¶
func (o *PostEventsUsersRoutingstatusUnauthorized) String() string
type PostEventsUsersRoutingstatusUnsupportedMediaType ¶
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 (o *PostEventsUsersRoutingstatusUnsupportedMediaType) Error() string
func (*PostEventsUsersRoutingstatusUnsupportedMediaType) GetPayload ¶
func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsClientError ¶
func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this post events users routingstatus unsupported media type response has a 4xx status code
func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsCode ¶
func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this post events users routingstatus unsupported media type response a status code equal to that given
func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsRedirect ¶
func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this post events users routingstatus unsupported media type response has a 3xx status code
func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsServerError ¶
func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this post events users routingstatus unsupported media type response has a 5xx status code
func (*PostEventsUsersRoutingstatusUnsupportedMediaType) IsSuccess ¶
func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this post events users routingstatus unsupported media type response has a 2xx status code
func (*PostEventsUsersRoutingstatusUnsupportedMediaType) String ¶
func (o *PostEventsUsersRoutingstatusUnsupportedMediaType) String() string