presence

package
v0.0.0-...-e2f0fdc Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   DeletePresenceSource deletes a presence source
	*/
	DeletePresenceSource(ctx context.Context, params *DeletePresenceSourceParams) (*DeletePresenceSourceNoContent, error)
	/*
	   DeletePresencedefinition deletes a presence definition
	*/
	DeletePresencedefinition(ctx context.Context, params *DeletePresencedefinitionParams) error
	/*
	   GetPresenceSettings gets the presence settings
	*/
	GetPresenceSettings(ctx context.Context, params *GetPresenceSettingsParams) (*GetPresenceSettingsOK, error)
	/*
	   GetPresenceSource gets a presence source
	*/
	GetPresenceSource(ctx context.Context, params *GetPresenceSourceParams) (*GetPresenceSourceOK, error)
	/*
	   GetPresenceSources gets a list of presence sources
	*/
	GetPresenceSources(ctx context.Context, params *GetPresenceSourcesParams) (*GetPresenceSourcesOK, error)
	/*
	   GetPresenceUserPrimarysource gets a user s primary presence source
	*/
	GetPresenceUserPrimarysource(ctx context.Context, params *GetPresenceUserPrimarysourceParams) (*GetPresenceUserPrimarysourceOK, error)
	/*
	   GetPresencedefinition gets a presence definition
	*/
	GetPresencedefinition(ctx context.Context, params *GetPresencedefinitionParams) (*GetPresencedefinitionOK, error)
	/*
	   GetPresencedefinitions gets an organization s list of presence definitions
	*/
	GetPresencedefinitions(ctx context.Context, params *GetPresencedefinitionsParams) (*GetPresencedefinitionsOK, error)
	/*
	   GetSystempresences gets the list of system presences
	*/
	GetSystempresences(ctx context.Context, params *GetSystempresencesParams) (*GetSystempresencesOK, error)
	/*
	   GetUserPresence gets a user s presence
	   Get a user's presence for the specified source that is not specifically listed.  Used to support custom presence sources. This endpoint does not support registered presence sources.
	*/
	GetUserPresence(ctx context.Context, params *GetUserPresenceParams) (*GetUserPresenceOK, error)
	/*
	   GetUserPresencesPurecloud gets a user s genesys cloud presence
	   Get the default Genesys Cloud user presence source PURECLOUD
	*/
	GetUserPresencesPurecloud(ctx context.Context, params *GetUserPresencesPurecloudParams) (*GetUserPresencesPurecloudOK, error)
	/*
	   PatchUserPresence patches a user s presence
	   Patch a user's presence for the specified source that is not specifically listed. This endpoint does not support registered presence sources. The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the 'source' defined in the path as the user's primary presence source. Option 2: Provide the presenceDefinition value. The 'id' is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
	*/
	PatchUserPresence(ctx context.Context, params *PatchUserPresenceParams) (*PatchUserPresenceOK, error)
	/*
	   PatchUserPresencesPurecloud patches a genesys cloud user s presence
	   The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the PURECLOUD source as the user's primary presence source. Option 2: Provide the presenceDefinition value. The 'id' is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
	*/
	PatchUserPresencesPurecloud(ctx context.Context, params *PatchUserPresencesPurecloudParams) (*PatchUserPresencesPurecloudOK, error)
	/*
	   PostPresenceSources creates a presence source
	*/
	PostPresenceSources(ctx context.Context, params *PostPresenceSourcesParams) (*PostPresenceSourcesOK, error)
	/*
	   PostPresencedefinitions creates a presence definition
	*/
	PostPresencedefinitions(ctx context.Context, params *PostPresencedefinitionsParams) (*PostPresencedefinitionsOK, error)
	/*
	   PutPresenceSettings updates the presence settings
	*/
	PutPresenceSettings(ctx context.Context, params *PutPresenceSettingsParams) (*PutPresenceSettingsOK, error)
	/*
	   PutPresenceSource updates a presence source
	*/
	PutPresenceSource(ctx context.Context, params *PutPresenceSourceParams) (*PutPresenceSourceOK, error)
	/*
	   PutPresenceUserPrimarysource updates a user s primary presence source
	*/
	PutPresenceUserPrimarysource(ctx context.Context, params *PutPresenceUserPrimarysourceParams) (*PutPresenceUserPrimarysourceOK, error)
	/*
	   PutPresencedefinition updates a presence definition
	*/
	PutPresencedefinition(ctx context.Context, params *PutPresencedefinitionParams) (*PutPresencedefinitionOK, error)
	/*
	   PutUsersPresencesBulk updates bulk user presences
	*/
	PutUsersPresencesBulk(ctx context.Context, params *PutUsersPresencesBulkParams) (*PutUsersPresencesBulkOK, error)
}

API is the interface of the presence client

type Client

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

Client for presence API

func New

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

New creates a new presence API client.

func (*Client) DeletePresenceSource

func (a *Client) DeletePresenceSource(ctx context.Context, params *DeletePresenceSourceParams) (*DeletePresenceSourceNoContent, error)

DeletePresenceSource deletes a presence source

func (*Client) DeletePresencedefinition

func (a *Client) DeletePresencedefinition(ctx context.Context, params *DeletePresencedefinitionParams) error

DeletePresencedefinition deletes a presence definition

func (*Client) GetPresenceSettings

func (a *Client) GetPresenceSettings(ctx context.Context, params *GetPresenceSettingsParams) (*GetPresenceSettingsOK, error)

GetPresenceSettings gets the presence settings

func (*Client) GetPresenceSource

func (a *Client) GetPresenceSource(ctx context.Context, params *GetPresenceSourceParams) (*GetPresenceSourceOK, error)

GetPresenceSource gets a presence source

func (*Client) GetPresenceSources

func (a *Client) GetPresenceSources(ctx context.Context, params *GetPresenceSourcesParams) (*GetPresenceSourcesOK, error)

GetPresenceSources gets a list of presence sources

func (*Client) GetPresenceUserPrimarysource

func (a *Client) GetPresenceUserPrimarysource(ctx context.Context, params *GetPresenceUserPrimarysourceParams) (*GetPresenceUserPrimarysourceOK, error)

GetPresenceUserPrimarysource gets a user s primary presence source

func (*Client) GetPresencedefinition

func (a *Client) GetPresencedefinition(ctx context.Context, params *GetPresencedefinitionParams) (*GetPresencedefinitionOK, error)

GetPresencedefinition gets a presence definition

func (*Client) GetPresencedefinitions

func (a *Client) GetPresencedefinitions(ctx context.Context, params *GetPresencedefinitionsParams) (*GetPresencedefinitionsOK, error)

GetPresencedefinitions gets an organization s list of presence definitions

func (*Client) GetSystempresences

func (a *Client) GetSystempresences(ctx context.Context, params *GetSystempresencesParams) (*GetSystempresencesOK, error)

GetSystempresences gets the list of system presences

func (*Client) GetUserPresence

func (a *Client) GetUserPresence(ctx context.Context, params *GetUserPresenceParams) (*GetUserPresenceOK, error)

GetUserPresence gets a user s presence

Get a user's presence for the specified source that is not specifically listed. Used to support custom presence sources. This endpoint does not support registered presence sources.

func (*Client) GetUserPresencesPurecloud

func (a *Client) GetUserPresencesPurecloud(ctx context.Context, params *GetUserPresencesPurecloudParams) (*GetUserPresencesPurecloudOK, error)

GetUserPresencesPurecloud gets a user s genesys cloud presence

Get the default Genesys Cloud user presence source PURECLOUD

func (*Client) PatchUserPresence

func (a *Client) PatchUserPresence(ctx context.Context, params *PatchUserPresenceParams) (*PatchUserPresenceOK, error)

PatchUserPresence patches a user s presence

Patch a user's presence for the specified source that is not specifically listed. This endpoint does not support registered presence sources. The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the 'source' defined in the path as the user's primary presence source. Option 2: Provide the presenceDefinition value. The 'id' is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.

func (*Client) PatchUserPresencesPurecloud

func (a *Client) PatchUserPresencesPurecloud(ctx context.Context, params *PatchUserPresencesPurecloudParams) (*PatchUserPresencesPurecloudOK, error)

PatchUserPresencesPurecloud patches a genesys cloud user s presence

The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the PURECLOUD source as the user's primary presence source. Option 2: Provide the presenceDefinition value. The 'id' is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.

func (*Client) PostPresenceSources

func (a *Client) PostPresenceSources(ctx context.Context, params *PostPresenceSourcesParams) (*PostPresenceSourcesOK, error)

PostPresenceSources creates a presence source

func (*Client) PostPresencedefinitions

func (a *Client) PostPresencedefinitions(ctx context.Context, params *PostPresencedefinitionsParams) (*PostPresencedefinitionsOK, error)

PostPresencedefinitions creates a presence definition

func (*Client) PutPresenceSettings

func (a *Client) PutPresenceSettings(ctx context.Context, params *PutPresenceSettingsParams) (*PutPresenceSettingsOK, error)

PutPresenceSettings updates the presence settings

func (*Client) PutPresenceSource

func (a *Client) PutPresenceSource(ctx context.Context, params *PutPresenceSourceParams) (*PutPresenceSourceOK, error)

PutPresenceSource updates a presence source

func (*Client) PutPresenceUserPrimarysource

func (a *Client) PutPresenceUserPrimarysource(ctx context.Context, params *PutPresenceUserPrimarysourceParams) (*PutPresenceUserPrimarysourceOK, error)

PutPresenceUserPrimarysource updates a user s primary presence source

func (*Client) PutPresencedefinition

func (a *Client) PutPresencedefinition(ctx context.Context, params *PutPresencedefinitionParams) (*PutPresencedefinitionOK, error)

PutPresencedefinition updates a presence definition

func (*Client) PutUsersPresencesBulk

func (a *Client) PutUsersPresencesBulk(ctx context.Context, params *PutUsersPresencesBulkParams) (*PutUsersPresencesBulkOK, error)

PutUsersPresencesBulk updates bulk user presences

type DeletePresenceSourceBadRequest

type DeletePresenceSourceBadRequest struct {
	Payload *models.ErrorBody
}

DeletePresenceSourceBadRequest 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 NewDeletePresenceSourceBadRequest

func NewDeletePresenceSourceBadRequest() *DeletePresenceSourceBadRequest

NewDeletePresenceSourceBadRequest creates a DeletePresenceSourceBadRequest with default headers values

func (*DeletePresenceSourceBadRequest) Error

func (*DeletePresenceSourceBadRequest) GetPayload

func (*DeletePresenceSourceBadRequest) IsClientError

func (o *DeletePresenceSourceBadRequest) IsClientError() bool

IsClientError returns true when this delete presence source bad request response has a 4xx status code

func (*DeletePresenceSourceBadRequest) IsCode

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

IsCode returns true when this delete presence source bad request response a status code equal to that given

func (*DeletePresenceSourceBadRequest) IsRedirect

func (o *DeletePresenceSourceBadRequest) IsRedirect() bool

IsRedirect returns true when this delete presence source bad request response has a 3xx status code

func (*DeletePresenceSourceBadRequest) IsServerError

func (o *DeletePresenceSourceBadRequest) IsServerError() bool

IsServerError returns true when this delete presence source bad request response has a 5xx status code

func (*DeletePresenceSourceBadRequest) IsSuccess

func (o *DeletePresenceSourceBadRequest) IsSuccess() bool

IsSuccess returns true when this delete presence source bad request response has a 2xx status code

func (*DeletePresenceSourceBadRequest) String

type DeletePresenceSourceConflict

type DeletePresenceSourceConflict struct {
	Payload *models.ErrorBody
}

DeletePresenceSourceConflict describes a response with status code 409, with default header values.

Conflict

func NewDeletePresenceSourceConflict

func NewDeletePresenceSourceConflict() *DeletePresenceSourceConflict

NewDeletePresenceSourceConflict creates a DeletePresenceSourceConflict with default headers values

func (*DeletePresenceSourceConflict) Error

func (*DeletePresenceSourceConflict) GetPayload

func (*DeletePresenceSourceConflict) IsClientError

func (o *DeletePresenceSourceConflict) IsClientError() bool

IsClientError returns true when this delete presence source conflict response has a 4xx status code

func (*DeletePresenceSourceConflict) IsCode

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

IsCode returns true when this delete presence source conflict response a status code equal to that given

func (*DeletePresenceSourceConflict) IsRedirect

func (o *DeletePresenceSourceConflict) IsRedirect() bool

IsRedirect returns true when this delete presence source conflict response has a 3xx status code

func (*DeletePresenceSourceConflict) IsServerError

func (o *DeletePresenceSourceConflict) IsServerError() bool

IsServerError returns true when this delete presence source conflict response has a 5xx status code

func (*DeletePresenceSourceConflict) IsSuccess

func (o *DeletePresenceSourceConflict) IsSuccess() bool

IsSuccess returns true when this delete presence source conflict response has a 2xx status code

func (*DeletePresenceSourceConflict) String

type DeletePresenceSourceForbidden

type DeletePresenceSourceForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewDeletePresenceSourceForbidden

func NewDeletePresenceSourceForbidden() *DeletePresenceSourceForbidden

NewDeletePresenceSourceForbidden creates a DeletePresenceSourceForbidden with default headers values

func (*DeletePresenceSourceForbidden) Error

func (*DeletePresenceSourceForbidden) GetPayload

func (*DeletePresenceSourceForbidden) IsClientError

func (o *DeletePresenceSourceForbidden) IsClientError() bool

IsClientError returns true when this delete presence source forbidden response has a 4xx status code

func (*DeletePresenceSourceForbidden) IsCode

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

IsCode returns true when this delete presence source forbidden response a status code equal to that given

func (*DeletePresenceSourceForbidden) IsRedirect

func (o *DeletePresenceSourceForbidden) IsRedirect() bool

IsRedirect returns true when this delete presence source forbidden response has a 3xx status code

func (*DeletePresenceSourceForbidden) IsServerError

func (o *DeletePresenceSourceForbidden) IsServerError() bool

IsServerError returns true when this delete presence source forbidden response has a 5xx status code

func (*DeletePresenceSourceForbidden) IsSuccess

func (o *DeletePresenceSourceForbidden) IsSuccess() bool

IsSuccess returns true when this delete presence source forbidden response has a 2xx status code

func (*DeletePresenceSourceForbidden) String

type DeletePresenceSourceGatewayTimeout

type DeletePresenceSourceGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewDeletePresenceSourceGatewayTimeout

func NewDeletePresenceSourceGatewayTimeout() *DeletePresenceSourceGatewayTimeout

NewDeletePresenceSourceGatewayTimeout creates a DeletePresenceSourceGatewayTimeout with default headers values

func (*DeletePresenceSourceGatewayTimeout) Error

func (*DeletePresenceSourceGatewayTimeout) GetPayload

func (*DeletePresenceSourceGatewayTimeout) IsClientError

func (o *DeletePresenceSourceGatewayTimeout) IsClientError() bool

IsClientError returns true when this delete presence source gateway timeout response has a 4xx status code

func (*DeletePresenceSourceGatewayTimeout) IsCode

IsCode returns true when this delete presence source gateway timeout response a status code equal to that given

func (*DeletePresenceSourceGatewayTimeout) IsRedirect

func (o *DeletePresenceSourceGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this delete presence source gateway timeout response has a 3xx status code

func (*DeletePresenceSourceGatewayTimeout) IsServerError

func (o *DeletePresenceSourceGatewayTimeout) IsServerError() bool

IsServerError returns true when this delete presence source gateway timeout response has a 5xx status code

func (*DeletePresenceSourceGatewayTimeout) IsSuccess

IsSuccess returns true when this delete presence source gateway timeout response has a 2xx status code

func (*DeletePresenceSourceGatewayTimeout) String

type DeletePresenceSourceInternalServerError

type DeletePresenceSourceInternalServerError struct {
	Payload *models.ErrorBody
}

DeletePresenceSourceInternalServerError 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 NewDeletePresenceSourceInternalServerError

func NewDeletePresenceSourceInternalServerError() *DeletePresenceSourceInternalServerError

NewDeletePresenceSourceInternalServerError creates a DeletePresenceSourceInternalServerError with default headers values

func (*DeletePresenceSourceInternalServerError) Error

func (*DeletePresenceSourceInternalServerError) GetPayload

func (*DeletePresenceSourceInternalServerError) IsClientError

func (o *DeletePresenceSourceInternalServerError) IsClientError() bool

IsClientError returns true when this delete presence source internal server error response has a 4xx status code

func (*DeletePresenceSourceInternalServerError) IsCode

IsCode returns true when this delete presence source internal server error response a status code equal to that given

func (*DeletePresenceSourceInternalServerError) IsRedirect

IsRedirect returns true when this delete presence source internal server error response has a 3xx status code

func (*DeletePresenceSourceInternalServerError) IsServerError

func (o *DeletePresenceSourceInternalServerError) IsServerError() bool

IsServerError returns true when this delete presence source internal server error response has a 5xx status code

func (*DeletePresenceSourceInternalServerError) IsSuccess

IsSuccess returns true when this delete presence source internal server error response has a 2xx status code

func (*DeletePresenceSourceInternalServerError) String

type DeletePresenceSourceNoContent

type DeletePresenceSourceNoContent struct {
}

DeletePresenceSourceNoContent describes a response with status code 204, with default header values.

Presence source successfully deactivated.

func NewDeletePresenceSourceNoContent

func NewDeletePresenceSourceNoContent() *DeletePresenceSourceNoContent

NewDeletePresenceSourceNoContent creates a DeletePresenceSourceNoContent with default headers values

func (*DeletePresenceSourceNoContent) Error

func (*DeletePresenceSourceNoContent) IsClientError

func (o *DeletePresenceSourceNoContent) IsClientError() bool

IsClientError returns true when this delete presence source no content response has a 4xx status code

func (*DeletePresenceSourceNoContent) IsCode

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

IsCode returns true when this delete presence source no content response a status code equal to that given

func (*DeletePresenceSourceNoContent) IsRedirect

func (o *DeletePresenceSourceNoContent) IsRedirect() bool

IsRedirect returns true when this delete presence source no content response has a 3xx status code

func (*DeletePresenceSourceNoContent) IsServerError

func (o *DeletePresenceSourceNoContent) IsServerError() bool

IsServerError returns true when this delete presence source no content response has a 5xx status code

func (*DeletePresenceSourceNoContent) IsSuccess

func (o *DeletePresenceSourceNoContent) IsSuccess() bool

IsSuccess returns true when this delete presence source no content response has a 2xx status code

func (*DeletePresenceSourceNoContent) String

type DeletePresenceSourceNotFound

type DeletePresenceSourceNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewDeletePresenceSourceNotFound

func NewDeletePresenceSourceNotFound() *DeletePresenceSourceNotFound

NewDeletePresenceSourceNotFound creates a DeletePresenceSourceNotFound with default headers values

func (*DeletePresenceSourceNotFound) Error

func (*DeletePresenceSourceNotFound) GetPayload

func (*DeletePresenceSourceNotFound) IsClientError

func (o *DeletePresenceSourceNotFound) IsClientError() bool

IsClientError returns true when this delete presence source not found response has a 4xx status code

func (*DeletePresenceSourceNotFound) IsCode

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

IsCode returns true when this delete presence source not found response a status code equal to that given

func (*DeletePresenceSourceNotFound) IsRedirect

func (o *DeletePresenceSourceNotFound) IsRedirect() bool

IsRedirect returns true when this delete presence source not found response has a 3xx status code

func (*DeletePresenceSourceNotFound) IsServerError

func (o *DeletePresenceSourceNotFound) IsServerError() bool

IsServerError returns true when this delete presence source not found response has a 5xx status code

func (*DeletePresenceSourceNotFound) IsSuccess

func (o *DeletePresenceSourceNotFound) IsSuccess() bool

IsSuccess returns true when this delete presence source not found response has a 2xx status code

func (*DeletePresenceSourceNotFound) String

type DeletePresenceSourceParams

type DeletePresenceSourceParams struct {

	/* SourceID.

	   Presence Source ID
	*/
	SourceID string

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

DeletePresenceSourceParams contains all the parameters to send to the API endpoint

for the delete presence source operation.

Typically these are written to a http.Request.

func NewDeletePresenceSourceParams

func NewDeletePresenceSourceParams() *DeletePresenceSourceParams

NewDeletePresenceSourceParams creates a new DeletePresenceSourceParams 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 NewDeletePresenceSourceParamsWithContext

func NewDeletePresenceSourceParamsWithContext(ctx context.Context) *DeletePresenceSourceParams

NewDeletePresenceSourceParamsWithContext creates a new DeletePresenceSourceParams object with the ability to set a context for a request.

func NewDeletePresenceSourceParamsWithHTTPClient

func NewDeletePresenceSourceParamsWithHTTPClient(client *http.Client) *DeletePresenceSourceParams

NewDeletePresenceSourceParamsWithHTTPClient creates a new DeletePresenceSourceParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePresenceSourceParamsWithTimeout

func NewDeletePresenceSourceParamsWithTimeout(timeout time.Duration) *DeletePresenceSourceParams

NewDeletePresenceSourceParamsWithTimeout creates a new DeletePresenceSourceParams object with the ability to set a timeout on a request.

func (*DeletePresenceSourceParams) SetContext

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

SetContext adds the context to the delete presence source params

func (*DeletePresenceSourceParams) SetDefaults

func (o *DeletePresenceSourceParams) SetDefaults()

SetDefaults hydrates default values in the delete presence source params (not the query body).

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

func (*DeletePresenceSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete presence source params

func (*DeletePresenceSourceParams) SetSourceID

func (o *DeletePresenceSourceParams) SetSourceID(sourceID string)

SetSourceID adds the sourceId to the delete presence source params

func (*DeletePresenceSourceParams) SetTimeout

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

SetTimeout adds the timeout to the delete presence source params

func (*DeletePresenceSourceParams) WithContext

WithContext adds the context to the delete presence source params

func (*DeletePresenceSourceParams) WithDefaults

WithDefaults hydrates default values in the delete presence source params (not the query body).

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

func (*DeletePresenceSourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete presence source params

func (*DeletePresenceSourceParams) WithSourceID

WithSourceID adds the sourceID to the delete presence source params

func (*DeletePresenceSourceParams) WithTimeout

WithTimeout adds the timeout to the delete presence source params

func (*DeletePresenceSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePresenceSourceReader

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

DeletePresenceSourceReader is a Reader for the DeletePresenceSource structure.

func (*DeletePresenceSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePresenceSourceRequestEntityTooLarge

type DeletePresenceSourceRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewDeletePresenceSourceRequestEntityTooLarge

func NewDeletePresenceSourceRequestEntityTooLarge() *DeletePresenceSourceRequestEntityTooLarge

NewDeletePresenceSourceRequestEntityTooLarge creates a DeletePresenceSourceRequestEntityTooLarge with default headers values

func (*DeletePresenceSourceRequestEntityTooLarge) Error

func (*DeletePresenceSourceRequestEntityTooLarge) GetPayload

func (*DeletePresenceSourceRequestEntityTooLarge) IsClientError

IsClientError returns true when this delete presence source request entity too large response has a 4xx status code

func (*DeletePresenceSourceRequestEntityTooLarge) IsCode

IsCode returns true when this delete presence source request entity too large response a status code equal to that given

func (*DeletePresenceSourceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this delete presence source request entity too large response has a 3xx status code

func (*DeletePresenceSourceRequestEntityTooLarge) IsServerError

IsServerError returns true when this delete presence source request entity too large response has a 5xx status code

func (*DeletePresenceSourceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this delete presence source request entity too large response has a 2xx status code

func (*DeletePresenceSourceRequestEntityTooLarge) String

type DeletePresenceSourceRequestTimeout

type DeletePresenceSourceRequestTimeout struct {
	Payload *models.ErrorBody
}

DeletePresenceSourceRequestTimeout 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 NewDeletePresenceSourceRequestTimeout

func NewDeletePresenceSourceRequestTimeout() *DeletePresenceSourceRequestTimeout

NewDeletePresenceSourceRequestTimeout creates a DeletePresenceSourceRequestTimeout with default headers values

func (*DeletePresenceSourceRequestTimeout) Error

func (*DeletePresenceSourceRequestTimeout) GetPayload

func (*DeletePresenceSourceRequestTimeout) IsClientError

func (o *DeletePresenceSourceRequestTimeout) IsClientError() bool

IsClientError returns true when this delete presence source request timeout response has a 4xx status code

func (*DeletePresenceSourceRequestTimeout) IsCode

IsCode returns true when this delete presence source request timeout response a status code equal to that given

func (*DeletePresenceSourceRequestTimeout) IsRedirect

func (o *DeletePresenceSourceRequestTimeout) IsRedirect() bool

IsRedirect returns true when this delete presence source request timeout response has a 3xx status code

func (*DeletePresenceSourceRequestTimeout) IsServerError

func (o *DeletePresenceSourceRequestTimeout) IsServerError() bool

IsServerError returns true when this delete presence source request timeout response has a 5xx status code

func (*DeletePresenceSourceRequestTimeout) IsSuccess

IsSuccess returns true when this delete presence source request timeout response has a 2xx status code

func (*DeletePresenceSourceRequestTimeout) String

type DeletePresenceSourceServiceUnavailable

type DeletePresenceSourceServiceUnavailable struct {
	Payload *models.ErrorBody
}

DeletePresenceSourceServiceUnavailable 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 NewDeletePresenceSourceServiceUnavailable

func NewDeletePresenceSourceServiceUnavailable() *DeletePresenceSourceServiceUnavailable

NewDeletePresenceSourceServiceUnavailable creates a DeletePresenceSourceServiceUnavailable with default headers values

func (*DeletePresenceSourceServiceUnavailable) Error

func (*DeletePresenceSourceServiceUnavailable) GetPayload

func (*DeletePresenceSourceServiceUnavailable) IsClientError

func (o *DeletePresenceSourceServiceUnavailable) IsClientError() bool

IsClientError returns true when this delete presence source service unavailable response has a 4xx status code

func (*DeletePresenceSourceServiceUnavailable) IsCode

IsCode returns true when this delete presence source service unavailable response a status code equal to that given

func (*DeletePresenceSourceServiceUnavailable) IsRedirect

IsRedirect returns true when this delete presence source service unavailable response has a 3xx status code

func (*DeletePresenceSourceServiceUnavailable) IsServerError

func (o *DeletePresenceSourceServiceUnavailable) IsServerError() bool

IsServerError returns true when this delete presence source service unavailable response has a 5xx status code

func (*DeletePresenceSourceServiceUnavailable) IsSuccess

IsSuccess returns true when this delete presence source service unavailable response has a 2xx status code

func (*DeletePresenceSourceServiceUnavailable) String

type DeletePresenceSourceTooManyRequests

type DeletePresenceSourceTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewDeletePresenceSourceTooManyRequests

func NewDeletePresenceSourceTooManyRequests() *DeletePresenceSourceTooManyRequests

NewDeletePresenceSourceTooManyRequests creates a DeletePresenceSourceTooManyRequests with default headers values

func (*DeletePresenceSourceTooManyRequests) Error

func (*DeletePresenceSourceTooManyRequests) GetPayload

func (*DeletePresenceSourceTooManyRequests) IsClientError

func (o *DeletePresenceSourceTooManyRequests) IsClientError() bool

IsClientError returns true when this delete presence source too many requests response has a 4xx status code

func (*DeletePresenceSourceTooManyRequests) IsCode

IsCode returns true when this delete presence source too many requests response a status code equal to that given

func (*DeletePresenceSourceTooManyRequests) IsRedirect

func (o *DeletePresenceSourceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete presence source too many requests response has a 3xx status code

func (*DeletePresenceSourceTooManyRequests) IsServerError

func (o *DeletePresenceSourceTooManyRequests) IsServerError() bool

IsServerError returns true when this delete presence source too many requests response has a 5xx status code

func (*DeletePresenceSourceTooManyRequests) IsSuccess

IsSuccess returns true when this delete presence source too many requests response has a 2xx status code

func (*DeletePresenceSourceTooManyRequests) String

type DeletePresenceSourceUnauthorized

type DeletePresenceSourceUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewDeletePresenceSourceUnauthorized

func NewDeletePresenceSourceUnauthorized() *DeletePresenceSourceUnauthorized

NewDeletePresenceSourceUnauthorized creates a DeletePresenceSourceUnauthorized with default headers values

func (*DeletePresenceSourceUnauthorized) Error

func (*DeletePresenceSourceUnauthorized) GetPayload

func (*DeletePresenceSourceUnauthorized) IsClientError

func (o *DeletePresenceSourceUnauthorized) IsClientError() bool

IsClientError returns true when this delete presence source unauthorized response has a 4xx status code

func (*DeletePresenceSourceUnauthorized) IsCode

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

IsCode returns true when this delete presence source unauthorized response a status code equal to that given

func (*DeletePresenceSourceUnauthorized) IsRedirect

func (o *DeletePresenceSourceUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete presence source unauthorized response has a 3xx status code

func (*DeletePresenceSourceUnauthorized) IsServerError

func (o *DeletePresenceSourceUnauthorized) IsServerError() bool

IsServerError returns true when this delete presence source unauthorized response has a 5xx status code

func (*DeletePresenceSourceUnauthorized) IsSuccess

func (o *DeletePresenceSourceUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete presence source unauthorized response has a 2xx status code

func (*DeletePresenceSourceUnauthorized) String

type DeletePresenceSourceUnsupportedMediaType

type DeletePresenceSourceUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

DeletePresenceSourceUnsupportedMediaType 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 NewDeletePresenceSourceUnsupportedMediaType

func NewDeletePresenceSourceUnsupportedMediaType() *DeletePresenceSourceUnsupportedMediaType

NewDeletePresenceSourceUnsupportedMediaType creates a DeletePresenceSourceUnsupportedMediaType with default headers values

func (*DeletePresenceSourceUnsupportedMediaType) Error

func (*DeletePresenceSourceUnsupportedMediaType) GetPayload

func (*DeletePresenceSourceUnsupportedMediaType) IsClientError

IsClientError returns true when this delete presence source unsupported media type response has a 4xx status code

func (*DeletePresenceSourceUnsupportedMediaType) IsCode

IsCode returns true when this delete presence source unsupported media type response a status code equal to that given

func (*DeletePresenceSourceUnsupportedMediaType) IsRedirect

IsRedirect returns true when this delete presence source unsupported media type response has a 3xx status code

func (*DeletePresenceSourceUnsupportedMediaType) IsServerError

IsServerError returns true when this delete presence source unsupported media type response has a 5xx status code

func (*DeletePresenceSourceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this delete presence source unsupported media type response has a 2xx status code

func (*DeletePresenceSourceUnsupportedMediaType) String

type DeletePresencedefinitionBadRequest

type DeletePresencedefinitionBadRequest struct {
	Payload *models.ErrorBody
}

DeletePresencedefinitionBadRequest 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 NewDeletePresencedefinitionBadRequest

func NewDeletePresencedefinitionBadRequest() *DeletePresencedefinitionBadRequest

NewDeletePresencedefinitionBadRequest creates a DeletePresencedefinitionBadRequest with default headers values

func (*DeletePresencedefinitionBadRequest) Error

func (*DeletePresencedefinitionBadRequest) GetPayload

func (*DeletePresencedefinitionBadRequest) IsClientError

func (o *DeletePresencedefinitionBadRequest) IsClientError() bool

IsClientError returns true when this delete presencedefinition bad request response has a 4xx status code

func (*DeletePresencedefinitionBadRequest) IsCode

IsCode returns true when this delete presencedefinition bad request response a status code equal to that given

func (*DeletePresencedefinitionBadRequest) IsRedirect

func (o *DeletePresencedefinitionBadRequest) IsRedirect() bool

IsRedirect returns true when this delete presencedefinition bad request response has a 3xx status code

func (*DeletePresencedefinitionBadRequest) IsServerError

func (o *DeletePresencedefinitionBadRequest) IsServerError() bool

IsServerError returns true when this delete presencedefinition bad request response has a 5xx status code

func (*DeletePresencedefinitionBadRequest) IsSuccess

IsSuccess returns true when this delete presencedefinition bad request response has a 2xx status code

func (*DeletePresencedefinitionBadRequest) String

type DeletePresencedefinitionDefault

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

DeletePresencedefinitionDefault describes a response with status code -1, with default header values.

successful operation

func NewDeletePresencedefinitionDefault

func NewDeletePresencedefinitionDefault(code int) *DeletePresencedefinitionDefault

NewDeletePresencedefinitionDefault creates a DeletePresencedefinitionDefault with default headers values

func (*DeletePresencedefinitionDefault) Code

Code gets the status code for the delete presencedefinition default response

func (*DeletePresencedefinitionDefault) Error

func (*DeletePresencedefinitionDefault) IsClientError

func (o *DeletePresencedefinitionDefault) IsClientError() bool

IsClientError returns true when this delete presencedefinition default response has a 4xx status code

func (*DeletePresencedefinitionDefault) IsCode

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

IsCode returns true when this delete presencedefinition default response a status code equal to that given

func (*DeletePresencedefinitionDefault) IsRedirect

func (o *DeletePresencedefinitionDefault) IsRedirect() bool

IsRedirect returns true when this delete presencedefinition default response has a 3xx status code

func (*DeletePresencedefinitionDefault) IsServerError

func (o *DeletePresencedefinitionDefault) IsServerError() bool

IsServerError returns true when this delete presencedefinition default response has a 5xx status code

func (*DeletePresencedefinitionDefault) IsSuccess

func (o *DeletePresencedefinitionDefault) IsSuccess() bool

IsSuccess returns true when this delete presencedefinition default response has a 2xx status code

func (*DeletePresencedefinitionDefault) String

type DeletePresencedefinitionForbidden

type DeletePresencedefinitionForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewDeletePresencedefinitionForbidden

func NewDeletePresencedefinitionForbidden() *DeletePresencedefinitionForbidden

NewDeletePresencedefinitionForbidden creates a DeletePresencedefinitionForbidden with default headers values

func (*DeletePresencedefinitionForbidden) Error

func (*DeletePresencedefinitionForbidden) GetPayload

func (*DeletePresencedefinitionForbidden) IsClientError

func (o *DeletePresencedefinitionForbidden) IsClientError() bool

IsClientError returns true when this delete presencedefinition forbidden response has a 4xx status code

func (*DeletePresencedefinitionForbidden) IsCode

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

IsCode returns true when this delete presencedefinition forbidden response a status code equal to that given

func (*DeletePresencedefinitionForbidden) IsRedirect

func (o *DeletePresencedefinitionForbidden) IsRedirect() bool

IsRedirect returns true when this delete presencedefinition forbidden response has a 3xx status code

func (*DeletePresencedefinitionForbidden) IsServerError

func (o *DeletePresencedefinitionForbidden) IsServerError() bool

IsServerError returns true when this delete presencedefinition forbidden response has a 5xx status code

func (*DeletePresencedefinitionForbidden) IsSuccess

func (o *DeletePresencedefinitionForbidden) IsSuccess() bool

IsSuccess returns true when this delete presencedefinition forbidden response has a 2xx status code

func (*DeletePresencedefinitionForbidden) String

type DeletePresencedefinitionGatewayTimeout

type DeletePresencedefinitionGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewDeletePresencedefinitionGatewayTimeout

func NewDeletePresencedefinitionGatewayTimeout() *DeletePresencedefinitionGatewayTimeout

NewDeletePresencedefinitionGatewayTimeout creates a DeletePresencedefinitionGatewayTimeout with default headers values

func (*DeletePresencedefinitionGatewayTimeout) Error

func (*DeletePresencedefinitionGatewayTimeout) GetPayload

func (*DeletePresencedefinitionGatewayTimeout) IsClientError

func (o *DeletePresencedefinitionGatewayTimeout) IsClientError() bool

IsClientError returns true when this delete presencedefinition gateway timeout response has a 4xx status code

func (*DeletePresencedefinitionGatewayTimeout) IsCode

IsCode returns true when this delete presencedefinition gateway timeout response a status code equal to that given

func (*DeletePresencedefinitionGatewayTimeout) IsRedirect

IsRedirect returns true when this delete presencedefinition gateway timeout response has a 3xx status code

func (*DeletePresencedefinitionGatewayTimeout) IsServerError

func (o *DeletePresencedefinitionGatewayTimeout) IsServerError() bool

IsServerError returns true when this delete presencedefinition gateway timeout response has a 5xx status code

func (*DeletePresencedefinitionGatewayTimeout) IsSuccess

IsSuccess returns true when this delete presencedefinition gateway timeout response has a 2xx status code

func (*DeletePresencedefinitionGatewayTimeout) String

type DeletePresencedefinitionInternalServerError

type DeletePresencedefinitionInternalServerError struct {
	Payload *models.ErrorBody
}

DeletePresencedefinitionInternalServerError 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 NewDeletePresencedefinitionInternalServerError

func NewDeletePresencedefinitionInternalServerError() *DeletePresencedefinitionInternalServerError

NewDeletePresencedefinitionInternalServerError creates a DeletePresencedefinitionInternalServerError with default headers values

func (*DeletePresencedefinitionInternalServerError) Error

func (*DeletePresencedefinitionInternalServerError) GetPayload

func (*DeletePresencedefinitionInternalServerError) IsClientError

IsClientError returns true when this delete presencedefinition internal server error response has a 4xx status code

func (*DeletePresencedefinitionInternalServerError) IsCode

IsCode returns true when this delete presencedefinition internal server error response a status code equal to that given

func (*DeletePresencedefinitionInternalServerError) IsRedirect

IsRedirect returns true when this delete presencedefinition internal server error response has a 3xx status code

func (*DeletePresencedefinitionInternalServerError) IsServerError

IsServerError returns true when this delete presencedefinition internal server error response has a 5xx status code

func (*DeletePresencedefinitionInternalServerError) IsSuccess

IsSuccess returns true when this delete presencedefinition internal server error response has a 2xx status code

func (*DeletePresencedefinitionInternalServerError) String

type DeletePresencedefinitionNotFound

type DeletePresencedefinitionNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewDeletePresencedefinitionNotFound

func NewDeletePresencedefinitionNotFound() *DeletePresencedefinitionNotFound

NewDeletePresencedefinitionNotFound creates a DeletePresencedefinitionNotFound with default headers values

func (*DeletePresencedefinitionNotFound) Error

func (*DeletePresencedefinitionNotFound) GetPayload

func (*DeletePresencedefinitionNotFound) IsClientError

func (o *DeletePresencedefinitionNotFound) IsClientError() bool

IsClientError returns true when this delete presencedefinition not found response has a 4xx status code

func (*DeletePresencedefinitionNotFound) IsCode

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

IsCode returns true when this delete presencedefinition not found response a status code equal to that given

func (*DeletePresencedefinitionNotFound) IsRedirect

func (o *DeletePresencedefinitionNotFound) IsRedirect() bool

IsRedirect returns true when this delete presencedefinition not found response has a 3xx status code

func (*DeletePresencedefinitionNotFound) IsServerError

func (o *DeletePresencedefinitionNotFound) IsServerError() bool

IsServerError returns true when this delete presencedefinition not found response has a 5xx status code

func (*DeletePresencedefinitionNotFound) IsSuccess

func (o *DeletePresencedefinitionNotFound) IsSuccess() bool

IsSuccess returns true when this delete presencedefinition not found response has a 2xx status code

func (*DeletePresencedefinitionNotFound) String

type DeletePresencedefinitionParams

type DeletePresencedefinitionParams struct {

	/* PresenceID.

	   Organization Presence ID
	*/
	PresenceID string

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

DeletePresencedefinitionParams contains all the parameters to send to the API endpoint

for the delete presencedefinition operation.

Typically these are written to a http.Request.

func NewDeletePresencedefinitionParams

func NewDeletePresencedefinitionParams() *DeletePresencedefinitionParams

NewDeletePresencedefinitionParams creates a new DeletePresencedefinitionParams 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 NewDeletePresencedefinitionParamsWithContext

func NewDeletePresencedefinitionParamsWithContext(ctx context.Context) *DeletePresencedefinitionParams

NewDeletePresencedefinitionParamsWithContext creates a new DeletePresencedefinitionParams object with the ability to set a context for a request.

func NewDeletePresencedefinitionParamsWithHTTPClient

func NewDeletePresencedefinitionParamsWithHTTPClient(client *http.Client) *DeletePresencedefinitionParams

NewDeletePresencedefinitionParamsWithHTTPClient creates a new DeletePresencedefinitionParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePresencedefinitionParamsWithTimeout

func NewDeletePresencedefinitionParamsWithTimeout(timeout time.Duration) *DeletePresencedefinitionParams

NewDeletePresencedefinitionParamsWithTimeout creates a new DeletePresencedefinitionParams object with the ability to set a timeout on a request.

func (*DeletePresencedefinitionParams) SetContext

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

SetContext adds the context to the delete presencedefinition params

func (*DeletePresencedefinitionParams) SetDefaults

func (o *DeletePresencedefinitionParams) SetDefaults()

SetDefaults hydrates default values in the delete presencedefinition params (not the query body).

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

func (*DeletePresencedefinitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete presencedefinition params

func (*DeletePresencedefinitionParams) SetPresenceID

func (o *DeletePresencedefinitionParams) SetPresenceID(presenceID string)

SetPresenceID adds the presenceId to the delete presencedefinition params

func (*DeletePresencedefinitionParams) SetTimeout

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

SetTimeout adds the timeout to the delete presencedefinition params

func (*DeletePresencedefinitionParams) WithContext

WithContext adds the context to the delete presencedefinition params

func (*DeletePresencedefinitionParams) WithDefaults

WithDefaults hydrates default values in the delete presencedefinition params (not the query body).

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

func (*DeletePresencedefinitionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete presencedefinition params

func (*DeletePresencedefinitionParams) WithPresenceID

WithPresenceID adds the presenceID to the delete presencedefinition params

func (*DeletePresencedefinitionParams) WithTimeout

WithTimeout adds the timeout to the delete presencedefinition params

func (*DeletePresencedefinitionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePresencedefinitionReader

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

DeletePresencedefinitionReader is a Reader for the DeletePresencedefinition structure.

func (*DeletePresencedefinitionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePresencedefinitionRequestEntityTooLarge

type DeletePresencedefinitionRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewDeletePresencedefinitionRequestEntityTooLarge

func NewDeletePresencedefinitionRequestEntityTooLarge() *DeletePresencedefinitionRequestEntityTooLarge

NewDeletePresencedefinitionRequestEntityTooLarge creates a DeletePresencedefinitionRequestEntityTooLarge with default headers values

func (*DeletePresencedefinitionRequestEntityTooLarge) Error

func (*DeletePresencedefinitionRequestEntityTooLarge) GetPayload

func (*DeletePresencedefinitionRequestEntityTooLarge) IsClientError

IsClientError returns true when this delete presencedefinition request entity too large response has a 4xx status code

func (*DeletePresencedefinitionRequestEntityTooLarge) IsCode

IsCode returns true when this delete presencedefinition request entity too large response a status code equal to that given

func (*DeletePresencedefinitionRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this delete presencedefinition request entity too large response has a 3xx status code

func (*DeletePresencedefinitionRequestEntityTooLarge) IsServerError

IsServerError returns true when this delete presencedefinition request entity too large response has a 5xx status code

func (*DeletePresencedefinitionRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this delete presencedefinition request entity too large response has a 2xx status code

func (*DeletePresencedefinitionRequestEntityTooLarge) String

type DeletePresencedefinitionRequestTimeout

type DeletePresencedefinitionRequestTimeout struct {
	Payload *models.ErrorBody
}

DeletePresencedefinitionRequestTimeout 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 NewDeletePresencedefinitionRequestTimeout

func NewDeletePresencedefinitionRequestTimeout() *DeletePresencedefinitionRequestTimeout

NewDeletePresencedefinitionRequestTimeout creates a DeletePresencedefinitionRequestTimeout with default headers values

func (*DeletePresencedefinitionRequestTimeout) Error

func (*DeletePresencedefinitionRequestTimeout) GetPayload

func (*DeletePresencedefinitionRequestTimeout) IsClientError

func (o *DeletePresencedefinitionRequestTimeout) IsClientError() bool

IsClientError returns true when this delete presencedefinition request timeout response has a 4xx status code

func (*DeletePresencedefinitionRequestTimeout) IsCode

IsCode returns true when this delete presencedefinition request timeout response a status code equal to that given

func (*DeletePresencedefinitionRequestTimeout) IsRedirect

IsRedirect returns true when this delete presencedefinition request timeout response has a 3xx status code

func (*DeletePresencedefinitionRequestTimeout) IsServerError

func (o *DeletePresencedefinitionRequestTimeout) IsServerError() bool

IsServerError returns true when this delete presencedefinition request timeout response has a 5xx status code

func (*DeletePresencedefinitionRequestTimeout) IsSuccess

IsSuccess returns true when this delete presencedefinition request timeout response has a 2xx status code

func (*DeletePresencedefinitionRequestTimeout) String

type DeletePresencedefinitionServiceUnavailable

type DeletePresencedefinitionServiceUnavailable struct {
	Payload *models.ErrorBody
}

DeletePresencedefinitionServiceUnavailable 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 NewDeletePresencedefinitionServiceUnavailable

func NewDeletePresencedefinitionServiceUnavailable() *DeletePresencedefinitionServiceUnavailable

NewDeletePresencedefinitionServiceUnavailable creates a DeletePresencedefinitionServiceUnavailable with default headers values

func (*DeletePresencedefinitionServiceUnavailable) Error

func (*DeletePresencedefinitionServiceUnavailable) GetPayload

func (*DeletePresencedefinitionServiceUnavailable) IsClientError

IsClientError returns true when this delete presencedefinition service unavailable response has a 4xx status code

func (*DeletePresencedefinitionServiceUnavailable) IsCode

IsCode returns true when this delete presencedefinition service unavailable response a status code equal to that given

func (*DeletePresencedefinitionServiceUnavailable) IsRedirect

IsRedirect returns true when this delete presencedefinition service unavailable response has a 3xx status code

func (*DeletePresencedefinitionServiceUnavailable) IsServerError

IsServerError returns true when this delete presencedefinition service unavailable response has a 5xx status code

func (*DeletePresencedefinitionServiceUnavailable) IsSuccess

IsSuccess returns true when this delete presencedefinition service unavailable response has a 2xx status code

func (*DeletePresencedefinitionServiceUnavailable) String

type DeletePresencedefinitionTooManyRequests

type DeletePresencedefinitionTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewDeletePresencedefinitionTooManyRequests

func NewDeletePresencedefinitionTooManyRequests() *DeletePresencedefinitionTooManyRequests

NewDeletePresencedefinitionTooManyRequests creates a DeletePresencedefinitionTooManyRequests with default headers values

func (*DeletePresencedefinitionTooManyRequests) Error

func (*DeletePresencedefinitionTooManyRequests) GetPayload

func (*DeletePresencedefinitionTooManyRequests) IsClientError

func (o *DeletePresencedefinitionTooManyRequests) IsClientError() bool

IsClientError returns true when this delete presencedefinition too many requests response has a 4xx status code

func (*DeletePresencedefinitionTooManyRequests) IsCode

IsCode returns true when this delete presencedefinition too many requests response a status code equal to that given

func (*DeletePresencedefinitionTooManyRequests) IsRedirect

IsRedirect returns true when this delete presencedefinition too many requests response has a 3xx status code

func (*DeletePresencedefinitionTooManyRequests) IsServerError

func (o *DeletePresencedefinitionTooManyRequests) IsServerError() bool

IsServerError returns true when this delete presencedefinition too many requests response has a 5xx status code

func (*DeletePresencedefinitionTooManyRequests) IsSuccess

IsSuccess returns true when this delete presencedefinition too many requests response has a 2xx status code

func (*DeletePresencedefinitionTooManyRequests) String

type DeletePresencedefinitionUnauthorized

type DeletePresencedefinitionUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewDeletePresencedefinitionUnauthorized

func NewDeletePresencedefinitionUnauthorized() *DeletePresencedefinitionUnauthorized

NewDeletePresencedefinitionUnauthorized creates a DeletePresencedefinitionUnauthorized with default headers values

func (*DeletePresencedefinitionUnauthorized) Error

func (*DeletePresencedefinitionUnauthorized) GetPayload

func (*DeletePresencedefinitionUnauthorized) IsClientError

func (o *DeletePresencedefinitionUnauthorized) IsClientError() bool

IsClientError returns true when this delete presencedefinition unauthorized response has a 4xx status code

func (*DeletePresencedefinitionUnauthorized) IsCode

IsCode returns true when this delete presencedefinition unauthorized response a status code equal to that given

func (*DeletePresencedefinitionUnauthorized) IsRedirect

IsRedirect returns true when this delete presencedefinition unauthorized response has a 3xx status code

func (*DeletePresencedefinitionUnauthorized) IsServerError

func (o *DeletePresencedefinitionUnauthorized) IsServerError() bool

IsServerError returns true when this delete presencedefinition unauthorized response has a 5xx status code

func (*DeletePresencedefinitionUnauthorized) IsSuccess

IsSuccess returns true when this delete presencedefinition unauthorized response has a 2xx status code

func (*DeletePresencedefinitionUnauthorized) String

type DeletePresencedefinitionUnsupportedMediaType

type DeletePresencedefinitionUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

DeletePresencedefinitionUnsupportedMediaType 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 NewDeletePresencedefinitionUnsupportedMediaType

func NewDeletePresencedefinitionUnsupportedMediaType() *DeletePresencedefinitionUnsupportedMediaType

NewDeletePresencedefinitionUnsupportedMediaType creates a DeletePresencedefinitionUnsupportedMediaType with default headers values

func (*DeletePresencedefinitionUnsupportedMediaType) Error

func (*DeletePresencedefinitionUnsupportedMediaType) GetPayload

func (*DeletePresencedefinitionUnsupportedMediaType) IsClientError

IsClientError returns true when this delete presencedefinition unsupported media type response has a 4xx status code

func (*DeletePresencedefinitionUnsupportedMediaType) IsCode

IsCode returns true when this delete presencedefinition unsupported media type response a status code equal to that given

func (*DeletePresencedefinitionUnsupportedMediaType) IsRedirect

IsRedirect returns true when this delete presencedefinition unsupported media type response has a 3xx status code

func (*DeletePresencedefinitionUnsupportedMediaType) IsServerError

IsServerError returns true when this delete presencedefinition unsupported media type response has a 5xx status code

func (*DeletePresencedefinitionUnsupportedMediaType) IsSuccess

IsSuccess returns true when this delete presencedefinition unsupported media type response has a 2xx status code

func (*DeletePresencedefinitionUnsupportedMediaType) String

type GetPresenceSettingsBadRequest

type GetPresenceSettingsBadRequest struct {
	Payload *models.ErrorBody
}

GetPresenceSettingsBadRequest 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 NewGetPresenceSettingsBadRequest

func NewGetPresenceSettingsBadRequest() *GetPresenceSettingsBadRequest

NewGetPresenceSettingsBadRequest creates a GetPresenceSettingsBadRequest with default headers values

func (*GetPresenceSettingsBadRequest) Error

func (*GetPresenceSettingsBadRequest) GetPayload

func (*GetPresenceSettingsBadRequest) IsClientError

func (o *GetPresenceSettingsBadRequest) IsClientError() bool

IsClientError returns true when this get presence settings bad request response has a 4xx status code

func (*GetPresenceSettingsBadRequest) IsCode

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

IsCode returns true when this get presence settings bad request response a status code equal to that given

func (*GetPresenceSettingsBadRequest) IsRedirect

func (o *GetPresenceSettingsBadRequest) IsRedirect() bool

IsRedirect returns true when this get presence settings bad request response has a 3xx status code

func (*GetPresenceSettingsBadRequest) IsServerError

func (o *GetPresenceSettingsBadRequest) IsServerError() bool

IsServerError returns true when this get presence settings bad request response has a 5xx status code

func (*GetPresenceSettingsBadRequest) IsSuccess

func (o *GetPresenceSettingsBadRequest) IsSuccess() bool

IsSuccess returns true when this get presence settings bad request response has a 2xx status code

func (*GetPresenceSettingsBadRequest) String

type GetPresenceSettingsForbidden

type GetPresenceSettingsForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetPresenceSettingsForbidden

func NewGetPresenceSettingsForbidden() *GetPresenceSettingsForbidden

NewGetPresenceSettingsForbidden creates a GetPresenceSettingsForbidden with default headers values

func (*GetPresenceSettingsForbidden) Error

func (*GetPresenceSettingsForbidden) GetPayload

func (*GetPresenceSettingsForbidden) IsClientError

func (o *GetPresenceSettingsForbidden) IsClientError() bool

IsClientError returns true when this get presence settings forbidden response has a 4xx status code

func (*GetPresenceSettingsForbidden) IsCode

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

IsCode returns true when this get presence settings forbidden response a status code equal to that given

func (*GetPresenceSettingsForbidden) IsRedirect

func (o *GetPresenceSettingsForbidden) IsRedirect() bool

IsRedirect returns true when this get presence settings forbidden response has a 3xx status code

func (*GetPresenceSettingsForbidden) IsServerError

func (o *GetPresenceSettingsForbidden) IsServerError() bool

IsServerError returns true when this get presence settings forbidden response has a 5xx status code

func (*GetPresenceSettingsForbidden) IsSuccess

func (o *GetPresenceSettingsForbidden) IsSuccess() bool

IsSuccess returns true when this get presence settings forbidden response has a 2xx status code

func (*GetPresenceSettingsForbidden) String

type GetPresenceSettingsGatewayTimeout

type GetPresenceSettingsGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetPresenceSettingsGatewayTimeout

func NewGetPresenceSettingsGatewayTimeout() *GetPresenceSettingsGatewayTimeout

NewGetPresenceSettingsGatewayTimeout creates a GetPresenceSettingsGatewayTimeout with default headers values

func (*GetPresenceSettingsGatewayTimeout) Error

func (*GetPresenceSettingsGatewayTimeout) GetPayload

func (*GetPresenceSettingsGatewayTimeout) IsClientError

func (o *GetPresenceSettingsGatewayTimeout) IsClientError() bool

IsClientError returns true when this get presence settings gateway timeout response has a 4xx status code

func (*GetPresenceSettingsGatewayTimeout) IsCode

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

IsCode returns true when this get presence settings gateway timeout response a status code equal to that given

func (*GetPresenceSettingsGatewayTimeout) IsRedirect

func (o *GetPresenceSettingsGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get presence settings gateway timeout response has a 3xx status code

func (*GetPresenceSettingsGatewayTimeout) IsServerError

func (o *GetPresenceSettingsGatewayTimeout) IsServerError() bool

IsServerError returns true when this get presence settings gateway timeout response has a 5xx status code

func (*GetPresenceSettingsGatewayTimeout) IsSuccess

func (o *GetPresenceSettingsGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get presence settings gateway timeout response has a 2xx status code

func (*GetPresenceSettingsGatewayTimeout) String

type GetPresenceSettingsInternalServerError

type GetPresenceSettingsInternalServerError struct {
	Payload *models.ErrorBody
}

GetPresenceSettingsInternalServerError 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 NewGetPresenceSettingsInternalServerError

func NewGetPresenceSettingsInternalServerError() *GetPresenceSettingsInternalServerError

NewGetPresenceSettingsInternalServerError creates a GetPresenceSettingsInternalServerError with default headers values

func (*GetPresenceSettingsInternalServerError) Error

func (*GetPresenceSettingsInternalServerError) GetPayload

func (*GetPresenceSettingsInternalServerError) IsClientError

func (o *GetPresenceSettingsInternalServerError) IsClientError() bool

IsClientError returns true when this get presence settings internal server error response has a 4xx status code

func (*GetPresenceSettingsInternalServerError) IsCode

IsCode returns true when this get presence settings internal server error response a status code equal to that given

func (*GetPresenceSettingsInternalServerError) IsRedirect

IsRedirect returns true when this get presence settings internal server error response has a 3xx status code

func (*GetPresenceSettingsInternalServerError) IsServerError

func (o *GetPresenceSettingsInternalServerError) IsServerError() bool

IsServerError returns true when this get presence settings internal server error response has a 5xx status code

func (*GetPresenceSettingsInternalServerError) IsSuccess

IsSuccess returns true when this get presence settings internal server error response has a 2xx status code

func (*GetPresenceSettingsInternalServerError) String

type GetPresenceSettingsNotFound

type GetPresenceSettingsNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetPresenceSettingsNotFound

func NewGetPresenceSettingsNotFound() *GetPresenceSettingsNotFound

NewGetPresenceSettingsNotFound creates a GetPresenceSettingsNotFound with default headers values

func (*GetPresenceSettingsNotFound) Error

func (*GetPresenceSettingsNotFound) GetPayload

func (o *GetPresenceSettingsNotFound) GetPayload() *models.ErrorBody

func (*GetPresenceSettingsNotFound) IsClientError

func (o *GetPresenceSettingsNotFound) IsClientError() bool

IsClientError returns true when this get presence settings not found response has a 4xx status code

func (*GetPresenceSettingsNotFound) IsCode

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

IsCode returns true when this get presence settings not found response a status code equal to that given

func (*GetPresenceSettingsNotFound) IsRedirect

func (o *GetPresenceSettingsNotFound) IsRedirect() bool

IsRedirect returns true when this get presence settings not found response has a 3xx status code

func (*GetPresenceSettingsNotFound) IsServerError

func (o *GetPresenceSettingsNotFound) IsServerError() bool

IsServerError returns true when this get presence settings not found response has a 5xx status code

func (*GetPresenceSettingsNotFound) IsSuccess

func (o *GetPresenceSettingsNotFound) IsSuccess() bool

IsSuccess returns true when this get presence settings not found response has a 2xx status code

func (*GetPresenceSettingsNotFound) String

func (o *GetPresenceSettingsNotFound) String() string

type GetPresenceSettingsOK

type GetPresenceSettingsOK struct {
	Payload *models.PresenceSettings
}

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

successful operation

func NewGetPresenceSettingsOK

func NewGetPresenceSettingsOK() *GetPresenceSettingsOK

NewGetPresenceSettingsOK creates a GetPresenceSettingsOK with default headers values

func (*GetPresenceSettingsOK) Error

func (o *GetPresenceSettingsOK) Error() string

func (*GetPresenceSettingsOK) GetPayload

func (*GetPresenceSettingsOK) IsClientError

func (o *GetPresenceSettingsOK) IsClientError() bool

IsClientError returns true when this get presence settings o k response has a 4xx status code

func (*GetPresenceSettingsOK) IsCode

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

IsCode returns true when this get presence settings o k response a status code equal to that given

func (*GetPresenceSettingsOK) IsRedirect

func (o *GetPresenceSettingsOK) IsRedirect() bool

IsRedirect returns true when this get presence settings o k response has a 3xx status code

func (*GetPresenceSettingsOK) IsServerError

func (o *GetPresenceSettingsOK) IsServerError() bool

IsServerError returns true when this get presence settings o k response has a 5xx status code

func (*GetPresenceSettingsOK) IsSuccess

func (o *GetPresenceSettingsOK) IsSuccess() bool

IsSuccess returns true when this get presence settings o k response has a 2xx status code

func (*GetPresenceSettingsOK) String

func (o *GetPresenceSettingsOK) String() string

type GetPresenceSettingsParams

type GetPresenceSettingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPresenceSettingsParams contains all the parameters to send to the API endpoint

for the get presence settings operation.

Typically these are written to a http.Request.

func NewGetPresenceSettingsParams

func NewGetPresenceSettingsParams() *GetPresenceSettingsParams

NewGetPresenceSettingsParams creates a new GetPresenceSettingsParams 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 NewGetPresenceSettingsParamsWithContext

func NewGetPresenceSettingsParamsWithContext(ctx context.Context) *GetPresenceSettingsParams

NewGetPresenceSettingsParamsWithContext creates a new GetPresenceSettingsParams object with the ability to set a context for a request.

func NewGetPresenceSettingsParamsWithHTTPClient

func NewGetPresenceSettingsParamsWithHTTPClient(client *http.Client) *GetPresenceSettingsParams

NewGetPresenceSettingsParamsWithHTTPClient creates a new GetPresenceSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPresenceSettingsParamsWithTimeout

func NewGetPresenceSettingsParamsWithTimeout(timeout time.Duration) *GetPresenceSettingsParams

NewGetPresenceSettingsParamsWithTimeout creates a new GetPresenceSettingsParams object with the ability to set a timeout on a request.

func (*GetPresenceSettingsParams) SetContext

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

SetContext adds the context to the get presence settings params

func (*GetPresenceSettingsParams) SetDefaults

func (o *GetPresenceSettingsParams) SetDefaults()

SetDefaults hydrates default values in the get presence settings params (not the query body).

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

func (*GetPresenceSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get presence settings params

func (*GetPresenceSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get presence settings params

func (*GetPresenceSettingsParams) WithContext

WithContext adds the context to the get presence settings params

func (*GetPresenceSettingsParams) WithDefaults

WithDefaults hydrates default values in the get presence settings params (not the query body).

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

func (*GetPresenceSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get presence settings params

func (*GetPresenceSettingsParams) WithTimeout

WithTimeout adds the timeout to the get presence settings params

func (*GetPresenceSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPresenceSettingsReader

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

GetPresenceSettingsReader is a Reader for the GetPresenceSettings structure.

func (*GetPresenceSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPresenceSettingsRequestEntityTooLarge

type GetPresenceSettingsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresenceSettingsRequestEntityTooLarge

func NewGetPresenceSettingsRequestEntityTooLarge() *GetPresenceSettingsRequestEntityTooLarge

NewGetPresenceSettingsRequestEntityTooLarge creates a GetPresenceSettingsRequestEntityTooLarge with default headers values

func (*GetPresenceSettingsRequestEntityTooLarge) Error

func (*GetPresenceSettingsRequestEntityTooLarge) GetPayload

func (*GetPresenceSettingsRequestEntityTooLarge) IsClientError

IsClientError returns true when this get presence settings request entity too large response has a 4xx status code

func (*GetPresenceSettingsRequestEntityTooLarge) IsCode

IsCode returns true when this get presence settings request entity too large response a status code equal to that given

func (*GetPresenceSettingsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get presence settings request entity too large response has a 3xx status code

func (*GetPresenceSettingsRequestEntityTooLarge) IsServerError

IsServerError returns true when this get presence settings request entity too large response has a 5xx status code

func (*GetPresenceSettingsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get presence settings request entity too large response has a 2xx status code

func (*GetPresenceSettingsRequestEntityTooLarge) String

type GetPresenceSettingsRequestTimeout

type GetPresenceSettingsRequestTimeout struct {
	Payload *models.ErrorBody
}

GetPresenceSettingsRequestTimeout 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 NewGetPresenceSettingsRequestTimeout

func NewGetPresenceSettingsRequestTimeout() *GetPresenceSettingsRequestTimeout

NewGetPresenceSettingsRequestTimeout creates a GetPresenceSettingsRequestTimeout with default headers values

func (*GetPresenceSettingsRequestTimeout) Error

func (*GetPresenceSettingsRequestTimeout) GetPayload

func (*GetPresenceSettingsRequestTimeout) IsClientError

func (o *GetPresenceSettingsRequestTimeout) IsClientError() bool

IsClientError returns true when this get presence settings request timeout response has a 4xx status code

func (*GetPresenceSettingsRequestTimeout) IsCode

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

IsCode returns true when this get presence settings request timeout response a status code equal to that given

func (*GetPresenceSettingsRequestTimeout) IsRedirect

func (o *GetPresenceSettingsRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get presence settings request timeout response has a 3xx status code

func (*GetPresenceSettingsRequestTimeout) IsServerError

func (o *GetPresenceSettingsRequestTimeout) IsServerError() bool

IsServerError returns true when this get presence settings request timeout response has a 5xx status code

func (*GetPresenceSettingsRequestTimeout) IsSuccess

func (o *GetPresenceSettingsRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get presence settings request timeout response has a 2xx status code

func (*GetPresenceSettingsRequestTimeout) String

type GetPresenceSettingsServiceUnavailable

type GetPresenceSettingsServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetPresenceSettingsServiceUnavailable 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 NewGetPresenceSettingsServiceUnavailable

func NewGetPresenceSettingsServiceUnavailable() *GetPresenceSettingsServiceUnavailable

NewGetPresenceSettingsServiceUnavailable creates a GetPresenceSettingsServiceUnavailable with default headers values

func (*GetPresenceSettingsServiceUnavailable) Error

func (*GetPresenceSettingsServiceUnavailable) GetPayload

func (*GetPresenceSettingsServiceUnavailable) IsClientError

func (o *GetPresenceSettingsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get presence settings service unavailable response has a 4xx status code

func (*GetPresenceSettingsServiceUnavailable) IsCode

IsCode returns true when this get presence settings service unavailable response a status code equal to that given

func (*GetPresenceSettingsServiceUnavailable) IsRedirect

IsRedirect returns true when this get presence settings service unavailable response has a 3xx status code

func (*GetPresenceSettingsServiceUnavailable) IsServerError

func (o *GetPresenceSettingsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get presence settings service unavailable response has a 5xx status code

func (*GetPresenceSettingsServiceUnavailable) IsSuccess

IsSuccess returns true when this get presence settings service unavailable response has a 2xx status code

func (*GetPresenceSettingsServiceUnavailable) String

type GetPresenceSettingsTooManyRequests

type GetPresenceSettingsTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresenceSettingsTooManyRequests

func NewGetPresenceSettingsTooManyRequests() *GetPresenceSettingsTooManyRequests

NewGetPresenceSettingsTooManyRequests creates a GetPresenceSettingsTooManyRequests with default headers values

func (*GetPresenceSettingsTooManyRequests) Error

func (*GetPresenceSettingsTooManyRequests) GetPayload

func (*GetPresenceSettingsTooManyRequests) IsClientError

func (o *GetPresenceSettingsTooManyRequests) IsClientError() bool

IsClientError returns true when this get presence settings too many requests response has a 4xx status code

func (*GetPresenceSettingsTooManyRequests) IsCode

IsCode returns true when this get presence settings too many requests response a status code equal to that given

func (*GetPresenceSettingsTooManyRequests) IsRedirect

func (o *GetPresenceSettingsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get presence settings too many requests response has a 3xx status code

func (*GetPresenceSettingsTooManyRequests) IsServerError

func (o *GetPresenceSettingsTooManyRequests) IsServerError() bool

IsServerError returns true when this get presence settings too many requests response has a 5xx status code

func (*GetPresenceSettingsTooManyRequests) IsSuccess

IsSuccess returns true when this get presence settings too many requests response has a 2xx status code

func (*GetPresenceSettingsTooManyRequests) String

type GetPresenceSettingsUnauthorized

type GetPresenceSettingsUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetPresenceSettingsUnauthorized

func NewGetPresenceSettingsUnauthorized() *GetPresenceSettingsUnauthorized

NewGetPresenceSettingsUnauthorized creates a GetPresenceSettingsUnauthorized with default headers values

func (*GetPresenceSettingsUnauthorized) Error

func (*GetPresenceSettingsUnauthorized) GetPayload

func (*GetPresenceSettingsUnauthorized) IsClientError

func (o *GetPresenceSettingsUnauthorized) IsClientError() bool

IsClientError returns true when this get presence settings unauthorized response has a 4xx status code

func (*GetPresenceSettingsUnauthorized) IsCode

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

IsCode returns true when this get presence settings unauthorized response a status code equal to that given

func (*GetPresenceSettingsUnauthorized) IsRedirect

func (o *GetPresenceSettingsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get presence settings unauthorized response has a 3xx status code

func (*GetPresenceSettingsUnauthorized) IsServerError

func (o *GetPresenceSettingsUnauthorized) IsServerError() bool

IsServerError returns true when this get presence settings unauthorized response has a 5xx status code

func (*GetPresenceSettingsUnauthorized) IsSuccess

func (o *GetPresenceSettingsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get presence settings unauthorized response has a 2xx status code

func (*GetPresenceSettingsUnauthorized) String

type GetPresenceSettingsUnsupportedMediaType

type GetPresenceSettingsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetPresenceSettingsUnsupportedMediaType 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 NewGetPresenceSettingsUnsupportedMediaType

func NewGetPresenceSettingsUnsupportedMediaType() *GetPresenceSettingsUnsupportedMediaType

NewGetPresenceSettingsUnsupportedMediaType creates a GetPresenceSettingsUnsupportedMediaType with default headers values

func (*GetPresenceSettingsUnsupportedMediaType) Error

func (*GetPresenceSettingsUnsupportedMediaType) GetPayload

func (*GetPresenceSettingsUnsupportedMediaType) IsClientError

func (o *GetPresenceSettingsUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get presence settings unsupported media type response has a 4xx status code

func (*GetPresenceSettingsUnsupportedMediaType) IsCode

IsCode returns true when this get presence settings unsupported media type response a status code equal to that given

func (*GetPresenceSettingsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get presence settings unsupported media type response has a 3xx status code

func (*GetPresenceSettingsUnsupportedMediaType) IsServerError

func (o *GetPresenceSettingsUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get presence settings unsupported media type response has a 5xx status code

func (*GetPresenceSettingsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get presence settings unsupported media type response has a 2xx status code

func (*GetPresenceSettingsUnsupportedMediaType) String

type GetPresenceSourceBadRequest

type GetPresenceSourceBadRequest struct {
	Payload *models.ErrorBody
}

GetPresenceSourceBadRequest 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 NewGetPresenceSourceBadRequest

func NewGetPresenceSourceBadRequest() *GetPresenceSourceBadRequest

NewGetPresenceSourceBadRequest creates a GetPresenceSourceBadRequest with default headers values

func (*GetPresenceSourceBadRequest) Error

func (*GetPresenceSourceBadRequest) GetPayload

func (o *GetPresenceSourceBadRequest) GetPayload() *models.ErrorBody

func (*GetPresenceSourceBadRequest) IsClientError

func (o *GetPresenceSourceBadRequest) IsClientError() bool

IsClientError returns true when this get presence source bad request response has a 4xx status code

func (*GetPresenceSourceBadRequest) IsCode

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

IsCode returns true when this get presence source bad request response a status code equal to that given

func (*GetPresenceSourceBadRequest) IsRedirect

func (o *GetPresenceSourceBadRequest) IsRedirect() bool

IsRedirect returns true when this get presence source bad request response has a 3xx status code

func (*GetPresenceSourceBadRequest) IsServerError

func (o *GetPresenceSourceBadRequest) IsServerError() bool

IsServerError returns true when this get presence source bad request response has a 5xx status code

func (*GetPresenceSourceBadRequest) IsSuccess

func (o *GetPresenceSourceBadRequest) IsSuccess() bool

IsSuccess returns true when this get presence source bad request response has a 2xx status code

func (*GetPresenceSourceBadRequest) String

func (o *GetPresenceSourceBadRequest) String() string

type GetPresenceSourceForbidden

type GetPresenceSourceForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetPresenceSourceForbidden

func NewGetPresenceSourceForbidden() *GetPresenceSourceForbidden

NewGetPresenceSourceForbidden creates a GetPresenceSourceForbidden with default headers values

func (*GetPresenceSourceForbidden) Error

func (*GetPresenceSourceForbidden) GetPayload

func (o *GetPresenceSourceForbidden) GetPayload() *models.ErrorBody

func (*GetPresenceSourceForbidden) IsClientError

func (o *GetPresenceSourceForbidden) IsClientError() bool

IsClientError returns true when this get presence source forbidden response has a 4xx status code

func (*GetPresenceSourceForbidden) IsCode

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

IsCode returns true when this get presence source forbidden response a status code equal to that given

func (*GetPresenceSourceForbidden) IsRedirect

func (o *GetPresenceSourceForbidden) IsRedirect() bool

IsRedirect returns true when this get presence source forbidden response has a 3xx status code

func (*GetPresenceSourceForbidden) IsServerError

func (o *GetPresenceSourceForbidden) IsServerError() bool

IsServerError returns true when this get presence source forbidden response has a 5xx status code

func (*GetPresenceSourceForbidden) IsSuccess

func (o *GetPresenceSourceForbidden) IsSuccess() bool

IsSuccess returns true when this get presence source forbidden response has a 2xx status code

func (*GetPresenceSourceForbidden) String

func (o *GetPresenceSourceForbidden) String() string

type GetPresenceSourceGatewayTimeout

type GetPresenceSourceGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetPresenceSourceGatewayTimeout

func NewGetPresenceSourceGatewayTimeout() *GetPresenceSourceGatewayTimeout

NewGetPresenceSourceGatewayTimeout creates a GetPresenceSourceGatewayTimeout with default headers values

func (*GetPresenceSourceGatewayTimeout) Error

func (*GetPresenceSourceGatewayTimeout) GetPayload

func (*GetPresenceSourceGatewayTimeout) IsClientError

func (o *GetPresenceSourceGatewayTimeout) IsClientError() bool

IsClientError returns true when this get presence source gateway timeout response has a 4xx status code

func (*GetPresenceSourceGatewayTimeout) IsCode

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

IsCode returns true when this get presence source gateway timeout response a status code equal to that given

func (*GetPresenceSourceGatewayTimeout) IsRedirect

func (o *GetPresenceSourceGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get presence source gateway timeout response has a 3xx status code

func (*GetPresenceSourceGatewayTimeout) IsServerError

func (o *GetPresenceSourceGatewayTimeout) IsServerError() bool

IsServerError returns true when this get presence source gateway timeout response has a 5xx status code

func (*GetPresenceSourceGatewayTimeout) IsSuccess

func (o *GetPresenceSourceGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get presence source gateway timeout response has a 2xx status code

func (*GetPresenceSourceGatewayTimeout) String

type GetPresenceSourceInternalServerError

type GetPresenceSourceInternalServerError struct {
	Payload *models.ErrorBody
}

GetPresenceSourceInternalServerError 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 NewGetPresenceSourceInternalServerError

func NewGetPresenceSourceInternalServerError() *GetPresenceSourceInternalServerError

NewGetPresenceSourceInternalServerError creates a GetPresenceSourceInternalServerError with default headers values

func (*GetPresenceSourceInternalServerError) Error

func (*GetPresenceSourceInternalServerError) GetPayload

func (*GetPresenceSourceInternalServerError) IsClientError

func (o *GetPresenceSourceInternalServerError) IsClientError() bool

IsClientError returns true when this get presence source internal server error response has a 4xx status code

func (*GetPresenceSourceInternalServerError) IsCode

IsCode returns true when this get presence source internal server error response a status code equal to that given

func (*GetPresenceSourceInternalServerError) IsRedirect

IsRedirect returns true when this get presence source internal server error response has a 3xx status code

func (*GetPresenceSourceInternalServerError) IsServerError

func (o *GetPresenceSourceInternalServerError) IsServerError() bool

IsServerError returns true when this get presence source internal server error response has a 5xx status code

func (*GetPresenceSourceInternalServerError) IsSuccess

IsSuccess returns true when this get presence source internal server error response has a 2xx status code

func (*GetPresenceSourceInternalServerError) String

type GetPresenceSourceNotFound

type GetPresenceSourceNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetPresenceSourceNotFound

func NewGetPresenceSourceNotFound() *GetPresenceSourceNotFound

NewGetPresenceSourceNotFound creates a GetPresenceSourceNotFound with default headers values

func (*GetPresenceSourceNotFound) Error

func (o *GetPresenceSourceNotFound) Error() string

func (*GetPresenceSourceNotFound) GetPayload

func (o *GetPresenceSourceNotFound) GetPayload() *models.ErrorBody

func (*GetPresenceSourceNotFound) IsClientError

func (o *GetPresenceSourceNotFound) IsClientError() bool

IsClientError returns true when this get presence source not found response has a 4xx status code

func (*GetPresenceSourceNotFound) IsCode

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

IsCode returns true when this get presence source not found response a status code equal to that given

func (*GetPresenceSourceNotFound) IsRedirect

func (o *GetPresenceSourceNotFound) IsRedirect() bool

IsRedirect returns true when this get presence source not found response has a 3xx status code

func (*GetPresenceSourceNotFound) IsServerError

func (o *GetPresenceSourceNotFound) IsServerError() bool

IsServerError returns true when this get presence source not found response has a 5xx status code

func (*GetPresenceSourceNotFound) IsSuccess

func (o *GetPresenceSourceNotFound) IsSuccess() bool

IsSuccess returns true when this get presence source not found response has a 2xx status code

func (*GetPresenceSourceNotFound) String

func (o *GetPresenceSourceNotFound) String() string

type GetPresenceSourceOK

type GetPresenceSourceOK struct {
	Payload *models.Source
}

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

successful operation

func NewGetPresenceSourceOK

func NewGetPresenceSourceOK() *GetPresenceSourceOK

NewGetPresenceSourceOK creates a GetPresenceSourceOK with default headers values

func (*GetPresenceSourceOK) Error

func (o *GetPresenceSourceOK) Error() string

func (*GetPresenceSourceOK) GetPayload

func (o *GetPresenceSourceOK) GetPayload() *models.Source

func (*GetPresenceSourceOK) IsClientError

func (o *GetPresenceSourceOK) IsClientError() bool

IsClientError returns true when this get presence source o k response has a 4xx status code

func (*GetPresenceSourceOK) IsCode

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

IsCode returns true when this get presence source o k response a status code equal to that given

func (*GetPresenceSourceOK) IsRedirect

func (o *GetPresenceSourceOK) IsRedirect() bool

IsRedirect returns true when this get presence source o k response has a 3xx status code

func (*GetPresenceSourceOK) IsServerError

func (o *GetPresenceSourceOK) IsServerError() bool

IsServerError returns true when this get presence source o k response has a 5xx status code

func (*GetPresenceSourceOK) IsSuccess

func (o *GetPresenceSourceOK) IsSuccess() bool

IsSuccess returns true when this get presence source o k response has a 2xx status code

func (*GetPresenceSourceOK) String

func (o *GetPresenceSourceOK) String() string

type GetPresenceSourceParams

type GetPresenceSourceParams struct {

	/* SourceID.

	   Presence Source ID
	*/
	SourceID string

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

GetPresenceSourceParams contains all the parameters to send to the API endpoint

for the get presence source operation.

Typically these are written to a http.Request.

func NewGetPresenceSourceParams

func NewGetPresenceSourceParams() *GetPresenceSourceParams

NewGetPresenceSourceParams creates a new GetPresenceSourceParams 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 NewGetPresenceSourceParamsWithContext

func NewGetPresenceSourceParamsWithContext(ctx context.Context) *GetPresenceSourceParams

NewGetPresenceSourceParamsWithContext creates a new GetPresenceSourceParams object with the ability to set a context for a request.

func NewGetPresenceSourceParamsWithHTTPClient

func NewGetPresenceSourceParamsWithHTTPClient(client *http.Client) *GetPresenceSourceParams

NewGetPresenceSourceParamsWithHTTPClient creates a new GetPresenceSourceParams object with the ability to set a custom HTTPClient for a request.

func NewGetPresenceSourceParamsWithTimeout

func NewGetPresenceSourceParamsWithTimeout(timeout time.Duration) *GetPresenceSourceParams

NewGetPresenceSourceParamsWithTimeout creates a new GetPresenceSourceParams object with the ability to set a timeout on a request.

func (*GetPresenceSourceParams) SetContext

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

SetContext adds the context to the get presence source params

func (*GetPresenceSourceParams) SetDefaults

func (o *GetPresenceSourceParams) SetDefaults()

SetDefaults hydrates default values in the get presence source params (not the query body).

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

func (*GetPresenceSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get presence source params

func (*GetPresenceSourceParams) SetSourceID

func (o *GetPresenceSourceParams) SetSourceID(sourceID string)

SetSourceID adds the sourceId to the get presence source params

func (*GetPresenceSourceParams) SetTimeout

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

SetTimeout adds the timeout to the get presence source params

func (*GetPresenceSourceParams) WithContext

WithContext adds the context to the get presence source params

func (*GetPresenceSourceParams) WithDefaults

WithDefaults hydrates default values in the get presence source params (not the query body).

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

func (*GetPresenceSourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get presence source params

func (*GetPresenceSourceParams) WithSourceID

func (o *GetPresenceSourceParams) WithSourceID(sourceID string) *GetPresenceSourceParams

WithSourceID adds the sourceID to the get presence source params

func (*GetPresenceSourceParams) WithTimeout

WithTimeout adds the timeout to the get presence source params

func (*GetPresenceSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPresenceSourceReader

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

GetPresenceSourceReader is a Reader for the GetPresenceSource structure.

func (*GetPresenceSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPresenceSourceRequestEntityTooLarge

type GetPresenceSourceRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresenceSourceRequestEntityTooLarge

func NewGetPresenceSourceRequestEntityTooLarge() *GetPresenceSourceRequestEntityTooLarge

NewGetPresenceSourceRequestEntityTooLarge creates a GetPresenceSourceRequestEntityTooLarge with default headers values

func (*GetPresenceSourceRequestEntityTooLarge) Error

func (*GetPresenceSourceRequestEntityTooLarge) GetPayload

func (*GetPresenceSourceRequestEntityTooLarge) IsClientError

func (o *GetPresenceSourceRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get presence source request entity too large response has a 4xx status code

func (*GetPresenceSourceRequestEntityTooLarge) IsCode

IsCode returns true when this get presence source request entity too large response a status code equal to that given

func (*GetPresenceSourceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get presence source request entity too large response has a 3xx status code

func (*GetPresenceSourceRequestEntityTooLarge) IsServerError

func (o *GetPresenceSourceRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get presence source request entity too large response has a 5xx status code

func (*GetPresenceSourceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get presence source request entity too large response has a 2xx status code

func (*GetPresenceSourceRequestEntityTooLarge) String

type GetPresenceSourceRequestTimeout

type GetPresenceSourceRequestTimeout struct {
	Payload *models.ErrorBody
}

GetPresenceSourceRequestTimeout 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 NewGetPresenceSourceRequestTimeout

func NewGetPresenceSourceRequestTimeout() *GetPresenceSourceRequestTimeout

NewGetPresenceSourceRequestTimeout creates a GetPresenceSourceRequestTimeout with default headers values

func (*GetPresenceSourceRequestTimeout) Error

func (*GetPresenceSourceRequestTimeout) GetPayload

func (*GetPresenceSourceRequestTimeout) IsClientError

func (o *GetPresenceSourceRequestTimeout) IsClientError() bool

IsClientError returns true when this get presence source request timeout response has a 4xx status code

func (*GetPresenceSourceRequestTimeout) IsCode

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

IsCode returns true when this get presence source request timeout response a status code equal to that given

func (*GetPresenceSourceRequestTimeout) IsRedirect

func (o *GetPresenceSourceRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get presence source request timeout response has a 3xx status code

func (*GetPresenceSourceRequestTimeout) IsServerError

func (o *GetPresenceSourceRequestTimeout) IsServerError() bool

IsServerError returns true when this get presence source request timeout response has a 5xx status code

func (*GetPresenceSourceRequestTimeout) IsSuccess

func (o *GetPresenceSourceRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get presence source request timeout response has a 2xx status code

func (*GetPresenceSourceRequestTimeout) String

type GetPresenceSourceServiceUnavailable

type GetPresenceSourceServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetPresenceSourceServiceUnavailable 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 NewGetPresenceSourceServiceUnavailable

func NewGetPresenceSourceServiceUnavailable() *GetPresenceSourceServiceUnavailable

NewGetPresenceSourceServiceUnavailable creates a GetPresenceSourceServiceUnavailable with default headers values

func (*GetPresenceSourceServiceUnavailable) Error

func (*GetPresenceSourceServiceUnavailable) GetPayload

func (*GetPresenceSourceServiceUnavailable) IsClientError

func (o *GetPresenceSourceServiceUnavailable) IsClientError() bool

IsClientError returns true when this get presence source service unavailable response has a 4xx status code

func (*GetPresenceSourceServiceUnavailable) IsCode

IsCode returns true when this get presence source service unavailable response a status code equal to that given

func (*GetPresenceSourceServiceUnavailable) IsRedirect

func (o *GetPresenceSourceServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get presence source service unavailable response has a 3xx status code

func (*GetPresenceSourceServiceUnavailable) IsServerError

func (o *GetPresenceSourceServiceUnavailable) IsServerError() bool

IsServerError returns true when this get presence source service unavailable response has a 5xx status code

func (*GetPresenceSourceServiceUnavailable) IsSuccess

IsSuccess returns true when this get presence source service unavailable response has a 2xx status code

func (*GetPresenceSourceServiceUnavailable) String

type GetPresenceSourceTooManyRequests

type GetPresenceSourceTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresenceSourceTooManyRequests

func NewGetPresenceSourceTooManyRequests() *GetPresenceSourceTooManyRequests

NewGetPresenceSourceTooManyRequests creates a GetPresenceSourceTooManyRequests with default headers values

func (*GetPresenceSourceTooManyRequests) Error

func (*GetPresenceSourceTooManyRequests) GetPayload

func (*GetPresenceSourceTooManyRequests) IsClientError

func (o *GetPresenceSourceTooManyRequests) IsClientError() bool

IsClientError returns true when this get presence source too many requests response has a 4xx status code

func (*GetPresenceSourceTooManyRequests) IsCode

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

IsCode returns true when this get presence source too many requests response a status code equal to that given

func (*GetPresenceSourceTooManyRequests) IsRedirect

func (o *GetPresenceSourceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get presence source too many requests response has a 3xx status code

func (*GetPresenceSourceTooManyRequests) IsServerError

func (o *GetPresenceSourceTooManyRequests) IsServerError() bool

IsServerError returns true when this get presence source too many requests response has a 5xx status code

func (*GetPresenceSourceTooManyRequests) IsSuccess

func (o *GetPresenceSourceTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get presence source too many requests response has a 2xx status code

func (*GetPresenceSourceTooManyRequests) String

type GetPresenceSourceUnauthorized

type GetPresenceSourceUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetPresenceSourceUnauthorized

func NewGetPresenceSourceUnauthorized() *GetPresenceSourceUnauthorized

NewGetPresenceSourceUnauthorized creates a GetPresenceSourceUnauthorized with default headers values

func (*GetPresenceSourceUnauthorized) Error

func (*GetPresenceSourceUnauthorized) GetPayload

func (*GetPresenceSourceUnauthorized) IsClientError

func (o *GetPresenceSourceUnauthorized) IsClientError() bool

IsClientError returns true when this get presence source unauthorized response has a 4xx status code

func (*GetPresenceSourceUnauthorized) IsCode

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

IsCode returns true when this get presence source unauthorized response a status code equal to that given

func (*GetPresenceSourceUnauthorized) IsRedirect

func (o *GetPresenceSourceUnauthorized) IsRedirect() bool

IsRedirect returns true when this get presence source unauthorized response has a 3xx status code

func (*GetPresenceSourceUnauthorized) IsServerError

func (o *GetPresenceSourceUnauthorized) IsServerError() bool

IsServerError returns true when this get presence source unauthorized response has a 5xx status code

func (*GetPresenceSourceUnauthorized) IsSuccess

func (o *GetPresenceSourceUnauthorized) IsSuccess() bool

IsSuccess returns true when this get presence source unauthorized response has a 2xx status code

func (*GetPresenceSourceUnauthorized) String

type GetPresenceSourceUnsupportedMediaType

type GetPresenceSourceUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetPresenceSourceUnsupportedMediaType 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 NewGetPresenceSourceUnsupportedMediaType

func NewGetPresenceSourceUnsupportedMediaType() *GetPresenceSourceUnsupportedMediaType

NewGetPresenceSourceUnsupportedMediaType creates a GetPresenceSourceUnsupportedMediaType with default headers values

func (*GetPresenceSourceUnsupportedMediaType) Error

func (*GetPresenceSourceUnsupportedMediaType) GetPayload

func (*GetPresenceSourceUnsupportedMediaType) IsClientError

func (o *GetPresenceSourceUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get presence source unsupported media type response has a 4xx status code

func (*GetPresenceSourceUnsupportedMediaType) IsCode

IsCode returns true when this get presence source unsupported media type response a status code equal to that given

func (*GetPresenceSourceUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get presence source unsupported media type response has a 3xx status code

func (*GetPresenceSourceUnsupportedMediaType) IsServerError

func (o *GetPresenceSourceUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get presence source unsupported media type response has a 5xx status code

func (*GetPresenceSourceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get presence source unsupported media type response has a 2xx status code

func (*GetPresenceSourceUnsupportedMediaType) String

type GetPresenceSourcesBadRequest

type GetPresenceSourcesBadRequest struct {
	Payload *models.ErrorBody
}

GetPresenceSourcesBadRequest 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 NewGetPresenceSourcesBadRequest

func NewGetPresenceSourcesBadRequest() *GetPresenceSourcesBadRequest

NewGetPresenceSourcesBadRequest creates a GetPresenceSourcesBadRequest with default headers values

func (*GetPresenceSourcesBadRequest) Error

func (*GetPresenceSourcesBadRequest) GetPayload

func (*GetPresenceSourcesBadRequest) IsClientError

func (o *GetPresenceSourcesBadRequest) IsClientError() bool

IsClientError returns true when this get presence sources bad request response has a 4xx status code

func (*GetPresenceSourcesBadRequest) IsCode

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

IsCode returns true when this get presence sources bad request response a status code equal to that given

func (*GetPresenceSourcesBadRequest) IsRedirect

func (o *GetPresenceSourcesBadRequest) IsRedirect() bool

IsRedirect returns true when this get presence sources bad request response has a 3xx status code

func (*GetPresenceSourcesBadRequest) IsServerError

func (o *GetPresenceSourcesBadRequest) IsServerError() bool

IsServerError returns true when this get presence sources bad request response has a 5xx status code

func (*GetPresenceSourcesBadRequest) IsSuccess

func (o *GetPresenceSourcesBadRequest) IsSuccess() bool

IsSuccess returns true when this get presence sources bad request response has a 2xx status code

func (*GetPresenceSourcesBadRequest) String

type GetPresenceSourcesForbidden

type GetPresenceSourcesForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetPresenceSourcesForbidden

func NewGetPresenceSourcesForbidden() *GetPresenceSourcesForbidden

NewGetPresenceSourcesForbidden creates a GetPresenceSourcesForbidden with default headers values

func (*GetPresenceSourcesForbidden) Error

func (*GetPresenceSourcesForbidden) GetPayload

func (o *GetPresenceSourcesForbidden) GetPayload() *models.ErrorBody

func (*GetPresenceSourcesForbidden) IsClientError

func (o *GetPresenceSourcesForbidden) IsClientError() bool

IsClientError returns true when this get presence sources forbidden response has a 4xx status code

func (*GetPresenceSourcesForbidden) IsCode

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

IsCode returns true when this get presence sources forbidden response a status code equal to that given

func (*GetPresenceSourcesForbidden) IsRedirect

func (o *GetPresenceSourcesForbidden) IsRedirect() bool

IsRedirect returns true when this get presence sources forbidden response has a 3xx status code

func (*GetPresenceSourcesForbidden) IsServerError

func (o *GetPresenceSourcesForbidden) IsServerError() bool

IsServerError returns true when this get presence sources forbidden response has a 5xx status code

func (*GetPresenceSourcesForbidden) IsSuccess

func (o *GetPresenceSourcesForbidden) IsSuccess() bool

IsSuccess returns true when this get presence sources forbidden response has a 2xx status code

func (*GetPresenceSourcesForbidden) String

func (o *GetPresenceSourcesForbidden) String() string

type GetPresenceSourcesGatewayTimeout

type GetPresenceSourcesGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetPresenceSourcesGatewayTimeout

func NewGetPresenceSourcesGatewayTimeout() *GetPresenceSourcesGatewayTimeout

NewGetPresenceSourcesGatewayTimeout creates a GetPresenceSourcesGatewayTimeout with default headers values

func (*GetPresenceSourcesGatewayTimeout) Error

func (*GetPresenceSourcesGatewayTimeout) GetPayload

func (*GetPresenceSourcesGatewayTimeout) IsClientError

func (o *GetPresenceSourcesGatewayTimeout) IsClientError() bool

IsClientError returns true when this get presence sources gateway timeout response has a 4xx status code

func (*GetPresenceSourcesGatewayTimeout) IsCode

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

IsCode returns true when this get presence sources gateway timeout response a status code equal to that given

func (*GetPresenceSourcesGatewayTimeout) IsRedirect

func (o *GetPresenceSourcesGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get presence sources gateway timeout response has a 3xx status code

func (*GetPresenceSourcesGatewayTimeout) IsServerError

func (o *GetPresenceSourcesGatewayTimeout) IsServerError() bool

IsServerError returns true when this get presence sources gateway timeout response has a 5xx status code

func (*GetPresenceSourcesGatewayTimeout) IsSuccess

func (o *GetPresenceSourcesGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get presence sources gateway timeout response has a 2xx status code

func (*GetPresenceSourcesGatewayTimeout) String

type GetPresenceSourcesInternalServerError

type GetPresenceSourcesInternalServerError struct {
	Payload *models.ErrorBody
}

GetPresenceSourcesInternalServerError 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 NewGetPresenceSourcesInternalServerError

func NewGetPresenceSourcesInternalServerError() *GetPresenceSourcesInternalServerError

NewGetPresenceSourcesInternalServerError creates a GetPresenceSourcesInternalServerError with default headers values

func (*GetPresenceSourcesInternalServerError) Error

func (*GetPresenceSourcesInternalServerError) GetPayload

func (*GetPresenceSourcesInternalServerError) IsClientError

func (o *GetPresenceSourcesInternalServerError) IsClientError() bool

IsClientError returns true when this get presence sources internal server error response has a 4xx status code

func (*GetPresenceSourcesInternalServerError) IsCode

IsCode returns true when this get presence sources internal server error response a status code equal to that given

func (*GetPresenceSourcesInternalServerError) IsRedirect

IsRedirect returns true when this get presence sources internal server error response has a 3xx status code

func (*GetPresenceSourcesInternalServerError) IsServerError

func (o *GetPresenceSourcesInternalServerError) IsServerError() bool

IsServerError returns true when this get presence sources internal server error response has a 5xx status code

func (*GetPresenceSourcesInternalServerError) IsSuccess

IsSuccess returns true when this get presence sources internal server error response has a 2xx status code

func (*GetPresenceSourcesInternalServerError) String

type GetPresenceSourcesNotFound

type GetPresenceSourcesNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetPresenceSourcesNotFound

func NewGetPresenceSourcesNotFound() *GetPresenceSourcesNotFound

NewGetPresenceSourcesNotFound creates a GetPresenceSourcesNotFound with default headers values

func (*GetPresenceSourcesNotFound) Error

func (*GetPresenceSourcesNotFound) GetPayload

func (o *GetPresenceSourcesNotFound) GetPayload() *models.ErrorBody

func (*GetPresenceSourcesNotFound) IsClientError

func (o *GetPresenceSourcesNotFound) IsClientError() bool

IsClientError returns true when this get presence sources not found response has a 4xx status code

func (*GetPresenceSourcesNotFound) IsCode

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

IsCode returns true when this get presence sources not found response a status code equal to that given

func (*GetPresenceSourcesNotFound) IsRedirect

func (o *GetPresenceSourcesNotFound) IsRedirect() bool

IsRedirect returns true when this get presence sources not found response has a 3xx status code

func (*GetPresenceSourcesNotFound) IsServerError

func (o *GetPresenceSourcesNotFound) IsServerError() bool

IsServerError returns true when this get presence sources not found response has a 5xx status code

func (*GetPresenceSourcesNotFound) IsSuccess

func (o *GetPresenceSourcesNotFound) IsSuccess() bool

IsSuccess returns true when this get presence sources not found response has a 2xx status code

func (*GetPresenceSourcesNotFound) String

func (o *GetPresenceSourcesNotFound) String() string

type GetPresenceSourcesOK

type GetPresenceSourcesOK struct {
	Payload *models.SourceEntityListing
}

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

successful operation

func NewGetPresenceSourcesOK

func NewGetPresenceSourcesOK() *GetPresenceSourcesOK

NewGetPresenceSourcesOK creates a GetPresenceSourcesOK with default headers values

func (*GetPresenceSourcesOK) Error

func (o *GetPresenceSourcesOK) Error() string

func (*GetPresenceSourcesOK) GetPayload

func (*GetPresenceSourcesOK) IsClientError

func (o *GetPresenceSourcesOK) IsClientError() bool

IsClientError returns true when this get presence sources o k response has a 4xx status code

func (*GetPresenceSourcesOK) IsCode

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

IsCode returns true when this get presence sources o k response a status code equal to that given

func (*GetPresenceSourcesOK) IsRedirect

func (o *GetPresenceSourcesOK) IsRedirect() bool

IsRedirect returns true when this get presence sources o k response has a 3xx status code

func (*GetPresenceSourcesOK) IsServerError

func (o *GetPresenceSourcesOK) IsServerError() bool

IsServerError returns true when this get presence sources o k response has a 5xx status code

func (*GetPresenceSourcesOK) IsSuccess

func (o *GetPresenceSourcesOK) IsSuccess() bool

IsSuccess returns true when this get presence sources o k response has a 2xx status code

func (*GetPresenceSourcesOK) String

func (o *GetPresenceSourcesOK) String() string

type GetPresenceSourcesParams

type GetPresenceSourcesParams struct {

	/* Deactivated.

	   Deactivated query can be TRUE or FALSE

	   Default: "false"
	*/
	Deactivated *string

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

GetPresenceSourcesParams contains all the parameters to send to the API endpoint

for the get presence sources operation.

Typically these are written to a http.Request.

func NewGetPresenceSourcesParams

func NewGetPresenceSourcesParams() *GetPresenceSourcesParams

NewGetPresenceSourcesParams creates a new GetPresenceSourcesParams 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 NewGetPresenceSourcesParamsWithContext

func NewGetPresenceSourcesParamsWithContext(ctx context.Context) *GetPresenceSourcesParams

NewGetPresenceSourcesParamsWithContext creates a new GetPresenceSourcesParams object with the ability to set a context for a request.

func NewGetPresenceSourcesParamsWithHTTPClient

func NewGetPresenceSourcesParamsWithHTTPClient(client *http.Client) *GetPresenceSourcesParams

NewGetPresenceSourcesParamsWithHTTPClient creates a new GetPresenceSourcesParams object with the ability to set a custom HTTPClient for a request.

func NewGetPresenceSourcesParamsWithTimeout

func NewGetPresenceSourcesParamsWithTimeout(timeout time.Duration) *GetPresenceSourcesParams

NewGetPresenceSourcesParamsWithTimeout creates a new GetPresenceSourcesParams object with the ability to set a timeout on a request.

func (*GetPresenceSourcesParams) SetContext

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

SetContext adds the context to the get presence sources params

func (*GetPresenceSourcesParams) SetDeactivated

func (o *GetPresenceSourcesParams) SetDeactivated(deactivated *string)

SetDeactivated adds the deactivated to the get presence sources params

func (*GetPresenceSourcesParams) SetDefaults

func (o *GetPresenceSourcesParams) SetDefaults()

SetDefaults hydrates default values in the get presence sources params (not the query body).

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

func (*GetPresenceSourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get presence sources params

func (*GetPresenceSourcesParams) SetTimeout

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

SetTimeout adds the timeout to the get presence sources params

func (*GetPresenceSourcesParams) WithContext

WithContext adds the context to the get presence sources params

func (*GetPresenceSourcesParams) WithDeactivated

func (o *GetPresenceSourcesParams) WithDeactivated(deactivated *string) *GetPresenceSourcesParams

WithDeactivated adds the deactivated to the get presence sources params

func (*GetPresenceSourcesParams) WithDefaults

WithDefaults hydrates default values in the get presence sources params (not the query body).

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

func (*GetPresenceSourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get presence sources params

func (*GetPresenceSourcesParams) WithTimeout

WithTimeout adds the timeout to the get presence sources params

func (*GetPresenceSourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPresenceSourcesReader

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

GetPresenceSourcesReader is a Reader for the GetPresenceSources structure.

func (*GetPresenceSourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPresenceSourcesRequestEntityTooLarge

type GetPresenceSourcesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresenceSourcesRequestEntityTooLarge

func NewGetPresenceSourcesRequestEntityTooLarge() *GetPresenceSourcesRequestEntityTooLarge

NewGetPresenceSourcesRequestEntityTooLarge creates a GetPresenceSourcesRequestEntityTooLarge with default headers values

func (*GetPresenceSourcesRequestEntityTooLarge) Error

func (*GetPresenceSourcesRequestEntityTooLarge) GetPayload

func (*GetPresenceSourcesRequestEntityTooLarge) IsClientError

func (o *GetPresenceSourcesRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get presence sources request entity too large response has a 4xx status code

func (*GetPresenceSourcesRequestEntityTooLarge) IsCode

IsCode returns true when this get presence sources request entity too large response a status code equal to that given

func (*GetPresenceSourcesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get presence sources request entity too large response has a 3xx status code

func (*GetPresenceSourcesRequestEntityTooLarge) IsServerError

func (o *GetPresenceSourcesRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get presence sources request entity too large response has a 5xx status code

func (*GetPresenceSourcesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get presence sources request entity too large response has a 2xx status code

func (*GetPresenceSourcesRequestEntityTooLarge) String

type GetPresenceSourcesRequestTimeout

type GetPresenceSourcesRequestTimeout struct {
	Payload *models.ErrorBody
}

GetPresenceSourcesRequestTimeout 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 NewGetPresenceSourcesRequestTimeout

func NewGetPresenceSourcesRequestTimeout() *GetPresenceSourcesRequestTimeout

NewGetPresenceSourcesRequestTimeout creates a GetPresenceSourcesRequestTimeout with default headers values

func (*GetPresenceSourcesRequestTimeout) Error

func (*GetPresenceSourcesRequestTimeout) GetPayload

func (*GetPresenceSourcesRequestTimeout) IsClientError

func (o *GetPresenceSourcesRequestTimeout) IsClientError() bool

IsClientError returns true when this get presence sources request timeout response has a 4xx status code

func (*GetPresenceSourcesRequestTimeout) IsCode

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

IsCode returns true when this get presence sources request timeout response a status code equal to that given

func (*GetPresenceSourcesRequestTimeout) IsRedirect

func (o *GetPresenceSourcesRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get presence sources request timeout response has a 3xx status code

func (*GetPresenceSourcesRequestTimeout) IsServerError

func (o *GetPresenceSourcesRequestTimeout) IsServerError() bool

IsServerError returns true when this get presence sources request timeout response has a 5xx status code

func (*GetPresenceSourcesRequestTimeout) IsSuccess

func (o *GetPresenceSourcesRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get presence sources request timeout response has a 2xx status code

func (*GetPresenceSourcesRequestTimeout) String

type GetPresenceSourcesServiceUnavailable

type GetPresenceSourcesServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetPresenceSourcesServiceUnavailable 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 NewGetPresenceSourcesServiceUnavailable

func NewGetPresenceSourcesServiceUnavailable() *GetPresenceSourcesServiceUnavailable

NewGetPresenceSourcesServiceUnavailable creates a GetPresenceSourcesServiceUnavailable with default headers values

func (*GetPresenceSourcesServiceUnavailable) Error

func (*GetPresenceSourcesServiceUnavailable) GetPayload

func (*GetPresenceSourcesServiceUnavailable) IsClientError

func (o *GetPresenceSourcesServiceUnavailable) IsClientError() bool

IsClientError returns true when this get presence sources service unavailable response has a 4xx status code

func (*GetPresenceSourcesServiceUnavailable) IsCode

IsCode returns true when this get presence sources service unavailable response a status code equal to that given

func (*GetPresenceSourcesServiceUnavailable) IsRedirect

IsRedirect returns true when this get presence sources service unavailable response has a 3xx status code

func (*GetPresenceSourcesServiceUnavailable) IsServerError

func (o *GetPresenceSourcesServiceUnavailable) IsServerError() bool

IsServerError returns true when this get presence sources service unavailable response has a 5xx status code

func (*GetPresenceSourcesServiceUnavailable) IsSuccess

IsSuccess returns true when this get presence sources service unavailable response has a 2xx status code

func (*GetPresenceSourcesServiceUnavailable) String

type GetPresenceSourcesTooManyRequests

type GetPresenceSourcesTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresenceSourcesTooManyRequests

func NewGetPresenceSourcesTooManyRequests() *GetPresenceSourcesTooManyRequests

NewGetPresenceSourcesTooManyRequests creates a GetPresenceSourcesTooManyRequests with default headers values

func (*GetPresenceSourcesTooManyRequests) Error

func (*GetPresenceSourcesTooManyRequests) GetPayload

func (*GetPresenceSourcesTooManyRequests) IsClientError

func (o *GetPresenceSourcesTooManyRequests) IsClientError() bool

IsClientError returns true when this get presence sources too many requests response has a 4xx status code

func (*GetPresenceSourcesTooManyRequests) IsCode

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

IsCode returns true when this get presence sources too many requests response a status code equal to that given

func (*GetPresenceSourcesTooManyRequests) IsRedirect

func (o *GetPresenceSourcesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get presence sources too many requests response has a 3xx status code

func (*GetPresenceSourcesTooManyRequests) IsServerError

func (o *GetPresenceSourcesTooManyRequests) IsServerError() bool

IsServerError returns true when this get presence sources too many requests response has a 5xx status code

func (*GetPresenceSourcesTooManyRequests) IsSuccess

func (o *GetPresenceSourcesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get presence sources too many requests response has a 2xx status code

func (*GetPresenceSourcesTooManyRequests) String

type GetPresenceSourcesUnauthorized

type GetPresenceSourcesUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetPresenceSourcesUnauthorized

func NewGetPresenceSourcesUnauthorized() *GetPresenceSourcesUnauthorized

NewGetPresenceSourcesUnauthorized creates a GetPresenceSourcesUnauthorized with default headers values

func (*GetPresenceSourcesUnauthorized) Error

func (*GetPresenceSourcesUnauthorized) GetPayload

func (*GetPresenceSourcesUnauthorized) IsClientError

func (o *GetPresenceSourcesUnauthorized) IsClientError() bool

IsClientError returns true when this get presence sources unauthorized response has a 4xx status code

func (*GetPresenceSourcesUnauthorized) IsCode

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

IsCode returns true when this get presence sources unauthorized response a status code equal to that given

func (*GetPresenceSourcesUnauthorized) IsRedirect

func (o *GetPresenceSourcesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get presence sources unauthorized response has a 3xx status code

func (*GetPresenceSourcesUnauthorized) IsServerError

func (o *GetPresenceSourcesUnauthorized) IsServerError() bool

IsServerError returns true when this get presence sources unauthorized response has a 5xx status code

func (*GetPresenceSourcesUnauthorized) IsSuccess

func (o *GetPresenceSourcesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get presence sources unauthorized response has a 2xx status code

func (*GetPresenceSourcesUnauthorized) String

type GetPresenceSourcesUnsupportedMediaType

type GetPresenceSourcesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetPresenceSourcesUnsupportedMediaType 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 NewGetPresenceSourcesUnsupportedMediaType

func NewGetPresenceSourcesUnsupportedMediaType() *GetPresenceSourcesUnsupportedMediaType

NewGetPresenceSourcesUnsupportedMediaType creates a GetPresenceSourcesUnsupportedMediaType with default headers values

func (*GetPresenceSourcesUnsupportedMediaType) Error

func (*GetPresenceSourcesUnsupportedMediaType) GetPayload

func (*GetPresenceSourcesUnsupportedMediaType) IsClientError

func (o *GetPresenceSourcesUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get presence sources unsupported media type response has a 4xx status code

func (*GetPresenceSourcesUnsupportedMediaType) IsCode

IsCode returns true when this get presence sources unsupported media type response a status code equal to that given

func (*GetPresenceSourcesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get presence sources unsupported media type response has a 3xx status code

func (*GetPresenceSourcesUnsupportedMediaType) IsServerError

func (o *GetPresenceSourcesUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get presence sources unsupported media type response has a 5xx status code

func (*GetPresenceSourcesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get presence sources unsupported media type response has a 2xx status code

func (*GetPresenceSourcesUnsupportedMediaType) String

type GetPresenceUserPrimarysourceBadRequest

type GetPresenceUserPrimarysourceBadRequest struct {
	Payload *models.ErrorBody
}

GetPresenceUserPrimarysourceBadRequest 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 NewGetPresenceUserPrimarysourceBadRequest

func NewGetPresenceUserPrimarysourceBadRequest() *GetPresenceUserPrimarysourceBadRequest

NewGetPresenceUserPrimarysourceBadRequest creates a GetPresenceUserPrimarysourceBadRequest with default headers values

func (*GetPresenceUserPrimarysourceBadRequest) Error

func (*GetPresenceUserPrimarysourceBadRequest) GetPayload

func (*GetPresenceUserPrimarysourceBadRequest) IsClientError

func (o *GetPresenceUserPrimarysourceBadRequest) IsClientError() bool

IsClientError returns true when this get presence user primarysource bad request response has a 4xx status code

func (*GetPresenceUserPrimarysourceBadRequest) IsCode

IsCode returns true when this get presence user primarysource bad request response a status code equal to that given

func (*GetPresenceUserPrimarysourceBadRequest) IsRedirect

IsRedirect returns true when this get presence user primarysource bad request response has a 3xx status code

func (*GetPresenceUserPrimarysourceBadRequest) IsServerError

func (o *GetPresenceUserPrimarysourceBadRequest) IsServerError() bool

IsServerError returns true when this get presence user primarysource bad request response has a 5xx status code

func (*GetPresenceUserPrimarysourceBadRequest) IsSuccess

IsSuccess returns true when this get presence user primarysource bad request response has a 2xx status code

func (*GetPresenceUserPrimarysourceBadRequest) String

type GetPresenceUserPrimarysourceForbidden

type GetPresenceUserPrimarysourceForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetPresenceUserPrimarysourceForbidden

func NewGetPresenceUserPrimarysourceForbidden() *GetPresenceUserPrimarysourceForbidden

NewGetPresenceUserPrimarysourceForbidden creates a GetPresenceUserPrimarysourceForbidden with default headers values

func (*GetPresenceUserPrimarysourceForbidden) Error

func (*GetPresenceUserPrimarysourceForbidden) GetPayload

func (*GetPresenceUserPrimarysourceForbidden) IsClientError

func (o *GetPresenceUserPrimarysourceForbidden) IsClientError() bool

IsClientError returns true when this get presence user primarysource forbidden response has a 4xx status code

func (*GetPresenceUserPrimarysourceForbidden) IsCode

IsCode returns true when this get presence user primarysource forbidden response a status code equal to that given

func (*GetPresenceUserPrimarysourceForbidden) IsRedirect

IsRedirect returns true when this get presence user primarysource forbidden response has a 3xx status code

func (*GetPresenceUserPrimarysourceForbidden) IsServerError

func (o *GetPresenceUserPrimarysourceForbidden) IsServerError() bool

IsServerError returns true when this get presence user primarysource forbidden response has a 5xx status code

func (*GetPresenceUserPrimarysourceForbidden) IsSuccess

IsSuccess returns true when this get presence user primarysource forbidden response has a 2xx status code

func (*GetPresenceUserPrimarysourceForbidden) String

type GetPresenceUserPrimarysourceGatewayTimeout

type GetPresenceUserPrimarysourceGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetPresenceUserPrimarysourceGatewayTimeout

func NewGetPresenceUserPrimarysourceGatewayTimeout() *GetPresenceUserPrimarysourceGatewayTimeout

NewGetPresenceUserPrimarysourceGatewayTimeout creates a GetPresenceUserPrimarysourceGatewayTimeout with default headers values

func (*GetPresenceUserPrimarysourceGatewayTimeout) Error

func (*GetPresenceUserPrimarysourceGatewayTimeout) GetPayload

func (*GetPresenceUserPrimarysourceGatewayTimeout) IsClientError

IsClientError returns true when this get presence user primarysource gateway timeout response has a 4xx status code

func (*GetPresenceUserPrimarysourceGatewayTimeout) IsCode

IsCode returns true when this get presence user primarysource gateway timeout response a status code equal to that given

func (*GetPresenceUserPrimarysourceGatewayTimeout) IsRedirect

IsRedirect returns true when this get presence user primarysource gateway timeout response has a 3xx status code

func (*GetPresenceUserPrimarysourceGatewayTimeout) IsServerError

IsServerError returns true when this get presence user primarysource gateway timeout response has a 5xx status code

func (*GetPresenceUserPrimarysourceGatewayTimeout) IsSuccess

IsSuccess returns true when this get presence user primarysource gateway timeout response has a 2xx status code

func (*GetPresenceUserPrimarysourceGatewayTimeout) String

type GetPresenceUserPrimarysourceInternalServerError

type GetPresenceUserPrimarysourceInternalServerError struct {
	Payload *models.ErrorBody
}

GetPresenceUserPrimarysourceInternalServerError 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 NewGetPresenceUserPrimarysourceInternalServerError

func NewGetPresenceUserPrimarysourceInternalServerError() *GetPresenceUserPrimarysourceInternalServerError

NewGetPresenceUserPrimarysourceInternalServerError creates a GetPresenceUserPrimarysourceInternalServerError with default headers values

func (*GetPresenceUserPrimarysourceInternalServerError) Error

func (*GetPresenceUserPrimarysourceInternalServerError) GetPayload

func (*GetPresenceUserPrimarysourceInternalServerError) IsClientError

IsClientError returns true when this get presence user primarysource internal server error response has a 4xx status code

func (*GetPresenceUserPrimarysourceInternalServerError) IsCode

IsCode returns true when this get presence user primarysource internal server error response a status code equal to that given

func (*GetPresenceUserPrimarysourceInternalServerError) IsRedirect

IsRedirect returns true when this get presence user primarysource internal server error response has a 3xx status code

func (*GetPresenceUserPrimarysourceInternalServerError) IsServerError

IsServerError returns true when this get presence user primarysource internal server error response has a 5xx status code

func (*GetPresenceUserPrimarysourceInternalServerError) IsSuccess

IsSuccess returns true when this get presence user primarysource internal server error response has a 2xx status code

func (*GetPresenceUserPrimarysourceInternalServerError) String

type GetPresenceUserPrimarysourceNotFound

type GetPresenceUserPrimarysourceNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetPresenceUserPrimarysourceNotFound

func NewGetPresenceUserPrimarysourceNotFound() *GetPresenceUserPrimarysourceNotFound

NewGetPresenceUserPrimarysourceNotFound creates a GetPresenceUserPrimarysourceNotFound with default headers values

func (*GetPresenceUserPrimarysourceNotFound) Error

func (*GetPresenceUserPrimarysourceNotFound) GetPayload

func (*GetPresenceUserPrimarysourceNotFound) IsClientError

func (o *GetPresenceUserPrimarysourceNotFound) IsClientError() bool

IsClientError returns true when this get presence user primarysource not found response has a 4xx status code

func (*GetPresenceUserPrimarysourceNotFound) IsCode

IsCode returns true when this get presence user primarysource not found response a status code equal to that given

func (*GetPresenceUserPrimarysourceNotFound) IsRedirect

IsRedirect returns true when this get presence user primarysource not found response has a 3xx status code

func (*GetPresenceUserPrimarysourceNotFound) IsServerError

func (o *GetPresenceUserPrimarysourceNotFound) IsServerError() bool

IsServerError returns true when this get presence user primarysource not found response has a 5xx status code

func (*GetPresenceUserPrimarysourceNotFound) IsSuccess

IsSuccess returns true when this get presence user primarysource not found response has a 2xx status code

func (*GetPresenceUserPrimarysourceNotFound) String

type GetPresenceUserPrimarysourceOK

type GetPresenceUserPrimarysourceOK struct {
	Payload *models.UserPrimarySource
}

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

successful operation

func NewGetPresenceUserPrimarysourceOK

func NewGetPresenceUserPrimarysourceOK() *GetPresenceUserPrimarysourceOK

NewGetPresenceUserPrimarysourceOK creates a GetPresenceUserPrimarysourceOK with default headers values

func (*GetPresenceUserPrimarysourceOK) Error

func (*GetPresenceUserPrimarysourceOK) GetPayload

func (*GetPresenceUserPrimarysourceOK) IsClientError

func (o *GetPresenceUserPrimarysourceOK) IsClientError() bool

IsClientError returns true when this get presence user primarysource o k response has a 4xx status code

func (*GetPresenceUserPrimarysourceOK) IsCode

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

IsCode returns true when this get presence user primarysource o k response a status code equal to that given

func (*GetPresenceUserPrimarysourceOK) IsRedirect

func (o *GetPresenceUserPrimarysourceOK) IsRedirect() bool

IsRedirect returns true when this get presence user primarysource o k response has a 3xx status code

func (*GetPresenceUserPrimarysourceOK) IsServerError

func (o *GetPresenceUserPrimarysourceOK) IsServerError() bool

IsServerError returns true when this get presence user primarysource o k response has a 5xx status code

func (*GetPresenceUserPrimarysourceOK) IsSuccess

func (o *GetPresenceUserPrimarysourceOK) IsSuccess() bool

IsSuccess returns true when this get presence user primarysource o k response has a 2xx status code

func (*GetPresenceUserPrimarysourceOK) String

type GetPresenceUserPrimarysourceParams

type GetPresenceUserPrimarysourceParams struct {

	/* UserID.

	   user ID
	*/
	UserID string

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

GetPresenceUserPrimarysourceParams contains all the parameters to send to the API endpoint

for the get presence user primarysource operation.

Typically these are written to a http.Request.

func NewGetPresenceUserPrimarysourceParams

func NewGetPresenceUserPrimarysourceParams() *GetPresenceUserPrimarysourceParams

NewGetPresenceUserPrimarysourceParams creates a new GetPresenceUserPrimarysourceParams 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 NewGetPresenceUserPrimarysourceParamsWithContext

func NewGetPresenceUserPrimarysourceParamsWithContext(ctx context.Context) *GetPresenceUserPrimarysourceParams

NewGetPresenceUserPrimarysourceParamsWithContext creates a new GetPresenceUserPrimarysourceParams object with the ability to set a context for a request.

func NewGetPresenceUserPrimarysourceParamsWithHTTPClient

func NewGetPresenceUserPrimarysourceParamsWithHTTPClient(client *http.Client) *GetPresenceUserPrimarysourceParams

NewGetPresenceUserPrimarysourceParamsWithHTTPClient creates a new GetPresenceUserPrimarysourceParams object with the ability to set a custom HTTPClient for a request.

func NewGetPresenceUserPrimarysourceParamsWithTimeout

func NewGetPresenceUserPrimarysourceParamsWithTimeout(timeout time.Duration) *GetPresenceUserPrimarysourceParams

NewGetPresenceUserPrimarysourceParamsWithTimeout creates a new GetPresenceUserPrimarysourceParams object with the ability to set a timeout on a request.

func (*GetPresenceUserPrimarysourceParams) SetContext

SetContext adds the context to the get presence user primarysource params

func (*GetPresenceUserPrimarysourceParams) SetDefaults

func (o *GetPresenceUserPrimarysourceParams) SetDefaults()

SetDefaults hydrates default values in the get presence user primarysource params (not the query body).

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

func (*GetPresenceUserPrimarysourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get presence user primarysource params

func (*GetPresenceUserPrimarysourceParams) SetTimeout

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

SetTimeout adds the timeout to the get presence user primarysource params

func (*GetPresenceUserPrimarysourceParams) SetUserID

func (o *GetPresenceUserPrimarysourceParams) SetUserID(userID string)

SetUserID adds the userId to the get presence user primarysource params

func (*GetPresenceUserPrimarysourceParams) WithContext

WithContext adds the context to the get presence user primarysource params

func (*GetPresenceUserPrimarysourceParams) WithDefaults

WithDefaults hydrates default values in the get presence user primarysource params (not the query body).

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

func (*GetPresenceUserPrimarysourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get presence user primarysource params

func (*GetPresenceUserPrimarysourceParams) WithTimeout

WithTimeout adds the timeout to the get presence user primarysource params

func (*GetPresenceUserPrimarysourceParams) WithUserID

WithUserID adds the userID to the get presence user primarysource params

func (*GetPresenceUserPrimarysourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPresenceUserPrimarysourceReader

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

GetPresenceUserPrimarysourceReader is a Reader for the GetPresenceUserPrimarysource structure.

func (*GetPresenceUserPrimarysourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPresenceUserPrimarysourceRequestEntityTooLarge

type GetPresenceUserPrimarysourceRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresenceUserPrimarysourceRequestEntityTooLarge

func NewGetPresenceUserPrimarysourceRequestEntityTooLarge() *GetPresenceUserPrimarysourceRequestEntityTooLarge

NewGetPresenceUserPrimarysourceRequestEntityTooLarge creates a GetPresenceUserPrimarysourceRequestEntityTooLarge with default headers values

func (*GetPresenceUserPrimarysourceRequestEntityTooLarge) Error

func (*GetPresenceUserPrimarysourceRequestEntityTooLarge) GetPayload

func (*GetPresenceUserPrimarysourceRequestEntityTooLarge) IsClientError

IsClientError returns true when this get presence user primarysource request entity too large response has a 4xx status code

func (*GetPresenceUserPrimarysourceRequestEntityTooLarge) IsCode

IsCode returns true when this get presence user primarysource request entity too large response a status code equal to that given

func (*GetPresenceUserPrimarysourceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get presence user primarysource request entity too large response has a 3xx status code

func (*GetPresenceUserPrimarysourceRequestEntityTooLarge) IsServerError

IsServerError returns true when this get presence user primarysource request entity too large response has a 5xx status code

func (*GetPresenceUserPrimarysourceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get presence user primarysource request entity too large response has a 2xx status code

func (*GetPresenceUserPrimarysourceRequestEntityTooLarge) String

type GetPresenceUserPrimarysourceRequestTimeout

type GetPresenceUserPrimarysourceRequestTimeout struct {
	Payload *models.ErrorBody
}

GetPresenceUserPrimarysourceRequestTimeout 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 NewGetPresenceUserPrimarysourceRequestTimeout

func NewGetPresenceUserPrimarysourceRequestTimeout() *GetPresenceUserPrimarysourceRequestTimeout

NewGetPresenceUserPrimarysourceRequestTimeout creates a GetPresenceUserPrimarysourceRequestTimeout with default headers values

func (*GetPresenceUserPrimarysourceRequestTimeout) Error

func (*GetPresenceUserPrimarysourceRequestTimeout) GetPayload

func (*GetPresenceUserPrimarysourceRequestTimeout) IsClientError

IsClientError returns true when this get presence user primarysource request timeout response has a 4xx status code

func (*GetPresenceUserPrimarysourceRequestTimeout) IsCode

IsCode returns true when this get presence user primarysource request timeout response a status code equal to that given

func (*GetPresenceUserPrimarysourceRequestTimeout) IsRedirect

IsRedirect returns true when this get presence user primarysource request timeout response has a 3xx status code

func (*GetPresenceUserPrimarysourceRequestTimeout) IsServerError

IsServerError returns true when this get presence user primarysource request timeout response has a 5xx status code

func (*GetPresenceUserPrimarysourceRequestTimeout) IsSuccess

IsSuccess returns true when this get presence user primarysource request timeout response has a 2xx status code

func (*GetPresenceUserPrimarysourceRequestTimeout) String

type GetPresenceUserPrimarysourceServiceUnavailable

type GetPresenceUserPrimarysourceServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetPresenceUserPrimarysourceServiceUnavailable 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 NewGetPresenceUserPrimarysourceServiceUnavailable

func NewGetPresenceUserPrimarysourceServiceUnavailable() *GetPresenceUserPrimarysourceServiceUnavailable

NewGetPresenceUserPrimarysourceServiceUnavailable creates a GetPresenceUserPrimarysourceServiceUnavailable with default headers values

func (*GetPresenceUserPrimarysourceServiceUnavailable) Error

func (*GetPresenceUserPrimarysourceServiceUnavailable) GetPayload

func (*GetPresenceUserPrimarysourceServiceUnavailable) IsClientError

IsClientError returns true when this get presence user primarysource service unavailable response has a 4xx status code

func (*GetPresenceUserPrimarysourceServiceUnavailable) IsCode

IsCode returns true when this get presence user primarysource service unavailable response a status code equal to that given

func (*GetPresenceUserPrimarysourceServiceUnavailable) IsRedirect

IsRedirect returns true when this get presence user primarysource service unavailable response has a 3xx status code

func (*GetPresenceUserPrimarysourceServiceUnavailable) IsServerError

IsServerError returns true when this get presence user primarysource service unavailable response has a 5xx status code

func (*GetPresenceUserPrimarysourceServiceUnavailable) IsSuccess

IsSuccess returns true when this get presence user primarysource service unavailable response has a 2xx status code

func (*GetPresenceUserPrimarysourceServiceUnavailable) String

type GetPresenceUserPrimarysourceTooManyRequests

type GetPresenceUserPrimarysourceTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresenceUserPrimarysourceTooManyRequests

func NewGetPresenceUserPrimarysourceTooManyRequests() *GetPresenceUserPrimarysourceTooManyRequests

NewGetPresenceUserPrimarysourceTooManyRequests creates a GetPresenceUserPrimarysourceTooManyRequests with default headers values

func (*GetPresenceUserPrimarysourceTooManyRequests) Error

func (*GetPresenceUserPrimarysourceTooManyRequests) GetPayload

func (*GetPresenceUserPrimarysourceTooManyRequests) IsClientError

IsClientError returns true when this get presence user primarysource too many requests response has a 4xx status code

func (*GetPresenceUserPrimarysourceTooManyRequests) IsCode

IsCode returns true when this get presence user primarysource too many requests response a status code equal to that given

func (*GetPresenceUserPrimarysourceTooManyRequests) IsRedirect

IsRedirect returns true when this get presence user primarysource too many requests response has a 3xx status code

func (*GetPresenceUserPrimarysourceTooManyRequests) IsServerError

IsServerError returns true when this get presence user primarysource too many requests response has a 5xx status code

func (*GetPresenceUserPrimarysourceTooManyRequests) IsSuccess

IsSuccess returns true when this get presence user primarysource too many requests response has a 2xx status code

func (*GetPresenceUserPrimarysourceTooManyRequests) String

type GetPresenceUserPrimarysourceUnauthorized

type GetPresenceUserPrimarysourceUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetPresenceUserPrimarysourceUnauthorized

func NewGetPresenceUserPrimarysourceUnauthorized() *GetPresenceUserPrimarysourceUnauthorized

NewGetPresenceUserPrimarysourceUnauthorized creates a GetPresenceUserPrimarysourceUnauthorized with default headers values

func (*GetPresenceUserPrimarysourceUnauthorized) Error

func (*GetPresenceUserPrimarysourceUnauthorized) GetPayload

func (*GetPresenceUserPrimarysourceUnauthorized) IsClientError

IsClientError returns true when this get presence user primarysource unauthorized response has a 4xx status code

func (*GetPresenceUserPrimarysourceUnauthorized) IsCode

IsCode returns true when this get presence user primarysource unauthorized response a status code equal to that given

func (*GetPresenceUserPrimarysourceUnauthorized) IsRedirect

IsRedirect returns true when this get presence user primarysource unauthorized response has a 3xx status code

func (*GetPresenceUserPrimarysourceUnauthorized) IsServerError

IsServerError returns true when this get presence user primarysource unauthorized response has a 5xx status code

func (*GetPresenceUserPrimarysourceUnauthorized) IsSuccess

IsSuccess returns true when this get presence user primarysource unauthorized response has a 2xx status code

func (*GetPresenceUserPrimarysourceUnauthorized) String

type GetPresenceUserPrimarysourceUnsupportedMediaType

type GetPresenceUserPrimarysourceUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetPresenceUserPrimarysourceUnsupportedMediaType 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 NewGetPresenceUserPrimarysourceUnsupportedMediaType

func NewGetPresenceUserPrimarysourceUnsupportedMediaType() *GetPresenceUserPrimarysourceUnsupportedMediaType

NewGetPresenceUserPrimarysourceUnsupportedMediaType creates a GetPresenceUserPrimarysourceUnsupportedMediaType with default headers values

func (*GetPresenceUserPrimarysourceUnsupportedMediaType) Error

func (*GetPresenceUserPrimarysourceUnsupportedMediaType) GetPayload

func (*GetPresenceUserPrimarysourceUnsupportedMediaType) IsClientError

IsClientError returns true when this get presence user primarysource unsupported media type response has a 4xx status code

func (*GetPresenceUserPrimarysourceUnsupportedMediaType) IsCode

IsCode returns true when this get presence user primarysource unsupported media type response a status code equal to that given

func (*GetPresenceUserPrimarysourceUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get presence user primarysource unsupported media type response has a 3xx status code

func (*GetPresenceUserPrimarysourceUnsupportedMediaType) IsServerError

IsServerError returns true when this get presence user primarysource unsupported media type response has a 5xx status code

func (*GetPresenceUserPrimarysourceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get presence user primarysource unsupported media type response has a 2xx status code

func (*GetPresenceUserPrimarysourceUnsupportedMediaType) String

type GetPresencedefinitionBadRequest

type GetPresencedefinitionBadRequest struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionBadRequest 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 NewGetPresencedefinitionBadRequest

func NewGetPresencedefinitionBadRequest() *GetPresencedefinitionBadRequest

NewGetPresencedefinitionBadRequest creates a GetPresencedefinitionBadRequest with default headers values

func (*GetPresencedefinitionBadRequest) Error

func (*GetPresencedefinitionBadRequest) GetPayload

func (*GetPresencedefinitionBadRequest) IsClientError

func (o *GetPresencedefinitionBadRequest) IsClientError() bool

IsClientError returns true when this get presencedefinition bad request response has a 4xx status code

func (*GetPresencedefinitionBadRequest) IsCode

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

IsCode returns true when this get presencedefinition bad request response a status code equal to that given

func (*GetPresencedefinitionBadRequest) IsRedirect

func (o *GetPresencedefinitionBadRequest) IsRedirect() bool

IsRedirect returns true when this get presencedefinition bad request response has a 3xx status code

func (*GetPresencedefinitionBadRequest) IsServerError

func (o *GetPresencedefinitionBadRequest) IsServerError() bool

IsServerError returns true when this get presencedefinition bad request response has a 5xx status code

func (*GetPresencedefinitionBadRequest) IsSuccess

func (o *GetPresencedefinitionBadRequest) IsSuccess() bool

IsSuccess returns true when this get presencedefinition bad request response has a 2xx status code

func (*GetPresencedefinitionBadRequest) String

type GetPresencedefinitionForbidden

type GetPresencedefinitionForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetPresencedefinitionForbidden

func NewGetPresencedefinitionForbidden() *GetPresencedefinitionForbidden

NewGetPresencedefinitionForbidden creates a GetPresencedefinitionForbidden with default headers values

func (*GetPresencedefinitionForbidden) Error

func (*GetPresencedefinitionForbidden) GetPayload

func (*GetPresencedefinitionForbidden) IsClientError

func (o *GetPresencedefinitionForbidden) IsClientError() bool

IsClientError returns true when this get presencedefinition forbidden response has a 4xx status code

func (*GetPresencedefinitionForbidden) IsCode

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

IsCode returns true when this get presencedefinition forbidden response a status code equal to that given

func (*GetPresencedefinitionForbidden) IsRedirect

func (o *GetPresencedefinitionForbidden) IsRedirect() bool

IsRedirect returns true when this get presencedefinition forbidden response has a 3xx status code

func (*GetPresencedefinitionForbidden) IsServerError

func (o *GetPresencedefinitionForbidden) IsServerError() bool

IsServerError returns true when this get presencedefinition forbidden response has a 5xx status code

func (*GetPresencedefinitionForbidden) IsSuccess

func (o *GetPresencedefinitionForbidden) IsSuccess() bool

IsSuccess returns true when this get presencedefinition forbidden response has a 2xx status code

func (*GetPresencedefinitionForbidden) String

type GetPresencedefinitionGatewayTimeout

type GetPresencedefinitionGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetPresencedefinitionGatewayTimeout

func NewGetPresencedefinitionGatewayTimeout() *GetPresencedefinitionGatewayTimeout

NewGetPresencedefinitionGatewayTimeout creates a GetPresencedefinitionGatewayTimeout with default headers values

func (*GetPresencedefinitionGatewayTimeout) Error

func (*GetPresencedefinitionGatewayTimeout) GetPayload

func (*GetPresencedefinitionGatewayTimeout) IsClientError

func (o *GetPresencedefinitionGatewayTimeout) IsClientError() bool

IsClientError returns true when this get presencedefinition gateway timeout response has a 4xx status code

func (*GetPresencedefinitionGatewayTimeout) IsCode

IsCode returns true when this get presencedefinition gateway timeout response a status code equal to that given

func (*GetPresencedefinitionGatewayTimeout) IsRedirect

func (o *GetPresencedefinitionGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get presencedefinition gateway timeout response has a 3xx status code

func (*GetPresencedefinitionGatewayTimeout) IsServerError

func (o *GetPresencedefinitionGatewayTimeout) IsServerError() bool

IsServerError returns true when this get presencedefinition gateway timeout response has a 5xx status code

func (*GetPresencedefinitionGatewayTimeout) IsSuccess

IsSuccess returns true when this get presencedefinition gateway timeout response has a 2xx status code

func (*GetPresencedefinitionGatewayTimeout) String

type GetPresencedefinitionInternalServerError

type GetPresencedefinitionInternalServerError struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionInternalServerError 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 NewGetPresencedefinitionInternalServerError

func NewGetPresencedefinitionInternalServerError() *GetPresencedefinitionInternalServerError

NewGetPresencedefinitionInternalServerError creates a GetPresencedefinitionInternalServerError with default headers values

func (*GetPresencedefinitionInternalServerError) Error

func (*GetPresencedefinitionInternalServerError) GetPayload

func (*GetPresencedefinitionInternalServerError) IsClientError

IsClientError returns true when this get presencedefinition internal server error response has a 4xx status code

func (*GetPresencedefinitionInternalServerError) IsCode

IsCode returns true when this get presencedefinition internal server error response a status code equal to that given

func (*GetPresencedefinitionInternalServerError) IsRedirect

IsRedirect returns true when this get presencedefinition internal server error response has a 3xx status code

func (*GetPresencedefinitionInternalServerError) IsServerError

IsServerError returns true when this get presencedefinition internal server error response has a 5xx status code

func (*GetPresencedefinitionInternalServerError) IsSuccess

IsSuccess returns true when this get presencedefinition internal server error response has a 2xx status code

func (*GetPresencedefinitionInternalServerError) String

type GetPresencedefinitionNotFound

type GetPresencedefinitionNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetPresencedefinitionNotFound

func NewGetPresencedefinitionNotFound() *GetPresencedefinitionNotFound

NewGetPresencedefinitionNotFound creates a GetPresencedefinitionNotFound with default headers values

func (*GetPresencedefinitionNotFound) Error

func (*GetPresencedefinitionNotFound) GetPayload

func (*GetPresencedefinitionNotFound) IsClientError

func (o *GetPresencedefinitionNotFound) IsClientError() bool

IsClientError returns true when this get presencedefinition not found response has a 4xx status code

func (*GetPresencedefinitionNotFound) IsCode

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

IsCode returns true when this get presencedefinition not found response a status code equal to that given

func (*GetPresencedefinitionNotFound) IsRedirect

func (o *GetPresencedefinitionNotFound) IsRedirect() bool

IsRedirect returns true when this get presencedefinition not found response has a 3xx status code

func (*GetPresencedefinitionNotFound) IsServerError

func (o *GetPresencedefinitionNotFound) IsServerError() bool

IsServerError returns true when this get presencedefinition not found response has a 5xx status code

func (*GetPresencedefinitionNotFound) IsSuccess

func (o *GetPresencedefinitionNotFound) IsSuccess() bool

IsSuccess returns true when this get presencedefinition not found response has a 2xx status code

func (*GetPresencedefinitionNotFound) String

type GetPresencedefinitionOK

type GetPresencedefinitionOK struct {
	Payload *models.OrganizationPresence
}

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

successful operation

func NewGetPresencedefinitionOK

func NewGetPresencedefinitionOK() *GetPresencedefinitionOK

NewGetPresencedefinitionOK creates a GetPresencedefinitionOK with default headers values

func (*GetPresencedefinitionOK) Error

func (o *GetPresencedefinitionOK) Error() string

func (*GetPresencedefinitionOK) GetPayload

func (*GetPresencedefinitionOK) IsClientError

func (o *GetPresencedefinitionOK) IsClientError() bool

IsClientError returns true when this get presencedefinition o k response has a 4xx status code

func (*GetPresencedefinitionOK) IsCode

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

IsCode returns true when this get presencedefinition o k response a status code equal to that given

func (*GetPresencedefinitionOK) IsRedirect

func (o *GetPresencedefinitionOK) IsRedirect() bool

IsRedirect returns true when this get presencedefinition o k response has a 3xx status code

func (*GetPresencedefinitionOK) IsServerError

func (o *GetPresencedefinitionOK) IsServerError() bool

IsServerError returns true when this get presencedefinition o k response has a 5xx status code

func (*GetPresencedefinitionOK) IsSuccess

func (o *GetPresencedefinitionOK) IsSuccess() bool

IsSuccess returns true when this get presencedefinition o k response has a 2xx status code

func (*GetPresencedefinitionOK) String

func (o *GetPresencedefinitionOK) String() string

type GetPresencedefinitionParams

type GetPresencedefinitionParams struct {

	/* LocaleCode.

	   The locale code to fetch for the presence definition. Use ALL to fetch everything.
	*/
	LocaleCode *string

	/* PresenceID.

	   Organization Presence ID
	*/
	PresenceID string

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

GetPresencedefinitionParams contains all the parameters to send to the API endpoint

for the get presencedefinition operation.

Typically these are written to a http.Request.

func NewGetPresencedefinitionParams

func NewGetPresencedefinitionParams() *GetPresencedefinitionParams

NewGetPresencedefinitionParams creates a new GetPresencedefinitionParams 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 NewGetPresencedefinitionParamsWithContext

func NewGetPresencedefinitionParamsWithContext(ctx context.Context) *GetPresencedefinitionParams

NewGetPresencedefinitionParamsWithContext creates a new GetPresencedefinitionParams object with the ability to set a context for a request.

func NewGetPresencedefinitionParamsWithHTTPClient

func NewGetPresencedefinitionParamsWithHTTPClient(client *http.Client) *GetPresencedefinitionParams

NewGetPresencedefinitionParamsWithHTTPClient creates a new GetPresencedefinitionParams object with the ability to set a custom HTTPClient for a request.

func NewGetPresencedefinitionParamsWithTimeout

func NewGetPresencedefinitionParamsWithTimeout(timeout time.Duration) *GetPresencedefinitionParams

NewGetPresencedefinitionParamsWithTimeout creates a new GetPresencedefinitionParams object with the ability to set a timeout on a request.

func (*GetPresencedefinitionParams) SetContext

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

SetContext adds the context to the get presencedefinition params

func (*GetPresencedefinitionParams) SetDefaults

func (o *GetPresencedefinitionParams) SetDefaults()

SetDefaults hydrates default values in the get presencedefinition params (not the query body).

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

func (*GetPresencedefinitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get presencedefinition params

func (*GetPresencedefinitionParams) SetLocaleCode

func (o *GetPresencedefinitionParams) SetLocaleCode(localeCode *string)

SetLocaleCode adds the localeCode to the get presencedefinition params

func (*GetPresencedefinitionParams) SetPresenceID

func (o *GetPresencedefinitionParams) SetPresenceID(presenceID string)

SetPresenceID adds the presenceId to the get presencedefinition params

func (*GetPresencedefinitionParams) SetTimeout

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

SetTimeout adds the timeout to the get presencedefinition params

func (*GetPresencedefinitionParams) WithContext

WithContext adds the context to the get presencedefinition params

func (*GetPresencedefinitionParams) WithDefaults

WithDefaults hydrates default values in the get presencedefinition params (not the query body).

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

func (*GetPresencedefinitionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get presencedefinition params

func (*GetPresencedefinitionParams) WithLocaleCode

func (o *GetPresencedefinitionParams) WithLocaleCode(localeCode *string) *GetPresencedefinitionParams

WithLocaleCode adds the localeCode to the get presencedefinition params

func (*GetPresencedefinitionParams) WithPresenceID

func (o *GetPresencedefinitionParams) WithPresenceID(presenceID string) *GetPresencedefinitionParams

WithPresenceID adds the presenceID to the get presencedefinition params

func (*GetPresencedefinitionParams) WithTimeout

WithTimeout adds the timeout to the get presencedefinition params

func (*GetPresencedefinitionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPresencedefinitionReader

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

GetPresencedefinitionReader is a Reader for the GetPresencedefinition structure.

func (*GetPresencedefinitionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPresencedefinitionRequestEntityTooLarge

type GetPresencedefinitionRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresencedefinitionRequestEntityTooLarge

func NewGetPresencedefinitionRequestEntityTooLarge() *GetPresencedefinitionRequestEntityTooLarge

NewGetPresencedefinitionRequestEntityTooLarge creates a GetPresencedefinitionRequestEntityTooLarge with default headers values

func (*GetPresencedefinitionRequestEntityTooLarge) Error

func (*GetPresencedefinitionRequestEntityTooLarge) GetPayload

func (*GetPresencedefinitionRequestEntityTooLarge) IsClientError

IsClientError returns true when this get presencedefinition request entity too large response has a 4xx status code

func (*GetPresencedefinitionRequestEntityTooLarge) IsCode

IsCode returns true when this get presencedefinition request entity too large response a status code equal to that given

func (*GetPresencedefinitionRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get presencedefinition request entity too large response has a 3xx status code

func (*GetPresencedefinitionRequestEntityTooLarge) IsServerError

IsServerError returns true when this get presencedefinition request entity too large response has a 5xx status code

func (*GetPresencedefinitionRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get presencedefinition request entity too large response has a 2xx status code

func (*GetPresencedefinitionRequestEntityTooLarge) String

type GetPresencedefinitionRequestTimeout

type GetPresencedefinitionRequestTimeout struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionRequestTimeout 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 NewGetPresencedefinitionRequestTimeout

func NewGetPresencedefinitionRequestTimeout() *GetPresencedefinitionRequestTimeout

NewGetPresencedefinitionRequestTimeout creates a GetPresencedefinitionRequestTimeout with default headers values

func (*GetPresencedefinitionRequestTimeout) Error

func (*GetPresencedefinitionRequestTimeout) GetPayload

func (*GetPresencedefinitionRequestTimeout) IsClientError

func (o *GetPresencedefinitionRequestTimeout) IsClientError() bool

IsClientError returns true when this get presencedefinition request timeout response has a 4xx status code

func (*GetPresencedefinitionRequestTimeout) IsCode

IsCode returns true when this get presencedefinition request timeout response a status code equal to that given

func (*GetPresencedefinitionRequestTimeout) IsRedirect

func (o *GetPresencedefinitionRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get presencedefinition request timeout response has a 3xx status code

func (*GetPresencedefinitionRequestTimeout) IsServerError

func (o *GetPresencedefinitionRequestTimeout) IsServerError() bool

IsServerError returns true when this get presencedefinition request timeout response has a 5xx status code

func (*GetPresencedefinitionRequestTimeout) IsSuccess

IsSuccess returns true when this get presencedefinition request timeout response has a 2xx status code

func (*GetPresencedefinitionRequestTimeout) String

type GetPresencedefinitionServiceUnavailable

type GetPresencedefinitionServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionServiceUnavailable 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 NewGetPresencedefinitionServiceUnavailable

func NewGetPresencedefinitionServiceUnavailable() *GetPresencedefinitionServiceUnavailable

NewGetPresencedefinitionServiceUnavailable creates a GetPresencedefinitionServiceUnavailable with default headers values

func (*GetPresencedefinitionServiceUnavailable) Error

func (*GetPresencedefinitionServiceUnavailable) GetPayload

func (*GetPresencedefinitionServiceUnavailable) IsClientError

func (o *GetPresencedefinitionServiceUnavailable) IsClientError() bool

IsClientError returns true when this get presencedefinition service unavailable response has a 4xx status code

func (*GetPresencedefinitionServiceUnavailable) IsCode

IsCode returns true when this get presencedefinition service unavailable response a status code equal to that given

func (*GetPresencedefinitionServiceUnavailable) IsRedirect

IsRedirect returns true when this get presencedefinition service unavailable response has a 3xx status code

func (*GetPresencedefinitionServiceUnavailable) IsServerError

func (o *GetPresencedefinitionServiceUnavailable) IsServerError() bool

IsServerError returns true when this get presencedefinition service unavailable response has a 5xx status code

func (*GetPresencedefinitionServiceUnavailable) IsSuccess

IsSuccess returns true when this get presencedefinition service unavailable response has a 2xx status code

func (*GetPresencedefinitionServiceUnavailable) String

type GetPresencedefinitionTooManyRequests

type GetPresencedefinitionTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresencedefinitionTooManyRequests

func NewGetPresencedefinitionTooManyRequests() *GetPresencedefinitionTooManyRequests

NewGetPresencedefinitionTooManyRequests creates a GetPresencedefinitionTooManyRequests with default headers values

func (*GetPresencedefinitionTooManyRequests) Error

func (*GetPresencedefinitionTooManyRequests) GetPayload

func (*GetPresencedefinitionTooManyRequests) IsClientError

func (o *GetPresencedefinitionTooManyRequests) IsClientError() bool

IsClientError returns true when this get presencedefinition too many requests response has a 4xx status code

func (*GetPresencedefinitionTooManyRequests) IsCode

IsCode returns true when this get presencedefinition too many requests response a status code equal to that given

func (*GetPresencedefinitionTooManyRequests) IsRedirect

IsRedirect returns true when this get presencedefinition too many requests response has a 3xx status code

func (*GetPresencedefinitionTooManyRequests) IsServerError

func (o *GetPresencedefinitionTooManyRequests) IsServerError() bool

IsServerError returns true when this get presencedefinition too many requests response has a 5xx status code

func (*GetPresencedefinitionTooManyRequests) IsSuccess

IsSuccess returns true when this get presencedefinition too many requests response has a 2xx status code

func (*GetPresencedefinitionTooManyRequests) String

type GetPresencedefinitionUnauthorized

type GetPresencedefinitionUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetPresencedefinitionUnauthorized

func NewGetPresencedefinitionUnauthorized() *GetPresencedefinitionUnauthorized

NewGetPresencedefinitionUnauthorized creates a GetPresencedefinitionUnauthorized with default headers values

func (*GetPresencedefinitionUnauthorized) Error

func (*GetPresencedefinitionUnauthorized) GetPayload

func (*GetPresencedefinitionUnauthorized) IsClientError

func (o *GetPresencedefinitionUnauthorized) IsClientError() bool

IsClientError returns true when this get presencedefinition unauthorized response has a 4xx status code

func (*GetPresencedefinitionUnauthorized) IsCode

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

IsCode returns true when this get presencedefinition unauthorized response a status code equal to that given

func (*GetPresencedefinitionUnauthorized) IsRedirect

func (o *GetPresencedefinitionUnauthorized) IsRedirect() bool

IsRedirect returns true when this get presencedefinition unauthorized response has a 3xx status code

func (*GetPresencedefinitionUnauthorized) IsServerError

func (o *GetPresencedefinitionUnauthorized) IsServerError() bool

IsServerError returns true when this get presencedefinition unauthorized response has a 5xx status code

func (*GetPresencedefinitionUnauthorized) IsSuccess

func (o *GetPresencedefinitionUnauthorized) IsSuccess() bool

IsSuccess returns true when this get presencedefinition unauthorized response has a 2xx status code

func (*GetPresencedefinitionUnauthorized) String

type GetPresencedefinitionUnsupportedMediaType

type GetPresencedefinitionUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionUnsupportedMediaType 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 NewGetPresencedefinitionUnsupportedMediaType

func NewGetPresencedefinitionUnsupportedMediaType() *GetPresencedefinitionUnsupportedMediaType

NewGetPresencedefinitionUnsupportedMediaType creates a GetPresencedefinitionUnsupportedMediaType with default headers values

func (*GetPresencedefinitionUnsupportedMediaType) Error

func (*GetPresencedefinitionUnsupportedMediaType) GetPayload

func (*GetPresencedefinitionUnsupportedMediaType) IsClientError

IsClientError returns true when this get presencedefinition unsupported media type response has a 4xx status code

func (*GetPresencedefinitionUnsupportedMediaType) IsCode

IsCode returns true when this get presencedefinition unsupported media type response a status code equal to that given

func (*GetPresencedefinitionUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get presencedefinition unsupported media type response has a 3xx status code

func (*GetPresencedefinitionUnsupportedMediaType) IsServerError

IsServerError returns true when this get presencedefinition unsupported media type response has a 5xx status code

func (*GetPresencedefinitionUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get presencedefinition unsupported media type response has a 2xx status code

func (*GetPresencedefinitionUnsupportedMediaType) String

type GetPresencedefinitionsBadRequest

type GetPresencedefinitionsBadRequest struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionsBadRequest 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 NewGetPresencedefinitionsBadRequest

func NewGetPresencedefinitionsBadRequest() *GetPresencedefinitionsBadRequest

NewGetPresencedefinitionsBadRequest creates a GetPresencedefinitionsBadRequest with default headers values

func (*GetPresencedefinitionsBadRequest) Error

func (*GetPresencedefinitionsBadRequest) GetPayload

func (*GetPresencedefinitionsBadRequest) IsClientError

func (o *GetPresencedefinitionsBadRequest) IsClientError() bool

IsClientError returns true when this get presencedefinitions bad request response has a 4xx status code

func (*GetPresencedefinitionsBadRequest) IsCode

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

IsCode returns true when this get presencedefinitions bad request response a status code equal to that given

func (*GetPresencedefinitionsBadRequest) IsRedirect

func (o *GetPresencedefinitionsBadRequest) IsRedirect() bool

IsRedirect returns true when this get presencedefinitions bad request response has a 3xx status code

func (*GetPresencedefinitionsBadRequest) IsServerError

func (o *GetPresencedefinitionsBadRequest) IsServerError() bool

IsServerError returns true when this get presencedefinitions bad request response has a 5xx status code

func (*GetPresencedefinitionsBadRequest) IsSuccess

func (o *GetPresencedefinitionsBadRequest) IsSuccess() bool

IsSuccess returns true when this get presencedefinitions bad request response has a 2xx status code

func (*GetPresencedefinitionsBadRequest) String

type GetPresencedefinitionsForbidden

type GetPresencedefinitionsForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetPresencedefinitionsForbidden

func NewGetPresencedefinitionsForbidden() *GetPresencedefinitionsForbidden

NewGetPresencedefinitionsForbidden creates a GetPresencedefinitionsForbidden with default headers values

func (*GetPresencedefinitionsForbidden) Error

func (*GetPresencedefinitionsForbidden) GetPayload

func (*GetPresencedefinitionsForbidden) IsClientError

func (o *GetPresencedefinitionsForbidden) IsClientError() bool

IsClientError returns true when this get presencedefinitions forbidden response has a 4xx status code

func (*GetPresencedefinitionsForbidden) IsCode

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

IsCode returns true when this get presencedefinitions forbidden response a status code equal to that given

func (*GetPresencedefinitionsForbidden) IsRedirect

func (o *GetPresencedefinitionsForbidden) IsRedirect() bool

IsRedirect returns true when this get presencedefinitions forbidden response has a 3xx status code

func (*GetPresencedefinitionsForbidden) IsServerError

func (o *GetPresencedefinitionsForbidden) IsServerError() bool

IsServerError returns true when this get presencedefinitions forbidden response has a 5xx status code

func (*GetPresencedefinitionsForbidden) IsSuccess

func (o *GetPresencedefinitionsForbidden) IsSuccess() bool

IsSuccess returns true when this get presencedefinitions forbidden response has a 2xx status code

func (*GetPresencedefinitionsForbidden) String

type GetPresencedefinitionsGatewayTimeout

type GetPresencedefinitionsGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetPresencedefinitionsGatewayTimeout

func NewGetPresencedefinitionsGatewayTimeout() *GetPresencedefinitionsGatewayTimeout

NewGetPresencedefinitionsGatewayTimeout creates a GetPresencedefinitionsGatewayTimeout with default headers values

func (*GetPresencedefinitionsGatewayTimeout) Error

func (*GetPresencedefinitionsGatewayTimeout) GetPayload

func (*GetPresencedefinitionsGatewayTimeout) IsClientError

func (o *GetPresencedefinitionsGatewayTimeout) IsClientError() bool

IsClientError returns true when this get presencedefinitions gateway timeout response has a 4xx status code

func (*GetPresencedefinitionsGatewayTimeout) IsCode

IsCode returns true when this get presencedefinitions gateway timeout response a status code equal to that given

func (*GetPresencedefinitionsGatewayTimeout) IsRedirect

IsRedirect returns true when this get presencedefinitions gateway timeout response has a 3xx status code

func (*GetPresencedefinitionsGatewayTimeout) IsServerError

func (o *GetPresencedefinitionsGatewayTimeout) IsServerError() bool

IsServerError returns true when this get presencedefinitions gateway timeout response has a 5xx status code

func (*GetPresencedefinitionsGatewayTimeout) IsSuccess

IsSuccess returns true when this get presencedefinitions gateway timeout response has a 2xx status code

func (*GetPresencedefinitionsGatewayTimeout) String

type GetPresencedefinitionsInternalServerError

type GetPresencedefinitionsInternalServerError struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionsInternalServerError 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 NewGetPresencedefinitionsInternalServerError

func NewGetPresencedefinitionsInternalServerError() *GetPresencedefinitionsInternalServerError

NewGetPresencedefinitionsInternalServerError creates a GetPresencedefinitionsInternalServerError with default headers values

func (*GetPresencedefinitionsInternalServerError) Error

func (*GetPresencedefinitionsInternalServerError) GetPayload

func (*GetPresencedefinitionsInternalServerError) IsClientError

IsClientError returns true when this get presencedefinitions internal server error response has a 4xx status code

func (*GetPresencedefinitionsInternalServerError) IsCode

IsCode returns true when this get presencedefinitions internal server error response a status code equal to that given

func (*GetPresencedefinitionsInternalServerError) IsRedirect

IsRedirect returns true when this get presencedefinitions internal server error response has a 3xx status code

func (*GetPresencedefinitionsInternalServerError) IsServerError

IsServerError returns true when this get presencedefinitions internal server error response has a 5xx status code

func (*GetPresencedefinitionsInternalServerError) IsSuccess

IsSuccess returns true when this get presencedefinitions internal server error response has a 2xx status code

func (*GetPresencedefinitionsInternalServerError) String

type GetPresencedefinitionsNotFound

type GetPresencedefinitionsNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetPresencedefinitionsNotFound

func NewGetPresencedefinitionsNotFound() *GetPresencedefinitionsNotFound

NewGetPresencedefinitionsNotFound creates a GetPresencedefinitionsNotFound with default headers values

func (*GetPresencedefinitionsNotFound) Error

func (*GetPresencedefinitionsNotFound) GetPayload

func (*GetPresencedefinitionsNotFound) IsClientError

func (o *GetPresencedefinitionsNotFound) IsClientError() bool

IsClientError returns true when this get presencedefinitions not found response has a 4xx status code

func (*GetPresencedefinitionsNotFound) IsCode

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

IsCode returns true when this get presencedefinitions not found response a status code equal to that given

func (*GetPresencedefinitionsNotFound) IsRedirect

func (o *GetPresencedefinitionsNotFound) IsRedirect() bool

IsRedirect returns true when this get presencedefinitions not found response has a 3xx status code

func (*GetPresencedefinitionsNotFound) IsServerError

func (o *GetPresencedefinitionsNotFound) IsServerError() bool

IsServerError returns true when this get presencedefinitions not found response has a 5xx status code

func (*GetPresencedefinitionsNotFound) IsSuccess

func (o *GetPresencedefinitionsNotFound) IsSuccess() bool

IsSuccess returns true when this get presencedefinitions not found response has a 2xx status code

func (*GetPresencedefinitionsNotFound) String

type GetPresencedefinitionsOK

type GetPresencedefinitionsOK struct {
	Payload *models.OrganizationPresenceEntityListing
}

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

successful operation

func NewGetPresencedefinitionsOK

func NewGetPresencedefinitionsOK() *GetPresencedefinitionsOK

NewGetPresencedefinitionsOK creates a GetPresencedefinitionsOK with default headers values

func (*GetPresencedefinitionsOK) Error

func (o *GetPresencedefinitionsOK) Error() string

func (*GetPresencedefinitionsOK) GetPayload

func (*GetPresencedefinitionsOK) IsClientError

func (o *GetPresencedefinitionsOK) IsClientError() bool

IsClientError returns true when this get presencedefinitions o k response has a 4xx status code

func (*GetPresencedefinitionsOK) IsCode

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

IsCode returns true when this get presencedefinitions o k response a status code equal to that given

func (*GetPresencedefinitionsOK) IsRedirect

func (o *GetPresencedefinitionsOK) IsRedirect() bool

IsRedirect returns true when this get presencedefinitions o k response has a 3xx status code

func (*GetPresencedefinitionsOK) IsServerError

func (o *GetPresencedefinitionsOK) IsServerError() bool

IsServerError returns true when this get presencedefinitions o k response has a 5xx status code

func (*GetPresencedefinitionsOK) IsSuccess

func (o *GetPresencedefinitionsOK) IsSuccess() bool

IsSuccess returns true when this get presencedefinitions o k response has a 2xx status code

func (*GetPresencedefinitionsOK) String

func (o *GetPresencedefinitionsOK) String() string

type GetPresencedefinitionsParams

type GetPresencedefinitionsParams struct {

	/* Deleted.

	   Deleted query can be TRUE, FALSE or ALL

	   Default: "false"
	*/
	Deleted *string

	/* LocaleCode.

	   The locale code to fetch for each presence definition. Use ALL to fetch everything.
	*/
	LocaleCode *string

	/* PageNumber.

	   Page number

	   Format: int32
	   Default: 1
	*/
	PageNumber *int32

	/* PageSize.

	   Page size

	   Format: int32
	   Default: 25
	*/
	PageSize *int32

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

GetPresencedefinitionsParams contains all the parameters to send to the API endpoint

for the get presencedefinitions operation.

Typically these are written to a http.Request.

func NewGetPresencedefinitionsParams

func NewGetPresencedefinitionsParams() *GetPresencedefinitionsParams

NewGetPresencedefinitionsParams creates a new GetPresencedefinitionsParams 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 NewGetPresencedefinitionsParamsWithContext

func NewGetPresencedefinitionsParamsWithContext(ctx context.Context) *GetPresencedefinitionsParams

NewGetPresencedefinitionsParamsWithContext creates a new GetPresencedefinitionsParams object with the ability to set a context for a request.

func NewGetPresencedefinitionsParamsWithHTTPClient

func NewGetPresencedefinitionsParamsWithHTTPClient(client *http.Client) *GetPresencedefinitionsParams

NewGetPresencedefinitionsParamsWithHTTPClient creates a new GetPresencedefinitionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPresencedefinitionsParamsWithTimeout

func NewGetPresencedefinitionsParamsWithTimeout(timeout time.Duration) *GetPresencedefinitionsParams

NewGetPresencedefinitionsParamsWithTimeout creates a new GetPresencedefinitionsParams object with the ability to set a timeout on a request.

func (*GetPresencedefinitionsParams) SetContext

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

SetContext adds the context to the get presencedefinitions params

func (*GetPresencedefinitionsParams) SetDefaults

func (o *GetPresencedefinitionsParams) SetDefaults()

SetDefaults hydrates default values in the get presencedefinitions params (not the query body).

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

func (*GetPresencedefinitionsParams) SetDeleted

func (o *GetPresencedefinitionsParams) SetDeleted(deleted *string)

SetDeleted adds the deleted to the get presencedefinitions params

func (*GetPresencedefinitionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get presencedefinitions params

func (*GetPresencedefinitionsParams) SetLocaleCode

func (o *GetPresencedefinitionsParams) SetLocaleCode(localeCode *string)

SetLocaleCode adds the localeCode to the get presencedefinitions params

func (*GetPresencedefinitionsParams) SetPageNumber

func (o *GetPresencedefinitionsParams) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the get presencedefinitions params

func (*GetPresencedefinitionsParams) SetPageSize

func (o *GetPresencedefinitionsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get presencedefinitions params

func (*GetPresencedefinitionsParams) SetTimeout

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

SetTimeout adds the timeout to the get presencedefinitions params

func (*GetPresencedefinitionsParams) WithContext

WithContext adds the context to the get presencedefinitions params

func (*GetPresencedefinitionsParams) WithDefaults

WithDefaults hydrates default values in the get presencedefinitions params (not the query body).

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

func (*GetPresencedefinitionsParams) WithDeleted

WithDeleted adds the deleted to the get presencedefinitions params

func (*GetPresencedefinitionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get presencedefinitions params

func (*GetPresencedefinitionsParams) WithLocaleCode

func (o *GetPresencedefinitionsParams) WithLocaleCode(localeCode *string) *GetPresencedefinitionsParams

WithLocaleCode adds the localeCode to the get presencedefinitions params

func (*GetPresencedefinitionsParams) WithPageNumber

func (o *GetPresencedefinitionsParams) WithPageNumber(pageNumber *int32) *GetPresencedefinitionsParams

WithPageNumber adds the pageNumber to the get presencedefinitions params

func (*GetPresencedefinitionsParams) WithPageSize

WithPageSize adds the pageSize to the get presencedefinitions params

func (*GetPresencedefinitionsParams) WithTimeout

WithTimeout adds the timeout to the get presencedefinitions params

func (*GetPresencedefinitionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPresencedefinitionsReader

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

GetPresencedefinitionsReader is a Reader for the GetPresencedefinitions structure.

func (*GetPresencedefinitionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPresencedefinitionsRequestEntityTooLarge

type GetPresencedefinitionsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresencedefinitionsRequestEntityTooLarge

func NewGetPresencedefinitionsRequestEntityTooLarge() *GetPresencedefinitionsRequestEntityTooLarge

NewGetPresencedefinitionsRequestEntityTooLarge creates a GetPresencedefinitionsRequestEntityTooLarge with default headers values

func (*GetPresencedefinitionsRequestEntityTooLarge) Error

func (*GetPresencedefinitionsRequestEntityTooLarge) GetPayload

func (*GetPresencedefinitionsRequestEntityTooLarge) IsClientError

IsClientError returns true when this get presencedefinitions request entity too large response has a 4xx status code

func (*GetPresencedefinitionsRequestEntityTooLarge) IsCode

IsCode returns true when this get presencedefinitions request entity too large response a status code equal to that given

func (*GetPresencedefinitionsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get presencedefinitions request entity too large response has a 3xx status code

func (*GetPresencedefinitionsRequestEntityTooLarge) IsServerError

IsServerError returns true when this get presencedefinitions request entity too large response has a 5xx status code

func (*GetPresencedefinitionsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get presencedefinitions request entity too large response has a 2xx status code

func (*GetPresencedefinitionsRequestEntityTooLarge) String

type GetPresencedefinitionsRequestTimeout

type GetPresencedefinitionsRequestTimeout struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionsRequestTimeout 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 NewGetPresencedefinitionsRequestTimeout

func NewGetPresencedefinitionsRequestTimeout() *GetPresencedefinitionsRequestTimeout

NewGetPresencedefinitionsRequestTimeout creates a GetPresencedefinitionsRequestTimeout with default headers values

func (*GetPresencedefinitionsRequestTimeout) Error

func (*GetPresencedefinitionsRequestTimeout) GetPayload

func (*GetPresencedefinitionsRequestTimeout) IsClientError

func (o *GetPresencedefinitionsRequestTimeout) IsClientError() bool

IsClientError returns true when this get presencedefinitions request timeout response has a 4xx status code

func (*GetPresencedefinitionsRequestTimeout) IsCode

IsCode returns true when this get presencedefinitions request timeout response a status code equal to that given

func (*GetPresencedefinitionsRequestTimeout) IsRedirect

IsRedirect returns true when this get presencedefinitions request timeout response has a 3xx status code

func (*GetPresencedefinitionsRequestTimeout) IsServerError

func (o *GetPresencedefinitionsRequestTimeout) IsServerError() bool

IsServerError returns true when this get presencedefinitions request timeout response has a 5xx status code

func (*GetPresencedefinitionsRequestTimeout) IsSuccess

IsSuccess returns true when this get presencedefinitions request timeout response has a 2xx status code

func (*GetPresencedefinitionsRequestTimeout) String

type GetPresencedefinitionsServiceUnavailable

type GetPresencedefinitionsServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionsServiceUnavailable 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 NewGetPresencedefinitionsServiceUnavailable

func NewGetPresencedefinitionsServiceUnavailable() *GetPresencedefinitionsServiceUnavailable

NewGetPresencedefinitionsServiceUnavailable creates a GetPresencedefinitionsServiceUnavailable with default headers values

func (*GetPresencedefinitionsServiceUnavailable) Error

func (*GetPresencedefinitionsServiceUnavailable) GetPayload

func (*GetPresencedefinitionsServiceUnavailable) IsClientError

IsClientError returns true when this get presencedefinitions service unavailable response has a 4xx status code

func (*GetPresencedefinitionsServiceUnavailable) IsCode

IsCode returns true when this get presencedefinitions service unavailable response a status code equal to that given

func (*GetPresencedefinitionsServiceUnavailable) IsRedirect

IsRedirect returns true when this get presencedefinitions service unavailable response has a 3xx status code

func (*GetPresencedefinitionsServiceUnavailable) IsServerError

IsServerError returns true when this get presencedefinitions service unavailable response has a 5xx status code

func (*GetPresencedefinitionsServiceUnavailable) IsSuccess

IsSuccess returns true when this get presencedefinitions service unavailable response has a 2xx status code

func (*GetPresencedefinitionsServiceUnavailable) String

type GetPresencedefinitionsTooManyRequests

type GetPresencedefinitionsTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetPresencedefinitionsTooManyRequests

func NewGetPresencedefinitionsTooManyRequests() *GetPresencedefinitionsTooManyRequests

NewGetPresencedefinitionsTooManyRequests creates a GetPresencedefinitionsTooManyRequests with default headers values

func (*GetPresencedefinitionsTooManyRequests) Error

func (*GetPresencedefinitionsTooManyRequests) GetPayload

func (*GetPresencedefinitionsTooManyRequests) IsClientError

func (o *GetPresencedefinitionsTooManyRequests) IsClientError() bool

IsClientError returns true when this get presencedefinitions too many requests response has a 4xx status code

func (*GetPresencedefinitionsTooManyRequests) IsCode

IsCode returns true when this get presencedefinitions too many requests response a status code equal to that given

func (*GetPresencedefinitionsTooManyRequests) IsRedirect

IsRedirect returns true when this get presencedefinitions too many requests response has a 3xx status code

func (*GetPresencedefinitionsTooManyRequests) IsServerError

func (o *GetPresencedefinitionsTooManyRequests) IsServerError() bool

IsServerError returns true when this get presencedefinitions too many requests response has a 5xx status code

func (*GetPresencedefinitionsTooManyRequests) IsSuccess

IsSuccess returns true when this get presencedefinitions too many requests response has a 2xx status code

func (*GetPresencedefinitionsTooManyRequests) String

type GetPresencedefinitionsUnauthorized

type GetPresencedefinitionsUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetPresencedefinitionsUnauthorized

func NewGetPresencedefinitionsUnauthorized() *GetPresencedefinitionsUnauthorized

NewGetPresencedefinitionsUnauthorized creates a GetPresencedefinitionsUnauthorized with default headers values

func (*GetPresencedefinitionsUnauthorized) Error

func (*GetPresencedefinitionsUnauthorized) GetPayload

func (*GetPresencedefinitionsUnauthorized) IsClientError

func (o *GetPresencedefinitionsUnauthorized) IsClientError() bool

IsClientError returns true when this get presencedefinitions unauthorized response has a 4xx status code

func (*GetPresencedefinitionsUnauthorized) IsCode

IsCode returns true when this get presencedefinitions unauthorized response a status code equal to that given

func (*GetPresencedefinitionsUnauthorized) IsRedirect

func (o *GetPresencedefinitionsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get presencedefinitions unauthorized response has a 3xx status code

func (*GetPresencedefinitionsUnauthorized) IsServerError

func (o *GetPresencedefinitionsUnauthorized) IsServerError() bool

IsServerError returns true when this get presencedefinitions unauthorized response has a 5xx status code

func (*GetPresencedefinitionsUnauthorized) IsSuccess

IsSuccess returns true when this get presencedefinitions unauthorized response has a 2xx status code

func (*GetPresencedefinitionsUnauthorized) String

type GetPresencedefinitionsUnsupportedMediaType

type GetPresencedefinitionsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetPresencedefinitionsUnsupportedMediaType 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 NewGetPresencedefinitionsUnsupportedMediaType

func NewGetPresencedefinitionsUnsupportedMediaType() *GetPresencedefinitionsUnsupportedMediaType

NewGetPresencedefinitionsUnsupportedMediaType creates a GetPresencedefinitionsUnsupportedMediaType with default headers values

func (*GetPresencedefinitionsUnsupportedMediaType) Error

func (*GetPresencedefinitionsUnsupportedMediaType) GetPayload

func (*GetPresencedefinitionsUnsupportedMediaType) IsClientError

IsClientError returns true when this get presencedefinitions unsupported media type response has a 4xx status code

func (*GetPresencedefinitionsUnsupportedMediaType) IsCode

IsCode returns true when this get presencedefinitions unsupported media type response a status code equal to that given

func (*GetPresencedefinitionsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get presencedefinitions unsupported media type response has a 3xx status code

func (*GetPresencedefinitionsUnsupportedMediaType) IsServerError

IsServerError returns true when this get presencedefinitions unsupported media type response has a 5xx status code

func (*GetPresencedefinitionsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get presencedefinitions unsupported media type response has a 2xx status code

func (*GetPresencedefinitionsUnsupportedMediaType) String

type GetSystempresencesBadRequest

type GetSystempresencesBadRequest struct {
	Payload *models.ErrorBody
}

GetSystempresencesBadRequest 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 NewGetSystempresencesBadRequest

func NewGetSystempresencesBadRequest() *GetSystempresencesBadRequest

NewGetSystempresencesBadRequest creates a GetSystempresencesBadRequest with default headers values

func (*GetSystempresencesBadRequest) Error

func (*GetSystempresencesBadRequest) GetPayload

func (*GetSystempresencesBadRequest) IsClientError

func (o *GetSystempresencesBadRequest) IsClientError() bool

IsClientError returns true when this get systempresences bad request response has a 4xx status code

func (*GetSystempresencesBadRequest) IsCode

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

IsCode returns true when this get systempresences bad request response a status code equal to that given

func (*GetSystempresencesBadRequest) IsRedirect

func (o *GetSystempresencesBadRequest) IsRedirect() bool

IsRedirect returns true when this get systempresences bad request response has a 3xx status code

func (*GetSystempresencesBadRequest) IsServerError

func (o *GetSystempresencesBadRequest) IsServerError() bool

IsServerError returns true when this get systempresences bad request response has a 5xx status code

func (*GetSystempresencesBadRequest) IsSuccess

func (o *GetSystempresencesBadRequest) IsSuccess() bool

IsSuccess returns true when this get systempresences bad request response has a 2xx status code

func (*GetSystempresencesBadRequest) String

type GetSystempresencesForbidden

type GetSystempresencesForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetSystempresencesForbidden

func NewGetSystempresencesForbidden() *GetSystempresencesForbidden

NewGetSystempresencesForbidden creates a GetSystempresencesForbidden with default headers values

func (*GetSystempresencesForbidden) Error

func (*GetSystempresencesForbidden) GetPayload

func (o *GetSystempresencesForbidden) GetPayload() *models.ErrorBody

func (*GetSystempresencesForbidden) IsClientError

func (o *GetSystempresencesForbidden) IsClientError() bool

IsClientError returns true when this get systempresences forbidden response has a 4xx status code

func (*GetSystempresencesForbidden) IsCode

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

IsCode returns true when this get systempresences forbidden response a status code equal to that given

func (*GetSystempresencesForbidden) IsRedirect

func (o *GetSystempresencesForbidden) IsRedirect() bool

IsRedirect returns true when this get systempresences forbidden response has a 3xx status code

func (*GetSystempresencesForbidden) IsServerError

func (o *GetSystempresencesForbidden) IsServerError() bool

IsServerError returns true when this get systempresences forbidden response has a 5xx status code

func (*GetSystempresencesForbidden) IsSuccess

func (o *GetSystempresencesForbidden) IsSuccess() bool

IsSuccess returns true when this get systempresences forbidden response has a 2xx status code

func (*GetSystempresencesForbidden) String

func (o *GetSystempresencesForbidden) String() string

type GetSystempresencesGatewayTimeout

type GetSystempresencesGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetSystempresencesGatewayTimeout

func NewGetSystempresencesGatewayTimeout() *GetSystempresencesGatewayTimeout

NewGetSystempresencesGatewayTimeout creates a GetSystempresencesGatewayTimeout with default headers values

func (*GetSystempresencesGatewayTimeout) Error

func (*GetSystempresencesGatewayTimeout) GetPayload

func (*GetSystempresencesGatewayTimeout) IsClientError

func (o *GetSystempresencesGatewayTimeout) IsClientError() bool

IsClientError returns true when this get systempresences gateway timeout response has a 4xx status code

func (*GetSystempresencesGatewayTimeout) IsCode

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

IsCode returns true when this get systempresences gateway timeout response a status code equal to that given

func (*GetSystempresencesGatewayTimeout) IsRedirect

func (o *GetSystempresencesGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get systempresences gateway timeout response has a 3xx status code

func (*GetSystempresencesGatewayTimeout) IsServerError

func (o *GetSystempresencesGatewayTimeout) IsServerError() bool

IsServerError returns true when this get systempresences gateway timeout response has a 5xx status code

func (*GetSystempresencesGatewayTimeout) IsSuccess

func (o *GetSystempresencesGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get systempresences gateway timeout response has a 2xx status code

func (*GetSystempresencesGatewayTimeout) String

type GetSystempresencesInternalServerError

type GetSystempresencesInternalServerError struct {
	Payload *models.ErrorBody
}

GetSystempresencesInternalServerError 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 NewGetSystempresencesInternalServerError

func NewGetSystempresencesInternalServerError() *GetSystempresencesInternalServerError

NewGetSystempresencesInternalServerError creates a GetSystempresencesInternalServerError with default headers values

func (*GetSystempresencesInternalServerError) Error

func (*GetSystempresencesInternalServerError) GetPayload

func (*GetSystempresencesInternalServerError) IsClientError

func (o *GetSystempresencesInternalServerError) IsClientError() bool

IsClientError returns true when this get systempresences internal server error response has a 4xx status code

func (*GetSystempresencesInternalServerError) IsCode

IsCode returns true when this get systempresences internal server error response a status code equal to that given

func (*GetSystempresencesInternalServerError) IsRedirect

IsRedirect returns true when this get systempresences internal server error response has a 3xx status code

func (*GetSystempresencesInternalServerError) IsServerError

func (o *GetSystempresencesInternalServerError) IsServerError() bool

IsServerError returns true when this get systempresences internal server error response has a 5xx status code

func (*GetSystempresencesInternalServerError) IsSuccess

IsSuccess returns true when this get systempresences internal server error response has a 2xx status code

func (*GetSystempresencesInternalServerError) String

type GetSystempresencesNotFound

type GetSystempresencesNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetSystempresencesNotFound

func NewGetSystempresencesNotFound() *GetSystempresencesNotFound

NewGetSystempresencesNotFound creates a GetSystempresencesNotFound with default headers values

func (*GetSystempresencesNotFound) Error

func (*GetSystempresencesNotFound) GetPayload

func (o *GetSystempresencesNotFound) GetPayload() *models.ErrorBody

func (*GetSystempresencesNotFound) IsClientError

func (o *GetSystempresencesNotFound) IsClientError() bool

IsClientError returns true when this get systempresences not found response has a 4xx status code

func (*GetSystempresencesNotFound) IsCode

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

IsCode returns true when this get systempresences not found response a status code equal to that given

func (*GetSystempresencesNotFound) IsRedirect

func (o *GetSystempresencesNotFound) IsRedirect() bool

IsRedirect returns true when this get systempresences not found response has a 3xx status code

func (*GetSystempresencesNotFound) IsServerError

func (o *GetSystempresencesNotFound) IsServerError() bool

IsServerError returns true when this get systempresences not found response has a 5xx status code

func (*GetSystempresencesNotFound) IsSuccess

func (o *GetSystempresencesNotFound) IsSuccess() bool

IsSuccess returns true when this get systempresences not found response has a 2xx status code

func (*GetSystempresencesNotFound) String

func (o *GetSystempresencesNotFound) String() string

type GetSystempresencesOK

type GetSystempresencesOK struct {
	Payload []*models.SystemPresence
}

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

successful operation

func NewGetSystempresencesOK

func NewGetSystempresencesOK() *GetSystempresencesOK

NewGetSystempresencesOK creates a GetSystempresencesOK with default headers values

func (*GetSystempresencesOK) Error

func (o *GetSystempresencesOK) Error() string

func (*GetSystempresencesOK) GetPayload

func (o *GetSystempresencesOK) GetPayload() []*models.SystemPresence

func (*GetSystempresencesOK) IsClientError

func (o *GetSystempresencesOK) IsClientError() bool

IsClientError returns true when this get systempresences o k response has a 4xx status code

func (*GetSystempresencesOK) IsCode

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

IsCode returns true when this get systempresences o k response a status code equal to that given

func (*GetSystempresencesOK) IsRedirect

func (o *GetSystempresencesOK) IsRedirect() bool

IsRedirect returns true when this get systempresences o k response has a 3xx status code

func (*GetSystempresencesOK) IsServerError

func (o *GetSystempresencesOK) IsServerError() bool

IsServerError returns true when this get systempresences o k response has a 5xx status code

func (*GetSystempresencesOK) IsSuccess

func (o *GetSystempresencesOK) IsSuccess() bool

IsSuccess returns true when this get systempresences o k response has a 2xx status code

func (*GetSystempresencesOK) String

func (o *GetSystempresencesOK) String() string

type GetSystempresencesParams

type GetSystempresencesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSystempresencesParams contains all the parameters to send to the API endpoint

for the get systempresences operation.

Typically these are written to a http.Request.

func NewGetSystempresencesParams

func NewGetSystempresencesParams() *GetSystempresencesParams

NewGetSystempresencesParams creates a new GetSystempresencesParams 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 NewGetSystempresencesParamsWithContext

func NewGetSystempresencesParamsWithContext(ctx context.Context) *GetSystempresencesParams

NewGetSystempresencesParamsWithContext creates a new GetSystempresencesParams object with the ability to set a context for a request.

func NewGetSystempresencesParamsWithHTTPClient

func NewGetSystempresencesParamsWithHTTPClient(client *http.Client) *GetSystempresencesParams

NewGetSystempresencesParamsWithHTTPClient creates a new GetSystempresencesParams object with the ability to set a custom HTTPClient for a request.

func NewGetSystempresencesParamsWithTimeout

func NewGetSystempresencesParamsWithTimeout(timeout time.Duration) *GetSystempresencesParams

NewGetSystempresencesParamsWithTimeout creates a new GetSystempresencesParams object with the ability to set a timeout on a request.

func (*GetSystempresencesParams) SetContext

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

SetContext adds the context to the get systempresences params

func (*GetSystempresencesParams) SetDefaults

func (o *GetSystempresencesParams) SetDefaults()

SetDefaults hydrates default values in the get systempresences params (not the query body).

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

func (*GetSystempresencesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get systempresences params

func (*GetSystempresencesParams) SetTimeout

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

SetTimeout adds the timeout to the get systempresences params

func (*GetSystempresencesParams) WithContext

WithContext adds the context to the get systempresences params

func (*GetSystempresencesParams) WithDefaults

WithDefaults hydrates default values in the get systempresences params (not the query body).

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

func (*GetSystempresencesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get systempresences params

func (*GetSystempresencesParams) WithTimeout

WithTimeout adds the timeout to the get systempresences params

func (*GetSystempresencesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSystempresencesReader

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

GetSystempresencesReader is a Reader for the GetSystempresences structure.

func (*GetSystempresencesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSystempresencesRequestEntityTooLarge

type GetSystempresencesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetSystempresencesRequestEntityTooLarge

func NewGetSystempresencesRequestEntityTooLarge() *GetSystempresencesRequestEntityTooLarge

NewGetSystempresencesRequestEntityTooLarge creates a GetSystempresencesRequestEntityTooLarge with default headers values

func (*GetSystempresencesRequestEntityTooLarge) Error

func (*GetSystempresencesRequestEntityTooLarge) GetPayload

func (*GetSystempresencesRequestEntityTooLarge) IsClientError

func (o *GetSystempresencesRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get systempresences request entity too large response has a 4xx status code

func (*GetSystempresencesRequestEntityTooLarge) IsCode

IsCode returns true when this get systempresences request entity too large response a status code equal to that given

func (*GetSystempresencesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get systempresences request entity too large response has a 3xx status code

func (*GetSystempresencesRequestEntityTooLarge) IsServerError

func (o *GetSystempresencesRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get systempresences request entity too large response has a 5xx status code

func (*GetSystempresencesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get systempresences request entity too large response has a 2xx status code

func (*GetSystempresencesRequestEntityTooLarge) String

type GetSystempresencesRequestTimeout

type GetSystempresencesRequestTimeout struct {
	Payload *models.ErrorBody
}

GetSystempresencesRequestTimeout 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 NewGetSystempresencesRequestTimeout

func NewGetSystempresencesRequestTimeout() *GetSystempresencesRequestTimeout

NewGetSystempresencesRequestTimeout creates a GetSystempresencesRequestTimeout with default headers values

func (*GetSystempresencesRequestTimeout) Error

func (*GetSystempresencesRequestTimeout) GetPayload

func (*GetSystempresencesRequestTimeout) IsClientError

func (o *GetSystempresencesRequestTimeout) IsClientError() bool

IsClientError returns true when this get systempresences request timeout response has a 4xx status code

func (*GetSystempresencesRequestTimeout) IsCode

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

IsCode returns true when this get systempresences request timeout response a status code equal to that given

func (*GetSystempresencesRequestTimeout) IsRedirect

func (o *GetSystempresencesRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get systempresences request timeout response has a 3xx status code

func (*GetSystempresencesRequestTimeout) IsServerError

func (o *GetSystempresencesRequestTimeout) IsServerError() bool

IsServerError returns true when this get systempresences request timeout response has a 5xx status code

func (*GetSystempresencesRequestTimeout) IsSuccess

func (o *GetSystempresencesRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get systempresences request timeout response has a 2xx status code

func (*GetSystempresencesRequestTimeout) String

type GetSystempresencesServiceUnavailable

type GetSystempresencesServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetSystempresencesServiceUnavailable 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 NewGetSystempresencesServiceUnavailable

func NewGetSystempresencesServiceUnavailable() *GetSystempresencesServiceUnavailable

NewGetSystempresencesServiceUnavailable creates a GetSystempresencesServiceUnavailable with default headers values

func (*GetSystempresencesServiceUnavailable) Error

func (*GetSystempresencesServiceUnavailable) GetPayload

func (*GetSystempresencesServiceUnavailable) IsClientError

func (o *GetSystempresencesServiceUnavailable) IsClientError() bool

IsClientError returns true when this get systempresences service unavailable response has a 4xx status code

func (*GetSystempresencesServiceUnavailable) IsCode

IsCode returns true when this get systempresences service unavailable response a status code equal to that given

func (*GetSystempresencesServiceUnavailable) IsRedirect

IsRedirect returns true when this get systempresences service unavailable response has a 3xx status code

func (*GetSystempresencesServiceUnavailable) IsServerError

func (o *GetSystempresencesServiceUnavailable) IsServerError() bool

IsServerError returns true when this get systempresences service unavailable response has a 5xx status code

func (*GetSystempresencesServiceUnavailable) IsSuccess

IsSuccess returns true when this get systempresences service unavailable response has a 2xx status code

func (*GetSystempresencesServiceUnavailable) String

type GetSystempresencesTooManyRequests

type GetSystempresencesTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetSystempresencesTooManyRequests

func NewGetSystempresencesTooManyRequests() *GetSystempresencesTooManyRequests

NewGetSystempresencesTooManyRequests creates a GetSystempresencesTooManyRequests with default headers values

func (*GetSystempresencesTooManyRequests) Error

func (*GetSystempresencesTooManyRequests) GetPayload

func (*GetSystempresencesTooManyRequests) IsClientError

func (o *GetSystempresencesTooManyRequests) IsClientError() bool

IsClientError returns true when this get systempresences too many requests response has a 4xx status code

func (*GetSystempresencesTooManyRequests) IsCode

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

IsCode returns true when this get systempresences too many requests response a status code equal to that given

func (*GetSystempresencesTooManyRequests) IsRedirect

func (o *GetSystempresencesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get systempresences too many requests response has a 3xx status code

func (*GetSystempresencesTooManyRequests) IsServerError

func (o *GetSystempresencesTooManyRequests) IsServerError() bool

IsServerError returns true when this get systempresences too many requests response has a 5xx status code

func (*GetSystempresencesTooManyRequests) IsSuccess

func (o *GetSystempresencesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get systempresences too many requests response has a 2xx status code

func (*GetSystempresencesTooManyRequests) String

type GetSystempresencesUnauthorized

type GetSystempresencesUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetSystempresencesUnauthorized

func NewGetSystempresencesUnauthorized() *GetSystempresencesUnauthorized

NewGetSystempresencesUnauthorized creates a GetSystempresencesUnauthorized with default headers values

func (*GetSystempresencesUnauthorized) Error

func (*GetSystempresencesUnauthorized) GetPayload

func (*GetSystempresencesUnauthorized) IsClientError

func (o *GetSystempresencesUnauthorized) IsClientError() bool

IsClientError returns true when this get systempresences unauthorized response has a 4xx status code

func (*GetSystempresencesUnauthorized) IsCode

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

IsCode returns true when this get systempresences unauthorized response a status code equal to that given

func (*GetSystempresencesUnauthorized) IsRedirect

func (o *GetSystempresencesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get systempresences unauthorized response has a 3xx status code

func (*GetSystempresencesUnauthorized) IsServerError

func (o *GetSystempresencesUnauthorized) IsServerError() bool

IsServerError returns true when this get systempresences unauthorized response has a 5xx status code

func (*GetSystempresencesUnauthorized) IsSuccess

func (o *GetSystempresencesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get systempresences unauthorized response has a 2xx status code

func (*GetSystempresencesUnauthorized) String

type GetSystempresencesUnsupportedMediaType

type GetSystempresencesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetSystempresencesUnsupportedMediaType 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 NewGetSystempresencesUnsupportedMediaType

func NewGetSystempresencesUnsupportedMediaType() *GetSystempresencesUnsupportedMediaType

NewGetSystempresencesUnsupportedMediaType creates a GetSystempresencesUnsupportedMediaType with default headers values

func (*GetSystempresencesUnsupportedMediaType) Error

func (*GetSystempresencesUnsupportedMediaType) GetPayload

func (*GetSystempresencesUnsupportedMediaType) IsClientError

func (o *GetSystempresencesUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get systempresences unsupported media type response has a 4xx status code

func (*GetSystempresencesUnsupportedMediaType) IsCode

IsCode returns true when this get systempresences unsupported media type response a status code equal to that given

func (*GetSystempresencesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get systempresences unsupported media type response has a 3xx status code

func (*GetSystempresencesUnsupportedMediaType) IsServerError

func (o *GetSystempresencesUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get systempresences unsupported media type response has a 5xx status code

func (*GetSystempresencesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get systempresences unsupported media type response has a 2xx status code

func (*GetSystempresencesUnsupportedMediaType) String

type GetUserPresenceBadRequest

type GetUserPresenceBadRequest struct {
	Payload *models.ErrorBody
}

GetUserPresenceBadRequest 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 NewGetUserPresenceBadRequest

func NewGetUserPresenceBadRequest() *GetUserPresenceBadRequest

NewGetUserPresenceBadRequest creates a GetUserPresenceBadRequest with default headers values

func (*GetUserPresenceBadRequest) Error

func (o *GetUserPresenceBadRequest) Error() string

func (*GetUserPresenceBadRequest) GetPayload

func (o *GetUserPresenceBadRequest) GetPayload() *models.ErrorBody

func (*GetUserPresenceBadRequest) IsClientError

func (o *GetUserPresenceBadRequest) IsClientError() bool

IsClientError returns true when this get user presence bad request response has a 4xx status code

func (*GetUserPresenceBadRequest) IsCode

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

IsCode returns true when this get user presence bad request response a status code equal to that given

func (*GetUserPresenceBadRequest) IsRedirect

func (o *GetUserPresenceBadRequest) IsRedirect() bool

IsRedirect returns true when this get user presence bad request response has a 3xx status code

func (*GetUserPresenceBadRequest) IsServerError

func (o *GetUserPresenceBadRequest) IsServerError() bool

IsServerError returns true when this get user presence bad request response has a 5xx status code

func (*GetUserPresenceBadRequest) IsSuccess

func (o *GetUserPresenceBadRequest) IsSuccess() bool

IsSuccess returns true when this get user presence bad request response has a 2xx status code

func (*GetUserPresenceBadRequest) String

func (o *GetUserPresenceBadRequest) String() string

type GetUserPresenceForbidden

type GetUserPresenceForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetUserPresenceForbidden

func NewGetUserPresenceForbidden() *GetUserPresenceForbidden

NewGetUserPresenceForbidden creates a GetUserPresenceForbidden with default headers values

func (*GetUserPresenceForbidden) Error

func (o *GetUserPresenceForbidden) Error() string

func (*GetUserPresenceForbidden) GetPayload

func (o *GetUserPresenceForbidden) GetPayload() *models.ErrorBody

func (*GetUserPresenceForbidden) IsClientError

func (o *GetUserPresenceForbidden) IsClientError() bool

IsClientError returns true when this get user presence forbidden response has a 4xx status code

func (*GetUserPresenceForbidden) IsCode

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

IsCode returns true when this get user presence forbidden response a status code equal to that given

func (*GetUserPresenceForbidden) IsRedirect

func (o *GetUserPresenceForbidden) IsRedirect() bool

IsRedirect returns true when this get user presence forbidden response has a 3xx status code

func (*GetUserPresenceForbidden) IsServerError

func (o *GetUserPresenceForbidden) IsServerError() bool

IsServerError returns true when this get user presence forbidden response has a 5xx status code

func (*GetUserPresenceForbidden) IsSuccess

func (o *GetUserPresenceForbidden) IsSuccess() bool

IsSuccess returns true when this get user presence forbidden response has a 2xx status code

func (*GetUserPresenceForbidden) String

func (o *GetUserPresenceForbidden) String() string

type GetUserPresenceGatewayTimeout

type GetUserPresenceGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetUserPresenceGatewayTimeout

func NewGetUserPresenceGatewayTimeout() *GetUserPresenceGatewayTimeout

NewGetUserPresenceGatewayTimeout creates a GetUserPresenceGatewayTimeout with default headers values

func (*GetUserPresenceGatewayTimeout) Error

func (*GetUserPresenceGatewayTimeout) GetPayload

func (*GetUserPresenceGatewayTimeout) IsClientError

func (o *GetUserPresenceGatewayTimeout) IsClientError() bool

IsClientError returns true when this get user presence gateway timeout response has a 4xx status code

func (*GetUserPresenceGatewayTimeout) IsCode

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

IsCode returns true when this get user presence gateway timeout response a status code equal to that given

func (*GetUserPresenceGatewayTimeout) IsRedirect

func (o *GetUserPresenceGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get user presence gateway timeout response has a 3xx status code

func (*GetUserPresenceGatewayTimeout) IsServerError

func (o *GetUserPresenceGatewayTimeout) IsServerError() bool

IsServerError returns true when this get user presence gateway timeout response has a 5xx status code

func (*GetUserPresenceGatewayTimeout) IsSuccess

func (o *GetUserPresenceGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get user presence gateway timeout response has a 2xx status code

func (*GetUserPresenceGatewayTimeout) String

type GetUserPresenceInternalServerError

type GetUserPresenceInternalServerError struct {
	Payload *models.ErrorBody
}

GetUserPresenceInternalServerError 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 NewGetUserPresenceInternalServerError

func NewGetUserPresenceInternalServerError() *GetUserPresenceInternalServerError

NewGetUserPresenceInternalServerError creates a GetUserPresenceInternalServerError with default headers values

func (*GetUserPresenceInternalServerError) Error

func (*GetUserPresenceInternalServerError) GetPayload

func (*GetUserPresenceInternalServerError) IsClientError

func (o *GetUserPresenceInternalServerError) IsClientError() bool

IsClientError returns true when this get user presence internal server error response has a 4xx status code

func (*GetUserPresenceInternalServerError) IsCode

IsCode returns true when this get user presence internal server error response a status code equal to that given

func (*GetUserPresenceInternalServerError) IsRedirect

func (o *GetUserPresenceInternalServerError) IsRedirect() bool

IsRedirect returns true when this get user presence internal server error response has a 3xx status code

func (*GetUserPresenceInternalServerError) IsServerError

func (o *GetUserPresenceInternalServerError) IsServerError() bool

IsServerError returns true when this get user presence internal server error response has a 5xx status code

func (*GetUserPresenceInternalServerError) IsSuccess

IsSuccess returns true when this get user presence internal server error response has a 2xx status code

func (*GetUserPresenceInternalServerError) String

type GetUserPresenceNotFound

type GetUserPresenceNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetUserPresenceNotFound

func NewGetUserPresenceNotFound() *GetUserPresenceNotFound

NewGetUserPresenceNotFound creates a GetUserPresenceNotFound with default headers values

func (*GetUserPresenceNotFound) Error

func (o *GetUserPresenceNotFound) Error() string

func (*GetUserPresenceNotFound) GetPayload

func (o *GetUserPresenceNotFound) GetPayload() *models.ErrorBody

func (*GetUserPresenceNotFound) IsClientError

func (o *GetUserPresenceNotFound) IsClientError() bool

IsClientError returns true when this get user presence not found response has a 4xx status code

func (*GetUserPresenceNotFound) IsCode

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

IsCode returns true when this get user presence not found response a status code equal to that given

func (*GetUserPresenceNotFound) IsRedirect

func (o *GetUserPresenceNotFound) IsRedirect() bool

IsRedirect returns true when this get user presence not found response has a 3xx status code

func (*GetUserPresenceNotFound) IsServerError

func (o *GetUserPresenceNotFound) IsServerError() bool

IsServerError returns true when this get user presence not found response has a 5xx status code

func (*GetUserPresenceNotFound) IsSuccess

func (o *GetUserPresenceNotFound) IsSuccess() bool

IsSuccess returns true when this get user presence not found response has a 2xx status code

func (*GetUserPresenceNotFound) String

func (o *GetUserPresenceNotFound) String() string

type GetUserPresenceOK

type GetUserPresenceOK struct {
	Payload *models.UserPresence
}

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

successful operation

func NewGetUserPresenceOK

func NewGetUserPresenceOK() *GetUserPresenceOK

NewGetUserPresenceOK creates a GetUserPresenceOK with default headers values

func (*GetUserPresenceOK) Error

func (o *GetUserPresenceOK) Error() string

func (*GetUserPresenceOK) GetPayload

func (o *GetUserPresenceOK) GetPayload() *models.UserPresence

func (*GetUserPresenceOK) IsClientError

func (o *GetUserPresenceOK) IsClientError() bool

IsClientError returns true when this get user presence o k response has a 4xx status code

func (*GetUserPresenceOK) IsCode

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

IsCode returns true when this get user presence o k response a status code equal to that given

func (*GetUserPresenceOK) IsRedirect

func (o *GetUserPresenceOK) IsRedirect() bool

IsRedirect returns true when this get user presence o k response has a 3xx status code

func (*GetUserPresenceOK) IsServerError

func (o *GetUserPresenceOK) IsServerError() bool

IsServerError returns true when this get user presence o k response has a 5xx status code

func (*GetUserPresenceOK) IsSuccess

func (o *GetUserPresenceOK) IsSuccess() bool

IsSuccess returns true when this get user presence o k response has a 2xx status code

func (*GetUserPresenceOK) String

func (o *GetUserPresenceOK) String() string

type GetUserPresenceParams

type GetUserPresenceParams struct {

	/* SourceID.

	   Presence source ID
	*/
	SourceID string

	/* UserID.

	   user Id
	*/
	UserID string

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

GetUserPresenceParams contains all the parameters to send to the API endpoint

for the get user presence operation.

Typically these are written to a http.Request.

func NewGetUserPresenceParams

func NewGetUserPresenceParams() *GetUserPresenceParams

NewGetUserPresenceParams creates a new GetUserPresenceParams 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 NewGetUserPresenceParamsWithContext

func NewGetUserPresenceParamsWithContext(ctx context.Context) *GetUserPresenceParams

NewGetUserPresenceParamsWithContext creates a new GetUserPresenceParams object with the ability to set a context for a request.

func NewGetUserPresenceParamsWithHTTPClient

func NewGetUserPresenceParamsWithHTTPClient(client *http.Client) *GetUserPresenceParams

NewGetUserPresenceParamsWithHTTPClient creates a new GetUserPresenceParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserPresenceParamsWithTimeout

func NewGetUserPresenceParamsWithTimeout(timeout time.Duration) *GetUserPresenceParams

NewGetUserPresenceParamsWithTimeout creates a new GetUserPresenceParams object with the ability to set a timeout on a request.

func (*GetUserPresenceParams) SetContext

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

SetContext adds the context to the get user presence params

func (*GetUserPresenceParams) SetDefaults

func (o *GetUserPresenceParams) SetDefaults()

SetDefaults hydrates default values in the get user presence params (not the query body).

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

func (*GetUserPresenceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user presence params

func (*GetUserPresenceParams) SetSourceID

func (o *GetUserPresenceParams) SetSourceID(sourceID string)

SetSourceID adds the sourceId to the get user presence params

func (*GetUserPresenceParams) SetTimeout

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

SetTimeout adds the timeout to the get user presence params

func (*GetUserPresenceParams) SetUserID

func (o *GetUserPresenceParams) SetUserID(userID string)

SetUserID adds the userId to the get user presence params

func (*GetUserPresenceParams) WithContext

WithContext adds the context to the get user presence params

func (*GetUserPresenceParams) WithDefaults

func (o *GetUserPresenceParams) WithDefaults() *GetUserPresenceParams

WithDefaults hydrates default values in the get user presence params (not the query body).

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

func (*GetUserPresenceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user presence params

func (*GetUserPresenceParams) WithSourceID

func (o *GetUserPresenceParams) WithSourceID(sourceID string) *GetUserPresenceParams

WithSourceID adds the sourceID to the get user presence params

func (*GetUserPresenceParams) WithTimeout

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

WithTimeout adds the timeout to the get user presence params

func (*GetUserPresenceParams) WithUserID

func (o *GetUserPresenceParams) WithUserID(userID string) *GetUserPresenceParams

WithUserID adds the userID to the get user presence params

func (*GetUserPresenceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserPresenceReader

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

GetUserPresenceReader is a Reader for the GetUserPresence structure.

func (*GetUserPresenceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserPresenceRequestEntityTooLarge

type GetUserPresenceRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetUserPresenceRequestEntityTooLarge

func NewGetUserPresenceRequestEntityTooLarge() *GetUserPresenceRequestEntityTooLarge

NewGetUserPresenceRequestEntityTooLarge creates a GetUserPresenceRequestEntityTooLarge with default headers values

func (*GetUserPresenceRequestEntityTooLarge) Error

func (*GetUserPresenceRequestEntityTooLarge) GetPayload

func (*GetUserPresenceRequestEntityTooLarge) IsClientError

func (o *GetUserPresenceRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get user presence request entity too large response has a 4xx status code

func (*GetUserPresenceRequestEntityTooLarge) IsCode

IsCode returns true when this get user presence request entity too large response a status code equal to that given

func (*GetUserPresenceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get user presence request entity too large response has a 3xx status code

func (*GetUserPresenceRequestEntityTooLarge) IsServerError

func (o *GetUserPresenceRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get user presence request entity too large response has a 5xx status code

func (*GetUserPresenceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get user presence request entity too large response has a 2xx status code

func (*GetUserPresenceRequestEntityTooLarge) String

type GetUserPresenceRequestTimeout

type GetUserPresenceRequestTimeout struct {
	Payload *models.ErrorBody
}

GetUserPresenceRequestTimeout 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 NewGetUserPresenceRequestTimeout

func NewGetUserPresenceRequestTimeout() *GetUserPresenceRequestTimeout

NewGetUserPresenceRequestTimeout creates a GetUserPresenceRequestTimeout with default headers values

func (*GetUserPresenceRequestTimeout) Error

func (*GetUserPresenceRequestTimeout) GetPayload

func (*GetUserPresenceRequestTimeout) IsClientError

func (o *GetUserPresenceRequestTimeout) IsClientError() bool

IsClientError returns true when this get user presence request timeout response has a 4xx status code

func (*GetUserPresenceRequestTimeout) IsCode

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

IsCode returns true when this get user presence request timeout response a status code equal to that given

func (*GetUserPresenceRequestTimeout) IsRedirect

func (o *GetUserPresenceRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get user presence request timeout response has a 3xx status code

func (*GetUserPresenceRequestTimeout) IsServerError

func (o *GetUserPresenceRequestTimeout) IsServerError() bool

IsServerError returns true when this get user presence request timeout response has a 5xx status code

func (*GetUserPresenceRequestTimeout) IsSuccess

func (o *GetUserPresenceRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get user presence request timeout response has a 2xx status code

func (*GetUserPresenceRequestTimeout) String

type GetUserPresenceServiceUnavailable

type GetUserPresenceServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetUserPresenceServiceUnavailable 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 NewGetUserPresenceServiceUnavailable

func NewGetUserPresenceServiceUnavailable() *GetUserPresenceServiceUnavailable

NewGetUserPresenceServiceUnavailable creates a GetUserPresenceServiceUnavailable with default headers values

func (*GetUserPresenceServiceUnavailable) Error

func (*GetUserPresenceServiceUnavailable) GetPayload

func (*GetUserPresenceServiceUnavailable) IsClientError

func (o *GetUserPresenceServiceUnavailable) IsClientError() bool

IsClientError returns true when this get user presence service unavailable response has a 4xx status code

func (*GetUserPresenceServiceUnavailable) IsCode

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

IsCode returns true when this get user presence service unavailable response a status code equal to that given

func (*GetUserPresenceServiceUnavailable) IsRedirect

func (o *GetUserPresenceServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get user presence service unavailable response has a 3xx status code

func (*GetUserPresenceServiceUnavailable) IsServerError

func (o *GetUserPresenceServiceUnavailable) IsServerError() bool

IsServerError returns true when this get user presence service unavailable response has a 5xx status code

func (*GetUserPresenceServiceUnavailable) IsSuccess

func (o *GetUserPresenceServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get user presence service unavailable response has a 2xx status code

func (*GetUserPresenceServiceUnavailable) String

type GetUserPresenceTooManyRequests

type GetUserPresenceTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetUserPresenceTooManyRequests

func NewGetUserPresenceTooManyRequests() *GetUserPresenceTooManyRequests

NewGetUserPresenceTooManyRequests creates a GetUserPresenceTooManyRequests with default headers values

func (*GetUserPresenceTooManyRequests) Error

func (*GetUserPresenceTooManyRequests) GetPayload

func (*GetUserPresenceTooManyRequests) IsClientError

func (o *GetUserPresenceTooManyRequests) IsClientError() bool

IsClientError returns true when this get user presence too many requests response has a 4xx status code

func (*GetUserPresenceTooManyRequests) IsCode

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

IsCode returns true when this get user presence too many requests response a status code equal to that given

func (*GetUserPresenceTooManyRequests) IsRedirect

func (o *GetUserPresenceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get user presence too many requests response has a 3xx status code

func (*GetUserPresenceTooManyRequests) IsServerError

func (o *GetUserPresenceTooManyRequests) IsServerError() bool

IsServerError returns true when this get user presence too many requests response has a 5xx status code

func (*GetUserPresenceTooManyRequests) IsSuccess

func (o *GetUserPresenceTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get user presence too many requests response has a 2xx status code

func (*GetUserPresenceTooManyRequests) String

type GetUserPresenceUnauthorized

type GetUserPresenceUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetUserPresenceUnauthorized

func NewGetUserPresenceUnauthorized() *GetUserPresenceUnauthorized

NewGetUserPresenceUnauthorized creates a GetUserPresenceUnauthorized with default headers values

func (*GetUserPresenceUnauthorized) Error

func (*GetUserPresenceUnauthorized) GetPayload

func (o *GetUserPresenceUnauthorized) GetPayload() *models.ErrorBody

func (*GetUserPresenceUnauthorized) IsClientError

func (o *GetUserPresenceUnauthorized) IsClientError() bool

IsClientError returns true when this get user presence unauthorized response has a 4xx status code

func (*GetUserPresenceUnauthorized) IsCode

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

IsCode returns true when this get user presence unauthorized response a status code equal to that given

func (*GetUserPresenceUnauthorized) IsRedirect

func (o *GetUserPresenceUnauthorized) IsRedirect() bool

IsRedirect returns true when this get user presence unauthorized response has a 3xx status code

func (*GetUserPresenceUnauthorized) IsServerError

func (o *GetUserPresenceUnauthorized) IsServerError() bool

IsServerError returns true when this get user presence unauthorized response has a 5xx status code

func (*GetUserPresenceUnauthorized) IsSuccess

func (o *GetUserPresenceUnauthorized) IsSuccess() bool

IsSuccess returns true when this get user presence unauthorized response has a 2xx status code

func (*GetUserPresenceUnauthorized) String

func (o *GetUserPresenceUnauthorized) String() string

type GetUserPresenceUnsupportedMediaType

type GetUserPresenceUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetUserPresenceUnsupportedMediaType 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 NewGetUserPresenceUnsupportedMediaType

func NewGetUserPresenceUnsupportedMediaType() *GetUserPresenceUnsupportedMediaType

NewGetUserPresenceUnsupportedMediaType creates a GetUserPresenceUnsupportedMediaType with default headers values

func (*GetUserPresenceUnsupportedMediaType) Error

func (*GetUserPresenceUnsupportedMediaType) GetPayload

func (*GetUserPresenceUnsupportedMediaType) IsClientError

func (o *GetUserPresenceUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get user presence unsupported media type response has a 4xx status code

func (*GetUserPresenceUnsupportedMediaType) IsCode

IsCode returns true when this get user presence unsupported media type response a status code equal to that given

func (*GetUserPresenceUnsupportedMediaType) IsRedirect

func (o *GetUserPresenceUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this get user presence unsupported media type response has a 3xx status code

func (*GetUserPresenceUnsupportedMediaType) IsServerError

func (o *GetUserPresenceUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get user presence unsupported media type response has a 5xx status code

func (*GetUserPresenceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get user presence unsupported media type response has a 2xx status code

func (*GetUserPresenceUnsupportedMediaType) String

type GetUserPresencesPurecloudBadRequest

type GetUserPresencesPurecloudBadRequest struct {
	Payload *models.ErrorBody
}

GetUserPresencesPurecloudBadRequest 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 NewGetUserPresencesPurecloudBadRequest

func NewGetUserPresencesPurecloudBadRequest() *GetUserPresencesPurecloudBadRequest

NewGetUserPresencesPurecloudBadRequest creates a GetUserPresencesPurecloudBadRequest with default headers values

func (*GetUserPresencesPurecloudBadRequest) Error

func (*GetUserPresencesPurecloudBadRequest) GetPayload

func (*GetUserPresencesPurecloudBadRequest) IsClientError

func (o *GetUserPresencesPurecloudBadRequest) IsClientError() bool

IsClientError returns true when this get user presences purecloud bad request response has a 4xx status code

func (*GetUserPresencesPurecloudBadRequest) IsCode

IsCode returns true when this get user presences purecloud bad request response a status code equal to that given

func (*GetUserPresencesPurecloudBadRequest) IsRedirect

func (o *GetUserPresencesPurecloudBadRequest) IsRedirect() bool

IsRedirect returns true when this get user presences purecloud bad request response has a 3xx status code

func (*GetUserPresencesPurecloudBadRequest) IsServerError

func (o *GetUserPresencesPurecloudBadRequest) IsServerError() bool

IsServerError returns true when this get user presences purecloud bad request response has a 5xx status code

func (*GetUserPresencesPurecloudBadRequest) IsSuccess

IsSuccess returns true when this get user presences purecloud bad request response has a 2xx status code

func (*GetUserPresencesPurecloudBadRequest) String

type GetUserPresencesPurecloudForbidden

type GetUserPresencesPurecloudForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewGetUserPresencesPurecloudForbidden

func NewGetUserPresencesPurecloudForbidden() *GetUserPresencesPurecloudForbidden

NewGetUserPresencesPurecloudForbidden creates a GetUserPresencesPurecloudForbidden with default headers values

func (*GetUserPresencesPurecloudForbidden) Error

func (*GetUserPresencesPurecloudForbidden) GetPayload

func (*GetUserPresencesPurecloudForbidden) IsClientError

func (o *GetUserPresencesPurecloudForbidden) IsClientError() bool

IsClientError returns true when this get user presences purecloud forbidden response has a 4xx status code

func (*GetUserPresencesPurecloudForbidden) IsCode

IsCode returns true when this get user presences purecloud forbidden response a status code equal to that given

func (*GetUserPresencesPurecloudForbidden) IsRedirect

func (o *GetUserPresencesPurecloudForbidden) IsRedirect() bool

IsRedirect returns true when this get user presences purecloud forbidden response has a 3xx status code

func (*GetUserPresencesPurecloudForbidden) IsServerError

func (o *GetUserPresencesPurecloudForbidden) IsServerError() bool

IsServerError returns true when this get user presences purecloud forbidden response has a 5xx status code

func (*GetUserPresencesPurecloudForbidden) IsSuccess

IsSuccess returns true when this get user presences purecloud forbidden response has a 2xx status code

func (*GetUserPresencesPurecloudForbidden) String

type GetUserPresencesPurecloudGatewayTimeout

type GetUserPresencesPurecloudGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewGetUserPresencesPurecloudGatewayTimeout

func NewGetUserPresencesPurecloudGatewayTimeout() *GetUserPresencesPurecloudGatewayTimeout

NewGetUserPresencesPurecloudGatewayTimeout creates a GetUserPresencesPurecloudGatewayTimeout with default headers values

func (*GetUserPresencesPurecloudGatewayTimeout) Error

func (*GetUserPresencesPurecloudGatewayTimeout) GetPayload

func (*GetUserPresencesPurecloudGatewayTimeout) IsClientError

func (o *GetUserPresencesPurecloudGatewayTimeout) IsClientError() bool

IsClientError returns true when this get user presences purecloud gateway timeout response has a 4xx status code

func (*GetUserPresencesPurecloudGatewayTimeout) IsCode

IsCode returns true when this get user presences purecloud gateway timeout response a status code equal to that given

func (*GetUserPresencesPurecloudGatewayTimeout) IsRedirect

IsRedirect returns true when this get user presences purecloud gateway timeout response has a 3xx status code

func (*GetUserPresencesPurecloudGatewayTimeout) IsServerError

func (o *GetUserPresencesPurecloudGatewayTimeout) IsServerError() bool

IsServerError returns true when this get user presences purecloud gateway timeout response has a 5xx status code

func (*GetUserPresencesPurecloudGatewayTimeout) IsSuccess

IsSuccess returns true when this get user presences purecloud gateway timeout response has a 2xx status code

func (*GetUserPresencesPurecloudGatewayTimeout) String

type GetUserPresencesPurecloudInternalServerError

type GetUserPresencesPurecloudInternalServerError struct {
	Payload *models.ErrorBody
}

GetUserPresencesPurecloudInternalServerError 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 NewGetUserPresencesPurecloudInternalServerError

func NewGetUserPresencesPurecloudInternalServerError() *GetUserPresencesPurecloudInternalServerError

NewGetUserPresencesPurecloudInternalServerError creates a GetUserPresencesPurecloudInternalServerError with default headers values

func (*GetUserPresencesPurecloudInternalServerError) Error

func (*GetUserPresencesPurecloudInternalServerError) GetPayload

func (*GetUserPresencesPurecloudInternalServerError) IsClientError

IsClientError returns true when this get user presences purecloud internal server error response has a 4xx status code

func (*GetUserPresencesPurecloudInternalServerError) IsCode

IsCode returns true when this get user presences purecloud internal server error response a status code equal to that given

func (*GetUserPresencesPurecloudInternalServerError) IsRedirect

IsRedirect returns true when this get user presences purecloud internal server error response has a 3xx status code

func (*GetUserPresencesPurecloudInternalServerError) IsServerError

IsServerError returns true when this get user presences purecloud internal server error response has a 5xx status code

func (*GetUserPresencesPurecloudInternalServerError) IsSuccess

IsSuccess returns true when this get user presences purecloud internal server error response has a 2xx status code

func (*GetUserPresencesPurecloudInternalServerError) String

type GetUserPresencesPurecloudNotFound

type GetUserPresencesPurecloudNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewGetUserPresencesPurecloudNotFound

func NewGetUserPresencesPurecloudNotFound() *GetUserPresencesPurecloudNotFound

NewGetUserPresencesPurecloudNotFound creates a GetUserPresencesPurecloudNotFound with default headers values

func (*GetUserPresencesPurecloudNotFound) Error

func (*GetUserPresencesPurecloudNotFound) GetPayload

func (*GetUserPresencesPurecloudNotFound) IsClientError

func (o *GetUserPresencesPurecloudNotFound) IsClientError() bool

IsClientError returns true when this get user presences purecloud not found response has a 4xx status code

func (*GetUserPresencesPurecloudNotFound) IsCode

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

IsCode returns true when this get user presences purecloud not found response a status code equal to that given

func (*GetUserPresencesPurecloudNotFound) IsRedirect

func (o *GetUserPresencesPurecloudNotFound) IsRedirect() bool

IsRedirect returns true when this get user presences purecloud not found response has a 3xx status code

func (*GetUserPresencesPurecloudNotFound) IsServerError

func (o *GetUserPresencesPurecloudNotFound) IsServerError() bool

IsServerError returns true when this get user presences purecloud not found response has a 5xx status code

func (*GetUserPresencesPurecloudNotFound) IsSuccess

func (o *GetUserPresencesPurecloudNotFound) IsSuccess() bool

IsSuccess returns true when this get user presences purecloud not found response has a 2xx status code

func (*GetUserPresencesPurecloudNotFound) String

type GetUserPresencesPurecloudOK

type GetUserPresencesPurecloudOK struct {
	Payload *models.UserPresence
}

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

successful operation

func NewGetUserPresencesPurecloudOK

func NewGetUserPresencesPurecloudOK() *GetUserPresencesPurecloudOK

NewGetUserPresencesPurecloudOK creates a GetUserPresencesPurecloudOK with default headers values

func (*GetUserPresencesPurecloudOK) Error

func (*GetUserPresencesPurecloudOK) GetPayload

func (*GetUserPresencesPurecloudOK) IsClientError

func (o *GetUserPresencesPurecloudOK) IsClientError() bool

IsClientError returns true when this get user presences purecloud o k response has a 4xx status code

func (*GetUserPresencesPurecloudOK) IsCode

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

IsCode returns true when this get user presences purecloud o k response a status code equal to that given

func (*GetUserPresencesPurecloudOK) IsRedirect

func (o *GetUserPresencesPurecloudOK) IsRedirect() bool

IsRedirect returns true when this get user presences purecloud o k response has a 3xx status code

func (*GetUserPresencesPurecloudOK) IsServerError

func (o *GetUserPresencesPurecloudOK) IsServerError() bool

IsServerError returns true when this get user presences purecloud o k response has a 5xx status code

func (*GetUserPresencesPurecloudOK) IsSuccess

func (o *GetUserPresencesPurecloudOK) IsSuccess() bool

IsSuccess returns true when this get user presences purecloud o k response has a 2xx status code

func (*GetUserPresencesPurecloudOK) String

func (o *GetUserPresencesPurecloudOK) String() string

type GetUserPresencesPurecloudParams

type GetUserPresencesPurecloudParams struct {

	/* UserID.

	   user Id
	*/
	UserID string

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

GetUserPresencesPurecloudParams contains all the parameters to send to the API endpoint

for the get user presences purecloud operation.

Typically these are written to a http.Request.

func NewGetUserPresencesPurecloudParams

func NewGetUserPresencesPurecloudParams() *GetUserPresencesPurecloudParams

NewGetUserPresencesPurecloudParams creates a new GetUserPresencesPurecloudParams 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 NewGetUserPresencesPurecloudParamsWithContext

func NewGetUserPresencesPurecloudParamsWithContext(ctx context.Context) *GetUserPresencesPurecloudParams

NewGetUserPresencesPurecloudParamsWithContext creates a new GetUserPresencesPurecloudParams object with the ability to set a context for a request.

func NewGetUserPresencesPurecloudParamsWithHTTPClient

func NewGetUserPresencesPurecloudParamsWithHTTPClient(client *http.Client) *GetUserPresencesPurecloudParams

NewGetUserPresencesPurecloudParamsWithHTTPClient creates a new GetUserPresencesPurecloudParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserPresencesPurecloudParamsWithTimeout

func NewGetUserPresencesPurecloudParamsWithTimeout(timeout time.Duration) *GetUserPresencesPurecloudParams

NewGetUserPresencesPurecloudParamsWithTimeout creates a new GetUserPresencesPurecloudParams object with the ability to set a timeout on a request.

func (*GetUserPresencesPurecloudParams) SetContext

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

SetContext adds the context to the get user presences purecloud params

func (*GetUserPresencesPurecloudParams) SetDefaults

func (o *GetUserPresencesPurecloudParams) SetDefaults()

SetDefaults hydrates default values in the get user presences purecloud params (not the query body).

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

func (*GetUserPresencesPurecloudParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user presences purecloud params

func (*GetUserPresencesPurecloudParams) SetTimeout

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

SetTimeout adds the timeout to the get user presences purecloud params

func (*GetUserPresencesPurecloudParams) SetUserID

func (o *GetUserPresencesPurecloudParams) SetUserID(userID string)

SetUserID adds the userId to the get user presences purecloud params

func (*GetUserPresencesPurecloudParams) WithContext

WithContext adds the context to the get user presences purecloud params

func (*GetUserPresencesPurecloudParams) WithDefaults

WithDefaults hydrates default values in the get user presences purecloud params (not the query body).

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

func (*GetUserPresencesPurecloudParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user presences purecloud params

func (*GetUserPresencesPurecloudParams) WithTimeout

WithTimeout adds the timeout to the get user presences purecloud params

func (*GetUserPresencesPurecloudParams) WithUserID

WithUserID adds the userID to the get user presences purecloud params

func (*GetUserPresencesPurecloudParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserPresencesPurecloudReader

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

GetUserPresencesPurecloudReader is a Reader for the GetUserPresencesPurecloud structure.

func (*GetUserPresencesPurecloudReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserPresencesPurecloudRequestEntityTooLarge

type GetUserPresencesPurecloudRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewGetUserPresencesPurecloudRequestEntityTooLarge

func NewGetUserPresencesPurecloudRequestEntityTooLarge() *GetUserPresencesPurecloudRequestEntityTooLarge

NewGetUserPresencesPurecloudRequestEntityTooLarge creates a GetUserPresencesPurecloudRequestEntityTooLarge with default headers values

func (*GetUserPresencesPurecloudRequestEntityTooLarge) Error

func (*GetUserPresencesPurecloudRequestEntityTooLarge) GetPayload

func (*GetUserPresencesPurecloudRequestEntityTooLarge) IsClientError

IsClientError returns true when this get user presences purecloud request entity too large response has a 4xx status code

func (*GetUserPresencesPurecloudRequestEntityTooLarge) IsCode

IsCode returns true when this get user presences purecloud request entity too large response a status code equal to that given

func (*GetUserPresencesPurecloudRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get user presences purecloud request entity too large response has a 3xx status code

func (*GetUserPresencesPurecloudRequestEntityTooLarge) IsServerError

IsServerError returns true when this get user presences purecloud request entity too large response has a 5xx status code

func (*GetUserPresencesPurecloudRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get user presences purecloud request entity too large response has a 2xx status code

func (*GetUserPresencesPurecloudRequestEntityTooLarge) String

type GetUserPresencesPurecloudRequestTimeout

type GetUserPresencesPurecloudRequestTimeout struct {
	Payload *models.ErrorBody
}

GetUserPresencesPurecloudRequestTimeout 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 NewGetUserPresencesPurecloudRequestTimeout

func NewGetUserPresencesPurecloudRequestTimeout() *GetUserPresencesPurecloudRequestTimeout

NewGetUserPresencesPurecloudRequestTimeout creates a GetUserPresencesPurecloudRequestTimeout with default headers values

func (*GetUserPresencesPurecloudRequestTimeout) Error

func (*GetUserPresencesPurecloudRequestTimeout) GetPayload

func (*GetUserPresencesPurecloudRequestTimeout) IsClientError

func (o *GetUserPresencesPurecloudRequestTimeout) IsClientError() bool

IsClientError returns true when this get user presences purecloud request timeout response has a 4xx status code

func (*GetUserPresencesPurecloudRequestTimeout) IsCode

IsCode returns true when this get user presences purecloud request timeout response a status code equal to that given

func (*GetUserPresencesPurecloudRequestTimeout) IsRedirect

IsRedirect returns true when this get user presences purecloud request timeout response has a 3xx status code

func (*GetUserPresencesPurecloudRequestTimeout) IsServerError

func (o *GetUserPresencesPurecloudRequestTimeout) IsServerError() bool

IsServerError returns true when this get user presences purecloud request timeout response has a 5xx status code

func (*GetUserPresencesPurecloudRequestTimeout) IsSuccess

IsSuccess returns true when this get user presences purecloud request timeout response has a 2xx status code

func (*GetUserPresencesPurecloudRequestTimeout) String

type GetUserPresencesPurecloudServiceUnavailable

type GetUserPresencesPurecloudServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetUserPresencesPurecloudServiceUnavailable 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 NewGetUserPresencesPurecloudServiceUnavailable

func NewGetUserPresencesPurecloudServiceUnavailable() *GetUserPresencesPurecloudServiceUnavailable

NewGetUserPresencesPurecloudServiceUnavailable creates a GetUserPresencesPurecloudServiceUnavailable with default headers values

func (*GetUserPresencesPurecloudServiceUnavailable) Error

func (*GetUserPresencesPurecloudServiceUnavailable) GetPayload

func (*GetUserPresencesPurecloudServiceUnavailable) IsClientError

IsClientError returns true when this get user presences purecloud service unavailable response has a 4xx status code

func (*GetUserPresencesPurecloudServiceUnavailable) IsCode

IsCode returns true when this get user presences purecloud service unavailable response a status code equal to that given

func (*GetUserPresencesPurecloudServiceUnavailable) IsRedirect

IsRedirect returns true when this get user presences purecloud service unavailable response has a 3xx status code

func (*GetUserPresencesPurecloudServiceUnavailable) IsServerError

IsServerError returns true when this get user presences purecloud service unavailable response has a 5xx status code

func (*GetUserPresencesPurecloudServiceUnavailable) IsSuccess

IsSuccess returns true when this get user presences purecloud service unavailable response has a 2xx status code

func (*GetUserPresencesPurecloudServiceUnavailable) String

type GetUserPresencesPurecloudTooManyRequests

type GetUserPresencesPurecloudTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewGetUserPresencesPurecloudTooManyRequests

func NewGetUserPresencesPurecloudTooManyRequests() *GetUserPresencesPurecloudTooManyRequests

NewGetUserPresencesPurecloudTooManyRequests creates a GetUserPresencesPurecloudTooManyRequests with default headers values

func (*GetUserPresencesPurecloudTooManyRequests) Error

func (*GetUserPresencesPurecloudTooManyRequests) GetPayload

func (*GetUserPresencesPurecloudTooManyRequests) IsClientError

IsClientError returns true when this get user presences purecloud too many requests response has a 4xx status code

func (*GetUserPresencesPurecloudTooManyRequests) IsCode

IsCode returns true when this get user presences purecloud too many requests response a status code equal to that given

func (*GetUserPresencesPurecloudTooManyRequests) IsRedirect

IsRedirect returns true when this get user presences purecloud too many requests response has a 3xx status code

func (*GetUserPresencesPurecloudTooManyRequests) IsServerError

IsServerError returns true when this get user presences purecloud too many requests response has a 5xx status code

func (*GetUserPresencesPurecloudTooManyRequests) IsSuccess

IsSuccess returns true when this get user presences purecloud too many requests response has a 2xx status code

func (*GetUserPresencesPurecloudTooManyRequests) String

type GetUserPresencesPurecloudUnauthorized

type GetUserPresencesPurecloudUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewGetUserPresencesPurecloudUnauthorized

func NewGetUserPresencesPurecloudUnauthorized() *GetUserPresencesPurecloudUnauthorized

NewGetUserPresencesPurecloudUnauthorized creates a GetUserPresencesPurecloudUnauthorized with default headers values

func (*GetUserPresencesPurecloudUnauthorized) Error

func (*GetUserPresencesPurecloudUnauthorized) GetPayload

func (*GetUserPresencesPurecloudUnauthorized) IsClientError

func (o *GetUserPresencesPurecloudUnauthorized) IsClientError() bool

IsClientError returns true when this get user presences purecloud unauthorized response has a 4xx status code

func (*GetUserPresencesPurecloudUnauthorized) IsCode

IsCode returns true when this get user presences purecloud unauthorized response a status code equal to that given

func (*GetUserPresencesPurecloudUnauthorized) IsRedirect

IsRedirect returns true when this get user presences purecloud unauthorized response has a 3xx status code

func (*GetUserPresencesPurecloudUnauthorized) IsServerError

func (o *GetUserPresencesPurecloudUnauthorized) IsServerError() bool

IsServerError returns true when this get user presences purecloud unauthorized response has a 5xx status code

func (*GetUserPresencesPurecloudUnauthorized) IsSuccess

IsSuccess returns true when this get user presences purecloud unauthorized response has a 2xx status code

func (*GetUserPresencesPurecloudUnauthorized) String

type GetUserPresencesPurecloudUnsupportedMediaType

type GetUserPresencesPurecloudUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetUserPresencesPurecloudUnsupportedMediaType 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 NewGetUserPresencesPurecloudUnsupportedMediaType

func NewGetUserPresencesPurecloudUnsupportedMediaType() *GetUserPresencesPurecloudUnsupportedMediaType

NewGetUserPresencesPurecloudUnsupportedMediaType creates a GetUserPresencesPurecloudUnsupportedMediaType with default headers values

func (*GetUserPresencesPurecloudUnsupportedMediaType) Error

func (*GetUserPresencesPurecloudUnsupportedMediaType) GetPayload

func (*GetUserPresencesPurecloudUnsupportedMediaType) IsClientError

IsClientError returns true when this get user presences purecloud unsupported media type response has a 4xx status code

func (*GetUserPresencesPurecloudUnsupportedMediaType) IsCode

IsCode returns true when this get user presences purecloud unsupported media type response a status code equal to that given

func (*GetUserPresencesPurecloudUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get user presences purecloud unsupported media type response has a 3xx status code

func (*GetUserPresencesPurecloudUnsupportedMediaType) IsServerError

IsServerError returns true when this get user presences purecloud unsupported media type response has a 5xx status code

func (*GetUserPresencesPurecloudUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get user presences purecloud unsupported media type response has a 2xx status code

func (*GetUserPresencesPurecloudUnsupportedMediaType) String

type PatchUserPresenceBadRequest

type PatchUserPresenceBadRequest struct {
	Payload *models.ErrorBody
}

PatchUserPresenceBadRequest 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 NewPatchUserPresenceBadRequest

func NewPatchUserPresenceBadRequest() *PatchUserPresenceBadRequest

NewPatchUserPresenceBadRequest creates a PatchUserPresenceBadRequest with default headers values

func (*PatchUserPresenceBadRequest) Error

func (*PatchUserPresenceBadRequest) GetPayload

func (o *PatchUserPresenceBadRequest) GetPayload() *models.ErrorBody

func (*PatchUserPresenceBadRequest) IsClientError

func (o *PatchUserPresenceBadRequest) IsClientError() bool

IsClientError returns true when this patch user presence bad request response has a 4xx status code

func (*PatchUserPresenceBadRequest) IsCode

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

IsCode returns true when this patch user presence bad request response a status code equal to that given

func (*PatchUserPresenceBadRequest) IsRedirect

func (o *PatchUserPresenceBadRequest) IsRedirect() bool

IsRedirect returns true when this patch user presence bad request response has a 3xx status code

func (*PatchUserPresenceBadRequest) IsServerError

func (o *PatchUserPresenceBadRequest) IsServerError() bool

IsServerError returns true when this patch user presence bad request response has a 5xx status code

func (*PatchUserPresenceBadRequest) IsSuccess

func (o *PatchUserPresenceBadRequest) IsSuccess() bool

IsSuccess returns true when this patch user presence bad request response has a 2xx status code

func (*PatchUserPresenceBadRequest) String

func (o *PatchUserPresenceBadRequest) String() string

type PatchUserPresenceConflict

type PatchUserPresenceConflict struct {
	Payload *models.ErrorBody
}

PatchUserPresenceConflict describes a response with status code 409, with default header values.

Conflict

func NewPatchUserPresenceConflict

func NewPatchUserPresenceConflict() *PatchUserPresenceConflict

NewPatchUserPresenceConflict creates a PatchUserPresenceConflict with default headers values

func (*PatchUserPresenceConflict) Error

func (o *PatchUserPresenceConflict) Error() string

func (*PatchUserPresenceConflict) GetPayload

func (o *PatchUserPresenceConflict) GetPayload() *models.ErrorBody

func (*PatchUserPresenceConflict) IsClientError

func (o *PatchUserPresenceConflict) IsClientError() bool

IsClientError returns true when this patch user presence conflict response has a 4xx status code

func (*PatchUserPresenceConflict) IsCode

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

IsCode returns true when this patch user presence conflict response a status code equal to that given

func (*PatchUserPresenceConflict) IsRedirect

func (o *PatchUserPresenceConflict) IsRedirect() bool

IsRedirect returns true when this patch user presence conflict response has a 3xx status code

func (*PatchUserPresenceConflict) IsServerError

func (o *PatchUserPresenceConflict) IsServerError() bool

IsServerError returns true when this patch user presence conflict response has a 5xx status code

func (*PatchUserPresenceConflict) IsSuccess

func (o *PatchUserPresenceConflict) IsSuccess() bool

IsSuccess returns true when this patch user presence conflict response has a 2xx status code

func (*PatchUserPresenceConflict) String

func (o *PatchUserPresenceConflict) String() string

type PatchUserPresenceForbidden

type PatchUserPresenceForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPatchUserPresenceForbidden

func NewPatchUserPresenceForbidden() *PatchUserPresenceForbidden

NewPatchUserPresenceForbidden creates a PatchUserPresenceForbidden with default headers values

func (*PatchUserPresenceForbidden) Error

func (*PatchUserPresenceForbidden) GetPayload

func (o *PatchUserPresenceForbidden) GetPayload() *models.ErrorBody

func (*PatchUserPresenceForbidden) IsClientError

func (o *PatchUserPresenceForbidden) IsClientError() bool

IsClientError returns true when this patch user presence forbidden response has a 4xx status code

func (*PatchUserPresenceForbidden) IsCode

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

IsCode returns true when this patch user presence forbidden response a status code equal to that given

func (*PatchUserPresenceForbidden) IsRedirect

func (o *PatchUserPresenceForbidden) IsRedirect() bool

IsRedirect returns true when this patch user presence forbidden response has a 3xx status code

func (*PatchUserPresenceForbidden) IsServerError

func (o *PatchUserPresenceForbidden) IsServerError() bool

IsServerError returns true when this patch user presence forbidden response has a 5xx status code

func (*PatchUserPresenceForbidden) IsSuccess

func (o *PatchUserPresenceForbidden) IsSuccess() bool

IsSuccess returns true when this patch user presence forbidden response has a 2xx status code

func (*PatchUserPresenceForbidden) String

func (o *PatchUserPresenceForbidden) String() string

type PatchUserPresenceGatewayTimeout

type PatchUserPresenceGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPatchUserPresenceGatewayTimeout

func NewPatchUserPresenceGatewayTimeout() *PatchUserPresenceGatewayTimeout

NewPatchUserPresenceGatewayTimeout creates a PatchUserPresenceGatewayTimeout with default headers values

func (*PatchUserPresenceGatewayTimeout) Error

func (*PatchUserPresenceGatewayTimeout) GetPayload

func (*PatchUserPresenceGatewayTimeout) IsClientError

func (o *PatchUserPresenceGatewayTimeout) IsClientError() bool

IsClientError returns true when this patch user presence gateway timeout response has a 4xx status code

func (*PatchUserPresenceGatewayTimeout) IsCode

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

IsCode returns true when this patch user presence gateway timeout response a status code equal to that given

func (*PatchUserPresenceGatewayTimeout) IsRedirect

func (o *PatchUserPresenceGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this patch user presence gateway timeout response has a 3xx status code

func (*PatchUserPresenceGatewayTimeout) IsServerError

func (o *PatchUserPresenceGatewayTimeout) IsServerError() bool

IsServerError returns true when this patch user presence gateway timeout response has a 5xx status code

func (*PatchUserPresenceGatewayTimeout) IsSuccess

func (o *PatchUserPresenceGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this patch user presence gateway timeout response has a 2xx status code

func (*PatchUserPresenceGatewayTimeout) String

type PatchUserPresenceInternalServerError

type PatchUserPresenceInternalServerError struct {
	Payload *models.ErrorBody
}

PatchUserPresenceInternalServerError 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 NewPatchUserPresenceInternalServerError

func NewPatchUserPresenceInternalServerError() *PatchUserPresenceInternalServerError

NewPatchUserPresenceInternalServerError creates a PatchUserPresenceInternalServerError with default headers values

func (*PatchUserPresenceInternalServerError) Error

func (*PatchUserPresenceInternalServerError) GetPayload

func (*PatchUserPresenceInternalServerError) IsClientError

func (o *PatchUserPresenceInternalServerError) IsClientError() bool

IsClientError returns true when this patch user presence internal server error response has a 4xx status code

func (*PatchUserPresenceInternalServerError) IsCode

IsCode returns true when this patch user presence internal server error response a status code equal to that given

func (*PatchUserPresenceInternalServerError) IsRedirect

IsRedirect returns true when this patch user presence internal server error response has a 3xx status code

func (*PatchUserPresenceInternalServerError) IsServerError

func (o *PatchUserPresenceInternalServerError) IsServerError() bool

IsServerError returns true when this patch user presence internal server error response has a 5xx status code

func (*PatchUserPresenceInternalServerError) IsSuccess

IsSuccess returns true when this patch user presence internal server error response has a 2xx status code

func (*PatchUserPresenceInternalServerError) String

type PatchUserPresenceNotFound

type PatchUserPresenceNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPatchUserPresenceNotFound

func NewPatchUserPresenceNotFound() *PatchUserPresenceNotFound

NewPatchUserPresenceNotFound creates a PatchUserPresenceNotFound with default headers values

func (*PatchUserPresenceNotFound) Error

func (o *PatchUserPresenceNotFound) Error() string

func (*PatchUserPresenceNotFound) GetPayload

func (o *PatchUserPresenceNotFound) GetPayload() *models.ErrorBody

func (*PatchUserPresenceNotFound) IsClientError

func (o *PatchUserPresenceNotFound) IsClientError() bool

IsClientError returns true when this patch user presence not found response has a 4xx status code

func (*PatchUserPresenceNotFound) IsCode

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

IsCode returns true when this patch user presence not found response a status code equal to that given

func (*PatchUserPresenceNotFound) IsRedirect

func (o *PatchUserPresenceNotFound) IsRedirect() bool

IsRedirect returns true when this patch user presence not found response has a 3xx status code

func (*PatchUserPresenceNotFound) IsServerError

func (o *PatchUserPresenceNotFound) IsServerError() bool

IsServerError returns true when this patch user presence not found response has a 5xx status code

func (*PatchUserPresenceNotFound) IsSuccess

func (o *PatchUserPresenceNotFound) IsSuccess() bool

IsSuccess returns true when this patch user presence not found response has a 2xx status code

func (*PatchUserPresenceNotFound) String

func (o *PatchUserPresenceNotFound) String() string

type PatchUserPresenceOK

type PatchUserPresenceOK struct {
	Payload *models.UserPresence
}

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

successful operation

func NewPatchUserPresenceOK

func NewPatchUserPresenceOK() *PatchUserPresenceOK

NewPatchUserPresenceOK creates a PatchUserPresenceOK with default headers values

func (*PatchUserPresenceOK) Error

func (o *PatchUserPresenceOK) Error() string

func (*PatchUserPresenceOK) GetPayload

func (o *PatchUserPresenceOK) GetPayload() *models.UserPresence

func (*PatchUserPresenceOK) IsClientError

func (o *PatchUserPresenceOK) IsClientError() bool

IsClientError returns true when this patch user presence o k response has a 4xx status code

func (*PatchUserPresenceOK) IsCode

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

IsCode returns true when this patch user presence o k response a status code equal to that given

func (*PatchUserPresenceOK) IsRedirect

func (o *PatchUserPresenceOK) IsRedirect() bool

IsRedirect returns true when this patch user presence o k response has a 3xx status code

func (*PatchUserPresenceOK) IsServerError

func (o *PatchUserPresenceOK) IsServerError() bool

IsServerError returns true when this patch user presence o k response has a 5xx status code

func (*PatchUserPresenceOK) IsSuccess

func (o *PatchUserPresenceOK) IsSuccess() bool

IsSuccess returns true when this patch user presence o k response has a 2xx status code

func (*PatchUserPresenceOK) String

func (o *PatchUserPresenceOK) String() string

type PatchUserPresenceParams

type PatchUserPresenceParams struct {

	/* Body.

	   User presence
	*/
	Body *models.UserPresence

	/* SourceID.

	   Presence source ID
	*/
	SourceID string

	/* UserID.

	   user Id
	*/
	UserID string

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

PatchUserPresenceParams contains all the parameters to send to the API endpoint

for the patch user presence operation.

Typically these are written to a http.Request.

func NewPatchUserPresenceParams

func NewPatchUserPresenceParams() *PatchUserPresenceParams

NewPatchUserPresenceParams creates a new PatchUserPresenceParams 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 NewPatchUserPresenceParamsWithContext

func NewPatchUserPresenceParamsWithContext(ctx context.Context) *PatchUserPresenceParams

NewPatchUserPresenceParamsWithContext creates a new PatchUserPresenceParams object with the ability to set a context for a request.

func NewPatchUserPresenceParamsWithHTTPClient

func NewPatchUserPresenceParamsWithHTTPClient(client *http.Client) *PatchUserPresenceParams

NewPatchUserPresenceParamsWithHTTPClient creates a new PatchUserPresenceParams object with the ability to set a custom HTTPClient for a request.

func NewPatchUserPresenceParamsWithTimeout

func NewPatchUserPresenceParamsWithTimeout(timeout time.Duration) *PatchUserPresenceParams

NewPatchUserPresenceParamsWithTimeout creates a new PatchUserPresenceParams object with the ability to set a timeout on a request.

func (*PatchUserPresenceParams) SetBody

func (o *PatchUserPresenceParams) SetBody(body *models.UserPresence)

SetBody adds the body to the patch user presence params

func (*PatchUserPresenceParams) SetContext

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

SetContext adds the context to the patch user presence params

func (*PatchUserPresenceParams) SetDefaults

func (o *PatchUserPresenceParams) SetDefaults()

SetDefaults hydrates default values in the patch user presence params (not the query body).

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

func (*PatchUserPresenceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch user presence params

func (*PatchUserPresenceParams) SetSourceID

func (o *PatchUserPresenceParams) SetSourceID(sourceID string)

SetSourceID adds the sourceId to the patch user presence params

func (*PatchUserPresenceParams) SetTimeout

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

SetTimeout adds the timeout to the patch user presence params

func (*PatchUserPresenceParams) SetUserID

func (o *PatchUserPresenceParams) SetUserID(userID string)

SetUserID adds the userId to the patch user presence params

func (*PatchUserPresenceParams) WithBody

WithBody adds the body to the patch user presence params

func (*PatchUserPresenceParams) WithContext

WithContext adds the context to the patch user presence params

func (*PatchUserPresenceParams) WithDefaults

WithDefaults hydrates default values in the patch user presence params (not the query body).

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

func (*PatchUserPresenceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch user presence params

func (*PatchUserPresenceParams) WithSourceID

func (o *PatchUserPresenceParams) WithSourceID(sourceID string) *PatchUserPresenceParams

WithSourceID adds the sourceID to the patch user presence params

func (*PatchUserPresenceParams) WithTimeout

WithTimeout adds the timeout to the patch user presence params

func (*PatchUserPresenceParams) WithUserID

WithUserID adds the userID to the patch user presence params

func (*PatchUserPresenceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchUserPresenceReader

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

PatchUserPresenceReader is a Reader for the PatchUserPresence structure.

func (*PatchUserPresenceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchUserPresenceRequestEntityTooLarge

type PatchUserPresenceRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPatchUserPresenceRequestEntityTooLarge

func NewPatchUserPresenceRequestEntityTooLarge() *PatchUserPresenceRequestEntityTooLarge

NewPatchUserPresenceRequestEntityTooLarge creates a PatchUserPresenceRequestEntityTooLarge with default headers values

func (*PatchUserPresenceRequestEntityTooLarge) Error

func (*PatchUserPresenceRequestEntityTooLarge) GetPayload

func (*PatchUserPresenceRequestEntityTooLarge) IsClientError

func (o *PatchUserPresenceRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this patch user presence request entity too large response has a 4xx status code

func (*PatchUserPresenceRequestEntityTooLarge) IsCode

IsCode returns true when this patch user presence request entity too large response a status code equal to that given

func (*PatchUserPresenceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this patch user presence request entity too large response has a 3xx status code

func (*PatchUserPresenceRequestEntityTooLarge) IsServerError

func (o *PatchUserPresenceRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this patch user presence request entity too large response has a 5xx status code

func (*PatchUserPresenceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this patch user presence request entity too large response has a 2xx status code

func (*PatchUserPresenceRequestEntityTooLarge) String

type PatchUserPresenceRequestTimeout

type PatchUserPresenceRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchUserPresenceRequestTimeout 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 NewPatchUserPresenceRequestTimeout

func NewPatchUserPresenceRequestTimeout() *PatchUserPresenceRequestTimeout

NewPatchUserPresenceRequestTimeout creates a PatchUserPresenceRequestTimeout with default headers values

func (*PatchUserPresenceRequestTimeout) Error

func (*PatchUserPresenceRequestTimeout) GetPayload

func (*PatchUserPresenceRequestTimeout) IsClientError

func (o *PatchUserPresenceRequestTimeout) IsClientError() bool

IsClientError returns true when this patch user presence request timeout response has a 4xx status code

func (*PatchUserPresenceRequestTimeout) IsCode

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

IsCode returns true when this patch user presence request timeout response a status code equal to that given

func (*PatchUserPresenceRequestTimeout) IsRedirect

func (o *PatchUserPresenceRequestTimeout) IsRedirect() bool

IsRedirect returns true when this patch user presence request timeout response has a 3xx status code

func (*PatchUserPresenceRequestTimeout) IsServerError

func (o *PatchUserPresenceRequestTimeout) IsServerError() bool

IsServerError returns true when this patch user presence request timeout response has a 5xx status code

func (*PatchUserPresenceRequestTimeout) IsSuccess

func (o *PatchUserPresenceRequestTimeout) IsSuccess() bool

IsSuccess returns true when this patch user presence request timeout response has a 2xx status code

func (*PatchUserPresenceRequestTimeout) String

type PatchUserPresenceServiceUnavailable

type PatchUserPresenceServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchUserPresenceServiceUnavailable 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 NewPatchUserPresenceServiceUnavailable

func NewPatchUserPresenceServiceUnavailable() *PatchUserPresenceServiceUnavailable

NewPatchUserPresenceServiceUnavailable creates a PatchUserPresenceServiceUnavailable with default headers values

func (*PatchUserPresenceServiceUnavailable) Error

func (*PatchUserPresenceServiceUnavailable) GetPayload

func (*PatchUserPresenceServiceUnavailable) IsClientError

func (o *PatchUserPresenceServiceUnavailable) IsClientError() bool

IsClientError returns true when this patch user presence service unavailable response has a 4xx status code

func (*PatchUserPresenceServiceUnavailable) IsCode

IsCode returns true when this patch user presence service unavailable response a status code equal to that given

func (*PatchUserPresenceServiceUnavailable) IsRedirect

func (o *PatchUserPresenceServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this patch user presence service unavailable response has a 3xx status code

func (*PatchUserPresenceServiceUnavailable) IsServerError

func (o *PatchUserPresenceServiceUnavailable) IsServerError() bool

IsServerError returns true when this patch user presence service unavailable response has a 5xx status code

func (*PatchUserPresenceServiceUnavailable) IsSuccess

IsSuccess returns true when this patch user presence service unavailable response has a 2xx status code

func (*PatchUserPresenceServiceUnavailable) String

type PatchUserPresenceTooManyRequests

type PatchUserPresenceTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPatchUserPresenceTooManyRequests

func NewPatchUserPresenceTooManyRequests() *PatchUserPresenceTooManyRequests

NewPatchUserPresenceTooManyRequests creates a PatchUserPresenceTooManyRequests with default headers values

func (*PatchUserPresenceTooManyRequests) Error

func (*PatchUserPresenceTooManyRequests) GetPayload

func (*PatchUserPresenceTooManyRequests) IsClientError

func (o *PatchUserPresenceTooManyRequests) IsClientError() bool

IsClientError returns true when this patch user presence too many requests response has a 4xx status code

func (*PatchUserPresenceTooManyRequests) IsCode

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

IsCode returns true when this patch user presence too many requests response a status code equal to that given

func (*PatchUserPresenceTooManyRequests) IsRedirect

func (o *PatchUserPresenceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this patch user presence too many requests response has a 3xx status code

func (*PatchUserPresenceTooManyRequests) IsServerError

func (o *PatchUserPresenceTooManyRequests) IsServerError() bool

IsServerError returns true when this patch user presence too many requests response has a 5xx status code

func (*PatchUserPresenceTooManyRequests) IsSuccess

func (o *PatchUserPresenceTooManyRequests) IsSuccess() bool

IsSuccess returns true when this patch user presence too many requests response has a 2xx status code

func (*PatchUserPresenceTooManyRequests) String

type PatchUserPresenceUnauthorized

type PatchUserPresenceUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPatchUserPresenceUnauthorized

func NewPatchUserPresenceUnauthorized() *PatchUserPresenceUnauthorized

NewPatchUserPresenceUnauthorized creates a PatchUserPresenceUnauthorized with default headers values

func (*PatchUserPresenceUnauthorized) Error

func (*PatchUserPresenceUnauthorized) GetPayload

func (*PatchUserPresenceUnauthorized) IsClientError

func (o *PatchUserPresenceUnauthorized) IsClientError() bool

IsClientError returns true when this patch user presence unauthorized response has a 4xx status code

func (*PatchUserPresenceUnauthorized) IsCode

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

IsCode returns true when this patch user presence unauthorized response a status code equal to that given

func (*PatchUserPresenceUnauthorized) IsRedirect

func (o *PatchUserPresenceUnauthorized) IsRedirect() bool

IsRedirect returns true when this patch user presence unauthorized response has a 3xx status code

func (*PatchUserPresenceUnauthorized) IsServerError

func (o *PatchUserPresenceUnauthorized) IsServerError() bool

IsServerError returns true when this patch user presence unauthorized response has a 5xx status code

func (*PatchUserPresenceUnauthorized) IsSuccess

func (o *PatchUserPresenceUnauthorized) IsSuccess() bool

IsSuccess returns true when this patch user presence unauthorized response has a 2xx status code

func (*PatchUserPresenceUnauthorized) String

type PatchUserPresenceUnsupportedMediaType

type PatchUserPresenceUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchUserPresenceUnsupportedMediaType 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 NewPatchUserPresenceUnsupportedMediaType

func NewPatchUserPresenceUnsupportedMediaType() *PatchUserPresenceUnsupportedMediaType

NewPatchUserPresenceUnsupportedMediaType creates a PatchUserPresenceUnsupportedMediaType with default headers values

func (*PatchUserPresenceUnsupportedMediaType) Error

func (*PatchUserPresenceUnsupportedMediaType) GetPayload

func (*PatchUserPresenceUnsupportedMediaType) IsClientError

func (o *PatchUserPresenceUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this patch user presence unsupported media type response has a 4xx status code

func (*PatchUserPresenceUnsupportedMediaType) IsCode

IsCode returns true when this patch user presence unsupported media type response a status code equal to that given

func (*PatchUserPresenceUnsupportedMediaType) IsRedirect

IsRedirect returns true when this patch user presence unsupported media type response has a 3xx status code

func (*PatchUserPresenceUnsupportedMediaType) IsServerError

func (o *PatchUserPresenceUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this patch user presence unsupported media type response has a 5xx status code

func (*PatchUserPresenceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this patch user presence unsupported media type response has a 2xx status code

func (*PatchUserPresenceUnsupportedMediaType) String

type PatchUserPresencesPurecloudBadRequest

type PatchUserPresencesPurecloudBadRequest struct {
	Payload *models.ErrorBody
}

PatchUserPresencesPurecloudBadRequest 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 NewPatchUserPresencesPurecloudBadRequest

func NewPatchUserPresencesPurecloudBadRequest() *PatchUserPresencesPurecloudBadRequest

NewPatchUserPresencesPurecloudBadRequest creates a PatchUserPresencesPurecloudBadRequest with default headers values

func (*PatchUserPresencesPurecloudBadRequest) Error

func (*PatchUserPresencesPurecloudBadRequest) GetPayload

func (*PatchUserPresencesPurecloudBadRequest) IsClientError

func (o *PatchUserPresencesPurecloudBadRequest) IsClientError() bool

IsClientError returns true when this patch user presences purecloud bad request response has a 4xx status code

func (*PatchUserPresencesPurecloudBadRequest) IsCode

IsCode returns true when this patch user presences purecloud bad request response a status code equal to that given

func (*PatchUserPresencesPurecloudBadRequest) IsRedirect

IsRedirect returns true when this patch user presences purecloud bad request response has a 3xx status code

func (*PatchUserPresencesPurecloudBadRequest) IsServerError

func (o *PatchUserPresencesPurecloudBadRequest) IsServerError() bool

IsServerError returns true when this patch user presences purecloud bad request response has a 5xx status code

func (*PatchUserPresencesPurecloudBadRequest) IsSuccess

IsSuccess returns true when this patch user presences purecloud bad request response has a 2xx status code

func (*PatchUserPresencesPurecloudBadRequest) String

type PatchUserPresencesPurecloudConflict

type PatchUserPresencesPurecloudConflict struct {
	Payload *models.ErrorBody
}

PatchUserPresencesPurecloudConflict describes a response with status code 409, with default header values.

Conflict

func NewPatchUserPresencesPurecloudConflict

func NewPatchUserPresencesPurecloudConflict() *PatchUserPresencesPurecloudConflict

NewPatchUserPresencesPurecloudConflict creates a PatchUserPresencesPurecloudConflict with default headers values

func (*PatchUserPresencesPurecloudConflict) Error

func (*PatchUserPresencesPurecloudConflict) GetPayload

func (*PatchUserPresencesPurecloudConflict) IsClientError

func (o *PatchUserPresencesPurecloudConflict) IsClientError() bool

IsClientError returns true when this patch user presences purecloud conflict response has a 4xx status code

func (*PatchUserPresencesPurecloudConflict) IsCode

IsCode returns true when this patch user presences purecloud conflict response a status code equal to that given

func (*PatchUserPresencesPurecloudConflict) IsRedirect

func (o *PatchUserPresencesPurecloudConflict) IsRedirect() bool

IsRedirect returns true when this patch user presences purecloud conflict response has a 3xx status code

func (*PatchUserPresencesPurecloudConflict) IsServerError

func (o *PatchUserPresencesPurecloudConflict) IsServerError() bool

IsServerError returns true when this patch user presences purecloud conflict response has a 5xx status code

func (*PatchUserPresencesPurecloudConflict) IsSuccess

IsSuccess returns true when this patch user presences purecloud conflict response has a 2xx status code

func (*PatchUserPresencesPurecloudConflict) String

type PatchUserPresencesPurecloudForbidden

type PatchUserPresencesPurecloudForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPatchUserPresencesPurecloudForbidden

func NewPatchUserPresencesPurecloudForbidden() *PatchUserPresencesPurecloudForbidden

NewPatchUserPresencesPurecloudForbidden creates a PatchUserPresencesPurecloudForbidden with default headers values

func (*PatchUserPresencesPurecloudForbidden) Error

func (*PatchUserPresencesPurecloudForbidden) GetPayload

func (*PatchUserPresencesPurecloudForbidden) IsClientError

func (o *PatchUserPresencesPurecloudForbidden) IsClientError() bool

IsClientError returns true when this patch user presences purecloud forbidden response has a 4xx status code

func (*PatchUserPresencesPurecloudForbidden) IsCode

IsCode returns true when this patch user presences purecloud forbidden response a status code equal to that given

func (*PatchUserPresencesPurecloudForbidden) IsRedirect

IsRedirect returns true when this patch user presences purecloud forbidden response has a 3xx status code

func (*PatchUserPresencesPurecloudForbidden) IsServerError

func (o *PatchUserPresencesPurecloudForbidden) IsServerError() bool

IsServerError returns true when this patch user presences purecloud forbidden response has a 5xx status code

func (*PatchUserPresencesPurecloudForbidden) IsSuccess

IsSuccess returns true when this patch user presences purecloud forbidden response has a 2xx status code

func (*PatchUserPresencesPurecloudForbidden) String

type PatchUserPresencesPurecloudGatewayTimeout

type PatchUserPresencesPurecloudGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPatchUserPresencesPurecloudGatewayTimeout

func NewPatchUserPresencesPurecloudGatewayTimeout() *PatchUserPresencesPurecloudGatewayTimeout

NewPatchUserPresencesPurecloudGatewayTimeout creates a PatchUserPresencesPurecloudGatewayTimeout with default headers values

func (*PatchUserPresencesPurecloudGatewayTimeout) Error

func (*PatchUserPresencesPurecloudGatewayTimeout) GetPayload

func (*PatchUserPresencesPurecloudGatewayTimeout) IsClientError

IsClientError returns true when this patch user presences purecloud gateway timeout response has a 4xx status code

func (*PatchUserPresencesPurecloudGatewayTimeout) IsCode

IsCode returns true when this patch user presences purecloud gateway timeout response a status code equal to that given

func (*PatchUserPresencesPurecloudGatewayTimeout) IsRedirect

IsRedirect returns true when this patch user presences purecloud gateway timeout response has a 3xx status code

func (*PatchUserPresencesPurecloudGatewayTimeout) IsServerError

IsServerError returns true when this patch user presences purecloud gateway timeout response has a 5xx status code

func (*PatchUserPresencesPurecloudGatewayTimeout) IsSuccess

IsSuccess returns true when this patch user presences purecloud gateway timeout response has a 2xx status code

func (*PatchUserPresencesPurecloudGatewayTimeout) String

type PatchUserPresencesPurecloudInternalServerError

type PatchUserPresencesPurecloudInternalServerError struct {
	Payload *models.ErrorBody
}

PatchUserPresencesPurecloudInternalServerError 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 NewPatchUserPresencesPurecloudInternalServerError

func NewPatchUserPresencesPurecloudInternalServerError() *PatchUserPresencesPurecloudInternalServerError

NewPatchUserPresencesPurecloudInternalServerError creates a PatchUserPresencesPurecloudInternalServerError with default headers values

func (*PatchUserPresencesPurecloudInternalServerError) Error

func (*PatchUserPresencesPurecloudInternalServerError) GetPayload

func (*PatchUserPresencesPurecloudInternalServerError) IsClientError

IsClientError returns true when this patch user presences purecloud internal server error response has a 4xx status code

func (*PatchUserPresencesPurecloudInternalServerError) IsCode

IsCode returns true when this patch user presences purecloud internal server error response a status code equal to that given

func (*PatchUserPresencesPurecloudInternalServerError) IsRedirect

IsRedirect returns true when this patch user presences purecloud internal server error response has a 3xx status code

func (*PatchUserPresencesPurecloudInternalServerError) IsServerError

IsServerError returns true when this patch user presences purecloud internal server error response has a 5xx status code

func (*PatchUserPresencesPurecloudInternalServerError) IsSuccess

IsSuccess returns true when this patch user presences purecloud internal server error response has a 2xx status code

func (*PatchUserPresencesPurecloudInternalServerError) String

type PatchUserPresencesPurecloudNotFound

type PatchUserPresencesPurecloudNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPatchUserPresencesPurecloudNotFound

func NewPatchUserPresencesPurecloudNotFound() *PatchUserPresencesPurecloudNotFound

NewPatchUserPresencesPurecloudNotFound creates a PatchUserPresencesPurecloudNotFound with default headers values

func (*PatchUserPresencesPurecloudNotFound) Error

func (*PatchUserPresencesPurecloudNotFound) GetPayload

func (*PatchUserPresencesPurecloudNotFound) IsClientError

func (o *PatchUserPresencesPurecloudNotFound) IsClientError() bool

IsClientError returns true when this patch user presences purecloud not found response has a 4xx status code

func (*PatchUserPresencesPurecloudNotFound) IsCode

IsCode returns true when this patch user presences purecloud not found response a status code equal to that given

func (*PatchUserPresencesPurecloudNotFound) IsRedirect

func (o *PatchUserPresencesPurecloudNotFound) IsRedirect() bool

IsRedirect returns true when this patch user presences purecloud not found response has a 3xx status code

func (*PatchUserPresencesPurecloudNotFound) IsServerError

func (o *PatchUserPresencesPurecloudNotFound) IsServerError() bool

IsServerError returns true when this patch user presences purecloud not found response has a 5xx status code

func (*PatchUserPresencesPurecloudNotFound) IsSuccess

IsSuccess returns true when this patch user presences purecloud not found response has a 2xx status code

func (*PatchUserPresencesPurecloudNotFound) String

type PatchUserPresencesPurecloudOK

type PatchUserPresencesPurecloudOK struct {
	Payload *models.UserPresence
}

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

successful operation

func NewPatchUserPresencesPurecloudOK

func NewPatchUserPresencesPurecloudOK() *PatchUserPresencesPurecloudOK

NewPatchUserPresencesPurecloudOK creates a PatchUserPresencesPurecloudOK with default headers values

func (*PatchUserPresencesPurecloudOK) Error

func (*PatchUserPresencesPurecloudOK) GetPayload

func (*PatchUserPresencesPurecloudOK) IsClientError

func (o *PatchUserPresencesPurecloudOK) IsClientError() bool

IsClientError returns true when this patch user presences purecloud o k response has a 4xx status code

func (*PatchUserPresencesPurecloudOK) IsCode

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

IsCode returns true when this patch user presences purecloud o k response a status code equal to that given

func (*PatchUserPresencesPurecloudOK) IsRedirect

func (o *PatchUserPresencesPurecloudOK) IsRedirect() bool

IsRedirect returns true when this patch user presences purecloud o k response has a 3xx status code

func (*PatchUserPresencesPurecloudOK) IsServerError

func (o *PatchUserPresencesPurecloudOK) IsServerError() bool

IsServerError returns true when this patch user presences purecloud o k response has a 5xx status code

func (*PatchUserPresencesPurecloudOK) IsSuccess

func (o *PatchUserPresencesPurecloudOK) IsSuccess() bool

IsSuccess returns true when this patch user presences purecloud o k response has a 2xx status code

func (*PatchUserPresencesPurecloudOK) String

type PatchUserPresencesPurecloudParams

type PatchUserPresencesPurecloudParams struct {

	/* Body.

	   User presence
	*/
	Body *models.UserPresence

	/* UserID.

	   user Id
	*/
	UserID string

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

PatchUserPresencesPurecloudParams contains all the parameters to send to the API endpoint

for the patch user presences purecloud operation.

Typically these are written to a http.Request.

func NewPatchUserPresencesPurecloudParams

func NewPatchUserPresencesPurecloudParams() *PatchUserPresencesPurecloudParams

NewPatchUserPresencesPurecloudParams creates a new PatchUserPresencesPurecloudParams 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 NewPatchUserPresencesPurecloudParamsWithContext

func NewPatchUserPresencesPurecloudParamsWithContext(ctx context.Context) *PatchUserPresencesPurecloudParams

NewPatchUserPresencesPurecloudParamsWithContext creates a new PatchUserPresencesPurecloudParams object with the ability to set a context for a request.

func NewPatchUserPresencesPurecloudParamsWithHTTPClient

func NewPatchUserPresencesPurecloudParamsWithHTTPClient(client *http.Client) *PatchUserPresencesPurecloudParams

NewPatchUserPresencesPurecloudParamsWithHTTPClient creates a new PatchUserPresencesPurecloudParams object with the ability to set a custom HTTPClient for a request.

func NewPatchUserPresencesPurecloudParamsWithTimeout

func NewPatchUserPresencesPurecloudParamsWithTimeout(timeout time.Duration) *PatchUserPresencesPurecloudParams

NewPatchUserPresencesPurecloudParamsWithTimeout creates a new PatchUserPresencesPurecloudParams object with the ability to set a timeout on a request.

func (*PatchUserPresencesPurecloudParams) SetBody

SetBody adds the body to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) SetContext

SetContext adds the context to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) SetDefaults

func (o *PatchUserPresencesPurecloudParams) SetDefaults()

SetDefaults hydrates default values in the patch user presences purecloud params (not the query body).

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

func (*PatchUserPresencesPurecloudParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) SetTimeout

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

SetTimeout adds the timeout to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) SetUserID

func (o *PatchUserPresencesPurecloudParams) SetUserID(userID string)

SetUserID adds the userId to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) WithBody

WithBody adds the body to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) WithContext

WithContext adds the context to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) WithDefaults

WithDefaults hydrates default values in the patch user presences purecloud params (not the query body).

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

func (*PatchUserPresencesPurecloudParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) WithTimeout

WithTimeout adds the timeout to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) WithUserID

WithUserID adds the userID to the patch user presences purecloud params

func (*PatchUserPresencesPurecloudParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchUserPresencesPurecloudReader

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

PatchUserPresencesPurecloudReader is a Reader for the PatchUserPresencesPurecloud structure.

func (*PatchUserPresencesPurecloudReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchUserPresencesPurecloudRequestEntityTooLarge

type PatchUserPresencesPurecloudRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPatchUserPresencesPurecloudRequestEntityTooLarge

func NewPatchUserPresencesPurecloudRequestEntityTooLarge() *PatchUserPresencesPurecloudRequestEntityTooLarge

NewPatchUserPresencesPurecloudRequestEntityTooLarge creates a PatchUserPresencesPurecloudRequestEntityTooLarge with default headers values

func (*PatchUserPresencesPurecloudRequestEntityTooLarge) Error

func (*PatchUserPresencesPurecloudRequestEntityTooLarge) GetPayload

func (*PatchUserPresencesPurecloudRequestEntityTooLarge) IsClientError

IsClientError returns true when this patch user presences purecloud request entity too large response has a 4xx status code

func (*PatchUserPresencesPurecloudRequestEntityTooLarge) IsCode

IsCode returns true when this patch user presences purecloud request entity too large response a status code equal to that given

func (*PatchUserPresencesPurecloudRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this patch user presences purecloud request entity too large response has a 3xx status code

func (*PatchUserPresencesPurecloudRequestEntityTooLarge) IsServerError

IsServerError returns true when this patch user presences purecloud request entity too large response has a 5xx status code

func (*PatchUserPresencesPurecloudRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this patch user presences purecloud request entity too large response has a 2xx status code

func (*PatchUserPresencesPurecloudRequestEntityTooLarge) String

type PatchUserPresencesPurecloudRequestTimeout

type PatchUserPresencesPurecloudRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchUserPresencesPurecloudRequestTimeout 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 NewPatchUserPresencesPurecloudRequestTimeout

func NewPatchUserPresencesPurecloudRequestTimeout() *PatchUserPresencesPurecloudRequestTimeout

NewPatchUserPresencesPurecloudRequestTimeout creates a PatchUserPresencesPurecloudRequestTimeout with default headers values

func (*PatchUserPresencesPurecloudRequestTimeout) Error

func (*PatchUserPresencesPurecloudRequestTimeout) GetPayload

func (*PatchUserPresencesPurecloudRequestTimeout) IsClientError

IsClientError returns true when this patch user presences purecloud request timeout response has a 4xx status code

func (*PatchUserPresencesPurecloudRequestTimeout) IsCode

IsCode returns true when this patch user presences purecloud request timeout response a status code equal to that given

func (*PatchUserPresencesPurecloudRequestTimeout) IsRedirect

IsRedirect returns true when this patch user presences purecloud request timeout response has a 3xx status code

func (*PatchUserPresencesPurecloudRequestTimeout) IsServerError

IsServerError returns true when this patch user presences purecloud request timeout response has a 5xx status code

func (*PatchUserPresencesPurecloudRequestTimeout) IsSuccess

IsSuccess returns true when this patch user presences purecloud request timeout response has a 2xx status code

func (*PatchUserPresencesPurecloudRequestTimeout) String

type PatchUserPresencesPurecloudServiceUnavailable

type PatchUserPresencesPurecloudServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchUserPresencesPurecloudServiceUnavailable 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 NewPatchUserPresencesPurecloudServiceUnavailable

func NewPatchUserPresencesPurecloudServiceUnavailable() *PatchUserPresencesPurecloudServiceUnavailable

NewPatchUserPresencesPurecloudServiceUnavailable creates a PatchUserPresencesPurecloudServiceUnavailable with default headers values

func (*PatchUserPresencesPurecloudServiceUnavailable) Error

func (*PatchUserPresencesPurecloudServiceUnavailable) GetPayload

func (*PatchUserPresencesPurecloudServiceUnavailable) IsClientError

IsClientError returns true when this patch user presences purecloud service unavailable response has a 4xx status code

func (*PatchUserPresencesPurecloudServiceUnavailable) IsCode

IsCode returns true when this patch user presences purecloud service unavailable response a status code equal to that given

func (*PatchUserPresencesPurecloudServiceUnavailable) IsRedirect

IsRedirect returns true when this patch user presences purecloud service unavailable response has a 3xx status code

func (*PatchUserPresencesPurecloudServiceUnavailable) IsServerError

IsServerError returns true when this patch user presences purecloud service unavailable response has a 5xx status code

func (*PatchUserPresencesPurecloudServiceUnavailable) IsSuccess

IsSuccess returns true when this patch user presences purecloud service unavailable response has a 2xx status code

func (*PatchUserPresencesPurecloudServiceUnavailable) String

type PatchUserPresencesPurecloudTooManyRequests

type PatchUserPresencesPurecloudTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPatchUserPresencesPurecloudTooManyRequests

func NewPatchUserPresencesPurecloudTooManyRequests() *PatchUserPresencesPurecloudTooManyRequests

NewPatchUserPresencesPurecloudTooManyRequests creates a PatchUserPresencesPurecloudTooManyRequests with default headers values

func (*PatchUserPresencesPurecloudTooManyRequests) Error

func (*PatchUserPresencesPurecloudTooManyRequests) GetPayload

func (*PatchUserPresencesPurecloudTooManyRequests) IsClientError

IsClientError returns true when this patch user presences purecloud too many requests response has a 4xx status code

func (*PatchUserPresencesPurecloudTooManyRequests) IsCode

IsCode returns true when this patch user presences purecloud too many requests response a status code equal to that given

func (*PatchUserPresencesPurecloudTooManyRequests) IsRedirect

IsRedirect returns true when this patch user presences purecloud too many requests response has a 3xx status code

func (*PatchUserPresencesPurecloudTooManyRequests) IsServerError

IsServerError returns true when this patch user presences purecloud too many requests response has a 5xx status code

func (*PatchUserPresencesPurecloudTooManyRequests) IsSuccess

IsSuccess returns true when this patch user presences purecloud too many requests response has a 2xx status code

func (*PatchUserPresencesPurecloudTooManyRequests) String

type PatchUserPresencesPurecloudUnauthorized

type PatchUserPresencesPurecloudUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPatchUserPresencesPurecloudUnauthorized

func NewPatchUserPresencesPurecloudUnauthorized() *PatchUserPresencesPurecloudUnauthorized

NewPatchUserPresencesPurecloudUnauthorized creates a PatchUserPresencesPurecloudUnauthorized with default headers values

func (*PatchUserPresencesPurecloudUnauthorized) Error

func (*PatchUserPresencesPurecloudUnauthorized) GetPayload

func (*PatchUserPresencesPurecloudUnauthorized) IsClientError

func (o *PatchUserPresencesPurecloudUnauthorized) IsClientError() bool

IsClientError returns true when this patch user presences purecloud unauthorized response has a 4xx status code

func (*PatchUserPresencesPurecloudUnauthorized) IsCode

IsCode returns true when this patch user presences purecloud unauthorized response a status code equal to that given

func (*PatchUserPresencesPurecloudUnauthorized) IsRedirect

IsRedirect returns true when this patch user presences purecloud unauthorized response has a 3xx status code

func (*PatchUserPresencesPurecloudUnauthorized) IsServerError

func (o *PatchUserPresencesPurecloudUnauthorized) IsServerError() bool

IsServerError returns true when this patch user presences purecloud unauthorized response has a 5xx status code

func (*PatchUserPresencesPurecloudUnauthorized) IsSuccess

IsSuccess returns true when this patch user presences purecloud unauthorized response has a 2xx status code

func (*PatchUserPresencesPurecloudUnauthorized) String

type PatchUserPresencesPurecloudUnsupportedMediaType

type PatchUserPresencesPurecloudUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchUserPresencesPurecloudUnsupportedMediaType 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 NewPatchUserPresencesPurecloudUnsupportedMediaType

func NewPatchUserPresencesPurecloudUnsupportedMediaType() *PatchUserPresencesPurecloudUnsupportedMediaType

NewPatchUserPresencesPurecloudUnsupportedMediaType creates a PatchUserPresencesPurecloudUnsupportedMediaType with default headers values

func (*PatchUserPresencesPurecloudUnsupportedMediaType) Error

func (*PatchUserPresencesPurecloudUnsupportedMediaType) GetPayload

func (*PatchUserPresencesPurecloudUnsupportedMediaType) IsClientError

IsClientError returns true when this patch user presences purecloud unsupported media type response has a 4xx status code

func (*PatchUserPresencesPurecloudUnsupportedMediaType) IsCode

IsCode returns true when this patch user presences purecloud unsupported media type response a status code equal to that given

func (*PatchUserPresencesPurecloudUnsupportedMediaType) IsRedirect

IsRedirect returns true when this patch user presences purecloud unsupported media type response has a 3xx status code

func (*PatchUserPresencesPurecloudUnsupportedMediaType) IsServerError

IsServerError returns true when this patch user presences purecloud unsupported media type response has a 5xx status code

func (*PatchUserPresencesPurecloudUnsupportedMediaType) IsSuccess

IsSuccess returns true when this patch user presences purecloud unsupported media type response has a 2xx status code

func (*PatchUserPresencesPurecloudUnsupportedMediaType) String

type PostPresenceSourcesBadRequest

type PostPresenceSourcesBadRequest struct {
	Payload *models.ErrorBody
}

PostPresenceSourcesBadRequest 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 NewPostPresenceSourcesBadRequest

func NewPostPresenceSourcesBadRequest() *PostPresenceSourcesBadRequest

NewPostPresenceSourcesBadRequest creates a PostPresenceSourcesBadRequest with default headers values

func (*PostPresenceSourcesBadRequest) Error

func (*PostPresenceSourcesBadRequest) GetPayload

func (*PostPresenceSourcesBadRequest) IsClientError

func (o *PostPresenceSourcesBadRequest) IsClientError() bool

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

func (*PostPresenceSourcesBadRequest) IsCode

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

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

func (*PostPresenceSourcesBadRequest) IsRedirect

func (o *PostPresenceSourcesBadRequest) IsRedirect() bool

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

func (*PostPresenceSourcesBadRequest) IsServerError

func (o *PostPresenceSourcesBadRequest) IsServerError() bool

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

func (*PostPresenceSourcesBadRequest) IsSuccess

func (o *PostPresenceSourcesBadRequest) IsSuccess() bool

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

func (*PostPresenceSourcesBadRequest) String

type PostPresenceSourcesConflict

type PostPresenceSourcesConflict struct {
	Payload *models.ErrorBody
}

PostPresenceSourcesConflict describes a response with status code 409, with default header values.

Conflict

func NewPostPresenceSourcesConflict

func NewPostPresenceSourcesConflict() *PostPresenceSourcesConflict

NewPostPresenceSourcesConflict creates a PostPresenceSourcesConflict with default headers values

func (*PostPresenceSourcesConflict) Error

func (*PostPresenceSourcesConflict) GetPayload

func (o *PostPresenceSourcesConflict) GetPayload() *models.ErrorBody

func (*PostPresenceSourcesConflict) IsClientError

func (o *PostPresenceSourcesConflict) IsClientError() bool

IsClientError returns true when this post presence sources conflict response has a 4xx status code

func (*PostPresenceSourcesConflict) IsCode

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

IsCode returns true when this post presence sources conflict response a status code equal to that given

func (*PostPresenceSourcesConflict) IsRedirect

func (o *PostPresenceSourcesConflict) IsRedirect() bool

IsRedirect returns true when this post presence sources conflict response has a 3xx status code

func (*PostPresenceSourcesConflict) IsServerError

func (o *PostPresenceSourcesConflict) IsServerError() bool

IsServerError returns true when this post presence sources conflict response has a 5xx status code

func (*PostPresenceSourcesConflict) IsSuccess

func (o *PostPresenceSourcesConflict) IsSuccess() bool

IsSuccess returns true when this post presence sources conflict response has a 2xx status code

func (*PostPresenceSourcesConflict) String

func (o *PostPresenceSourcesConflict) String() string

type PostPresenceSourcesForbidden

type PostPresenceSourcesForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPostPresenceSourcesForbidden

func NewPostPresenceSourcesForbidden() *PostPresenceSourcesForbidden

NewPostPresenceSourcesForbidden creates a PostPresenceSourcesForbidden with default headers values

func (*PostPresenceSourcesForbidden) Error

func (*PostPresenceSourcesForbidden) GetPayload

func (*PostPresenceSourcesForbidden) IsClientError

func (o *PostPresenceSourcesForbidden) IsClientError() bool

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

func (*PostPresenceSourcesForbidden) IsCode

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

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

func (*PostPresenceSourcesForbidden) IsRedirect

func (o *PostPresenceSourcesForbidden) IsRedirect() bool

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

func (*PostPresenceSourcesForbidden) IsServerError

func (o *PostPresenceSourcesForbidden) IsServerError() bool

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

func (*PostPresenceSourcesForbidden) IsSuccess

func (o *PostPresenceSourcesForbidden) IsSuccess() bool

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

func (*PostPresenceSourcesForbidden) String

type PostPresenceSourcesGatewayTimeout

type PostPresenceSourcesGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPostPresenceSourcesGatewayTimeout

func NewPostPresenceSourcesGatewayTimeout() *PostPresenceSourcesGatewayTimeout

NewPostPresenceSourcesGatewayTimeout creates a PostPresenceSourcesGatewayTimeout with default headers values

func (*PostPresenceSourcesGatewayTimeout) Error

func (*PostPresenceSourcesGatewayTimeout) GetPayload

func (*PostPresenceSourcesGatewayTimeout) IsClientError

func (o *PostPresenceSourcesGatewayTimeout) IsClientError() bool

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

func (*PostPresenceSourcesGatewayTimeout) IsCode

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

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

func (*PostPresenceSourcesGatewayTimeout) IsRedirect

func (o *PostPresenceSourcesGatewayTimeout) IsRedirect() bool

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

func (*PostPresenceSourcesGatewayTimeout) IsServerError

func (o *PostPresenceSourcesGatewayTimeout) IsServerError() bool

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

func (*PostPresenceSourcesGatewayTimeout) IsSuccess

func (o *PostPresenceSourcesGatewayTimeout) IsSuccess() bool

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

func (*PostPresenceSourcesGatewayTimeout) String

type PostPresenceSourcesInternalServerError

type PostPresenceSourcesInternalServerError struct {
	Payload *models.ErrorBody
}

PostPresenceSourcesInternalServerError 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 NewPostPresenceSourcesInternalServerError

func NewPostPresenceSourcesInternalServerError() *PostPresenceSourcesInternalServerError

NewPostPresenceSourcesInternalServerError creates a PostPresenceSourcesInternalServerError with default headers values

func (*PostPresenceSourcesInternalServerError) Error

func (*PostPresenceSourcesInternalServerError) GetPayload

func (*PostPresenceSourcesInternalServerError) IsClientError

func (o *PostPresenceSourcesInternalServerError) IsClientError() bool

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

func (*PostPresenceSourcesInternalServerError) IsCode

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

func (*PostPresenceSourcesInternalServerError) IsRedirect

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

func (*PostPresenceSourcesInternalServerError) IsServerError

func (o *PostPresenceSourcesInternalServerError) IsServerError() bool

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

func (*PostPresenceSourcesInternalServerError) IsSuccess

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

func (*PostPresenceSourcesInternalServerError) String

type PostPresenceSourcesNotFound

type PostPresenceSourcesNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPostPresenceSourcesNotFound

func NewPostPresenceSourcesNotFound() *PostPresenceSourcesNotFound

NewPostPresenceSourcesNotFound creates a PostPresenceSourcesNotFound with default headers values

func (*PostPresenceSourcesNotFound) Error

func (*PostPresenceSourcesNotFound) GetPayload

func (o *PostPresenceSourcesNotFound) GetPayload() *models.ErrorBody

func (*PostPresenceSourcesNotFound) IsClientError

func (o *PostPresenceSourcesNotFound) IsClientError() bool

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

func (*PostPresenceSourcesNotFound) IsCode

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

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

func (*PostPresenceSourcesNotFound) IsRedirect

func (o *PostPresenceSourcesNotFound) IsRedirect() bool

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

func (*PostPresenceSourcesNotFound) IsServerError

func (o *PostPresenceSourcesNotFound) IsServerError() bool

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

func (*PostPresenceSourcesNotFound) IsSuccess

func (o *PostPresenceSourcesNotFound) IsSuccess() bool

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

func (*PostPresenceSourcesNotFound) String

func (o *PostPresenceSourcesNotFound) String() string

type PostPresenceSourcesOK

type PostPresenceSourcesOK struct {
	Payload *models.Source
}

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

successful operation

func NewPostPresenceSourcesOK

func NewPostPresenceSourcesOK() *PostPresenceSourcesOK

NewPostPresenceSourcesOK creates a PostPresenceSourcesOK with default headers values

func (*PostPresenceSourcesOK) Error

func (o *PostPresenceSourcesOK) Error() string

func (*PostPresenceSourcesOK) GetPayload

func (o *PostPresenceSourcesOK) GetPayload() *models.Source

func (*PostPresenceSourcesOK) IsClientError

func (o *PostPresenceSourcesOK) IsClientError() bool

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

func (*PostPresenceSourcesOK) IsCode

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

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

func (*PostPresenceSourcesOK) IsRedirect

func (o *PostPresenceSourcesOK) IsRedirect() bool

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

func (*PostPresenceSourcesOK) IsServerError

func (o *PostPresenceSourcesOK) IsServerError() bool

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

func (*PostPresenceSourcesOK) IsSuccess

func (o *PostPresenceSourcesOK) IsSuccess() bool

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

func (*PostPresenceSourcesOK) String

func (o *PostPresenceSourcesOK) String() string

type PostPresenceSourcesParams

type PostPresenceSourcesParams struct {

	/* Body.

	   The Presence Source to create
	*/
	Body *models.Source

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

PostPresenceSourcesParams contains all the parameters to send to the API endpoint

for the post presence sources operation.

Typically these are written to a http.Request.

func NewPostPresenceSourcesParams

func NewPostPresenceSourcesParams() *PostPresenceSourcesParams

NewPostPresenceSourcesParams creates a new PostPresenceSourcesParams 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 NewPostPresenceSourcesParamsWithContext

func NewPostPresenceSourcesParamsWithContext(ctx context.Context) *PostPresenceSourcesParams

NewPostPresenceSourcesParamsWithContext creates a new PostPresenceSourcesParams object with the ability to set a context for a request.

func NewPostPresenceSourcesParamsWithHTTPClient

func NewPostPresenceSourcesParamsWithHTTPClient(client *http.Client) *PostPresenceSourcesParams

NewPostPresenceSourcesParamsWithHTTPClient creates a new PostPresenceSourcesParams object with the ability to set a custom HTTPClient for a request.

func NewPostPresenceSourcesParamsWithTimeout

func NewPostPresenceSourcesParamsWithTimeout(timeout time.Duration) *PostPresenceSourcesParams

NewPostPresenceSourcesParamsWithTimeout creates a new PostPresenceSourcesParams object with the ability to set a timeout on a request.

func (*PostPresenceSourcesParams) SetBody

func (o *PostPresenceSourcesParams) SetBody(body *models.Source)

SetBody adds the body to the post presence sources params

func (*PostPresenceSourcesParams) SetContext

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

SetContext adds the context to the post presence sources params

func (*PostPresenceSourcesParams) SetDefaults

func (o *PostPresenceSourcesParams) SetDefaults()

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

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

func (*PostPresenceSourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post presence sources params

func (*PostPresenceSourcesParams) SetTimeout

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

SetTimeout adds the timeout to the post presence sources params

func (*PostPresenceSourcesParams) WithBody

WithBody adds the body to the post presence sources params

func (*PostPresenceSourcesParams) WithContext

WithContext adds the context to the post presence sources params

func (*PostPresenceSourcesParams) WithDefaults

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

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

func (*PostPresenceSourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post presence sources params

func (*PostPresenceSourcesParams) WithTimeout

WithTimeout adds the timeout to the post presence sources params

func (*PostPresenceSourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPresenceSourcesReader

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

PostPresenceSourcesReader is a Reader for the PostPresenceSources structure.

func (*PostPresenceSourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPresenceSourcesRequestEntityTooLarge

type PostPresenceSourcesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPostPresenceSourcesRequestEntityTooLarge

func NewPostPresenceSourcesRequestEntityTooLarge() *PostPresenceSourcesRequestEntityTooLarge

NewPostPresenceSourcesRequestEntityTooLarge creates a PostPresenceSourcesRequestEntityTooLarge with default headers values

func (*PostPresenceSourcesRequestEntityTooLarge) Error

func (*PostPresenceSourcesRequestEntityTooLarge) GetPayload

func (*PostPresenceSourcesRequestEntityTooLarge) IsClientError

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

func (*PostPresenceSourcesRequestEntityTooLarge) IsCode

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

func (*PostPresenceSourcesRequestEntityTooLarge) IsRedirect

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

func (*PostPresenceSourcesRequestEntityTooLarge) IsServerError

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

func (*PostPresenceSourcesRequestEntityTooLarge) IsSuccess

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

func (*PostPresenceSourcesRequestEntityTooLarge) String

type PostPresenceSourcesRequestTimeout

type PostPresenceSourcesRequestTimeout struct {
	Payload *models.ErrorBody
}

PostPresenceSourcesRequestTimeout 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 NewPostPresenceSourcesRequestTimeout

func NewPostPresenceSourcesRequestTimeout() *PostPresenceSourcesRequestTimeout

NewPostPresenceSourcesRequestTimeout creates a PostPresenceSourcesRequestTimeout with default headers values

func (*PostPresenceSourcesRequestTimeout) Error

func (*PostPresenceSourcesRequestTimeout) GetPayload

func (*PostPresenceSourcesRequestTimeout) IsClientError

func (o *PostPresenceSourcesRequestTimeout) IsClientError() bool

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

func (*PostPresenceSourcesRequestTimeout) IsCode

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

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

func (*PostPresenceSourcesRequestTimeout) IsRedirect

func (o *PostPresenceSourcesRequestTimeout) IsRedirect() bool

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

func (*PostPresenceSourcesRequestTimeout) IsServerError

func (o *PostPresenceSourcesRequestTimeout) IsServerError() bool

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

func (*PostPresenceSourcesRequestTimeout) IsSuccess

func (o *PostPresenceSourcesRequestTimeout) IsSuccess() bool

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

func (*PostPresenceSourcesRequestTimeout) String

type PostPresenceSourcesServiceUnavailable

type PostPresenceSourcesServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostPresenceSourcesServiceUnavailable 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 NewPostPresenceSourcesServiceUnavailable

func NewPostPresenceSourcesServiceUnavailable() *PostPresenceSourcesServiceUnavailable

NewPostPresenceSourcesServiceUnavailable creates a PostPresenceSourcesServiceUnavailable with default headers values

func (*PostPresenceSourcesServiceUnavailable) Error

func (*PostPresenceSourcesServiceUnavailable) GetPayload

func (*PostPresenceSourcesServiceUnavailable) IsClientError

func (o *PostPresenceSourcesServiceUnavailable) IsClientError() bool

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

func (*PostPresenceSourcesServiceUnavailable) IsCode

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

func (*PostPresenceSourcesServiceUnavailable) IsRedirect

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

func (*PostPresenceSourcesServiceUnavailable) IsServerError

func (o *PostPresenceSourcesServiceUnavailable) IsServerError() bool

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

func (*PostPresenceSourcesServiceUnavailable) IsSuccess

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

func (*PostPresenceSourcesServiceUnavailable) String

type PostPresenceSourcesTooManyRequests

type PostPresenceSourcesTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPostPresenceSourcesTooManyRequests

func NewPostPresenceSourcesTooManyRequests() *PostPresenceSourcesTooManyRequests

NewPostPresenceSourcesTooManyRequests creates a PostPresenceSourcesTooManyRequests with default headers values

func (*PostPresenceSourcesTooManyRequests) Error

func (*PostPresenceSourcesTooManyRequests) GetPayload

func (*PostPresenceSourcesTooManyRequests) IsClientError

func (o *PostPresenceSourcesTooManyRequests) IsClientError() bool

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

func (*PostPresenceSourcesTooManyRequests) IsCode

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

func (*PostPresenceSourcesTooManyRequests) IsRedirect

func (o *PostPresenceSourcesTooManyRequests) IsRedirect() bool

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

func (*PostPresenceSourcesTooManyRequests) IsServerError

func (o *PostPresenceSourcesTooManyRequests) IsServerError() bool

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

func (*PostPresenceSourcesTooManyRequests) IsSuccess

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

func (*PostPresenceSourcesTooManyRequests) String

type PostPresenceSourcesUnauthorized

type PostPresenceSourcesUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPostPresenceSourcesUnauthorized

func NewPostPresenceSourcesUnauthorized() *PostPresenceSourcesUnauthorized

NewPostPresenceSourcesUnauthorized creates a PostPresenceSourcesUnauthorized with default headers values

func (*PostPresenceSourcesUnauthorized) Error

func (*PostPresenceSourcesUnauthorized) GetPayload

func (*PostPresenceSourcesUnauthorized) IsClientError

func (o *PostPresenceSourcesUnauthorized) IsClientError() bool

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

func (*PostPresenceSourcesUnauthorized) IsCode

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

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

func (*PostPresenceSourcesUnauthorized) IsRedirect

func (o *PostPresenceSourcesUnauthorized) IsRedirect() bool

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

func (*PostPresenceSourcesUnauthorized) IsServerError

func (o *PostPresenceSourcesUnauthorized) IsServerError() bool

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

func (*PostPresenceSourcesUnauthorized) IsSuccess

func (o *PostPresenceSourcesUnauthorized) IsSuccess() bool

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

func (*PostPresenceSourcesUnauthorized) String

type PostPresenceSourcesUnsupportedMediaType

type PostPresenceSourcesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostPresenceSourcesUnsupportedMediaType 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 NewPostPresenceSourcesUnsupportedMediaType

func NewPostPresenceSourcesUnsupportedMediaType() *PostPresenceSourcesUnsupportedMediaType

NewPostPresenceSourcesUnsupportedMediaType creates a PostPresenceSourcesUnsupportedMediaType with default headers values

func (*PostPresenceSourcesUnsupportedMediaType) Error

func (*PostPresenceSourcesUnsupportedMediaType) GetPayload

func (*PostPresenceSourcesUnsupportedMediaType) IsClientError

func (o *PostPresenceSourcesUnsupportedMediaType) IsClientError() bool

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

func (*PostPresenceSourcesUnsupportedMediaType) IsCode

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

func (*PostPresenceSourcesUnsupportedMediaType) IsRedirect

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

func (*PostPresenceSourcesUnsupportedMediaType) IsServerError

func (o *PostPresenceSourcesUnsupportedMediaType) IsServerError() bool

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

func (*PostPresenceSourcesUnsupportedMediaType) IsSuccess

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

func (*PostPresenceSourcesUnsupportedMediaType) String

type PostPresencedefinitionsBadRequest

type PostPresencedefinitionsBadRequest struct {
	Payload *models.ErrorBody
}

PostPresencedefinitionsBadRequest 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 NewPostPresencedefinitionsBadRequest

func NewPostPresencedefinitionsBadRequest() *PostPresencedefinitionsBadRequest

NewPostPresencedefinitionsBadRequest creates a PostPresencedefinitionsBadRequest with default headers values

func (*PostPresencedefinitionsBadRequest) Error

func (*PostPresencedefinitionsBadRequest) GetPayload

func (*PostPresencedefinitionsBadRequest) IsClientError

func (o *PostPresencedefinitionsBadRequest) IsClientError() bool

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

func (*PostPresencedefinitionsBadRequest) IsCode

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

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

func (*PostPresencedefinitionsBadRequest) IsRedirect

func (o *PostPresencedefinitionsBadRequest) IsRedirect() bool

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

func (*PostPresencedefinitionsBadRequest) IsServerError

func (o *PostPresencedefinitionsBadRequest) IsServerError() bool

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

func (*PostPresencedefinitionsBadRequest) IsSuccess

func (o *PostPresencedefinitionsBadRequest) IsSuccess() bool

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

func (*PostPresencedefinitionsBadRequest) String

type PostPresencedefinitionsForbidden

type PostPresencedefinitionsForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPostPresencedefinitionsForbidden

func NewPostPresencedefinitionsForbidden() *PostPresencedefinitionsForbidden

NewPostPresencedefinitionsForbidden creates a PostPresencedefinitionsForbidden with default headers values

func (*PostPresencedefinitionsForbidden) Error

func (*PostPresencedefinitionsForbidden) GetPayload

func (*PostPresencedefinitionsForbidden) IsClientError

func (o *PostPresencedefinitionsForbidden) IsClientError() bool

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

func (*PostPresencedefinitionsForbidden) IsCode

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

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

func (*PostPresencedefinitionsForbidden) IsRedirect

func (o *PostPresencedefinitionsForbidden) IsRedirect() bool

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

func (*PostPresencedefinitionsForbidden) IsServerError

func (o *PostPresencedefinitionsForbidden) IsServerError() bool

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

func (*PostPresencedefinitionsForbidden) IsSuccess

func (o *PostPresencedefinitionsForbidden) IsSuccess() bool

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

func (*PostPresencedefinitionsForbidden) String

type PostPresencedefinitionsGatewayTimeout

type PostPresencedefinitionsGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPostPresencedefinitionsGatewayTimeout

func NewPostPresencedefinitionsGatewayTimeout() *PostPresencedefinitionsGatewayTimeout

NewPostPresencedefinitionsGatewayTimeout creates a PostPresencedefinitionsGatewayTimeout with default headers values

func (*PostPresencedefinitionsGatewayTimeout) Error

func (*PostPresencedefinitionsGatewayTimeout) GetPayload

func (*PostPresencedefinitionsGatewayTimeout) IsClientError

func (o *PostPresencedefinitionsGatewayTimeout) IsClientError() bool

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

func (*PostPresencedefinitionsGatewayTimeout) IsCode

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

func (*PostPresencedefinitionsGatewayTimeout) IsRedirect

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

func (*PostPresencedefinitionsGatewayTimeout) IsServerError

func (o *PostPresencedefinitionsGatewayTimeout) IsServerError() bool

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

func (*PostPresencedefinitionsGatewayTimeout) IsSuccess

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

func (*PostPresencedefinitionsGatewayTimeout) String

type PostPresencedefinitionsInternalServerError

type PostPresencedefinitionsInternalServerError struct {
	Payload *models.ErrorBody
}

PostPresencedefinitionsInternalServerError 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 NewPostPresencedefinitionsInternalServerError

func NewPostPresencedefinitionsInternalServerError() *PostPresencedefinitionsInternalServerError

NewPostPresencedefinitionsInternalServerError creates a PostPresencedefinitionsInternalServerError with default headers values

func (*PostPresencedefinitionsInternalServerError) Error

func (*PostPresencedefinitionsInternalServerError) GetPayload

func (*PostPresencedefinitionsInternalServerError) IsClientError

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

func (*PostPresencedefinitionsInternalServerError) IsCode

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

func (*PostPresencedefinitionsInternalServerError) IsRedirect

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

func (*PostPresencedefinitionsInternalServerError) IsServerError

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

func (*PostPresencedefinitionsInternalServerError) IsSuccess

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

func (*PostPresencedefinitionsInternalServerError) String

type PostPresencedefinitionsNotFound

type PostPresencedefinitionsNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPostPresencedefinitionsNotFound

func NewPostPresencedefinitionsNotFound() *PostPresencedefinitionsNotFound

NewPostPresencedefinitionsNotFound creates a PostPresencedefinitionsNotFound with default headers values

func (*PostPresencedefinitionsNotFound) Error

func (*PostPresencedefinitionsNotFound) GetPayload

func (*PostPresencedefinitionsNotFound) IsClientError

func (o *PostPresencedefinitionsNotFound) IsClientError() bool

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

func (*PostPresencedefinitionsNotFound) IsCode

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

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

func (*PostPresencedefinitionsNotFound) IsRedirect

func (o *PostPresencedefinitionsNotFound) IsRedirect() bool

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

func (*PostPresencedefinitionsNotFound) IsServerError

func (o *PostPresencedefinitionsNotFound) IsServerError() bool

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

func (*PostPresencedefinitionsNotFound) IsSuccess

func (o *PostPresencedefinitionsNotFound) IsSuccess() bool

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

func (*PostPresencedefinitionsNotFound) String

type PostPresencedefinitionsOK

type PostPresencedefinitionsOK struct {
	Payload *models.OrganizationPresence
}

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

successful operation

func NewPostPresencedefinitionsOK

func NewPostPresencedefinitionsOK() *PostPresencedefinitionsOK

NewPostPresencedefinitionsOK creates a PostPresencedefinitionsOK with default headers values

func (*PostPresencedefinitionsOK) Error

func (o *PostPresencedefinitionsOK) Error() string

func (*PostPresencedefinitionsOK) GetPayload

func (*PostPresencedefinitionsOK) IsClientError

func (o *PostPresencedefinitionsOK) IsClientError() bool

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

func (*PostPresencedefinitionsOK) IsCode

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

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

func (*PostPresencedefinitionsOK) IsRedirect

func (o *PostPresencedefinitionsOK) IsRedirect() bool

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

func (*PostPresencedefinitionsOK) IsServerError

func (o *PostPresencedefinitionsOK) IsServerError() bool

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

func (*PostPresencedefinitionsOK) IsSuccess

func (o *PostPresencedefinitionsOK) IsSuccess() bool

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

func (*PostPresencedefinitionsOK) String

func (o *PostPresencedefinitionsOK) String() string

type PostPresencedefinitionsParams

type PostPresencedefinitionsParams struct {

	/* Body.

	   The Presence Definition to create
	*/
	Body *models.OrganizationPresence

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

PostPresencedefinitionsParams contains all the parameters to send to the API endpoint

for the post presencedefinitions operation.

Typically these are written to a http.Request.

func NewPostPresencedefinitionsParams

func NewPostPresencedefinitionsParams() *PostPresencedefinitionsParams

NewPostPresencedefinitionsParams creates a new PostPresencedefinitionsParams 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 NewPostPresencedefinitionsParamsWithContext

func NewPostPresencedefinitionsParamsWithContext(ctx context.Context) *PostPresencedefinitionsParams

NewPostPresencedefinitionsParamsWithContext creates a new PostPresencedefinitionsParams object with the ability to set a context for a request.

func NewPostPresencedefinitionsParamsWithHTTPClient

func NewPostPresencedefinitionsParamsWithHTTPClient(client *http.Client) *PostPresencedefinitionsParams

NewPostPresencedefinitionsParamsWithHTTPClient creates a new PostPresencedefinitionsParams object with the ability to set a custom HTTPClient for a request.

func NewPostPresencedefinitionsParamsWithTimeout

func NewPostPresencedefinitionsParamsWithTimeout(timeout time.Duration) *PostPresencedefinitionsParams

NewPostPresencedefinitionsParamsWithTimeout creates a new PostPresencedefinitionsParams object with the ability to set a timeout on a request.

func (*PostPresencedefinitionsParams) SetBody

SetBody adds the body to the post presencedefinitions params

func (*PostPresencedefinitionsParams) SetContext

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

SetContext adds the context to the post presencedefinitions params

func (*PostPresencedefinitionsParams) SetDefaults

func (o *PostPresencedefinitionsParams) SetDefaults()

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

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

func (*PostPresencedefinitionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post presencedefinitions params

func (*PostPresencedefinitionsParams) SetTimeout

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

SetTimeout adds the timeout to the post presencedefinitions params

func (*PostPresencedefinitionsParams) WithBody

WithBody adds the body to the post presencedefinitions params

func (*PostPresencedefinitionsParams) WithContext

WithContext adds the context to the post presencedefinitions params

func (*PostPresencedefinitionsParams) WithDefaults

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

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

func (*PostPresencedefinitionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post presencedefinitions params

func (*PostPresencedefinitionsParams) WithTimeout

WithTimeout adds the timeout to the post presencedefinitions params

func (*PostPresencedefinitionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPresencedefinitionsReader

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

PostPresencedefinitionsReader is a Reader for the PostPresencedefinitions structure.

func (*PostPresencedefinitionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPresencedefinitionsRequestEntityTooLarge

type PostPresencedefinitionsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPostPresencedefinitionsRequestEntityTooLarge

func NewPostPresencedefinitionsRequestEntityTooLarge() *PostPresencedefinitionsRequestEntityTooLarge

NewPostPresencedefinitionsRequestEntityTooLarge creates a PostPresencedefinitionsRequestEntityTooLarge with default headers values

func (*PostPresencedefinitionsRequestEntityTooLarge) Error

func (*PostPresencedefinitionsRequestEntityTooLarge) GetPayload

func (*PostPresencedefinitionsRequestEntityTooLarge) IsClientError

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

func (*PostPresencedefinitionsRequestEntityTooLarge) IsCode

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

func (*PostPresencedefinitionsRequestEntityTooLarge) IsRedirect

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

func (*PostPresencedefinitionsRequestEntityTooLarge) IsServerError

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

func (*PostPresencedefinitionsRequestEntityTooLarge) IsSuccess

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

func (*PostPresencedefinitionsRequestEntityTooLarge) String

type PostPresencedefinitionsRequestTimeout

type PostPresencedefinitionsRequestTimeout struct {
	Payload *models.ErrorBody
}

PostPresencedefinitionsRequestTimeout 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 NewPostPresencedefinitionsRequestTimeout

func NewPostPresencedefinitionsRequestTimeout() *PostPresencedefinitionsRequestTimeout

NewPostPresencedefinitionsRequestTimeout creates a PostPresencedefinitionsRequestTimeout with default headers values

func (*PostPresencedefinitionsRequestTimeout) Error

func (*PostPresencedefinitionsRequestTimeout) GetPayload

func (*PostPresencedefinitionsRequestTimeout) IsClientError

func (o *PostPresencedefinitionsRequestTimeout) IsClientError() bool

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

func (*PostPresencedefinitionsRequestTimeout) IsCode

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

func (*PostPresencedefinitionsRequestTimeout) IsRedirect

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

func (*PostPresencedefinitionsRequestTimeout) IsServerError

func (o *PostPresencedefinitionsRequestTimeout) IsServerError() bool

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

func (*PostPresencedefinitionsRequestTimeout) IsSuccess

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

func (*PostPresencedefinitionsRequestTimeout) String

type PostPresencedefinitionsServiceUnavailable

type PostPresencedefinitionsServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostPresencedefinitionsServiceUnavailable 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 NewPostPresencedefinitionsServiceUnavailable

func NewPostPresencedefinitionsServiceUnavailable() *PostPresencedefinitionsServiceUnavailable

NewPostPresencedefinitionsServiceUnavailable creates a PostPresencedefinitionsServiceUnavailable with default headers values

func (*PostPresencedefinitionsServiceUnavailable) Error

func (*PostPresencedefinitionsServiceUnavailable) GetPayload

func (*PostPresencedefinitionsServiceUnavailable) IsClientError

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

func (*PostPresencedefinitionsServiceUnavailable) IsCode

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

func (*PostPresencedefinitionsServiceUnavailable) IsRedirect

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

func (*PostPresencedefinitionsServiceUnavailable) IsServerError

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

func (*PostPresencedefinitionsServiceUnavailable) IsSuccess

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

func (*PostPresencedefinitionsServiceUnavailable) String

type PostPresencedefinitionsTooManyRequests

type PostPresencedefinitionsTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPostPresencedefinitionsTooManyRequests

func NewPostPresencedefinitionsTooManyRequests() *PostPresencedefinitionsTooManyRequests

NewPostPresencedefinitionsTooManyRequests creates a PostPresencedefinitionsTooManyRequests with default headers values

func (*PostPresencedefinitionsTooManyRequests) Error

func (*PostPresencedefinitionsTooManyRequests) GetPayload

func (*PostPresencedefinitionsTooManyRequests) IsClientError

func (o *PostPresencedefinitionsTooManyRequests) IsClientError() bool

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

func (*PostPresencedefinitionsTooManyRequests) IsCode

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

func (*PostPresencedefinitionsTooManyRequests) IsRedirect

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

func (*PostPresencedefinitionsTooManyRequests) IsServerError

func (o *PostPresencedefinitionsTooManyRequests) IsServerError() bool

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

func (*PostPresencedefinitionsTooManyRequests) IsSuccess

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

func (*PostPresencedefinitionsTooManyRequests) String

type PostPresencedefinitionsUnauthorized

type PostPresencedefinitionsUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPostPresencedefinitionsUnauthorized

func NewPostPresencedefinitionsUnauthorized() *PostPresencedefinitionsUnauthorized

NewPostPresencedefinitionsUnauthorized creates a PostPresencedefinitionsUnauthorized with default headers values

func (*PostPresencedefinitionsUnauthorized) Error

func (*PostPresencedefinitionsUnauthorized) GetPayload

func (*PostPresencedefinitionsUnauthorized) IsClientError

func (o *PostPresencedefinitionsUnauthorized) IsClientError() bool

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

func (*PostPresencedefinitionsUnauthorized) IsCode

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

func (*PostPresencedefinitionsUnauthorized) IsRedirect

func (o *PostPresencedefinitionsUnauthorized) IsRedirect() bool

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

func (*PostPresencedefinitionsUnauthorized) IsServerError

func (o *PostPresencedefinitionsUnauthorized) IsServerError() bool

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

func (*PostPresencedefinitionsUnauthorized) IsSuccess

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

func (*PostPresencedefinitionsUnauthorized) String

type PostPresencedefinitionsUnsupportedMediaType

type PostPresencedefinitionsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostPresencedefinitionsUnsupportedMediaType 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 NewPostPresencedefinitionsUnsupportedMediaType

func NewPostPresencedefinitionsUnsupportedMediaType() *PostPresencedefinitionsUnsupportedMediaType

NewPostPresencedefinitionsUnsupportedMediaType creates a PostPresencedefinitionsUnsupportedMediaType with default headers values

func (*PostPresencedefinitionsUnsupportedMediaType) Error

func (*PostPresencedefinitionsUnsupportedMediaType) GetPayload

func (*PostPresencedefinitionsUnsupportedMediaType) IsClientError

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

func (*PostPresencedefinitionsUnsupportedMediaType) IsCode

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

func (*PostPresencedefinitionsUnsupportedMediaType) IsRedirect

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

func (*PostPresencedefinitionsUnsupportedMediaType) IsServerError

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

func (*PostPresencedefinitionsUnsupportedMediaType) IsSuccess

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

func (*PostPresencedefinitionsUnsupportedMediaType) String

type PutPresenceSettingsBadRequest

type PutPresenceSettingsBadRequest struct {
	Payload *models.ErrorBody
}

PutPresenceSettingsBadRequest 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 NewPutPresenceSettingsBadRequest

func NewPutPresenceSettingsBadRequest() *PutPresenceSettingsBadRequest

NewPutPresenceSettingsBadRequest creates a PutPresenceSettingsBadRequest with default headers values

func (*PutPresenceSettingsBadRequest) Error

func (*PutPresenceSettingsBadRequest) GetPayload

func (*PutPresenceSettingsBadRequest) IsClientError

func (o *PutPresenceSettingsBadRequest) IsClientError() bool

IsClientError returns true when this put presence settings bad request response has a 4xx status code

func (*PutPresenceSettingsBadRequest) IsCode

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

IsCode returns true when this put presence settings bad request response a status code equal to that given

func (*PutPresenceSettingsBadRequest) IsRedirect

func (o *PutPresenceSettingsBadRequest) IsRedirect() bool

IsRedirect returns true when this put presence settings bad request response has a 3xx status code

func (*PutPresenceSettingsBadRequest) IsServerError

func (o *PutPresenceSettingsBadRequest) IsServerError() bool

IsServerError returns true when this put presence settings bad request response has a 5xx status code

func (*PutPresenceSettingsBadRequest) IsSuccess

func (o *PutPresenceSettingsBadRequest) IsSuccess() bool

IsSuccess returns true when this put presence settings bad request response has a 2xx status code

func (*PutPresenceSettingsBadRequest) String

type PutPresenceSettingsConflict

type PutPresenceSettingsConflict struct {
	Payload *models.ErrorBody
}

PutPresenceSettingsConflict describes a response with status code 409, with default header values.

Conflict

func NewPutPresenceSettingsConflict

func NewPutPresenceSettingsConflict() *PutPresenceSettingsConflict

NewPutPresenceSettingsConflict creates a PutPresenceSettingsConflict with default headers values

func (*PutPresenceSettingsConflict) Error

func (*PutPresenceSettingsConflict) GetPayload

func (o *PutPresenceSettingsConflict) GetPayload() *models.ErrorBody

func (*PutPresenceSettingsConflict) IsClientError

func (o *PutPresenceSettingsConflict) IsClientError() bool

IsClientError returns true when this put presence settings conflict response has a 4xx status code

func (*PutPresenceSettingsConflict) IsCode

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

IsCode returns true when this put presence settings conflict response a status code equal to that given

func (*PutPresenceSettingsConflict) IsRedirect

func (o *PutPresenceSettingsConflict) IsRedirect() bool

IsRedirect returns true when this put presence settings conflict response has a 3xx status code

func (*PutPresenceSettingsConflict) IsServerError

func (o *PutPresenceSettingsConflict) IsServerError() bool

IsServerError returns true when this put presence settings conflict response has a 5xx status code

func (*PutPresenceSettingsConflict) IsSuccess

func (o *PutPresenceSettingsConflict) IsSuccess() bool

IsSuccess returns true when this put presence settings conflict response has a 2xx status code

func (*PutPresenceSettingsConflict) String

func (o *PutPresenceSettingsConflict) String() string

type PutPresenceSettingsForbidden

type PutPresenceSettingsForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPutPresenceSettingsForbidden

func NewPutPresenceSettingsForbidden() *PutPresenceSettingsForbidden

NewPutPresenceSettingsForbidden creates a PutPresenceSettingsForbidden with default headers values

func (*PutPresenceSettingsForbidden) Error

func (*PutPresenceSettingsForbidden) GetPayload

func (*PutPresenceSettingsForbidden) IsClientError

func (o *PutPresenceSettingsForbidden) IsClientError() bool

IsClientError returns true when this put presence settings forbidden response has a 4xx status code

func (*PutPresenceSettingsForbidden) IsCode

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

IsCode returns true when this put presence settings forbidden response a status code equal to that given

func (*PutPresenceSettingsForbidden) IsRedirect

func (o *PutPresenceSettingsForbidden) IsRedirect() bool

IsRedirect returns true when this put presence settings forbidden response has a 3xx status code

func (*PutPresenceSettingsForbidden) IsServerError

func (o *PutPresenceSettingsForbidden) IsServerError() bool

IsServerError returns true when this put presence settings forbidden response has a 5xx status code

func (*PutPresenceSettingsForbidden) IsSuccess

func (o *PutPresenceSettingsForbidden) IsSuccess() bool

IsSuccess returns true when this put presence settings forbidden response has a 2xx status code

func (*PutPresenceSettingsForbidden) String

type PutPresenceSettingsGatewayTimeout

type PutPresenceSettingsGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPutPresenceSettingsGatewayTimeout

func NewPutPresenceSettingsGatewayTimeout() *PutPresenceSettingsGatewayTimeout

NewPutPresenceSettingsGatewayTimeout creates a PutPresenceSettingsGatewayTimeout with default headers values

func (*PutPresenceSettingsGatewayTimeout) Error

func (*PutPresenceSettingsGatewayTimeout) GetPayload

func (*PutPresenceSettingsGatewayTimeout) IsClientError

func (o *PutPresenceSettingsGatewayTimeout) IsClientError() bool

IsClientError returns true when this put presence settings gateway timeout response has a 4xx status code

func (*PutPresenceSettingsGatewayTimeout) IsCode

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

IsCode returns true when this put presence settings gateway timeout response a status code equal to that given

func (*PutPresenceSettingsGatewayTimeout) IsRedirect

func (o *PutPresenceSettingsGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this put presence settings gateway timeout response has a 3xx status code

func (*PutPresenceSettingsGatewayTimeout) IsServerError

func (o *PutPresenceSettingsGatewayTimeout) IsServerError() bool

IsServerError returns true when this put presence settings gateway timeout response has a 5xx status code

func (*PutPresenceSettingsGatewayTimeout) IsSuccess

func (o *PutPresenceSettingsGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this put presence settings gateway timeout response has a 2xx status code

func (*PutPresenceSettingsGatewayTimeout) String

type PutPresenceSettingsInternalServerError

type PutPresenceSettingsInternalServerError struct {
	Payload *models.ErrorBody
}

PutPresenceSettingsInternalServerError 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 NewPutPresenceSettingsInternalServerError

func NewPutPresenceSettingsInternalServerError() *PutPresenceSettingsInternalServerError

NewPutPresenceSettingsInternalServerError creates a PutPresenceSettingsInternalServerError with default headers values

func (*PutPresenceSettingsInternalServerError) Error

func (*PutPresenceSettingsInternalServerError) GetPayload

func (*PutPresenceSettingsInternalServerError) IsClientError

func (o *PutPresenceSettingsInternalServerError) IsClientError() bool

IsClientError returns true when this put presence settings internal server error response has a 4xx status code

func (*PutPresenceSettingsInternalServerError) IsCode

IsCode returns true when this put presence settings internal server error response a status code equal to that given

func (*PutPresenceSettingsInternalServerError) IsRedirect

IsRedirect returns true when this put presence settings internal server error response has a 3xx status code

func (*PutPresenceSettingsInternalServerError) IsServerError

func (o *PutPresenceSettingsInternalServerError) IsServerError() bool

IsServerError returns true when this put presence settings internal server error response has a 5xx status code

func (*PutPresenceSettingsInternalServerError) IsSuccess

IsSuccess returns true when this put presence settings internal server error response has a 2xx status code

func (*PutPresenceSettingsInternalServerError) String

type PutPresenceSettingsNotFound

type PutPresenceSettingsNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPutPresenceSettingsNotFound

func NewPutPresenceSettingsNotFound() *PutPresenceSettingsNotFound

NewPutPresenceSettingsNotFound creates a PutPresenceSettingsNotFound with default headers values

func (*PutPresenceSettingsNotFound) Error

func (*PutPresenceSettingsNotFound) GetPayload

func (o *PutPresenceSettingsNotFound) GetPayload() *models.ErrorBody

func (*PutPresenceSettingsNotFound) IsClientError

func (o *PutPresenceSettingsNotFound) IsClientError() bool

IsClientError returns true when this put presence settings not found response has a 4xx status code

func (*PutPresenceSettingsNotFound) IsCode

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

IsCode returns true when this put presence settings not found response a status code equal to that given

func (*PutPresenceSettingsNotFound) IsRedirect

func (o *PutPresenceSettingsNotFound) IsRedirect() bool

IsRedirect returns true when this put presence settings not found response has a 3xx status code

func (*PutPresenceSettingsNotFound) IsServerError

func (o *PutPresenceSettingsNotFound) IsServerError() bool

IsServerError returns true when this put presence settings not found response has a 5xx status code

func (*PutPresenceSettingsNotFound) IsSuccess

func (o *PutPresenceSettingsNotFound) IsSuccess() bool

IsSuccess returns true when this put presence settings not found response has a 2xx status code

func (*PutPresenceSettingsNotFound) String

func (o *PutPresenceSettingsNotFound) String() string

type PutPresenceSettingsOK

type PutPresenceSettingsOK struct {
	Payload *models.PresenceSettings
}

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

successful operation

func NewPutPresenceSettingsOK

func NewPutPresenceSettingsOK() *PutPresenceSettingsOK

NewPutPresenceSettingsOK creates a PutPresenceSettingsOK with default headers values

func (*PutPresenceSettingsOK) Error

func (o *PutPresenceSettingsOK) Error() string

func (*PutPresenceSettingsOK) GetPayload

func (*PutPresenceSettingsOK) IsClientError

func (o *PutPresenceSettingsOK) IsClientError() bool

IsClientError returns true when this put presence settings o k response has a 4xx status code

func (*PutPresenceSettingsOK) IsCode

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

IsCode returns true when this put presence settings o k response a status code equal to that given

func (*PutPresenceSettingsOK) IsRedirect

func (o *PutPresenceSettingsOK) IsRedirect() bool

IsRedirect returns true when this put presence settings o k response has a 3xx status code

func (*PutPresenceSettingsOK) IsServerError

func (o *PutPresenceSettingsOK) IsServerError() bool

IsServerError returns true when this put presence settings o k response has a 5xx status code

func (*PutPresenceSettingsOK) IsSuccess

func (o *PutPresenceSettingsOK) IsSuccess() bool

IsSuccess returns true when this put presence settings o k response has a 2xx status code

func (*PutPresenceSettingsOK) String

func (o *PutPresenceSettingsOK) String() string

type PutPresenceSettingsParams

type PutPresenceSettingsParams struct {

	/* Body.

	   Presence Settings
	*/
	Body *models.PresenceSettings

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

PutPresenceSettingsParams contains all the parameters to send to the API endpoint

for the put presence settings operation.

Typically these are written to a http.Request.

func NewPutPresenceSettingsParams

func NewPutPresenceSettingsParams() *PutPresenceSettingsParams

NewPutPresenceSettingsParams creates a new PutPresenceSettingsParams 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 NewPutPresenceSettingsParamsWithContext

func NewPutPresenceSettingsParamsWithContext(ctx context.Context) *PutPresenceSettingsParams

NewPutPresenceSettingsParamsWithContext creates a new PutPresenceSettingsParams object with the ability to set a context for a request.

func NewPutPresenceSettingsParamsWithHTTPClient

func NewPutPresenceSettingsParamsWithHTTPClient(client *http.Client) *PutPresenceSettingsParams

NewPutPresenceSettingsParamsWithHTTPClient creates a new PutPresenceSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewPutPresenceSettingsParamsWithTimeout

func NewPutPresenceSettingsParamsWithTimeout(timeout time.Duration) *PutPresenceSettingsParams

NewPutPresenceSettingsParamsWithTimeout creates a new PutPresenceSettingsParams object with the ability to set a timeout on a request.

func (*PutPresenceSettingsParams) SetBody

SetBody adds the body to the put presence settings params

func (*PutPresenceSettingsParams) SetContext

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

SetContext adds the context to the put presence settings params

func (*PutPresenceSettingsParams) SetDefaults

func (o *PutPresenceSettingsParams) SetDefaults()

SetDefaults hydrates default values in the put presence settings params (not the query body).

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

func (*PutPresenceSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put presence settings params

func (*PutPresenceSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the put presence settings params

func (*PutPresenceSettingsParams) WithBody

WithBody adds the body to the put presence settings params

func (*PutPresenceSettingsParams) WithContext

WithContext adds the context to the put presence settings params

func (*PutPresenceSettingsParams) WithDefaults

WithDefaults hydrates default values in the put presence settings params (not the query body).

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

func (*PutPresenceSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put presence settings params

func (*PutPresenceSettingsParams) WithTimeout

WithTimeout adds the timeout to the put presence settings params

func (*PutPresenceSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutPresenceSettingsReader

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

PutPresenceSettingsReader is a Reader for the PutPresenceSettings structure.

func (*PutPresenceSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutPresenceSettingsRequestEntityTooLarge

type PutPresenceSettingsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPutPresenceSettingsRequestEntityTooLarge

func NewPutPresenceSettingsRequestEntityTooLarge() *PutPresenceSettingsRequestEntityTooLarge

NewPutPresenceSettingsRequestEntityTooLarge creates a PutPresenceSettingsRequestEntityTooLarge with default headers values

func (*PutPresenceSettingsRequestEntityTooLarge) Error

func (*PutPresenceSettingsRequestEntityTooLarge) GetPayload

func (*PutPresenceSettingsRequestEntityTooLarge) IsClientError

IsClientError returns true when this put presence settings request entity too large response has a 4xx status code

func (*PutPresenceSettingsRequestEntityTooLarge) IsCode

IsCode returns true when this put presence settings request entity too large response a status code equal to that given

func (*PutPresenceSettingsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this put presence settings request entity too large response has a 3xx status code

func (*PutPresenceSettingsRequestEntityTooLarge) IsServerError

IsServerError returns true when this put presence settings request entity too large response has a 5xx status code

func (*PutPresenceSettingsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this put presence settings request entity too large response has a 2xx status code

func (*PutPresenceSettingsRequestEntityTooLarge) String

type PutPresenceSettingsRequestTimeout

type PutPresenceSettingsRequestTimeout struct {
	Payload *models.ErrorBody
}

PutPresenceSettingsRequestTimeout 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 NewPutPresenceSettingsRequestTimeout

func NewPutPresenceSettingsRequestTimeout() *PutPresenceSettingsRequestTimeout

NewPutPresenceSettingsRequestTimeout creates a PutPresenceSettingsRequestTimeout with default headers values

func (*PutPresenceSettingsRequestTimeout) Error

func (*PutPresenceSettingsRequestTimeout) GetPayload

func (*PutPresenceSettingsRequestTimeout) IsClientError

func (o *PutPresenceSettingsRequestTimeout) IsClientError() bool

IsClientError returns true when this put presence settings request timeout response has a 4xx status code

func (*PutPresenceSettingsRequestTimeout) IsCode

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

IsCode returns true when this put presence settings request timeout response a status code equal to that given

func (*PutPresenceSettingsRequestTimeout) IsRedirect

func (o *PutPresenceSettingsRequestTimeout) IsRedirect() bool

IsRedirect returns true when this put presence settings request timeout response has a 3xx status code

func (*PutPresenceSettingsRequestTimeout) IsServerError

func (o *PutPresenceSettingsRequestTimeout) IsServerError() bool

IsServerError returns true when this put presence settings request timeout response has a 5xx status code

func (*PutPresenceSettingsRequestTimeout) IsSuccess

func (o *PutPresenceSettingsRequestTimeout) IsSuccess() bool

IsSuccess returns true when this put presence settings request timeout response has a 2xx status code

func (*PutPresenceSettingsRequestTimeout) String

type PutPresenceSettingsServiceUnavailable

type PutPresenceSettingsServiceUnavailable struct {
	Payload *models.ErrorBody
}

PutPresenceSettingsServiceUnavailable 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 NewPutPresenceSettingsServiceUnavailable

func NewPutPresenceSettingsServiceUnavailable() *PutPresenceSettingsServiceUnavailable

NewPutPresenceSettingsServiceUnavailable creates a PutPresenceSettingsServiceUnavailable with default headers values

func (*PutPresenceSettingsServiceUnavailable) Error

func (*PutPresenceSettingsServiceUnavailable) GetPayload

func (*PutPresenceSettingsServiceUnavailable) IsClientError

func (o *PutPresenceSettingsServiceUnavailable) IsClientError() bool

IsClientError returns true when this put presence settings service unavailable response has a 4xx status code

func (*PutPresenceSettingsServiceUnavailable) IsCode

IsCode returns true when this put presence settings service unavailable response a status code equal to that given

func (*PutPresenceSettingsServiceUnavailable) IsRedirect

IsRedirect returns true when this put presence settings service unavailable response has a 3xx status code

func (*PutPresenceSettingsServiceUnavailable) IsServerError

func (o *PutPresenceSettingsServiceUnavailable) IsServerError() bool

IsServerError returns true when this put presence settings service unavailable response has a 5xx status code

func (*PutPresenceSettingsServiceUnavailable) IsSuccess

IsSuccess returns true when this put presence settings service unavailable response has a 2xx status code

func (*PutPresenceSettingsServiceUnavailable) String

type PutPresenceSettingsTooManyRequests

type PutPresenceSettingsTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPutPresenceSettingsTooManyRequests

func NewPutPresenceSettingsTooManyRequests() *PutPresenceSettingsTooManyRequests

NewPutPresenceSettingsTooManyRequests creates a PutPresenceSettingsTooManyRequests with default headers values

func (*PutPresenceSettingsTooManyRequests) Error

func (*PutPresenceSettingsTooManyRequests) GetPayload

func (*PutPresenceSettingsTooManyRequests) IsClientError

func (o *PutPresenceSettingsTooManyRequests) IsClientError() bool

IsClientError returns true when this put presence settings too many requests response has a 4xx status code

func (*PutPresenceSettingsTooManyRequests) IsCode

IsCode returns true when this put presence settings too many requests response a status code equal to that given

func (*PutPresenceSettingsTooManyRequests) IsRedirect

func (o *PutPresenceSettingsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this put presence settings too many requests response has a 3xx status code

func (*PutPresenceSettingsTooManyRequests) IsServerError

func (o *PutPresenceSettingsTooManyRequests) IsServerError() bool

IsServerError returns true when this put presence settings too many requests response has a 5xx status code

func (*PutPresenceSettingsTooManyRequests) IsSuccess

IsSuccess returns true when this put presence settings too many requests response has a 2xx status code

func (*PutPresenceSettingsTooManyRequests) String

type PutPresenceSettingsUnauthorized

type PutPresenceSettingsUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPutPresenceSettingsUnauthorized

func NewPutPresenceSettingsUnauthorized() *PutPresenceSettingsUnauthorized

NewPutPresenceSettingsUnauthorized creates a PutPresenceSettingsUnauthorized with default headers values

func (*PutPresenceSettingsUnauthorized) Error

func (*PutPresenceSettingsUnauthorized) GetPayload

func (*PutPresenceSettingsUnauthorized) IsClientError

func (o *PutPresenceSettingsUnauthorized) IsClientError() bool

IsClientError returns true when this put presence settings unauthorized response has a 4xx status code

func (*PutPresenceSettingsUnauthorized) IsCode

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

IsCode returns true when this put presence settings unauthorized response a status code equal to that given

func (*PutPresenceSettingsUnauthorized) IsRedirect

func (o *PutPresenceSettingsUnauthorized) IsRedirect() bool

IsRedirect returns true when this put presence settings unauthorized response has a 3xx status code

func (*PutPresenceSettingsUnauthorized) IsServerError

func (o *PutPresenceSettingsUnauthorized) IsServerError() bool

IsServerError returns true when this put presence settings unauthorized response has a 5xx status code

func (*PutPresenceSettingsUnauthorized) IsSuccess

func (o *PutPresenceSettingsUnauthorized) IsSuccess() bool

IsSuccess returns true when this put presence settings unauthorized response has a 2xx status code

func (*PutPresenceSettingsUnauthorized) String

type PutPresenceSettingsUnsupportedMediaType

type PutPresenceSettingsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PutPresenceSettingsUnsupportedMediaType 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 NewPutPresenceSettingsUnsupportedMediaType

func NewPutPresenceSettingsUnsupportedMediaType() *PutPresenceSettingsUnsupportedMediaType

NewPutPresenceSettingsUnsupportedMediaType creates a PutPresenceSettingsUnsupportedMediaType with default headers values

func (*PutPresenceSettingsUnsupportedMediaType) Error

func (*PutPresenceSettingsUnsupportedMediaType) GetPayload

func (*PutPresenceSettingsUnsupportedMediaType) IsClientError

func (o *PutPresenceSettingsUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this put presence settings unsupported media type response has a 4xx status code

func (*PutPresenceSettingsUnsupportedMediaType) IsCode

IsCode returns true when this put presence settings unsupported media type response a status code equal to that given

func (*PutPresenceSettingsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this put presence settings unsupported media type response has a 3xx status code

func (*PutPresenceSettingsUnsupportedMediaType) IsServerError

func (o *PutPresenceSettingsUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this put presence settings unsupported media type response has a 5xx status code

func (*PutPresenceSettingsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this put presence settings unsupported media type response has a 2xx status code

func (*PutPresenceSettingsUnsupportedMediaType) String

type PutPresenceSourceBadRequest

type PutPresenceSourceBadRequest struct {
	Payload *models.ErrorBody
}

PutPresenceSourceBadRequest 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 NewPutPresenceSourceBadRequest

func NewPutPresenceSourceBadRequest() *PutPresenceSourceBadRequest

NewPutPresenceSourceBadRequest creates a PutPresenceSourceBadRequest with default headers values

func (*PutPresenceSourceBadRequest) Error

func (*PutPresenceSourceBadRequest) GetPayload

func (o *PutPresenceSourceBadRequest) GetPayload() *models.ErrorBody

func (*PutPresenceSourceBadRequest) IsClientError

func (o *PutPresenceSourceBadRequest) IsClientError() bool

IsClientError returns true when this put presence source bad request response has a 4xx status code

func (*PutPresenceSourceBadRequest) IsCode

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

IsCode returns true when this put presence source bad request response a status code equal to that given

func (*PutPresenceSourceBadRequest) IsRedirect

func (o *PutPresenceSourceBadRequest) IsRedirect() bool

IsRedirect returns true when this put presence source bad request response has a 3xx status code

func (*PutPresenceSourceBadRequest) IsServerError

func (o *PutPresenceSourceBadRequest) IsServerError() bool

IsServerError returns true when this put presence source bad request response has a 5xx status code

func (*PutPresenceSourceBadRequest) IsSuccess

func (o *PutPresenceSourceBadRequest) IsSuccess() bool

IsSuccess returns true when this put presence source bad request response has a 2xx status code

func (*PutPresenceSourceBadRequest) String

func (o *PutPresenceSourceBadRequest) String() string

type PutPresenceSourceConflict

type PutPresenceSourceConflict struct {
	Payload *models.ErrorBody
}

PutPresenceSourceConflict describes a response with status code 409, with default header values.

Conflict

func NewPutPresenceSourceConflict

func NewPutPresenceSourceConflict() *PutPresenceSourceConflict

NewPutPresenceSourceConflict creates a PutPresenceSourceConflict with default headers values

func (*PutPresenceSourceConflict) Error

func (o *PutPresenceSourceConflict) Error() string

func (*PutPresenceSourceConflict) GetPayload

func (o *PutPresenceSourceConflict) GetPayload() *models.ErrorBody

func (*PutPresenceSourceConflict) IsClientError

func (o *PutPresenceSourceConflict) IsClientError() bool

IsClientError returns true when this put presence source conflict response has a 4xx status code

func (*PutPresenceSourceConflict) IsCode

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

IsCode returns true when this put presence source conflict response a status code equal to that given

func (*PutPresenceSourceConflict) IsRedirect

func (o *PutPresenceSourceConflict) IsRedirect() bool

IsRedirect returns true when this put presence source conflict response has a 3xx status code

func (*PutPresenceSourceConflict) IsServerError

func (o *PutPresenceSourceConflict) IsServerError() bool

IsServerError returns true when this put presence source conflict response has a 5xx status code

func (*PutPresenceSourceConflict) IsSuccess

func (o *PutPresenceSourceConflict) IsSuccess() bool

IsSuccess returns true when this put presence source conflict response has a 2xx status code

func (*PutPresenceSourceConflict) String

func (o *PutPresenceSourceConflict) String() string

type PutPresenceSourceForbidden

type PutPresenceSourceForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPutPresenceSourceForbidden

func NewPutPresenceSourceForbidden() *PutPresenceSourceForbidden

NewPutPresenceSourceForbidden creates a PutPresenceSourceForbidden with default headers values

func (*PutPresenceSourceForbidden) Error

func (*PutPresenceSourceForbidden) GetPayload

func (o *PutPresenceSourceForbidden) GetPayload() *models.ErrorBody

func (*PutPresenceSourceForbidden) IsClientError

func (o *PutPresenceSourceForbidden) IsClientError() bool

IsClientError returns true when this put presence source forbidden response has a 4xx status code

func (*PutPresenceSourceForbidden) IsCode

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

IsCode returns true when this put presence source forbidden response a status code equal to that given

func (*PutPresenceSourceForbidden) IsRedirect

func (o *PutPresenceSourceForbidden) IsRedirect() bool

IsRedirect returns true when this put presence source forbidden response has a 3xx status code

func (*PutPresenceSourceForbidden) IsServerError

func (o *PutPresenceSourceForbidden) IsServerError() bool

IsServerError returns true when this put presence source forbidden response has a 5xx status code

func (*PutPresenceSourceForbidden) IsSuccess

func (o *PutPresenceSourceForbidden) IsSuccess() bool

IsSuccess returns true when this put presence source forbidden response has a 2xx status code

func (*PutPresenceSourceForbidden) String

func (o *PutPresenceSourceForbidden) String() string

type PutPresenceSourceGatewayTimeout

type PutPresenceSourceGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPutPresenceSourceGatewayTimeout

func NewPutPresenceSourceGatewayTimeout() *PutPresenceSourceGatewayTimeout

NewPutPresenceSourceGatewayTimeout creates a PutPresenceSourceGatewayTimeout with default headers values

func (*PutPresenceSourceGatewayTimeout) Error

func (*PutPresenceSourceGatewayTimeout) GetPayload

func (*PutPresenceSourceGatewayTimeout) IsClientError

func (o *PutPresenceSourceGatewayTimeout) IsClientError() bool

IsClientError returns true when this put presence source gateway timeout response has a 4xx status code

func (*PutPresenceSourceGatewayTimeout) IsCode

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

IsCode returns true when this put presence source gateway timeout response a status code equal to that given

func (*PutPresenceSourceGatewayTimeout) IsRedirect

func (o *PutPresenceSourceGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this put presence source gateway timeout response has a 3xx status code

func (*PutPresenceSourceGatewayTimeout) IsServerError

func (o *PutPresenceSourceGatewayTimeout) IsServerError() bool

IsServerError returns true when this put presence source gateway timeout response has a 5xx status code

func (*PutPresenceSourceGatewayTimeout) IsSuccess

func (o *PutPresenceSourceGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this put presence source gateway timeout response has a 2xx status code

func (*PutPresenceSourceGatewayTimeout) String

type PutPresenceSourceInternalServerError

type PutPresenceSourceInternalServerError struct {
	Payload *models.ErrorBody
}

PutPresenceSourceInternalServerError 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 NewPutPresenceSourceInternalServerError

func NewPutPresenceSourceInternalServerError() *PutPresenceSourceInternalServerError

NewPutPresenceSourceInternalServerError creates a PutPresenceSourceInternalServerError with default headers values

func (*PutPresenceSourceInternalServerError) Error

func (*PutPresenceSourceInternalServerError) GetPayload

func (*PutPresenceSourceInternalServerError) IsClientError

func (o *PutPresenceSourceInternalServerError) IsClientError() bool

IsClientError returns true when this put presence source internal server error response has a 4xx status code

func (*PutPresenceSourceInternalServerError) IsCode

IsCode returns true when this put presence source internal server error response a status code equal to that given

func (*PutPresenceSourceInternalServerError) IsRedirect

IsRedirect returns true when this put presence source internal server error response has a 3xx status code

func (*PutPresenceSourceInternalServerError) IsServerError

func (o *PutPresenceSourceInternalServerError) IsServerError() bool

IsServerError returns true when this put presence source internal server error response has a 5xx status code

func (*PutPresenceSourceInternalServerError) IsSuccess

IsSuccess returns true when this put presence source internal server error response has a 2xx status code

func (*PutPresenceSourceInternalServerError) String

type PutPresenceSourceNotFound

type PutPresenceSourceNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPutPresenceSourceNotFound

func NewPutPresenceSourceNotFound() *PutPresenceSourceNotFound

NewPutPresenceSourceNotFound creates a PutPresenceSourceNotFound with default headers values

func (*PutPresenceSourceNotFound) Error

func (o *PutPresenceSourceNotFound) Error() string

func (*PutPresenceSourceNotFound) GetPayload

func (o *PutPresenceSourceNotFound) GetPayload() *models.ErrorBody

func (*PutPresenceSourceNotFound) IsClientError

func (o *PutPresenceSourceNotFound) IsClientError() bool

IsClientError returns true when this put presence source not found response has a 4xx status code

func (*PutPresenceSourceNotFound) IsCode

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

IsCode returns true when this put presence source not found response a status code equal to that given

func (*PutPresenceSourceNotFound) IsRedirect

func (o *PutPresenceSourceNotFound) IsRedirect() bool

IsRedirect returns true when this put presence source not found response has a 3xx status code

func (*PutPresenceSourceNotFound) IsServerError

func (o *PutPresenceSourceNotFound) IsServerError() bool

IsServerError returns true when this put presence source not found response has a 5xx status code

func (*PutPresenceSourceNotFound) IsSuccess

func (o *PutPresenceSourceNotFound) IsSuccess() bool

IsSuccess returns true when this put presence source not found response has a 2xx status code

func (*PutPresenceSourceNotFound) String

func (o *PutPresenceSourceNotFound) String() string

type PutPresenceSourceOK

type PutPresenceSourceOK struct {
	Payload *models.Source
}

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

successful operation

func NewPutPresenceSourceOK

func NewPutPresenceSourceOK() *PutPresenceSourceOK

NewPutPresenceSourceOK creates a PutPresenceSourceOK with default headers values

func (*PutPresenceSourceOK) Error

func (o *PutPresenceSourceOK) Error() string

func (*PutPresenceSourceOK) GetPayload

func (o *PutPresenceSourceOK) GetPayload() *models.Source

func (*PutPresenceSourceOK) IsClientError

func (o *PutPresenceSourceOK) IsClientError() bool

IsClientError returns true when this put presence source o k response has a 4xx status code

func (*PutPresenceSourceOK) IsCode

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

IsCode returns true when this put presence source o k response a status code equal to that given

func (*PutPresenceSourceOK) IsRedirect

func (o *PutPresenceSourceOK) IsRedirect() bool

IsRedirect returns true when this put presence source o k response has a 3xx status code

func (*PutPresenceSourceOK) IsServerError

func (o *PutPresenceSourceOK) IsServerError() bool

IsServerError returns true when this put presence source o k response has a 5xx status code

func (*PutPresenceSourceOK) IsSuccess

func (o *PutPresenceSourceOK) IsSuccess() bool

IsSuccess returns true when this put presence source o k response has a 2xx status code

func (*PutPresenceSourceOK) String

func (o *PutPresenceSourceOK) String() string

type PutPresenceSourceParams

type PutPresenceSourceParams struct {

	/* Body.

	   The updated Presence Source
	*/
	Body *models.Source

	/* SourceID.

	   Presence Source ID
	*/
	SourceID string

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

PutPresenceSourceParams contains all the parameters to send to the API endpoint

for the put presence source operation.

Typically these are written to a http.Request.

func NewPutPresenceSourceParams

func NewPutPresenceSourceParams() *PutPresenceSourceParams

NewPutPresenceSourceParams creates a new PutPresenceSourceParams 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 NewPutPresenceSourceParamsWithContext

func NewPutPresenceSourceParamsWithContext(ctx context.Context) *PutPresenceSourceParams

NewPutPresenceSourceParamsWithContext creates a new PutPresenceSourceParams object with the ability to set a context for a request.

func NewPutPresenceSourceParamsWithHTTPClient

func NewPutPresenceSourceParamsWithHTTPClient(client *http.Client) *PutPresenceSourceParams

NewPutPresenceSourceParamsWithHTTPClient creates a new PutPresenceSourceParams object with the ability to set a custom HTTPClient for a request.

func NewPutPresenceSourceParamsWithTimeout

func NewPutPresenceSourceParamsWithTimeout(timeout time.Duration) *PutPresenceSourceParams

NewPutPresenceSourceParamsWithTimeout creates a new PutPresenceSourceParams object with the ability to set a timeout on a request.

func (*PutPresenceSourceParams) SetBody

func (o *PutPresenceSourceParams) SetBody(body *models.Source)

SetBody adds the body to the put presence source params

func (*PutPresenceSourceParams) SetContext

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

SetContext adds the context to the put presence source params

func (*PutPresenceSourceParams) SetDefaults

func (o *PutPresenceSourceParams) SetDefaults()

SetDefaults hydrates default values in the put presence source params (not the query body).

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

func (*PutPresenceSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put presence source params

func (*PutPresenceSourceParams) SetSourceID

func (o *PutPresenceSourceParams) SetSourceID(sourceID string)

SetSourceID adds the sourceId to the put presence source params

func (*PutPresenceSourceParams) SetTimeout

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

SetTimeout adds the timeout to the put presence source params

func (*PutPresenceSourceParams) WithBody

WithBody adds the body to the put presence source params

func (*PutPresenceSourceParams) WithContext

WithContext adds the context to the put presence source params

func (*PutPresenceSourceParams) WithDefaults

WithDefaults hydrates default values in the put presence source params (not the query body).

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

func (*PutPresenceSourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put presence source params

func (*PutPresenceSourceParams) WithSourceID

func (o *PutPresenceSourceParams) WithSourceID(sourceID string) *PutPresenceSourceParams

WithSourceID adds the sourceID to the put presence source params

func (*PutPresenceSourceParams) WithTimeout

WithTimeout adds the timeout to the put presence source params

func (*PutPresenceSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutPresenceSourceReader

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

PutPresenceSourceReader is a Reader for the PutPresenceSource structure.

func (*PutPresenceSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutPresenceSourceRequestEntityTooLarge

type PutPresenceSourceRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPutPresenceSourceRequestEntityTooLarge

func NewPutPresenceSourceRequestEntityTooLarge() *PutPresenceSourceRequestEntityTooLarge

NewPutPresenceSourceRequestEntityTooLarge creates a PutPresenceSourceRequestEntityTooLarge with default headers values

func (*PutPresenceSourceRequestEntityTooLarge) Error

func (*PutPresenceSourceRequestEntityTooLarge) GetPayload

func (*PutPresenceSourceRequestEntityTooLarge) IsClientError

func (o *PutPresenceSourceRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this put presence source request entity too large response has a 4xx status code

func (*PutPresenceSourceRequestEntityTooLarge) IsCode

IsCode returns true when this put presence source request entity too large response a status code equal to that given

func (*PutPresenceSourceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this put presence source request entity too large response has a 3xx status code

func (*PutPresenceSourceRequestEntityTooLarge) IsServerError

func (o *PutPresenceSourceRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this put presence source request entity too large response has a 5xx status code

func (*PutPresenceSourceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this put presence source request entity too large response has a 2xx status code

func (*PutPresenceSourceRequestEntityTooLarge) String

type PutPresenceSourceRequestTimeout

type PutPresenceSourceRequestTimeout struct {
	Payload *models.ErrorBody
}

PutPresenceSourceRequestTimeout 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 NewPutPresenceSourceRequestTimeout

func NewPutPresenceSourceRequestTimeout() *PutPresenceSourceRequestTimeout

NewPutPresenceSourceRequestTimeout creates a PutPresenceSourceRequestTimeout with default headers values

func (*PutPresenceSourceRequestTimeout) Error

func (*PutPresenceSourceRequestTimeout) GetPayload

func (*PutPresenceSourceRequestTimeout) IsClientError

func (o *PutPresenceSourceRequestTimeout) IsClientError() bool

IsClientError returns true when this put presence source request timeout response has a 4xx status code

func (*PutPresenceSourceRequestTimeout) IsCode

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

IsCode returns true when this put presence source request timeout response a status code equal to that given

func (*PutPresenceSourceRequestTimeout) IsRedirect

func (o *PutPresenceSourceRequestTimeout) IsRedirect() bool

IsRedirect returns true when this put presence source request timeout response has a 3xx status code

func (*PutPresenceSourceRequestTimeout) IsServerError

func (o *PutPresenceSourceRequestTimeout) IsServerError() bool

IsServerError returns true when this put presence source request timeout response has a 5xx status code

func (*PutPresenceSourceRequestTimeout) IsSuccess

func (o *PutPresenceSourceRequestTimeout) IsSuccess() bool

IsSuccess returns true when this put presence source request timeout response has a 2xx status code

func (*PutPresenceSourceRequestTimeout) String

type PutPresenceSourceServiceUnavailable

type PutPresenceSourceServiceUnavailable struct {
	Payload *models.ErrorBody
}

PutPresenceSourceServiceUnavailable 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 NewPutPresenceSourceServiceUnavailable

func NewPutPresenceSourceServiceUnavailable() *PutPresenceSourceServiceUnavailable

NewPutPresenceSourceServiceUnavailable creates a PutPresenceSourceServiceUnavailable with default headers values

func (*PutPresenceSourceServiceUnavailable) Error

func (*PutPresenceSourceServiceUnavailable) GetPayload

func (*PutPresenceSourceServiceUnavailable) IsClientError

func (o *PutPresenceSourceServiceUnavailable) IsClientError() bool

IsClientError returns true when this put presence source service unavailable response has a 4xx status code

func (*PutPresenceSourceServiceUnavailable) IsCode

IsCode returns true when this put presence source service unavailable response a status code equal to that given

func (*PutPresenceSourceServiceUnavailable) IsRedirect

func (o *PutPresenceSourceServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this put presence source service unavailable response has a 3xx status code

func (*PutPresenceSourceServiceUnavailable) IsServerError

func (o *PutPresenceSourceServiceUnavailable) IsServerError() bool

IsServerError returns true when this put presence source service unavailable response has a 5xx status code

func (*PutPresenceSourceServiceUnavailable) IsSuccess

IsSuccess returns true when this put presence source service unavailable response has a 2xx status code

func (*PutPresenceSourceServiceUnavailable) String

type PutPresenceSourceTooManyRequests

type PutPresenceSourceTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPutPresenceSourceTooManyRequests

func NewPutPresenceSourceTooManyRequests() *PutPresenceSourceTooManyRequests

NewPutPresenceSourceTooManyRequests creates a PutPresenceSourceTooManyRequests with default headers values

func (*PutPresenceSourceTooManyRequests) Error

func (*PutPresenceSourceTooManyRequests) GetPayload

func (*PutPresenceSourceTooManyRequests) IsClientError

func (o *PutPresenceSourceTooManyRequests) IsClientError() bool

IsClientError returns true when this put presence source too many requests response has a 4xx status code

func (*PutPresenceSourceTooManyRequests) IsCode

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

IsCode returns true when this put presence source too many requests response a status code equal to that given

func (*PutPresenceSourceTooManyRequests) IsRedirect

func (o *PutPresenceSourceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this put presence source too many requests response has a 3xx status code

func (*PutPresenceSourceTooManyRequests) IsServerError

func (o *PutPresenceSourceTooManyRequests) IsServerError() bool

IsServerError returns true when this put presence source too many requests response has a 5xx status code

func (*PutPresenceSourceTooManyRequests) IsSuccess

func (o *PutPresenceSourceTooManyRequests) IsSuccess() bool

IsSuccess returns true when this put presence source too many requests response has a 2xx status code

func (*PutPresenceSourceTooManyRequests) String

type PutPresenceSourceUnauthorized

type PutPresenceSourceUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPutPresenceSourceUnauthorized

func NewPutPresenceSourceUnauthorized() *PutPresenceSourceUnauthorized

NewPutPresenceSourceUnauthorized creates a PutPresenceSourceUnauthorized with default headers values

func (*PutPresenceSourceUnauthorized) Error

func (*PutPresenceSourceUnauthorized) GetPayload

func (*PutPresenceSourceUnauthorized) IsClientError

func (o *PutPresenceSourceUnauthorized) IsClientError() bool

IsClientError returns true when this put presence source unauthorized response has a 4xx status code

func (*PutPresenceSourceUnauthorized) IsCode

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

IsCode returns true when this put presence source unauthorized response a status code equal to that given

func (*PutPresenceSourceUnauthorized) IsRedirect

func (o *PutPresenceSourceUnauthorized) IsRedirect() bool

IsRedirect returns true when this put presence source unauthorized response has a 3xx status code

func (*PutPresenceSourceUnauthorized) IsServerError

func (o *PutPresenceSourceUnauthorized) IsServerError() bool

IsServerError returns true when this put presence source unauthorized response has a 5xx status code

func (*PutPresenceSourceUnauthorized) IsSuccess

func (o *PutPresenceSourceUnauthorized) IsSuccess() bool

IsSuccess returns true when this put presence source unauthorized response has a 2xx status code

func (*PutPresenceSourceUnauthorized) String

type PutPresenceSourceUnsupportedMediaType

type PutPresenceSourceUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PutPresenceSourceUnsupportedMediaType 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 NewPutPresenceSourceUnsupportedMediaType

func NewPutPresenceSourceUnsupportedMediaType() *PutPresenceSourceUnsupportedMediaType

NewPutPresenceSourceUnsupportedMediaType creates a PutPresenceSourceUnsupportedMediaType with default headers values

func (*PutPresenceSourceUnsupportedMediaType) Error

func (*PutPresenceSourceUnsupportedMediaType) GetPayload

func (*PutPresenceSourceUnsupportedMediaType) IsClientError

func (o *PutPresenceSourceUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this put presence source unsupported media type response has a 4xx status code

func (*PutPresenceSourceUnsupportedMediaType) IsCode

IsCode returns true when this put presence source unsupported media type response a status code equal to that given

func (*PutPresenceSourceUnsupportedMediaType) IsRedirect

IsRedirect returns true when this put presence source unsupported media type response has a 3xx status code

func (*PutPresenceSourceUnsupportedMediaType) IsServerError

func (o *PutPresenceSourceUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this put presence source unsupported media type response has a 5xx status code

func (*PutPresenceSourceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this put presence source unsupported media type response has a 2xx status code

func (*PutPresenceSourceUnsupportedMediaType) String

type PutPresenceUserPrimarysourceBadRequest

type PutPresenceUserPrimarysourceBadRequest struct {
	Payload *models.ErrorBody
}

PutPresenceUserPrimarysourceBadRequest 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 NewPutPresenceUserPrimarysourceBadRequest

func NewPutPresenceUserPrimarysourceBadRequest() *PutPresenceUserPrimarysourceBadRequest

NewPutPresenceUserPrimarysourceBadRequest creates a PutPresenceUserPrimarysourceBadRequest with default headers values

func (*PutPresenceUserPrimarysourceBadRequest) Error

func (*PutPresenceUserPrimarysourceBadRequest) GetPayload

func (*PutPresenceUserPrimarysourceBadRequest) IsClientError

func (o *PutPresenceUserPrimarysourceBadRequest) IsClientError() bool

IsClientError returns true when this put presence user primarysource bad request response has a 4xx status code

func (*PutPresenceUserPrimarysourceBadRequest) IsCode

IsCode returns true when this put presence user primarysource bad request response a status code equal to that given

func (*PutPresenceUserPrimarysourceBadRequest) IsRedirect

IsRedirect returns true when this put presence user primarysource bad request response has a 3xx status code

func (*PutPresenceUserPrimarysourceBadRequest) IsServerError

func (o *PutPresenceUserPrimarysourceBadRequest) IsServerError() bool

IsServerError returns true when this put presence user primarysource bad request response has a 5xx status code

func (*PutPresenceUserPrimarysourceBadRequest) IsSuccess

IsSuccess returns true when this put presence user primarysource bad request response has a 2xx status code

func (*PutPresenceUserPrimarysourceBadRequest) String

type PutPresenceUserPrimarysourceForbidden

type PutPresenceUserPrimarysourceForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPutPresenceUserPrimarysourceForbidden

func NewPutPresenceUserPrimarysourceForbidden() *PutPresenceUserPrimarysourceForbidden

NewPutPresenceUserPrimarysourceForbidden creates a PutPresenceUserPrimarysourceForbidden with default headers values

func (*PutPresenceUserPrimarysourceForbidden) Error

func (*PutPresenceUserPrimarysourceForbidden) GetPayload

func (*PutPresenceUserPrimarysourceForbidden) IsClientError

func (o *PutPresenceUserPrimarysourceForbidden) IsClientError() bool

IsClientError returns true when this put presence user primarysource forbidden response has a 4xx status code

func (*PutPresenceUserPrimarysourceForbidden) IsCode

IsCode returns true when this put presence user primarysource forbidden response a status code equal to that given

func (*PutPresenceUserPrimarysourceForbidden) IsRedirect

IsRedirect returns true when this put presence user primarysource forbidden response has a 3xx status code

func (*PutPresenceUserPrimarysourceForbidden) IsServerError

func (o *PutPresenceUserPrimarysourceForbidden) IsServerError() bool

IsServerError returns true when this put presence user primarysource forbidden response has a 5xx status code

func (*PutPresenceUserPrimarysourceForbidden) IsSuccess

IsSuccess returns true when this put presence user primarysource forbidden response has a 2xx status code

func (*PutPresenceUserPrimarysourceForbidden) String

type PutPresenceUserPrimarysourceGatewayTimeout

type PutPresenceUserPrimarysourceGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPutPresenceUserPrimarysourceGatewayTimeout

func NewPutPresenceUserPrimarysourceGatewayTimeout() *PutPresenceUserPrimarysourceGatewayTimeout

NewPutPresenceUserPrimarysourceGatewayTimeout creates a PutPresenceUserPrimarysourceGatewayTimeout with default headers values

func (*PutPresenceUserPrimarysourceGatewayTimeout) Error

func (*PutPresenceUserPrimarysourceGatewayTimeout) GetPayload

func (*PutPresenceUserPrimarysourceGatewayTimeout) IsClientError

IsClientError returns true when this put presence user primarysource gateway timeout response has a 4xx status code

func (*PutPresenceUserPrimarysourceGatewayTimeout) IsCode

IsCode returns true when this put presence user primarysource gateway timeout response a status code equal to that given

func (*PutPresenceUserPrimarysourceGatewayTimeout) IsRedirect

IsRedirect returns true when this put presence user primarysource gateway timeout response has a 3xx status code

func (*PutPresenceUserPrimarysourceGatewayTimeout) IsServerError

IsServerError returns true when this put presence user primarysource gateway timeout response has a 5xx status code

func (*PutPresenceUserPrimarysourceGatewayTimeout) IsSuccess

IsSuccess returns true when this put presence user primarysource gateway timeout response has a 2xx status code

func (*PutPresenceUserPrimarysourceGatewayTimeout) String

type PutPresenceUserPrimarysourceInternalServerError

type PutPresenceUserPrimarysourceInternalServerError struct {
	Payload *models.ErrorBody
}

PutPresenceUserPrimarysourceInternalServerError 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 NewPutPresenceUserPrimarysourceInternalServerError

func NewPutPresenceUserPrimarysourceInternalServerError() *PutPresenceUserPrimarysourceInternalServerError

NewPutPresenceUserPrimarysourceInternalServerError creates a PutPresenceUserPrimarysourceInternalServerError with default headers values

func (*PutPresenceUserPrimarysourceInternalServerError) Error

func (*PutPresenceUserPrimarysourceInternalServerError) GetPayload

func (*PutPresenceUserPrimarysourceInternalServerError) IsClientError

IsClientError returns true when this put presence user primarysource internal server error response has a 4xx status code

func (*PutPresenceUserPrimarysourceInternalServerError) IsCode

IsCode returns true when this put presence user primarysource internal server error response a status code equal to that given

func (*PutPresenceUserPrimarysourceInternalServerError) IsRedirect

IsRedirect returns true when this put presence user primarysource internal server error response has a 3xx status code

func (*PutPresenceUserPrimarysourceInternalServerError) IsServerError

IsServerError returns true when this put presence user primarysource internal server error response has a 5xx status code

func (*PutPresenceUserPrimarysourceInternalServerError) IsSuccess

IsSuccess returns true when this put presence user primarysource internal server error response has a 2xx status code

func (*PutPresenceUserPrimarysourceInternalServerError) String

type PutPresenceUserPrimarysourceNotFound

type PutPresenceUserPrimarysourceNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPutPresenceUserPrimarysourceNotFound

func NewPutPresenceUserPrimarysourceNotFound() *PutPresenceUserPrimarysourceNotFound

NewPutPresenceUserPrimarysourceNotFound creates a PutPresenceUserPrimarysourceNotFound with default headers values

func (*PutPresenceUserPrimarysourceNotFound) Error

func (*PutPresenceUserPrimarysourceNotFound) GetPayload

func (*PutPresenceUserPrimarysourceNotFound) IsClientError

func (o *PutPresenceUserPrimarysourceNotFound) IsClientError() bool

IsClientError returns true when this put presence user primarysource not found response has a 4xx status code

func (*PutPresenceUserPrimarysourceNotFound) IsCode

IsCode returns true when this put presence user primarysource not found response a status code equal to that given

func (*PutPresenceUserPrimarysourceNotFound) IsRedirect

IsRedirect returns true when this put presence user primarysource not found response has a 3xx status code

func (*PutPresenceUserPrimarysourceNotFound) IsServerError

func (o *PutPresenceUserPrimarysourceNotFound) IsServerError() bool

IsServerError returns true when this put presence user primarysource not found response has a 5xx status code

func (*PutPresenceUserPrimarysourceNotFound) IsSuccess

IsSuccess returns true when this put presence user primarysource not found response has a 2xx status code

func (*PutPresenceUserPrimarysourceNotFound) String

type PutPresenceUserPrimarysourceOK

type PutPresenceUserPrimarysourceOK struct {
	Payload *models.UserPrimarySource
}

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

successful operation

func NewPutPresenceUserPrimarysourceOK

func NewPutPresenceUserPrimarysourceOK() *PutPresenceUserPrimarysourceOK

NewPutPresenceUserPrimarysourceOK creates a PutPresenceUserPrimarysourceOK with default headers values

func (*PutPresenceUserPrimarysourceOK) Error

func (*PutPresenceUserPrimarysourceOK) GetPayload

func (*PutPresenceUserPrimarysourceOK) IsClientError

func (o *PutPresenceUserPrimarysourceOK) IsClientError() bool

IsClientError returns true when this put presence user primarysource o k response has a 4xx status code

func (*PutPresenceUserPrimarysourceOK) IsCode

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

IsCode returns true when this put presence user primarysource o k response a status code equal to that given

func (*PutPresenceUserPrimarysourceOK) IsRedirect

func (o *PutPresenceUserPrimarysourceOK) IsRedirect() bool

IsRedirect returns true when this put presence user primarysource o k response has a 3xx status code

func (*PutPresenceUserPrimarysourceOK) IsServerError

func (o *PutPresenceUserPrimarysourceOK) IsServerError() bool

IsServerError returns true when this put presence user primarysource o k response has a 5xx status code

func (*PutPresenceUserPrimarysourceOK) IsSuccess

func (o *PutPresenceUserPrimarysourceOK) IsSuccess() bool

IsSuccess returns true when this put presence user primarysource o k response has a 2xx status code

func (*PutPresenceUserPrimarysourceOK) String

type PutPresenceUserPrimarysourceParams

type PutPresenceUserPrimarysourceParams struct {

	/* Body.

	   Primary Source
	*/
	Body *models.UserPrimarySource

	/* UserID.

	   user ID
	*/
	UserID string

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

PutPresenceUserPrimarysourceParams contains all the parameters to send to the API endpoint

for the put presence user primarysource operation.

Typically these are written to a http.Request.

func NewPutPresenceUserPrimarysourceParams

func NewPutPresenceUserPrimarysourceParams() *PutPresenceUserPrimarysourceParams

NewPutPresenceUserPrimarysourceParams creates a new PutPresenceUserPrimarysourceParams 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 NewPutPresenceUserPrimarysourceParamsWithContext

func NewPutPresenceUserPrimarysourceParamsWithContext(ctx context.Context) *PutPresenceUserPrimarysourceParams

NewPutPresenceUserPrimarysourceParamsWithContext creates a new PutPresenceUserPrimarysourceParams object with the ability to set a context for a request.

func NewPutPresenceUserPrimarysourceParamsWithHTTPClient

func NewPutPresenceUserPrimarysourceParamsWithHTTPClient(client *http.Client) *PutPresenceUserPrimarysourceParams

NewPutPresenceUserPrimarysourceParamsWithHTTPClient creates a new PutPresenceUserPrimarysourceParams object with the ability to set a custom HTTPClient for a request.

func NewPutPresenceUserPrimarysourceParamsWithTimeout

func NewPutPresenceUserPrimarysourceParamsWithTimeout(timeout time.Duration) *PutPresenceUserPrimarysourceParams

NewPutPresenceUserPrimarysourceParamsWithTimeout creates a new PutPresenceUserPrimarysourceParams object with the ability to set a timeout on a request.

func (*PutPresenceUserPrimarysourceParams) SetBody

SetBody adds the body to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) SetContext

SetContext adds the context to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) SetDefaults

func (o *PutPresenceUserPrimarysourceParams) SetDefaults()

SetDefaults hydrates default values in the put presence user primarysource params (not the query body).

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

func (*PutPresenceUserPrimarysourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) SetTimeout

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

SetTimeout adds the timeout to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) SetUserID

func (o *PutPresenceUserPrimarysourceParams) SetUserID(userID string)

SetUserID adds the userId to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) WithBody

WithBody adds the body to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) WithContext

WithContext adds the context to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) WithDefaults

WithDefaults hydrates default values in the put presence user primarysource params (not the query body).

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

func (*PutPresenceUserPrimarysourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) WithTimeout

WithTimeout adds the timeout to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) WithUserID

WithUserID adds the userID to the put presence user primarysource params

func (*PutPresenceUserPrimarysourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutPresenceUserPrimarysourceReader

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

PutPresenceUserPrimarysourceReader is a Reader for the PutPresenceUserPrimarysource structure.

func (*PutPresenceUserPrimarysourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutPresenceUserPrimarysourceRequestEntityTooLarge

type PutPresenceUserPrimarysourceRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPutPresenceUserPrimarysourceRequestEntityTooLarge

func NewPutPresenceUserPrimarysourceRequestEntityTooLarge() *PutPresenceUserPrimarysourceRequestEntityTooLarge

NewPutPresenceUserPrimarysourceRequestEntityTooLarge creates a PutPresenceUserPrimarysourceRequestEntityTooLarge with default headers values

func (*PutPresenceUserPrimarysourceRequestEntityTooLarge) Error

func (*PutPresenceUserPrimarysourceRequestEntityTooLarge) GetPayload

func (*PutPresenceUserPrimarysourceRequestEntityTooLarge) IsClientError

IsClientError returns true when this put presence user primarysource request entity too large response has a 4xx status code

func (*PutPresenceUserPrimarysourceRequestEntityTooLarge) IsCode

IsCode returns true when this put presence user primarysource request entity too large response a status code equal to that given

func (*PutPresenceUserPrimarysourceRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this put presence user primarysource request entity too large response has a 3xx status code

func (*PutPresenceUserPrimarysourceRequestEntityTooLarge) IsServerError

IsServerError returns true when this put presence user primarysource request entity too large response has a 5xx status code

func (*PutPresenceUserPrimarysourceRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this put presence user primarysource request entity too large response has a 2xx status code

func (*PutPresenceUserPrimarysourceRequestEntityTooLarge) String

type PutPresenceUserPrimarysourceRequestTimeout

type PutPresenceUserPrimarysourceRequestTimeout struct {
	Payload *models.ErrorBody
}

PutPresenceUserPrimarysourceRequestTimeout 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 NewPutPresenceUserPrimarysourceRequestTimeout

func NewPutPresenceUserPrimarysourceRequestTimeout() *PutPresenceUserPrimarysourceRequestTimeout

NewPutPresenceUserPrimarysourceRequestTimeout creates a PutPresenceUserPrimarysourceRequestTimeout with default headers values

func (*PutPresenceUserPrimarysourceRequestTimeout) Error

func (*PutPresenceUserPrimarysourceRequestTimeout) GetPayload

func (*PutPresenceUserPrimarysourceRequestTimeout) IsClientError

IsClientError returns true when this put presence user primarysource request timeout response has a 4xx status code

func (*PutPresenceUserPrimarysourceRequestTimeout) IsCode

IsCode returns true when this put presence user primarysource request timeout response a status code equal to that given

func (*PutPresenceUserPrimarysourceRequestTimeout) IsRedirect

IsRedirect returns true when this put presence user primarysource request timeout response has a 3xx status code

func (*PutPresenceUserPrimarysourceRequestTimeout) IsServerError

IsServerError returns true when this put presence user primarysource request timeout response has a 5xx status code

func (*PutPresenceUserPrimarysourceRequestTimeout) IsSuccess

IsSuccess returns true when this put presence user primarysource request timeout response has a 2xx status code

func (*PutPresenceUserPrimarysourceRequestTimeout) String

type PutPresenceUserPrimarysourceServiceUnavailable

type PutPresenceUserPrimarysourceServiceUnavailable struct {
	Payload *models.ErrorBody
}

PutPresenceUserPrimarysourceServiceUnavailable 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 NewPutPresenceUserPrimarysourceServiceUnavailable

func NewPutPresenceUserPrimarysourceServiceUnavailable() *PutPresenceUserPrimarysourceServiceUnavailable

NewPutPresenceUserPrimarysourceServiceUnavailable creates a PutPresenceUserPrimarysourceServiceUnavailable with default headers values

func (*PutPresenceUserPrimarysourceServiceUnavailable) Error

func (*PutPresenceUserPrimarysourceServiceUnavailable) GetPayload

func (*PutPresenceUserPrimarysourceServiceUnavailable) IsClientError

IsClientError returns true when this put presence user primarysource service unavailable response has a 4xx status code

func (*PutPresenceUserPrimarysourceServiceUnavailable) IsCode

IsCode returns true when this put presence user primarysource service unavailable response a status code equal to that given

func (*PutPresenceUserPrimarysourceServiceUnavailable) IsRedirect

IsRedirect returns true when this put presence user primarysource service unavailable response has a 3xx status code

func (*PutPresenceUserPrimarysourceServiceUnavailable) IsServerError

IsServerError returns true when this put presence user primarysource service unavailable response has a 5xx status code

func (*PutPresenceUserPrimarysourceServiceUnavailable) IsSuccess

IsSuccess returns true when this put presence user primarysource service unavailable response has a 2xx status code

func (*PutPresenceUserPrimarysourceServiceUnavailable) String

type PutPresenceUserPrimarysourceTooManyRequests

type PutPresenceUserPrimarysourceTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPutPresenceUserPrimarysourceTooManyRequests

func NewPutPresenceUserPrimarysourceTooManyRequests() *PutPresenceUserPrimarysourceTooManyRequests

NewPutPresenceUserPrimarysourceTooManyRequests creates a PutPresenceUserPrimarysourceTooManyRequests with default headers values

func (*PutPresenceUserPrimarysourceTooManyRequests) Error

func (*PutPresenceUserPrimarysourceTooManyRequests) GetPayload

func (*PutPresenceUserPrimarysourceTooManyRequests) IsClientError

IsClientError returns true when this put presence user primarysource too many requests response has a 4xx status code

func (*PutPresenceUserPrimarysourceTooManyRequests) IsCode

IsCode returns true when this put presence user primarysource too many requests response a status code equal to that given

func (*PutPresenceUserPrimarysourceTooManyRequests) IsRedirect

IsRedirect returns true when this put presence user primarysource too many requests response has a 3xx status code

func (*PutPresenceUserPrimarysourceTooManyRequests) IsServerError

IsServerError returns true when this put presence user primarysource too many requests response has a 5xx status code

func (*PutPresenceUserPrimarysourceTooManyRequests) IsSuccess

IsSuccess returns true when this put presence user primarysource too many requests response has a 2xx status code

func (*PutPresenceUserPrimarysourceTooManyRequests) String

type PutPresenceUserPrimarysourceUnauthorized

type PutPresenceUserPrimarysourceUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPutPresenceUserPrimarysourceUnauthorized

func NewPutPresenceUserPrimarysourceUnauthorized() *PutPresenceUserPrimarysourceUnauthorized

NewPutPresenceUserPrimarysourceUnauthorized creates a PutPresenceUserPrimarysourceUnauthorized with default headers values

func (*PutPresenceUserPrimarysourceUnauthorized) Error

func (*PutPresenceUserPrimarysourceUnauthorized) GetPayload

func (*PutPresenceUserPrimarysourceUnauthorized) IsClientError

IsClientError returns true when this put presence user primarysource unauthorized response has a 4xx status code

func (*PutPresenceUserPrimarysourceUnauthorized) IsCode

IsCode returns true when this put presence user primarysource unauthorized response a status code equal to that given

func (*PutPresenceUserPrimarysourceUnauthorized) IsRedirect

IsRedirect returns true when this put presence user primarysource unauthorized response has a 3xx status code

func (*PutPresenceUserPrimarysourceUnauthorized) IsServerError

IsServerError returns true when this put presence user primarysource unauthorized response has a 5xx status code

func (*PutPresenceUserPrimarysourceUnauthorized) IsSuccess

IsSuccess returns true when this put presence user primarysource unauthorized response has a 2xx status code

func (*PutPresenceUserPrimarysourceUnauthorized) String

type PutPresenceUserPrimarysourceUnsupportedMediaType

type PutPresenceUserPrimarysourceUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PutPresenceUserPrimarysourceUnsupportedMediaType 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 NewPutPresenceUserPrimarysourceUnsupportedMediaType

func NewPutPresenceUserPrimarysourceUnsupportedMediaType() *PutPresenceUserPrimarysourceUnsupportedMediaType

NewPutPresenceUserPrimarysourceUnsupportedMediaType creates a PutPresenceUserPrimarysourceUnsupportedMediaType with default headers values

func (*PutPresenceUserPrimarysourceUnsupportedMediaType) Error

func (*PutPresenceUserPrimarysourceUnsupportedMediaType) GetPayload

func (*PutPresenceUserPrimarysourceUnsupportedMediaType) IsClientError

IsClientError returns true when this put presence user primarysource unsupported media type response has a 4xx status code

func (*PutPresenceUserPrimarysourceUnsupportedMediaType) IsCode

IsCode returns true when this put presence user primarysource unsupported media type response a status code equal to that given

func (*PutPresenceUserPrimarysourceUnsupportedMediaType) IsRedirect

IsRedirect returns true when this put presence user primarysource unsupported media type response has a 3xx status code

func (*PutPresenceUserPrimarysourceUnsupportedMediaType) IsServerError

IsServerError returns true when this put presence user primarysource unsupported media type response has a 5xx status code

func (*PutPresenceUserPrimarysourceUnsupportedMediaType) IsSuccess

IsSuccess returns true when this put presence user primarysource unsupported media type response has a 2xx status code

func (*PutPresenceUserPrimarysourceUnsupportedMediaType) String

type PutPresencedefinitionBadRequest

type PutPresencedefinitionBadRequest struct {
	Payload *models.ErrorBody
}

PutPresencedefinitionBadRequest 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 NewPutPresencedefinitionBadRequest

func NewPutPresencedefinitionBadRequest() *PutPresencedefinitionBadRequest

NewPutPresencedefinitionBadRequest creates a PutPresencedefinitionBadRequest with default headers values

func (*PutPresencedefinitionBadRequest) Error

func (*PutPresencedefinitionBadRequest) GetPayload

func (*PutPresencedefinitionBadRequest) IsClientError

func (o *PutPresencedefinitionBadRequest) IsClientError() bool

IsClientError returns true when this put presencedefinition bad request response has a 4xx status code

func (*PutPresencedefinitionBadRequest) IsCode

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

IsCode returns true when this put presencedefinition bad request response a status code equal to that given

func (*PutPresencedefinitionBadRequest) IsRedirect

func (o *PutPresencedefinitionBadRequest) IsRedirect() bool

IsRedirect returns true when this put presencedefinition bad request response has a 3xx status code

func (*PutPresencedefinitionBadRequest) IsServerError

func (o *PutPresencedefinitionBadRequest) IsServerError() bool

IsServerError returns true when this put presencedefinition bad request response has a 5xx status code

func (*PutPresencedefinitionBadRequest) IsSuccess

func (o *PutPresencedefinitionBadRequest) IsSuccess() bool

IsSuccess returns true when this put presencedefinition bad request response has a 2xx status code

func (*PutPresencedefinitionBadRequest) String

type PutPresencedefinitionForbidden

type PutPresencedefinitionForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPutPresencedefinitionForbidden

func NewPutPresencedefinitionForbidden() *PutPresencedefinitionForbidden

NewPutPresencedefinitionForbidden creates a PutPresencedefinitionForbidden with default headers values

func (*PutPresencedefinitionForbidden) Error

func (*PutPresencedefinitionForbidden) GetPayload

func (*PutPresencedefinitionForbidden) IsClientError

func (o *PutPresencedefinitionForbidden) IsClientError() bool

IsClientError returns true when this put presencedefinition forbidden response has a 4xx status code

func (*PutPresencedefinitionForbidden) IsCode

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

IsCode returns true when this put presencedefinition forbidden response a status code equal to that given

func (*PutPresencedefinitionForbidden) IsRedirect

func (o *PutPresencedefinitionForbidden) IsRedirect() bool

IsRedirect returns true when this put presencedefinition forbidden response has a 3xx status code

func (*PutPresencedefinitionForbidden) IsServerError

func (o *PutPresencedefinitionForbidden) IsServerError() bool

IsServerError returns true when this put presencedefinition forbidden response has a 5xx status code

func (*PutPresencedefinitionForbidden) IsSuccess

func (o *PutPresencedefinitionForbidden) IsSuccess() bool

IsSuccess returns true when this put presencedefinition forbidden response has a 2xx status code

func (*PutPresencedefinitionForbidden) String

type PutPresencedefinitionGatewayTimeout

type PutPresencedefinitionGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPutPresencedefinitionGatewayTimeout

func NewPutPresencedefinitionGatewayTimeout() *PutPresencedefinitionGatewayTimeout

NewPutPresencedefinitionGatewayTimeout creates a PutPresencedefinitionGatewayTimeout with default headers values

func (*PutPresencedefinitionGatewayTimeout) Error

func (*PutPresencedefinitionGatewayTimeout) GetPayload

func (*PutPresencedefinitionGatewayTimeout) IsClientError

func (o *PutPresencedefinitionGatewayTimeout) IsClientError() bool

IsClientError returns true when this put presencedefinition gateway timeout response has a 4xx status code

func (*PutPresencedefinitionGatewayTimeout) IsCode

IsCode returns true when this put presencedefinition gateway timeout response a status code equal to that given

func (*PutPresencedefinitionGatewayTimeout) IsRedirect

func (o *PutPresencedefinitionGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this put presencedefinition gateway timeout response has a 3xx status code

func (*PutPresencedefinitionGatewayTimeout) IsServerError

func (o *PutPresencedefinitionGatewayTimeout) IsServerError() bool

IsServerError returns true when this put presencedefinition gateway timeout response has a 5xx status code

func (*PutPresencedefinitionGatewayTimeout) IsSuccess

IsSuccess returns true when this put presencedefinition gateway timeout response has a 2xx status code

func (*PutPresencedefinitionGatewayTimeout) String

type PutPresencedefinitionInternalServerError

type PutPresencedefinitionInternalServerError struct {
	Payload *models.ErrorBody
}

PutPresencedefinitionInternalServerError 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 NewPutPresencedefinitionInternalServerError

func NewPutPresencedefinitionInternalServerError() *PutPresencedefinitionInternalServerError

NewPutPresencedefinitionInternalServerError creates a PutPresencedefinitionInternalServerError with default headers values

func (*PutPresencedefinitionInternalServerError) Error

func (*PutPresencedefinitionInternalServerError) GetPayload

func (*PutPresencedefinitionInternalServerError) IsClientError

IsClientError returns true when this put presencedefinition internal server error response has a 4xx status code

func (*PutPresencedefinitionInternalServerError) IsCode

IsCode returns true when this put presencedefinition internal server error response a status code equal to that given

func (*PutPresencedefinitionInternalServerError) IsRedirect

IsRedirect returns true when this put presencedefinition internal server error response has a 3xx status code

func (*PutPresencedefinitionInternalServerError) IsServerError

IsServerError returns true when this put presencedefinition internal server error response has a 5xx status code

func (*PutPresencedefinitionInternalServerError) IsSuccess

IsSuccess returns true when this put presencedefinition internal server error response has a 2xx status code

func (*PutPresencedefinitionInternalServerError) String

type PutPresencedefinitionNotFound

type PutPresencedefinitionNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPutPresencedefinitionNotFound

func NewPutPresencedefinitionNotFound() *PutPresencedefinitionNotFound

NewPutPresencedefinitionNotFound creates a PutPresencedefinitionNotFound with default headers values

func (*PutPresencedefinitionNotFound) Error

func (*PutPresencedefinitionNotFound) GetPayload

func (*PutPresencedefinitionNotFound) IsClientError

func (o *PutPresencedefinitionNotFound) IsClientError() bool

IsClientError returns true when this put presencedefinition not found response has a 4xx status code

func (*PutPresencedefinitionNotFound) IsCode

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

IsCode returns true when this put presencedefinition not found response a status code equal to that given

func (*PutPresencedefinitionNotFound) IsRedirect

func (o *PutPresencedefinitionNotFound) IsRedirect() bool

IsRedirect returns true when this put presencedefinition not found response has a 3xx status code

func (*PutPresencedefinitionNotFound) IsServerError

func (o *PutPresencedefinitionNotFound) IsServerError() bool

IsServerError returns true when this put presencedefinition not found response has a 5xx status code

func (*PutPresencedefinitionNotFound) IsSuccess

func (o *PutPresencedefinitionNotFound) IsSuccess() bool

IsSuccess returns true when this put presencedefinition not found response has a 2xx status code

func (*PutPresencedefinitionNotFound) String

type PutPresencedefinitionOK

type PutPresencedefinitionOK struct {
	Payload *models.OrganizationPresence
}

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

successful operation

func NewPutPresencedefinitionOK

func NewPutPresencedefinitionOK() *PutPresencedefinitionOK

NewPutPresencedefinitionOK creates a PutPresencedefinitionOK with default headers values

func (*PutPresencedefinitionOK) Error

func (o *PutPresencedefinitionOK) Error() string

func (*PutPresencedefinitionOK) GetPayload

func (*PutPresencedefinitionOK) IsClientError

func (o *PutPresencedefinitionOK) IsClientError() bool

IsClientError returns true when this put presencedefinition o k response has a 4xx status code

func (*PutPresencedefinitionOK) IsCode

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

IsCode returns true when this put presencedefinition o k response a status code equal to that given

func (*PutPresencedefinitionOK) IsRedirect

func (o *PutPresencedefinitionOK) IsRedirect() bool

IsRedirect returns true when this put presencedefinition o k response has a 3xx status code

func (*PutPresencedefinitionOK) IsServerError

func (o *PutPresencedefinitionOK) IsServerError() bool

IsServerError returns true when this put presencedefinition o k response has a 5xx status code

func (*PutPresencedefinitionOK) IsSuccess

func (o *PutPresencedefinitionOK) IsSuccess() bool

IsSuccess returns true when this put presencedefinition o k response has a 2xx status code

func (*PutPresencedefinitionOK) String

func (o *PutPresencedefinitionOK) String() string

type PutPresencedefinitionParams

type PutPresencedefinitionParams struct {

	/* Body.

	   The OrganizationPresence to update
	*/
	Body *models.OrganizationPresence

	/* PresenceID.

	   Organization Presence ID
	*/
	PresenceID string

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

PutPresencedefinitionParams contains all the parameters to send to the API endpoint

for the put presencedefinition operation.

Typically these are written to a http.Request.

func NewPutPresencedefinitionParams

func NewPutPresencedefinitionParams() *PutPresencedefinitionParams

NewPutPresencedefinitionParams creates a new PutPresencedefinitionParams 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 NewPutPresencedefinitionParamsWithContext

func NewPutPresencedefinitionParamsWithContext(ctx context.Context) *PutPresencedefinitionParams

NewPutPresencedefinitionParamsWithContext creates a new PutPresencedefinitionParams object with the ability to set a context for a request.

func NewPutPresencedefinitionParamsWithHTTPClient

func NewPutPresencedefinitionParamsWithHTTPClient(client *http.Client) *PutPresencedefinitionParams

NewPutPresencedefinitionParamsWithHTTPClient creates a new PutPresencedefinitionParams object with the ability to set a custom HTTPClient for a request.

func NewPutPresencedefinitionParamsWithTimeout

func NewPutPresencedefinitionParamsWithTimeout(timeout time.Duration) *PutPresencedefinitionParams

NewPutPresencedefinitionParamsWithTimeout creates a new PutPresencedefinitionParams object with the ability to set a timeout on a request.

func (*PutPresencedefinitionParams) SetBody

SetBody adds the body to the put presencedefinition params

func (*PutPresencedefinitionParams) SetContext

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

SetContext adds the context to the put presencedefinition params

func (*PutPresencedefinitionParams) SetDefaults

func (o *PutPresencedefinitionParams) SetDefaults()

SetDefaults hydrates default values in the put presencedefinition params (not the query body).

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

func (*PutPresencedefinitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put presencedefinition params

func (*PutPresencedefinitionParams) SetPresenceID

func (o *PutPresencedefinitionParams) SetPresenceID(presenceID string)

SetPresenceID adds the presenceId to the put presencedefinition params

func (*PutPresencedefinitionParams) SetTimeout

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

SetTimeout adds the timeout to the put presencedefinition params

func (*PutPresencedefinitionParams) WithBody

WithBody adds the body to the put presencedefinition params

func (*PutPresencedefinitionParams) WithContext

WithContext adds the context to the put presencedefinition params

func (*PutPresencedefinitionParams) WithDefaults

WithDefaults hydrates default values in the put presencedefinition params (not the query body).

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

func (*PutPresencedefinitionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put presencedefinition params

func (*PutPresencedefinitionParams) WithPresenceID

func (o *PutPresencedefinitionParams) WithPresenceID(presenceID string) *PutPresencedefinitionParams

WithPresenceID adds the presenceID to the put presencedefinition params

func (*PutPresencedefinitionParams) WithTimeout

WithTimeout adds the timeout to the put presencedefinition params

func (*PutPresencedefinitionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutPresencedefinitionReader

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

PutPresencedefinitionReader is a Reader for the PutPresencedefinition structure.

func (*PutPresencedefinitionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutPresencedefinitionRequestEntityTooLarge

type PutPresencedefinitionRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPutPresencedefinitionRequestEntityTooLarge

func NewPutPresencedefinitionRequestEntityTooLarge() *PutPresencedefinitionRequestEntityTooLarge

NewPutPresencedefinitionRequestEntityTooLarge creates a PutPresencedefinitionRequestEntityTooLarge with default headers values

func (*PutPresencedefinitionRequestEntityTooLarge) Error

func (*PutPresencedefinitionRequestEntityTooLarge) GetPayload

func (*PutPresencedefinitionRequestEntityTooLarge) IsClientError

IsClientError returns true when this put presencedefinition request entity too large response has a 4xx status code

func (*PutPresencedefinitionRequestEntityTooLarge) IsCode

IsCode returns true when this put presencedefinition request entity too large response a status code equal to that given

func (*PutPresencedefinitionRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this put presencedefinition request entity too large response has a 3xx status code

func (*PutPresencedefinitionRequestEntityTooLarge) IsServerError

IsServerError returns true when this put presencedefinition request entity too large response has a 5xx status code

func (*PutPresencedefinitionRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this put presencedefinition request entity too large response has a 2xx status code

func (*PutPresencedefinitionRequestEntityTooLarge) String

type PutPresencedefinitionRequestTimeout

type PutPresencedefinitionRequestTimeout struct {
	Payload *models.ErrorBody
}

PutPresencedefinitionRequestTimeout 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 NewPutPresencedefinitionRequestTimeout

func NewPutPresencedefinitionRequestTimeout() *PutPresencedefinitionRequestTimeout

NewPutPresencedefinitionRequestTimeout creates a PutPresencedefinitionRequestTimeout with default headers values

func (*PutPresencedefinitionRequestTimeout) Error

func (*PutPresencedefinitionRequestTimeout) GetPayload

func (*PutPresencedefinitionRequestTimeout) IsClientError

func (o *PutPresencedefinitionRequestTimeout) IsClientError() bool

IsClientError returns true when this put presencedefinition request timeout response has a 4xx status code

func (*PutPresencedefinitionRequestTimeout) IsCode

IsCode returns true when this put presencedefinition request timeout response a status code equal to that given

func (*PutPresencedefinitionRequestTimeout) IsRedirect

func (o *PutPresencedefinitionRequestTimeout) IsRedirect() bool

IsRedirect returns true when this put presencedefinition request timeout response has a 3xx status code

func (*PutPresencedefinitionRequestTimeout) IsServerError

func (o *PutPresencedefinitionRequestTimeout) IsServerError() bool

IsServerError returns true when this put presencedefinition request timeout response has a 5xx status code

func (*PutPresencedefinitionRequestTimeout) IsSuccess

IsSuccess returns true when this put presencedefinition request timeout response has a 2xx status code

func (*PutPresencedefinitionRequestTimeout) String

type PutPresencedefinitionServiceUnavailable

type PutPresencedefinitionServiceUnavailable struct {
	Payload *models.ErrorBody
}

PutPresencedefinitionServiceUnavailable 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 NewPutPresencedefinitionServiceUnavailable

func NewPutPresencedefinitionServiceUnavailable() *PutPresencedefinitionServiceUnavailable

NewPutPresencedefinitionServiceUnavailable creates a PutPresencedefinitionServiceUnavailable with default headers values

func (*PutPresencedefinitionServiceUnavailable) Error

func (*PutPresencedefinitionServiceUnavailable) GetPayload

func (*PutPresencedefinitionServiceUnavailable) IsClientError

func (o *PutPresencedefinitionServiceUnavailable) IsClientError() bool

IsClientError returns true when this put presencedefinition service unavailable response has a 4xx status code

func (*PutPresencedefinitionServiceUnavailable) IsCode

IsCode returns true when this put presencedefinition service unavailable response a status code equal to that given

func (*PutPresencedefinitionServiceUnavailable) IsRedirect

IsRedirect returns true when this put presencedefinition service unavailable response has a 3xx status code

func (*PutPresencedefinitionServiceUnavailable) IsServerError

func (o *PutPresencedefinitionServiceUnavailable) IsServerError() bool

IsServerError returns true when this put presencedefinition service unavailable response has a 5xx status code

func (*PutPresencedefinitionServiceUnavailable) IsSuccess

IsSuccess returns true when this put presencedefinition service unavailable response has a 2xx status code

func (*PutPresencedefinitionServiceUnavailable) String

type PutPresencedefinitionTooManyRequests

type PutPresencedefinitionTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPutPresencedefinitionTooManyRequests

func NewPutPresencedefinitionTooManyRequests() *PutPresencedefinitionTooManyRequests

NewPutPresencedefinitionTooManyRequests creates a PutPresencedefinitionTooManyRequests with default headers values

func (*PutPresencedefinitionTooManyRequests) Error

func (*PutPresencedefinitionTooManyRequests) GetPayload

func (*PutPresencedefinitionTooManyRequests) IsClientError

func (o *PutPresencedefinitionTooManyRequests) IsClientError() bool

IsClientError returns true when this put presencedefinition too many requests response has a 4xx status code

func (*PutPresencedefinitionTooManyRequests) IsCode

IsCode returns true when this put presencedefinition too many requests response a status code equal to that given

func (*PutPresencedefinitionTooManyRequests) IsRedirect

IsRedirect returns true when this put presencedefinition too many requests response has a 3xx status code

func (*PutPresencedefinitionTooManyRequests) IsServerError

func (o *PutPresencedefinitionTooManyRequests) IsServerError() bool

IsServerError returns true when this put presencedefinition too many requests response has a 5xx status code

func (*PutPresencedefinitionTooManyRequests) IsSuccess

IsSuccess returns true when this put presencedefinition too many requests response has a 2xx status code

func (*PutPresencedefinitionTooManyRequests) String

type PutPresencedefinitionUnauthorized

type PutPresencedefinitionUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPutPresencedefinitionUnauthorized

func NewPutPresencedefinitionUnauthorized() *PutPresencedefinitionUnauthorized

NewPutPresencedefinitionUnauthorized creates a PutPresencedefinitionUnauthorized with default headers values

func (*PutPresencedefinitionUnauthorized) Error

func (*PutPresencedefinitionUnauthorized) GetPayload

func (*PutPresencedefinitionUnauthorized) IsClientError

func (o *PutPresencedefinitionUnauthorized) IsClientError() bool

IsClientError returns true when this put presencedefinition unauthorized response has a 4xx status code

func (*PutPresencedefinitionUnauthorized) IsCode

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

IsCode returns true when this put presencedefinition unauthorized response a status code equal to that given

func (*PutPresencedefinitionUnauthorized) IsRedirect

func (o *PutPresencedefinitionUnauthorized) IsRedirect() bool

IsRedirect returns true when this put presencedefinition unauthorized response has a 3xx status code

func (*PutPresencedefinitionUnauthorized) IsServerError

func (o *PutPresencedefinitionUnauthorized) IsServerError() bool

IsServerError returns true when this put presencedefinition unauthorized response has a 5xx status code

func (*PutPresencedefinitionUnauthorized) IsSuccess

func (o *PutPresencedefinitionUnauthorized) IsSuccess() bool

IsSuccess returns true when this put presencedefinition unauthorized response has a 2xx status code

func (*PutPresencedefinitionUnauthorized) String

type PutPresencedefinitionUnsupportedMediaType

type PutPresencedefinitionUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PutPresencedefinitionUnsupportedMediaType 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 NewPutPresencedefinitionUnsupportedMediaType

func NewPutPresencedefinitionUnsupportedMediaType() *PutPresencedefinitionUnsupportedMediaType

NewPutPresencedefinitionUnsupportedMediaType creates a PutPresencedefinitionUnsupportedMediaType with default headers values

func (*PutPresencedefinitionUnsupportedMediaType) Error

func (*PutPresencedefinitionUnsupportedMediaType) GetPayload

func (*PutPresencedefinitionUnsupportedMediaType) IsClientError

IsClientError returns true when this put presencedefinition unsupported media type response has a 4xx status code

func (*PutPresencedefinitionUnsupportedMediaType) IsCode

IsCode returns true when this put presencedefinition unsupported media type response a status code equal to that given

func (*PutPresencedefinitionUnsupportedMediaType) IsRedirect

IsRedirect returns true when this put presencedefinition unsupported media type response has a 3xx status code

func (*PutPresencedefinitionUnsupportedMediaType) IsServerError

IsServerError returns true when this put presencedefinition unsupported media type response has a 5xx status code

func (*PutPresencedefinitionUnsupportedMediaType) IsSuccess

IsSuccess returns true when this put presencedefinition unsupported media type response has a 2xx status code

func (*PutPresencedefinitionUnsupportedMediaType) String

type PutUsersPresencesBulkBadRequest

type PutUsersPresencesBulkBadRequest struct {
	Payload *models.ErrorBody
}

PutUsersPresencesBulkBadRequest 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 NewPutUsersPresencesBulkBadRequest

func NewPutUsersPresencesBulkBadRequest() *PutUsersPresencesBulkBadRequest

NewPutUsersPresencesBulkBadRequest creates a PutUsersPresencesBulkBadRequest with default headers values

func (*PutUsersPresencesBulkBadRequest) Error

func (*PutUsersPresencesBulkBadRequest) GetPayload

func (*PutUsersPresencesBulkBadRequest) IsClientError

func (o *PutUsersPresencesBulkBadRequest) IsClientError() bool

IsClientError returns true when this put users presences bulk bad request response has a 4xx status code

func (*PutUsersPresencesBulkBadRequest) IsCode

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

IsCode returns true when this put users presences bulk bad request response a status code equal to that given

func (*PutUsersPresencesBulkBadRequest) IsRedirect

func (o *PutUsersPresencesBulkBadRequest) IsRedirect() bool

IsRedirect returns true when this put users presences bulk bad request response has a 3xx status code

func (*PutUsersPresencesBulkBadRequest) IsServerError

func (o *PutUsersPresencesBulkBadRequest) IsServerError() bool

IsServerError returns true when this put users presences bulk bad request response has a 5xx status code

func (*PutUsersPresencesBulkBadRequest) IsSuccess

func (o *PutUsersPresencesBulkBadRequest) IsSuccess() bool

IsSuccess returns true when this put users presences bulk bad request response has a 2xx status code

func (*PutUsersPresencesBulkBadRequest) String

type PutUsersPresencesBulkForbidden

type PutUsersPresencesBulkForbidden struct {
	Payload *models.ErrorBody
}

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

You are not authorized to perform the requested action.

func NewPutUsersPresencesBulkForbidden

func NewPutUsersPresencesBulkForbidden() *PutUsersPresencesBulkForbidden

NewPutUsersPresencesBulkForbidden creates a PutUsersPresencesBulkForbidden with default headers values

func (*PutUsersPresencesBulkForbidden) Error

func (*PutUsersPresencesBulkForbidden) GetPayload

func (*PutUsersPresencesBulkForbidden) IsClientError

func (o *PutUsersPresencesBulkForbidden) IsClientError() bool

IsClientError returns true when this put users presences bulk forbidden response has a 4xx status code

func (*PutUsersPresencesBulkForbidden) IsCode

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

IsCode returns true when this put users presences bulk forbidden response a status code equal to that given

func (*PutUsersPresencesBulkForbidden) IsRedirect

func (o *PutUsersPresencesBulkForbidden) IsRedirect() bool

IsRedirect returns true when this put users presences bulk forbidden response has a 3xx status code

func (*PutUsersPresencesBulkForbidden) IsServerError

func (o *PutUsersPresencesBulkForbidden) IsServerError() bool

IsServerError returns true when this put users presences bulk forbidden response has a 5xx status code

func (*PutUsersPresencesBulkForbidden) IsSuccess

func (o *PutUsersPresencesBulkForbidden) IsSuccess() bool

IsSuccess returns true when this put users presences bulk forbidden response has a 2xx status code

func (*PutUsersPresencesBulkForbidden) String

type PutUsersPresencesBulkGatewayTimeout

type PutUsersPresencesBulkGatewayTimeout struct {
	Payload *models.ErrorBody
}

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

The request timed out.

func NewPutUsersPresencesBulkGatewayTimeout

func NewPutUsersPresencesBulkGatewayTimeout() *PutUsersPresencesBulkGatewayTimeout

NewPutUsersPresencesBulkGatewayTimeout creates a PutUsersPresencesBulkGatewayTimeout with default headers values

func (*PutUsersPresencesBulkGatewayTimeout) Error

func (*PutUsersPresencesBulkGatewayTimeout) GetPayload

func (*PutUsersPresencesBulkGatewayTimeout) IsClientError

func (o *PutUsersPresencesBulkGatewayTimeout) IsClientError() bool

IsClientError returns true when this put users presences bulk gateway timeout response has a 4xx status code

func (*PutUsersPresencesBulkGatewayTimeout) IsCode

IsCode returns true when this put users presences bulk gateway timeout response a status code equal to that given

func (*PutUsersPresencesBulkGatewayTimeout) IsRedirect

func (o *PutUsersPresencesBulkGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this put users presences bulk gateway timeout response has a 3xx status code

func (*PutUsersPresencesBulkGatewayTimeout) IsServerError

func (o *PutUsersPresencesBulkGatewayTimeout) IsServerError() bool

IsServerError returns true when this put users presences bulk gateway timeout response has a 5xx status code

func (*PutUsersPresencesBulkGatewayTimeout) IsSuccess

IsSuccess returns true when this put users presences bulk gateway timeout response has a 2xx status code

func (*PutUsersPresencesBulkGatewayTimeout) String

type PutUsersPresencesBulkInternalServerError

type PutUsersPresencesBulkInternalServerError struct {
	Payload *models.ErrorBody
}

PutUsersPresencesBulkInternalServerError 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 NewPutUsersPresencesBulkInternalServerError

func NewPutUsersPresencesBulkInternalServerError() *PutUsersPresencesBulkInternalServerError

NewPutUsersPresencesBulkInternalServerError creates a PutUsersPresencesBulkInternalServerError with default headers values

func (*PutUsersPresencesBulkInternalServerError) Error

func (*PutUsersPresencesBulkInternalServerError) GetPayload

func (*PutUsersPresencesBulkInternalServerError) IsClientError

IsClientError returns true when this put users presences bulk internal server error response has a 4xx status code

func (*PutUsersPresencesBulkInternalServerError) IsCode

IsCode returns true when this put users presences bulk internal server error response a status code equal to that given

func (*PutUsersPresencesBulkInternalServerError) IsRedirect

IsRedirect returns true when this put users presences bulk internal server error response has a 3xx status code

func (*PutUsersPresencesBulkInternalServerError) IsServerError

IsServerError returns true when this put users presences bulk internal server error response has a 5xx status code

func (*PutUsersPresencesBulkInternalServerError) IsSuccess

IsSuccess returns true when this put users presences bulk internal server error response has a 2xx status code

func (*PutUsersPresencesBulkInternalServerError) String

type PutUsersPresencesBulkNotFound

type PutUsersPresencesBulkNotFound struct {
	Payload *models.ErrorBody
}

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

The requested resource was not found.

func NewPutUsersPresencesBulkNotFound

func NewPutUsersPresencesBulkNotFound() *PutUsersPresencesBulkNotFound

NewPutUsersPresencesBulkNotFound creates a PutUsersPresencesBulkNotFound with default headers values

func (*PutUsersPresencesBulkNotFound) Error

func (*PutUsersPresencesBulkNotFound) GetPayload

func (*PutUsersPresencesBulkNotFound) IsClientError

func (o *PutUsersPresencesBulkNotFound) IsClientError() bool

IsClientError returns true when this put users presences bulk not found response has a 4xx status code

func (*PutUsersPresencesBulkNotFound) IsCode

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

IsCode returns true when this put users presences bulk not found response a status code equal to that given

func (*PutUsersPresencesBulkNotFound) IsRedirect

func (o *PutUsersPresencesBulkNotFound) IsRedirect() bool

IsRedirect returns true when this put users presences bulk not found response has a 3xx status code

func (*PutUsersPresencesBulkNotFound) IsServerError

func (o *PutUsersPresencesBulkNotFound) IsServerError() bool

IsServerError returns true when this put users presences bulk not found response has a 5xx status code

func (*PutUsersPresencesBulkNotFound) IsSuccess

func (o *PutUsersPresencesBulkNotFound) IsSuccess() bool

IsSuccess returns true when this put users presences bulk not found response has a 2xx status code

func (*PutUsersPresencesBulkNotFound) String

type PutUsersPresencesBulkOK

type PutUsersPresencesBulkOK struct {
	Payload []*models.UserPresence
}

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

successful operation

func NewPutUsersPresencesBulkOK

func NewPutUsersPresencesBulkOK() *PutUsersPresencesBulkOK

NewPutUsersPresencesBulkOK creates a PutUsersPresencesBulkOK with default headers values

func (*PutUsersPresencesBulkOK) Error

func (o *PutUsersPresencesBulkOK) Error() string

func (*PutUsersPresencesBulkOK) GetPayload

func (o *PutUsersPresencesBulkOK) GetPayload() []*models.UserPresence

func (*PutUsersPresencesBulkOK) IsClientError

func (o *PutUsersPresencesBulkOK) IsClientError() bool

IsClientError returns true when this put users presences bulk o k response has a 4xx status code

func (*PutUsersPresencesBulkOK) IsCode

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

IsCode returns true when this put users presences bulk o k response a status code equal to that given

func (*PutUsersPresencesBulkOK) IsRedirect

func (o *PutUsersPresencesBulkOK) IsRedirect() bool

IsRedirect returns true when this put users presences bulk o k response has a 3xx status code

func (*PutUsersPresencesBulkOK) IsServerError

func (o *PutUsersPresencesBulkOK) IsServerError() bool

IsServerError returns true when this put users presences bulk o k response has a 5xx status code

func (*PutUsersPresencesBulkOK) IsSuccess

func (o *PutUsersPresencesBulkOK) IsSuccess() bool

IsSuccess returns true when this put users presences bulk o k response has a 2xx status code

func (*PutUsersPresencesBulkOK) String

func (o *PutUsersPresencesBulkOK) String() string

type PutUsersPresencesBulkParams

type PutUsersPresencesBulkParams struct {

	/* Body.

	   List of User presences
	*/
	Body []*models.UserPresence

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

PutUsersPresencesBulkParams contains all the parameters to send to the API endpoint

for the put users presences bulk operation.

Typically these are written to a http.Request.

func NewPutUsersPresencesBulkParams

func NewPutUsersPresencesBulkParams() *PutUsersPresencesBulkParams

NewPutUsersPresencesBulkParams creates a new PutUsersPresencesBulkParams 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 NewPutUsersPresencesBulkParamsWithContext

func NewPutUsersPresencesBulkParamsWithContext(ctx context.Context) *PutUsersPresencesBulkParams

NewPutUsersPresencesBulkParamsWithContext creates a new PutUsersPresencesBulkParams object with the ability to set a context for a request.

func NewPutUsersPresencesBulkParamsWithHTTPClient

func NewPutUsersPresencesBulkParamsWithHTTPClient(client *http.Client) *PutUsersPresencesBulkParams

NewPutUsersPresencesBulkParamsWithHTTPClient creates a new PutUsersPresencesBulkParams object with the ability to set a custom HTTPClient for a request.

func NewPutUsersPresencesBulkParamsWithTimeout

func NewPutUsersPresencesBulkParamsWithTimeout(timeout time.Duration) *PutUsersPresencesBulkParams

NewPutUsersPresencesBulkParamsWithTimeout creates a new PutUsersPresencesBulkParams object with the ability to set a timeout on a request.

func (*PutUsersPresencesBulkParams) SetBody

func (o *PutUsersPresencesBulkParams) SetBody(body []*models.UserPresence)

SetBody adds the body to the put users presences bulk params

func (*PutUsersPresencesBulkParams) SetContext

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

SetContext adds the context to the put users presences bulk params

func (*PutUsersPresencesBulkParams) SetDefaults

func (o *PutUsersPresencesBulkParams) SetDefaults()

SetDefaults hydrates default values in the put users presences bulk params (not the query body).

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

func (*PutUsersPresencesBulkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put users presences bulk params

func (*PutUsersPresencesBulkParams) SetTimeout

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

SetTimeout adds the timeout to the put users presences bulk params

func (*PutUsersPresencesBulkParams) WithBody

WithBody adds the body to the put users presences bulk params

func (*PutUsersPresencesBulkParams) WithContext

WithContext adds the context to the put users presences bulk params

func (*PutUsersPresencesBulkParams) WithDefaults

WithDefaults hydrates default values in the put users presences bulk params (not the query body).

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

func (*PutUsersPresencesBulkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put users presences bulk params

func (*PutUsersPresencesBulkParams) WithTimeout

WithTimeout adds the timeout to the put users presences bulk params

func (*PutUsersPresencesBulkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutUsersPresencesBulkReader

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

PutUsersPresencesBulkReader is a Reader for the PutUsersPresencesBulk structure.

func (*PutUsersPresencesBulkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutUsersPresencesBulkRequestEntityTooLarge

type PutUsersPresencesBulkRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

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

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

func NewPutUsersPresencesBulkRequestEntityTooLarge

func NewPutUsersPresencesBulkRequestEntityTooLarge() *PutUsersPresencesBulkRequestEntityTooLarge

NewPutUsersPresencesBulkRequestEntityTooLarge creates a PutUsersPresencesBulkRequestEntityTooLarge with default headers values

func (*PutUsersPresencesBulkRequestEntityTooLarge) Error

func (*PutUsersPresencesBulkRequestEntityTooLarge) GetPayload

func (*PutUsersPresencesBulkRequestEntityTooLarge) IsClientError

IsClientError returns true when this put users presences bulk request entity too large response has a 4xx status code

func (*PutUsersPresencesBulkRequestEntityTooLarge) IsCode

IsCode returns true when this put users presences bulk request entity too large response a status code equal to that given

func (*PutUsersPresencesBulkRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this put users presences bulk request entity too large response has a 3xx status code

func (*PutUsersPresencesBulkRequestEntityTooLarge) IsServerError

IsServerError returns true when this put users presences bulk request entity too large response has a 5xx status code

func (*PutUsersPresencesBulkRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this put users presences bulk request entity too large response has a 2xx status code

func (*PutUsersPresencesBulkRequestEntityTooLarge) String

type PutUsersPresencesBulkRequestTimeout

type PutUsersPresencesBulkRequestTimeout struct {
	Payload *models.ErrorBody
}

PutUsersPresencesBulkRequestTimeout 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 NewPutUsersPresencesBulkRequestTimeout

func NewPutUsersPresencesBulkRequestTimeout() *PutUsersPresencesBulkRequestTimeout

NewPutUsersPresencesBulkRequestTimeout creates a PutUsersPresencesBulkRequestTimeout with default headers values

func (*PutUsersPresencesBulkRequestTimeout) Error

func (*PutUsersPresencesBulkRequestTimeout) GetPayload

func (*PutUsersPresencesBulkRequestTimeout) IsClientError

func (o *PutUsersPresencesBulkRequestTimeout) IsClientError() bool

IsClientError returns true when this put users presences bulk request timeout response has a 4xx status code

func (*PutUsersPresencesBulkRequestTimeout) IsCode

IsCode returns true when this put users presences bulk request timeout response a status code equal to that given

func (*PutUsersPresencesBulkRequestTimeout) IsRedirect

func (o *PutUsersPresencesBulkRequestTimeout) IsRedirect() bool

IsRedirect returns true when this put users presences bulk request timeout response has a 3xx status code

func (*PutUsersPresencesBulkRequestTimeout) IsServerError

func (o *PutUsersPresencesBulkRequestTimeout) IsServerError() bool

IsServerError returns true when this put users presences bulk request timeout response has a 5xx status code

func (*PutUsersPresencesBulkRequestTimeout) IsSuccess

IsSuccess returns true when this put users presences bulk request timeout response has a 2xx status code

func (*PutUsersPresencesBulkRequestTimeout) String

type PutUsersPresencesBulkServiceUnavailable

type PutUsersPresencesBulkServiceUnavailable struct {
	Payload *models.ErrorBody
}

PutUsersPresencesBulkServiceUnavailable 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 NewPutUsersPresencesBulkServiceUnavailable

func NewPutUsersPresencesBulkServiceUnavailable() *PutUsersPresencesBulkServiceUnavailable

NewPutUsersPresencesBulkServiceUnavailable creates a PutUsersPresencesBulkServiceUnavailable with default headers values

func (*PutUsersPresencesBulkServiceUnavailable) Error

func (*PutUsersPresencesBulkServiceUnavailable) GetPayload

func (*PutUsersPresencesBulkServiceUnavailable) IsClientError

func (o *PutUsersPresencesBulkServiceUnavailable) IsClientError() bool

IsClientError returns true when this put users presences bulk service unavailable response has a 4xx status code

func (*PutUsersPresencesBulkServiceUnavailable) IsCode

IsCode returns true when this put users presences bulk service unavailable response a status code equal to that given

func (*PutUsersPresencesBulkServiceUnavailable) IsRedirect

IsRedirect returns true when this put users presences bulk service unavailable response has a 3xx status code

func (*PutUsersPresencesBulkServiceUnavailable) IsServerError

func (o *PutUsersPresencesBulkServiceUnavailable) IsServerError() bool

IsServerError returns true when this put users presences bulk service unavailable response has a 5xx status code

func (*PutUsersPresencesBulkServiceUnavailable) IsSuccess

IsSuccess returns true when this put users presences bulk service unavailable response has a 2xx status code

func (*PutUsersPresencesBulkServiceUnavailable) String

type PutUsersPresencesBulkTooManyRequests

type PutUsersPresencesBulkTooManyRequests struct {
	Payload *models.ErrorBody
}

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

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

func NewPutUsersPresencesBulkTooManyRequests

func NewPutUsersPresencesBulkTooManyRequests() *PutUsersPresencesBulkTooManyRequests

NewPutUsersPresencesBulkTooManyRequests creates a PutUsersPresencesBulkTooManyRequests with default headers values

func (*PutUsersPresencesBulkTooManyRequests) Error

func (*PutUsersPresencesBulkTooManyRequests) GetPayload

func (*PutUsersPresencesBulkTooManyRequests) IsClientError

func (o *PutUsersPresencesBulkTooManyRequests) IsClientError() bool

IsClientError returns true when this put users presences bulk too many requests response has a 4xx status code

func (*PutUsersPresencesBulkTooManyRequests) IsCode

IsCode returns true when this put users presences bulk too many requests response a status code equal to that given

func (*PutUsersPresencesBulkTooManyRequests) IsRedirect

IsRedirect returns true when this put users presences bulk too many requests response has a 3xx status code

func (*PutUsersPresencesBulkTooManyRequests) IsServerError

func (o *PutUsersPresencesBulkTooManyRequests) IsServerError() bool

IsServerError returns true when this put users presences bulk too many requests response has a 5xx status code

func (*PutUsersPresencesBulkTooManyRequests) IsSuccess

IsSuccess returns true when this put users presences bulk too many requests response has a 2xx status code

func (*PutUsersPresencesBulkTooManyRequests) String

type PutUsersPresencesBulkUnauthorized

type PutUsersPresencesBulkUnauthorized struct {
	Payload *models.ErrorBody
}

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

No authentication bearer token specified in authorization header.

func NewPutUsersPresencesBulkUnauthorized

func NewPutUsersPresencesBulkUnauthorized() *PutUsersPresencesBulkUnauthorized

NewPutUsersPresencesBulkUnauthorized creates a PutUsersPresencesBulkUnauthorized with default headers values

func (*PutUsersPresencesBulkUnauthorized) Error

func (*PutUsersPresencesBulkUnauthorized) GetPayload

func (*PutUsersPresencesBulkUnauthorized) IsClientError

func (o *PutUsersPresencesBulkUnauthorized) IsClientError() bool

IsClientError returns true when this put users presences bulk unauthorized response has a 4xx status code

func (*PutUsersPresencesBulkUnauthorized) IsCode

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

IsCode returns true when this put users presences bulk unauthorized response a status code equal to that given

func (*PutUsersPresencesBulkUnauthorized) IsRedirect

func (o *PutUsersPresencesBulkUnauthorized) IsRedirect() bool

IsRedirect returns true when this put users presences bulk unauthorized response has a 3xx status code

func (*PutUsersPresencesBulkUnauthorized) IsServerError

func (o *PutUsersPresencesBulkUnauthorized) IsServerError() bool

IsServerError returns true when this put users presences bulk unauthorized response has a 5xx status code

func (*PutUsersPresencesBulkUnauthorized) IsSuccess

func (o *PutUsersPresencesBulkUnauthorized) IsSuccess() bool

IsSuccess returns true when this put users presences bulk unauthorized response has a 2xx status code

func (*PutUsersPresencesBulkUnauthorized) String

type PutUsersPresencesBulkUnsupportedMediaType

type PutUsersPresencesBulkUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PutUsersPresencesBulkUnsupportedMediaType 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 NewPutUsersPresencesBulkUnsupportedMediaType

func NewPutUsersPresencesBulkUnsupportedMediaType() *PutUsersPresencesBulkUnsupportedMediaType

NewPutUsersPresencesBulkUnsupportedMediaType creates a PutUsersPresencesBulkUnsupportedMediaType with default headers values

func (*PutUsersPresencesBulkUnsupportedMediaType) Error

func (*PutUsersPresencesBulkUnsupportedMediaType) GetPayload

func (*PutUsersPresencesBulkUnsupportedMediaType) IsClientError

IsClientError returns true when this put users presences bulk unsupported media type response has a 4xx status code

func (*PutUsersPresencesBulkUnsupportedMediaType) IsCode

IsCode returns true when this put users presences bulk unsupported media type response a status code equal to that given

func (*PutUsersPresencesBulkUnsupportedMediaType) IsRedirect

IsRedirect returns true when this put users presences bulk unsupported media type response has a 3xx status code

func (*PutUsersPresencesBulkUnsupportedMediaType) IsServerError

IsServerError returns true when this put users presences bulk unsupported media type response has a 5xx status code

func (*PutUsersPresencesBulkUnsupportedMediaType) IsSuccess

IsSuccess returns true when this put users presences bulk unsupported media type response has a 2xx status code

func (*PutUsersPresencesBulkUnsupportedMediaType) String

Source Files

Jump to

Keyboard shortcuts

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