sessions

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for sessions API

func (*Client) DeleteSession

func (a *Client) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSessionNoContent, error)

DeleteSession deletes user session

func (*Client) ListUserSessions

func (a *Client) ListUserSessions(params *ListUserSessionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserSessionsOK, error)

ListUserSessions lists user sessions

User sessions.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSessionNoContent, error)

	ListUserSessions(params *ListUserSessionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserSessionsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new sessions API client.

type DeleteSessionForbidden

type DeleteSessionForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteSessionForbidden

func NewDeleteSessionForbidden() *DeleteSessionForbidden

NewDeleteSessionForbidden creates a DeleteSessionForbidden with default headers values

func (*DeleteSessionForbidden) Code

func (o *DeleteSessionForbidden) Code() int

Code gets the status code for the delete session forbidden response

func (*DeleteSessionForbidden) Error

func (o *DeleteSessionForbidden) Error() string

func (*DeleteSessionForbidden) GetPayload

func (o *DeleteSessionForbidden) GetPayload() *models.Error

func (*DeleteSessionForbidden) IsClientError

func (o *DeleteSessionForbidden) IsClientError() bool

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

func (*DeleteSessionForbidden) IsCode

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

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

func (*DeleteSessionForbidden) IsRedirect

func (o *DeleteSessionForbidden) IsRedirect() bool

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

func (*DeleteSessionForbidden) IsServerError

func (o *DeleteSessionForbidden) IsServerError() bool

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

func (*DeleteSessionForbidden) IsSuccess

func (o *DeleteSessionForbidden) IsSuccess() bool

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

func (*DeleteSessionForbidden) String

func (o *DeleteSessionForbidden) String() string

type DeleteSessionNoContent

type DeleteSessionNoContent struct {
}

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

Session has been deleted

func NewDeleteSessionNoContent

func NewDeleteSessionNoContent() *DeleteSessionNoContent

NewDeleteSessionNoContent creates a DeleteSessionNoContent with default headers values

func (*DeleteSessionNoContent) Code

func (o *DeleteSessionNoContent) Code() int

Code gets the status code for the delete session no content response

func (*DeleteSessionNoContent) Error

func (o *DeleteSessionNoContent) Error() string

func (*DeleteSessionNoContent) IsClientError

func (o *DeleteSessionNoContent) IsClientError() bool

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

func (*DeleteSessionNoContent) IsCode

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

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

func (*DeleteSessionNoContent) IsRedirect

func (o *DeleteSessionNoContent) IsRedirect() bool

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

func (*DeleteSessionNoContent) IsServerError

func (o *DeleteSessionNoContent) IsServerError() bool

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

func (*DeleteSessionNoContent) IsSuccess

func (o *DeleteSessionNoContent) IsSuccess() bool

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

func (*DeleteSessionNoContent) String

func (o *DeleteSessionNoContent) String() string

type DeleteSessionNotFound

type DeleteSessionNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteSessionNotFound

func NewDeleteSessionNotFound() *DeleteSessionNotFound

NewDeleteSessionNotFound creates a DeleteSessionNotFound with default headers values

func (*DeleteSessionNotFound) Code

func (o *DeleteSessionNotFound) Code() int

Code gets the status code for the delete session not found response

func (*DeleteSessionNotFound) Error

func (o *DeleteSessionNotFound) Error() string

func (*DeleteSessionNotFound) GetPayload

func (o *DeleteSessionNotFound) GetPayload() *models.Error

func (*DeleteSessionNotFound) IsClientError

func (o *DeleteSessionNotFound) IsClientError() bool

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

func (*DeleteSessionNotFound) IsCode

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

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

func (*DeleteSessionNotFound) IsRedirect

func (o *DeleteSessionNotFound) IsRedirect() bool

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

func (*DeleteSessionNotFound) IsServerError

func (o *DeleteSessionNotFound) IsServerError() bool

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

func (*DeleteSessionNotFound) IsSuccess

func (o *DeleteSessionNotFound) IsSuccess() bool

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

func (*DeleteSessionNotFound) String

func (o *DeleteSessionNotFound) String() string

type DeleteSessionParams

type DeleteSessionParams struct {

	/* SessionID.

	   Session id

	   Default: "default"
	*/
	SessionID string

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

DeleteSessionParams contains all the parameters to send to the API endpoint

for the delete session operation.

Typically these are written to a http.Request.

func NewDeleteSessionParams

func NewDeleteSessionParams() *DeleteSessionParams

NewDeleteSessionParams creates a new DeleteSessionParams 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 NewDeleteSessionParamsWithContext

func NewDeleteSessionParamsWithContext(ctx context.Context) *DeleteSessionParams

NewDeleteSessionParamsWithContext creates a new DeleteSessionParams object with the ability to set a context for a request.

func NewDeleteSessionParamsWithHTTPClient

func NewDeleteSessionParamsWithHTTPClient(client *http.Client) *DeleteSessionParams

NewDeleteSessionParamsWithHTTPClient creates a new DeleteSessionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSessionParamsWithTimeout

func NewDeleteSessionParamsWithTimeout(timeout time.Duration) *DeleteSessionParams

NewDeleteSessionParamsWithTimeout creates a new DeleteSessionParams object with the ability to set a timeout on a request.

func (*DeleteSessionParams) SetContext

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

SetContext adds the context to the delete session params

func (*DeleteSessionParams) SetDefaults

func (o *DeleteSessionParams) SetDefaults()

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

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

func (*DeleteSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) SetSessionID

func (o *DeleteSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the delete session params

func (*DeleteSessionParams) SetTimeout

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

SetTimeout adds the timeout to the delete session params

func (*DeleteSessionParams) WithContext

WithContext adds the context to the delete session params

func (*DeleteSessionParams) WithDefaults

func (o *DeleteSessionParams) WithDefaults() *DeleteSessionParams

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

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

func (*DeleteSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) WithSessionID

func (o *DeleteSessionParams) WithSessionID(sessionID string) *DeleteSessionParams

WithSessionID adds the sessionID to the delete session params

func (*DeleteSessionParams) WithTimeout

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

WithTimeout adds the timeout to the delete session params

func (*DeleteSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSessionReader

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

DeleteSessionReader is a Reader for the DeleteSession structure.

func (*DeleteSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSessionTooManyRequests

type DeleteSessionTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeleteSessionTooManyRequests

func NewDeleteSessionTooManyRequests() *DeleteSessionTooManyRequests

NewDeleteSessionTooManyRequests creates a DeleteSessionTooManyRequests with default headers values

func (*DeleteSessionTooManyRequests) Code

Code gets the status code for the delete session too many requests response

func (*DeleteSessionTooManyRequests) Error

func (*DeleteSessionTooManyRequests) GetPayload

func (o *DeleteSessionTooManyRequests) GetPayload() *models.Error

func (*DeleteSessionTooManyRequests) IsClientError

func (o *DeleteSessionTooManyRequests) IsClientError() bool

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

func (*DeleteSessionTooManyRequests) IsCode

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

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

func (*DeleteSessionTooManyRequests) IsRedirect

func (o *DeleteSessionTooManyRequests) IsRedirect() bool

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

func (*DeleteSessionTooManyRequests) IsServerError

func (o *DeleteSessionTooManyRequests) IsServerError() bool

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

func (*DeleteSessionTooManyRequests) IsSuccess

func (o *DeleteSessionTooManyRequests) IsSuccess() bool

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

func (*DeleteSessionTooManyRequests) String

type DeleteSessionUnauthorized

type DeleteSessionUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteSessionUnauthorized

func NewDeleteSessionUnauthorized() *DeleteSessionUnauthorized

NewDeleteSessionUnauthorized creates a DeleteSessionUnauthorized with default headers values

func (*DeleteSessionUnauthorized) Code

func (o *DeleteSessionUnauthorized) Code() int

Code gets the status code for the delete session unauthorized response

func (*DeleteSessionUnauthorized) Error

func (o *DeleteSessionUnauthorized) Error() string

func (*DeleteSessionUnauthorized) GetPayload

func (o *DeleteSessionUnauthorized) GetPayload() *models.Error

func (*DeleteSessionUnauthorized) IsClientError

func (o *DeleteSessionUnauthorized) IsClientError() bool

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

func (*DeleteSessionUnauthorized) IsCode

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

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

func (*DeleteSessionUnauthorized) IsRedirect

func (o *DeleteSessionUnauthorized) IsRedirect() bool

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

func (*DeleteSessionUnauthorized) IsServerError

func (o *DeleteSessionUnauthorized) IsServerError() bool

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

func (*DeleteSessionUnauthorized) IsSuccess

func (o *DeleteSessionUnauthorized) IsSuccess() bool

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

func (*DeleteSessionUnauthorized) String

func (o *DeleteSessionUnauthorized) String() string

type ListUserSessionsForbidden

type ListUserSessionsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListUserSessionsForbidden

func NewListUserSessionsForbidden() *ListUserSessionsForbidden

NewListUserSessionsForbidden creates a ListUserSessionsForbidden with default headers values

func (*ListUserSessionsForbidden) Code

func (o *ListUserSessionsForbidden) Code() int

Code gets the status code for the list user sessions forbidden response

func (*ListUserSessionsForbidden) Error

func (o *ListUserSessionsForbidden) Error() string

func (*ListUserSessionsForbidden) GetPayload

func (o *ListUserSessionsForbidden) GetPayload() *models.Error

func (*ListUserSessionsForbidden) IsClientError

func (o *ListUserSessionsForbidden) IsClientError() bool

IsClientError returns true when this list user sessions forbidden response has a 4xx status code

func (*ListUserSessionsForbidden) IsCode

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

IsCode returns true when this list user sessions forbidden response a status code equal to that given

func (*ListUserSessionsForbidden) IsRedirect

func (o *ListUserSessionsForbidden) IsRedirect() bool

IsRedirect returns true when this list user sessions forbidden response has a 3xx status code

func (*ListUserSessionsForbidden) IsServerError

func (o *ListUserSessionsForbidden) IsServerError() bool

IsServerError returns true when this list user sessions forbidden response has a 5xx status code

func (*ListUserSessionsForbidden) IsSuccess

func (o *ListUserSessionsForbidden) IsSuccess() bool

IsSuccess returns true when this list user sessions forbidden response has a 2xx status code

func (*ListUserSessionsForbidden) String

func (o *ListUserSessionsForbidden) String() string

type ListUserSessionsNotFound

type ListUserSessionsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListUserSessionsNotFound

func NewListUserSessionsNotFound() *ListUserSessionsNotFound

NewListUserSessionsNotFound creates a ListUserSessionsNotFound with default headers values

func (*ListUserSessionsNotFound) Code

func (o *ListUserSessionsNotFound) Code() int

Code gets the status code for the list user sessions not found response

func (*ListUserSessionsNotFound) Error

func (o *ListUserSessionsNotFound) Error() string

func (*ListUserSessionsNotFound) GetPayload

func (o *ListUserSessionsNotFound) GetPayload() *models.Error

func (*ListUserSessionsNotFound) IsClientError

func (o *ListUserSessionsNotFound) IsClientError() bool

IsClientError returns true when this list user sessions not found response has a 4xx status code

func (*ListUserSessionsNotFound) IsCode

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

IsCode returns true when this list user sessions not found response a status code equal to that given

func (*ListUserSessionsNotFound) IsRedirect

func (o *ListUserSessionsNotFound) IsRedirect() bool

IsRedirect returns true when this list user sessions not found response has a 3xx status code

func (*ListUserSessionsNotFound) IsServerError

func (o *ListUserSessionsNotFound) IsServerError() bool

IsServerError returns true when this list user sessions not found response has a 5xx status code

func (*ListUserSessionsNotFound) IsSuccess

func (o *ListUserSessionsNotFound) IsSuccess() bool

IsSuccess returns true when this list user sessions not found response has a 2xx status code

func (*ListUserSessionsNotFound) String

func (o *ListUserSessionsNotFound) String() string

type ListUserSessionsOK

type ListUserSessionsOK struct {
	Payload *models.ListUserSessions
}

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

User sessions

func NewListUserSessionsOK

func NewListUserSessionsOK() *ListUserSessionsOK

NewListUserSessionsOK creates a ListUserSessionsOK with default headers values

func (*ListUserSessionsOK) Code

func (o *ListUserSessionsOK) Code() int

Code gets the status code for the list user sessions o k response

func (*ListUserSessionsOK) Error

func (o *ListUserSessionsOK) Error() string

func (*ListUserSessionsOK) GetPayload

func (o *ListUserSessionsOK) GetPayload() *models.ListUserSessions

func (*ListUserSessionsOK) IsClientError

func (o *ListUserSessionsOK) IsClientError() bool

IsClientError returns true when this list user sessions o k response has a 4xx status code

func (*ListUserSessionsOK) IsCode

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

IsCode returns true when this list user sessions o k response a status code equal to that given

func (*ListUserSessionsOK) IsRedirect

func (o *ListUserSessionsOK) IsRedirect() bool

IsRedirect returns true when this list user sessions o k response has a 3xx status code

func (*ListUserSessionsOK) IsServerError

func (o *ListUserSessionsOK) IsServerError() bool

IsServerError returns true when this list user sessions o k response has a 5xx status code

func (*ListUserSessionsOK) IsSuccess

func (o *ListUserSessionsOK) IsSuccess() bool

IsSuccess returns true when this list user sessions o k response has a 2xx status code

func (*ListUserSessionsOK) String

func (o *ListUserSessionsOK) String() string

type ListUserSessionsParams

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

ListUserSessionsParams contains all the parameters to send to the API endpoint

for the list user sessions operation.

Typically these are written to a http.Request.

func NewListUserSessionsParams

func NewListUserSessionsParams() *ListUserSessionsParams

NewListUserSessionsParams creates a new ListUserSessionsParams 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 NewListUserSessionsParamsWithContext

func NewListUserSessionsParamsWithContext(ctx context.Context) *ListUserSessionsParams

NewListUserSessionsParamsWithContext creates a new ListUserSessionsParams object with the ability to set a context for a request.

func NewListUserSessionsParamsWithHTTPClient

func NewListUserSessionsParamsWithHTTPClient(client *http.Client) *ListUserSessionsParams

NewListUserSessionsParamsWithHTTPClient creates a new ListUserSessionsParams object with the ability to set a custom HTTPClient for a request.

func NewListUserSessionsParamsWithTimeout

func NewListUserSessionsParamsWithTimeout(timeout time.Duration) *ListUserSessionsParams

NewListUserSessionsParamsWithTimeout creates a new ListUserSessionsParams object with the ability to set a timeout on a request.

func (*ListUserSessionsParams) SetContext

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

SetContext adds the context to the list user sessions params

func (*ListUserSessionsParams) SetDefaults

func (o *ListUserSessionsParams) SetDefaults()

SetDefaults hydrates default values in the list user sessions params (not the query body).

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

func (*ListUserSessionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user sessions params

func (*ListUserSessionsParams) SetTimeout

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

SetTimeout adds the timeout to the list user sessions params

func (*ListUserSessionsParams) WithContext

WithContext adds the context to the list user sessions params

func (*ListUserSessionsParams) WithDefaults

WithDefaults hydrates default values in the list user sessions params (not the query body).

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

func (*ListUserSessionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list user sessions params

func (*ListUserSessionsParams) WithTimeout

WithTimeout adds the timeout to the list user sessions params

func (*ListUserSessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserSessionsReader

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

ListUserSessionsReader is a Reader for the ListUserSessions structure.

func (*ListUserSessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserSessionsTooManyRequests

type ListUserSessionsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListUserSessionsTooManyRequests

func NewListUserSessionsTooManyRequests() *ListUserSessionsTooManyRequests

NewListUserSessionsTooManyRequests creates a ListUserSessionsTooManyRequests with default headers values

func (*ListUserSessionsTooManyRequests) Code

Code gets the status code for the list user sessions too many requests response

func (*ListUserSessionsTooManyRequests) Error

func (*ListUserSessionsTooManyRequests) GetPayload

func (o *ListUserSessionsTooManyRequests) GetPayload() *models.Error

func (*ListUserSessionsTooManyRequests) IsClientError

func (o *ListUserSessionsTooManyRequests) IsClientError() bool

IsClientError returns true when this list user sessions too many requests response has a 4xx status code

func (*ListUserSessionsTooManyRequests) IsCode

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

IsCode returns true when this list user sessions too many requests response a status code equal to that given

func (*ListUserSessionsTooManyRequests) IsRedirect

func (o *ListUserSessionsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list user sessions too many requests response has a 3xx status code

func (*ListUserSessionsTooManyRequests) IsServerError

func (o *ListUserSessionsTooManyRequests) IsServerError() bool

IsServerError returns true when this list user sessions too many requests response has a 5xx status code

func (*ListUserSessionsTooManyRequests) IsSuccess

func (o *ListUserSessionsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list user sessions too many requests response has a 2xx status code

func (*ListUserSessionsTooManyRequests) String

type ListUserSessionsUnauthorized

type ListUserSessionsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListUserSessionsUnauthorized

func NewListUserSessionsUnauthorized() *ListUserSessionsUnauthorized

NewListUserSessionsUnauthorized creates a ListUserSessionsUnauthorized with default headers values

func (*ListUserSessionsUnauthorized) Code

Code gets the status code for the list user sessions unauthorized response

func (*ListUserSessionsUnauthorized) Error

func (*ListUserSessionsUnauthorized) GetPayload

func (o *ListUserSessionsUnauthorized) GetPayload() *models.Error

func (*ListUserSessionsUnauthorized) IsClientError

func (o *ListUserSessionsUnauthorized) IsClientError() bool

IsClientError returns true when this list user sessions unauthorized response has a 4xx status code

func (*ListUserSessionsUnauthorized) IsCode

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

IsCode returns true when this list user sessions unauthorized response a status code equal to that given

func (*ListUserSessionsUnauthorized) IsRedirect

func (o *ListUserSessionsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list user sessions unauthorized response has a 3xx status code

func (*ListUserSessionsUnauthorized) IsServerError

func (o *ListUserSessionsUnauthorized) IsServerError() bool

IsServerError returns true when this list user sessions unauthorized response has a 5xx status code

func (*ListUserSessionsUnauthorized) IsSuccess

func (o *ListUserSessionsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list user sessions unauthorized response has a 2xx status code

func (*ListUserSessionsUnauthorized) String

Jump to

Keyboard shortcuts

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