mfa

package
v0.0.0-...-6316459 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 11 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 mfa API

func (*Client) DeleteMFASession

func (a *Client) DeleteMFASession(params *DeleteMFASessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMFASessionNoContent, error)

DeleteMFASession deletes user m f a session

func (*Client) ListUserMFASessions

func (a *Client) ListUserMFASessions(params *ListUserMFASessionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserMFASessionsOK, error)

ListUserMFASessions lists user m f a sessions

user MFA 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 may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	DeleteMFASession(params *DeleteMFASessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMFASessionNoContent, error)

	ListUserMFASessions(params *ListUserMFASessionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserMFASessionsOK, 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 mfa API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new mfa API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new mfa API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DeleteMFASessionForbidden

type DeleteMFASessionForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteMFASessionForbidden

func NewDeleteMFASessionForbidden() *DeleteMFASessionForbidden

NewDeleteMFASessionForbidden creates a DeleteMFASessionForbidden with default headers values

func (*DeleteMFASessionForbidden) Code

func (o *DeleteMFASessionForbidden) Code() int

Code gets the status code for the delete m f a session forbidden response

func (*DeleteMFASessionForbidden) Error

func (o *DeleteMFASessionForbidden) Error() string

func (*DeleteMFASessionForbidden) GetPayload

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

func (*DeleteMFASessionForbidden) IsClientError

func (o *DeleteMFASessionForbidden) IsClientError() bool

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

func (*DeleteMFASessionForbidden) IsCode

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

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

func (*DeleteMFASessionForbidden) IsRedirect

func (o *DeleteMFASessionForbidden) IsRedirect() bool

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

func (*DeleteMFASessionForbidden) IsServerError

func (o *DeleteMFASessionForbidden) IsServerError() bool

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

func (*DeleteMFASessionForbidden) IsSuccess

func (o *DeleteMFASessionForbidden) IsSuccess() bool

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

func (*DeleteMFASessionForbidden) String

func (o *DeleteMFASessionForbidden) String() string

type DeleteMFASessionNoContent

type DeleteMFASessionNoContent struct {
}

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

MFA session has been deleted

func NewDeleteMFASessionNoContent

func NewDeleteMFASessionNoContent() *DeleteMFASessionNoContent

NewDeleteMFASessionNoContent creates a DeleteMFASessionNoContent with default headers values

func (*DeleteMFASessionNoContent) Code

func (o *DeleteMFASessionNoContent) Code() int

Code gets the status code for the delete m f a session no content response

func (*DeleteMFASessionNoContent) Error

func (o *DeleteMFASessionNoContent) Error() string

func (*DeleteMFASessionNoContent) IsClientError

func (o *DeleteMFASessionNoContent) IsClientError() bool

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

func (*DeleteMFASessionNoContent) IsCode

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

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

func (*DeleteMFASessionNoContent) IsRedirect

func (o *DeleteMFASessionNoContent) IsRedirect() bool

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

func (*DeleteMFASessionNoContent) IsServerError

func (o *DeleteMFASessionNoContent) IsServerError() bool

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

func (*DeleteMFASessionNoContent) IsSuccess

func (o *DeleteMFASessionNoContent) IsSuccess() bool

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

func (*DeleteMFASessionNoContent) String

func (o *DeleteMFASessionNoContent) String() string

type DeleteMFASessionNotFound

type DeleteMFASessionNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteMFASessionNotFound

func NewDeleteMFASessionNotFound() *DeleteMFASessionNotFound

NewDeleteMFASessionNotFound creates a DeleteMFASessionNotFound with default headers values

func (*DeleteMFASessionNotFound) Code

func (o *DeleteMFASessionNotFound) Code() int

Code gets the status code for the delete m f a session not found response

func (*DeleteMFASessionNotFound) Error

func (o *DeleteMFASessionNotFound) Error() string

func (*DeleteMFASessionNotFound) GetPayload

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

func (*DeleteMFASessionNotFound) IsClientError

func (o *DeleteMFASessionNotFound) IsClientError() bool

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

func (*DeleteMFASessionNotFound) IsCode

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

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

func (*DeleteMFASessionNotFound) IsRedirect

func (o *DeleteMFASessionNotFound) IsRedirect() bool

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

func (*DeleteMFASessionNotFound) IsServerError

func (o *DeleteMFASessionNotFound) IsServerError() bool

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

func (*DeleteMFASessionNotFound) IsSuccess

func (o *DeleteMFASessionNotFound) IsSuccess() bool

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

func (*DeleteMFASessionNotFound) String

func (o *DeleteMFASessionNotFound) String() string

type DeleteMFASessionParams

type DeleteMFASessionParams struct {

	/* MfaSessionID.

	   MFA session id

	   Default: "default"
	*/
	MfaSessionID string

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

DeleteMFASessionParams contains all the parameters to send to the API endpoint

for the delete m f a session operation.

Typically these are written to a http.Request.

func NewDeleteMFASessionParams

func NewDeleteMFASessionParams() *DeleteMFASessionParams

NewDeleteMFASessionParams creates a new DeleteMFASessionParams 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 NewDeleteMFASessionParamsWithContext

func NewDeleteMFASessionParamsWithContext(ctx context.Context) *DeleteMFASessionParams

NewDeleteMFASessionParamsWithContext creates a new DeleteMFASessionParams object with the ability to set a context for a request.

func NewDeleteMFASessionParamsWithHTTPClient

func NewDeleteMFASessionParamsWithHTTPClient(client *http.Client) *DeleteMFASessionParams

NewDeleteMFASessionParamsWithHTTPClient creates a new DeleteMFASessionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMFASessionParamsWithTimeout

func NewDeleteMFASessionParamsWithTimeout(timeout time.Duration) *DeleteMFASessionParams

NewDeleteMFASessionParamsWithTimeout creates a new DeleteMFASessionParams object with the ability to set a timeout on a request.

func (*DeleteMFASessionParams) SetContext

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

SetContext adds the context to the delete m f a session params

func (*DeleteMFASessionParams) SetDefaults

func (o *DeleteMFASessionParams) SetDefaults()

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

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

func (*DeleteMFASessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete m f a session params

func (*DeleteMFASessionParams) SetMfaSessionID

func (o *DeleteMFASessionParams) SetMfaSessionID(mfaSessionID string)

SetMfaSessionID adds the mfaSessionId to the delete m f a session params

func (*DeleteMFASessionParams) SetTimeout

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

SetTimeout adds the timeout to the delete m f a session params

func (*DeleteMFASessionParams) WithContext

WithContext adds the context to the delete m f a session params

func (*DeleteMFASessionParams) WithDefaults

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

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

func (*DeleteMFASessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete m f a session params

func (*DeleteMFASessionParams) WithMfaSessionID

func (o *DeleteMFASessionParams) WithMfaSessionID(mfaSessionID string) *DeleteMFASessionParams

WithMfaSessionID adds the mfaSessionID to the delete m f a session params

func (*DeleteMFASessionParams) WithTimeout

WithTimeout adds the timeout to the delete m f a session params

func (*DeleteMFASessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMFASessionReader

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

DeleteMFASessionReader is a Reader for the DeleteMFASession structure.

func (*DeleteMFASessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMFASessionTooManyRequests

type DeleteMFASessionTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeleteMFASessionTooManyRequests

func NewDeleteMFASessionTooManyRequests() *DeleteMFASessionTooManyRequests

NewDeleteMFASessionTooManyRequests creates a DeleteMFASessionTooManyRequests with default headers values

func (*DeleteMFASessionTooManyRequests) Code

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

func (*DeleteMFASessionTooManyRequests) Error

func (*DeleteMFASessionTooManyRequests) GetPayload

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

func (*DeleteMFASessionTooManyRequests) IsClientError

func (o *DeleteMFASessionTooManyRequests) IsClientError() bool

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

func (*DeleteMFASessionTooManyRequests) IsCode

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

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

func (*DeleteMFASessionTooManyRequests) IsRedirect

func (o *DeleteMFASessionTooManyRequests) IsRedirect() bool

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

func (*DeleteMFASessionTooManyRequests) IsServerError

func (o *DeleteMFASessionTooManyRequests) IsServerError() bool

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

func (*DeleteMFASessionTooManyRequests) IsSuccess

func (o *DeleteMFASessionTooManyRequests) IsSuccess() bool

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

func (*DeleteMFASessionTooManyRequests) String

type DeleteMFASessionUnauthorized

type DeleteMFASessionUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteMFASessionUnauthorized

func NewDeleteMFASessionUnauthorized() *DeleteMFASessionUnauthorized

NewDeleteMFASessionUnauthorized creates a DeleteMFASessionUnauthorized with default headers values

func (*DeleteMFASessionUnauthorized) Code

Code gets the status code for the delete m f a session unauthorized response

func (*DeleteMFASessionUnauthorized) Error

func (*DeleteMFASessionUnauthorized) GetPayload

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

func (*DeleteMFASessionUnauthorized) IsClientError

func (o *DeleteMFASessionUnauthorized) IsClientError() bool

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

func (*DeleteMFASessionUnauthorized) IsCode

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

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

func (*DeleteMFASessionUnauthorized) IsRedirect

func (o *DeleteMFASessionUnauthorized) IsRedirect() bool

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

func (*DeleteMFASessionUnauthorized) IsServerError

func (o *DeleteMFASessionUnauthorized) IsServerError() bool

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

func (*DeleteMFASessionUnauthorized) IsSuccess

func (o *DeleteMFASessionUnauthorized) IsSuccess() bool

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

func (*DeleteMFASessionUnauthorized) String

type ListUserMFASessionsForbidden

type ListUserMFASessionsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListUserMFASessionsForbidden

func NewListUserMFASessionsForbidden() *ListUserMFASessionsForbidden

NewListUserMFASessionsForbidden creates a ListUserMFASessionsForbidden with default headers values

func (*ListUserMFASessionsForbidden) Code

Code gets the status code for the list user m f a sessions forbidden response

func (*ListUserMFASessionsForbidden) Error

func (*ListUserMFASessionsForbidden) GetPayload

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

func (*ListUserMFASessionsForbidden) IsClientError

func (o *ListUserMFASessionsForbidden) IsClientError() bool

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

func (*ListUserMFASessionsForbidden) IsCode

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

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

func (*ListUserMFASessionsForbidden) IsRedirect

func (o *ListUserMFASessionsForbidden) IsRedirect() bool

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

func (*ListUserMFASessionsForbidden) IsServerError

func (o *ListUserMFASessionsForbidden) IsServerError() bool

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

func (*ListUserMFASessionsForbidden) IsSuccess

func (o *ListUserMFASessionsForbidden) IsSuccess() bool

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

func (*ListUserMFASessionsForbidden) String

type ListUserMFASessionsNotFound

type ListUserMFASessionsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListUserMFASessionsNotFound

func NewListUserMFASessionsNotFound() *ListUserMFASessionsNotFound

NewListUserMFASessionsNotFound creates a ListUserMFASessionsNotFound with default headers values

func (*ListUserMFASessionsNotFound) Code

func (o *ListUserMFASessionsNotFound) Code() int

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

func (*ListUserMFASessionsNotFound) Error

func (*ListUserMFASessionsNotFound) GetPayload

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

func (*ListUserMFASessionsNotFound) IsClientError

func (o *ListUserMFASessionsNotFound) IsClientError() bool

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

func (*ListUserMFASessionsNotFound) IsCode

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

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

func (*ListUserMFASessionsNotFound) IsRedirect

func (o *ListUserMFASessionsNotFound) IsRedirect() bool

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

func (*ListUserMFASessionsNotFound) IsServerError

func (o *ListUserMFASessionsNotFound) IsServerError() bool

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

func (*ListUserMFASessionsNotFound) IsSuccess

func (o *ListUserMFASessionsNotFound) IsSuccess() bool

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

func (*ListUserMFASessionsNotFound) String

func (o *ListUserMFASessionsNotFound) String() string

type ListUserMFASessionsOK

type ListUserMFASessionsOK struct {
	Payload *models.ListUserMFASessions
}

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

User MFA sessions

func NewListUserMFASessionsOK

func NewListUserMFASessionsOK() *ListUserMFASessionsOK

NewListUserMFASessionsOK creates a ListUserMFASessionsOK with default headers values

func (*ListUserMFASessionsOK) Code

func (o *ListUserMFASessionsOK) Code() int

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

func (*ListUserMFASessionsOK) Error

func (o *ListUserMFASessionsOK) Error() string

func (*ListUserMFASessionsOK) GetPayload

func (*ListUserMFASessionsOK) IsClientError

func (o *ListUserMFASessionsOK) IsClientError() bool

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

func (*ListUserMFASessionsOK) IsCode

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

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

func (*ListUserMFASessionsOK) IsRedirect

func (o *ListUserMFASessionsOK) IsRedirect() bool

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

func (*ListUserMFASessionsOK) IsServerError

func (o *ListUserMFASessionsOK) IsServerError() bool

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

func (*ListUserMFASessionsOK) IsSuccess

func (o *ListUserMFASessionsOK) IsSuccess() bool

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

func (*ListUserMFASessionsOK) String

func (o *ListUserMFASessionsOK) String() string

type ListUserMFASessionsParams

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

ListUserMFASessionsParams contains all the parameters to send to the API endpoint

for the list user m f a sessions operation.

Typically these are written to a http.Request.

func NewListUserMFASessionsParams

func NewListUserMFASessionsParams() *ListUserMFASessionsParams

NewListUserMFASessionsParams creates a new ListUserMFASessionsParams 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 NewListUserMFASessionsParamsWithContext

func NewListUserMFASessionsParamsWithContext(ctx context.Context) *ListUserMFASessionsParams

NewListUserMFASessionsParamsWithContext creates a new ListUserMFASessionsParams object with the ability to set a context for a request.

func NewListUserMFASessionsParamsWithHTTPClient

func NewListUserMFASessionsParamsWithHTTPClient(client *http.Client) *ListUserMFASessionsParams

NewListUserMFASessionsParamsWithHTTPClient creates a new ListUserMFASessionsParams object with the ability to set a custom HTTPClient for a request.

func NewListUserMFASessionsParamsWithTimeout

func NewListUserMFASessionsParamsWithTimeout(timeout time.Duration) *ListUserMFASessionsParams

NewListUserMFASessionsParamsWithTimeout creates a new ListUserMFASessionsParams object with the ability to set a timeout on a request.

func (*ListUserMFASessionsParams) SetContext

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

SetContext adds the context to the list user m f a sessions params

func (*ListUserMFASessionsParams) SetDefaults

func (o *ListUserMFASessionsParams) SetDefaults()

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

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

func (*ListUserMFASessionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user m f a sessions params

func (*ListUserMFASessionsParams) SetTimeout

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

SetTimeout adds the timeout to the list user m f a sessions params

func (*ListUserMFASessionsParams) WithContext

WithContext adds the context to the list user m f a sessions params

func (*ListUserMFASessionsParams) WithDefaults

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

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

func (*ListUserMFASessionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list user m f a sessions params

func (*ListUserMFASessionsParams) WithTimeout

WithTimeout adds the timeout to the list user m f a sessions params

func (*ListUserMFASessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserMFASessionsReader

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

ListUserMFASessionsReader is a Reader for the ListUserMFASessions structure.

func (*ListUserMFASessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserMFASessionsTooManyRequests

type ListUserMFASessionsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListUserMFASessionsTooManyRequests

func NewListUserMFASessionsTooManyRequests() *ListUserMFASessionsTooManyRequests

NewListUserMFASessionsTooManyRequests creates a ListUserMFASessionsTooManyRequests with default headers values

func (*ListUserMFASessionsTooManyRequests) Code

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

func (*ListUserMFASessionsTooManyRequests) Error

func (*ListUserMFASessionsTooManyRequests) GetPayload

func (*ListUserMFASessionsTooManyRequests) IsClientError

func (o *ListUserMFASessionsTooManyRequests) IsClientError() bool

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

func (*ListUserMFASessionsTooManyRequests) IsCode

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

func (*ListUserMFASessionsTooManyRequests) IsRedirect

func (o *ListUserMFASessionsTooManyRequests) IsRedirect() bool

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

func (*ListUserMFASessionsTooManyRequests) IsServerError

func (o *ListUserMFASessionsTooManyRequests) IsServerError() bool

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

func (*ListUserMFASessionsTooManyRequests) IsSuccess

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

func (*ListUserMFASessionsTooManyRequests) String

type ListUserMFASessionsUnauthorized

type ListUserMFASessionsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListUserMFASessionsUnauthorized

func NewListUserMFASessionsUnauthorized() *ListUserMFASessionsUnauthorized

NewListUserMFASessionsUnauthorized creates a ListUserMFASessionsUnauthorized with default headers values

func (*ListUserMFASessionsUnauthorized) Code

Code gets the status code for the list user m f a sessions unauthorized response

func (*ListUserMFASessionsUnauthorized) Error

func (*ListUserMFASessionsUnauthorized) GetPayload

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

func (*ListUserMFASessionsUnauthorized) IsClientError

func (o *ListUserMFASessionsUnauthorized) IsClientError() bool

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

func (*ListUserMFASessionsUnauthorized) IsCode

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

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

func (*ListUserMFASessionsUnauthorized) IsRedirect

func (o *ListUserMFASessionsUnauthorized) IsRedirect() bool

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

func (*ListUserMFASessionsUnauthorized) IsServerError

func (o *ListUserMFASessionsUnauthorized) IsServerError() bool

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

func (*ListUserMFASessionsUnauthorized) IsSuccess

func (o *ListUserMFASessionsUnauthorized) IsSuccess() bool

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

func (*ListUserMFASessionsUnauthorized) String

Jump to

Keyboard shortcuts

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