experimental

package
v1.38.14 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: BSD-3-Clause 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 experimental API

func (*Client) ExportUsers

func (a *Client) ExportUsers(params *ExportUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportUsersOK, error)

ExportUsers exports all database user credentials

Experimental: this endpoint may change or be removed without notice. Export every database (`db` user type) user's API-key credential for migration to another cluster. Strong-key users carry their argon2id key hash; imported/weak and revoked users are reported with a null hash and a status naming why they cannot be migrated. Root users only.

func (*Client) ImportUsers

func (a *Client) ImportUsers(params *ImportUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportUsersOK, error)

ImportUsers imports database user credentials

Experimental: this endpoint may change or be removed without notice. Recreate exported database (`db` user type) user credentials on this cluster under a target namespace. Each user is created with its original key hash so the source key keeps working. Returns a per-user result. Only strong-key records are importable. Root users only.

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 {
	ExportUsers(params *ExportUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportUsersOK, error)

	ImportUsers(params *ImportUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportUsersOK, 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 experimental API client.

type ExportUsersForbidden

type ExportUsersForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewExportUsersForbidden

func NewExportUsersForbidden() *ExportUsersForbidden

NewExportUsersForbidden creates a ExportUsersForbidden with default headers values

func (*ExportUsersForbidden) Code

func (o *ExportUsersForbidden) Code() int

Code gets the status code for the export users forbidden response

func (*ExportUsersForbidden) Error

func (o *ExportUsersForbidden) Error() string

func (*ExportUsersForbidden) GetPayload

func (o *ExportUsersForbidden) GetPayload() *models.ErrorResponse

func (*ExportUsersForbidden) IsClientError

func (o *ExportUsersForbidden) IsClientError() bool

IsClientError returns true when this export users forbidden response has a 4xx status code

func (*ExportUsersForbidden) IsCode

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

IsCode returns true when this export users forbidden response a status code equal to that given

func (*ExportUsersForbidden) IsRedirect

func (o *ExportUsersForbidden) IsRedirect() bool

IsRedirect returns true when this export users forbidden response has a 3xx status code

func (*ExportUsersForbidden) IsServerError

func (o *ExportUsersForbidden) IsServerError() bool

IsServerError returns true when this export users forbidden response has a 5xx status code

func (*ExportUsersForbidden) IsSuccess

func (o *ExportUsersForbidden) IsSuccess() bool

IsSuccess returns true when this export users forbidden response has a 2xx status code

func (*ExportUsersForbidden) String

func (o *ExportUsersForbidden) String() string

type ExportUsersInternalServerError

type ExportUsersInternalServerError struct {
	Payload *models.ErrorResponse
}

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

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewExportUsersInternalServerError

func NewExportUsersInternalServerError() *ExportUsersInternalServerError

NewExportUsersInternalServerError creates a ExportUsersInternalServerError with default headers values

func (*ExportUsersInternalServerError) Code

Code gets the status code for the export users internal server error response

func (*ExportUsersInternalServerError) Error

func (*ExportUsersInternalServerError) GetPayload

func (*ExportUsersInternalServerError) IsClientError

func (o *ExportUsersInternalServerError) IsClientError() bool

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

func (*ExportUsersInternalServerError) IsCode

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

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

func (*ExportUsersInternalServerError) IsRedirect

func (o *ExportUsersInternalServerError) IsRedirect() bool

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

func (*ExportUsersInternalServerError) IsServerError

func (o *ExportUsersInternalServerError) IsServerError() bool

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

func (*ExportUsersInternalServerError) IsSuccess

func (o *ExportUsersInternalServerError) IsSuccess() bool

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

func (*ExportUsersInternalServerError) String

type ExportUsersOK

type ExportUsersOK struct {
	Payload *models.UserExportResponse
}

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

The exported user credentials.

func NewExportUsersOK

func NewExportUsersOK() *ExportUsersOK

NewExportUsersOK creates a ExportUsersOK with default headers values

func (*ExportUsersOK) Code

func (o *ExportUsersOK) Code() int

Code gets the status code for the export users o k response

func (*ExportUsersOK) Error

func (o *ExportUsersOK) Error() string

func (*ExportUsersOK) GetPayload

func (o *ExportUsersOK) GetPayload() *models.UserExportResponse

func (*ExportUsersOK) IsClientError

func (o *ExportUsersOK) IsClientError() bool

IsClientError returns true when this export users o k response has a 4xx status code

func (*ExportUsersOK) IsCode

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

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

func (*ExportUsersOK) IsRedirect

func (o *ExportUsersOK) IsRedirect() bool

IsRedirect returns true when this export users o k response has a 3xx status code

func (*ExportUsersOK) IsServerError

func (o *ExportUsersOK) IsServerError() bool

IsServerError returns true when this export users o k response has a 5xx status code

func (*ExportUsersOK) IsSuccess

func (o *ExportUsersOK) IsSuccess() bool

IsSuccess returns true when this export users o k response has a 2xx status code

func (*ExportUsersOK) String

func (o *ExportUsersOK) String() string

type ExportUsersParams

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

ExportUsersParams contains all the parameters to send to the API endpoint

for the export users operation.

Typically these are written to a http.Request.

func NewExportUsersParams

func NewExportUsersParams() *ExportUsersParams

NewExportUsersParams creates a new ExportUsersParams 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 NewExportUsersParamsWithContext

func NewExportUsersParamsWithContext(ctx context.Context) *ExportUsersParams

NewExportUsersParamsWithContext creates a new ExportUsersParams object with the ability to set a context for a request.

func NewExportUsersParamsWithHTTPClient

func NewExportUsersParamsWithHTTPClient(client *http.Client) *ExportUsersParams

NewExportUsersParamsWithHTTPClient creates a new ExportUsersParams object with the ability to set a custom HTTPClient for a request.

func NewExportUsersParamsWithTimeout

func NewExportUsersParamsWithTimeout(timeout time.Duration) *ExportUsersParams

NewExportUsersParamsWithTimeout creates a new ExportUsersParams object with the ability to set a timeout on a request.

func (*ExportUsersParams) SetContext

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

SetContext adds the context to the export users params

func (*ExportUsersParams) SetDefaults

func (o *ExportUsersParams) SetDefaults()

SetDefaults hydrates default values in the export users params (not the query body).

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

func (*ExportUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export users params

func (*ExportUsersParams) SetTimeout

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

SetTimeout adds the timeout to the export users params

func (*ExportUsersParams) WithContext

func (o *ExportUsersParams) WithContext(ctx context.Context) *ExportUsersParams

WithContext adds the context to the export users params

func (*ExportUsersParams) WithDefaults

func (o *ExportUsersParams) WithDefaults() *ExportUsersParams

WithDefaults hydrates default values in the export users params (not the query body).

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

func (*ExportUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export users params

func (*ExportUsersParams) WithTimeout

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

WithTimeout adds the timeout to the export users params

func (*ExportUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ExportUsersReader

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

ExportUsersReader is a Reader for the ExportUsers structure.

func (*ExportUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportUsersUnauthorized

type ExportUsersUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewExportUsersUnauthorized

func NewExportUsersUnauthorized() *ExportUsersUnauthorized

NewExportUsersUnauthorized creates a ExportUsersUnauthorized with default headers values

func (*ExportUsersUnauthorized) Code

func (o *ExportUsersUnauthorized) Code() int

Code gets the status code for the export users unauthorized response

func (*ExportUsersUnauthorized) Error

func (o *ExportUsersUnauthorized) Error() string

func (*ExportUsersUnauthorized) IsClientError

func (o *ExportUsersUnauthorized) IsClientError() bool

IsClientError returns true when this export users unauthorized response has a 4xx status code

func (*ExportUsersUnauthorized) IsCode

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

IsCode returns true when this export users unauthorized response a status code equal to that given

func (*ExportUsersUnauthorized) IsRedirect

func (o *ExportUsersUnauthorized) IsRedirect() bool

IsRedirect returns true when this export users unauthorized response has a 3xx status code

func (*ExportUsersUnauthorized) IsServerError

func (o *ExportUsersUnauthorized) IsServerError() bool

IsServerError returns true when this export users unauthorized response has a 5xx status code

func (*ExportUsersUnauthorized) IsSuccess

func (o *ExportUsersUnauthorized) IsSuccess() bool

IsSuccess returns true when this export users unauthorized response has a 2xx status code

func (*ExportUsersUnauthorized) String

func (o *ExportUsersUnauthorized) String() string

type ExportUsersUnprocessableEntity

type ExportUsersUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

ExportUsersUnprocessableEntity describes a response with status code 422, with default header values.

The request syntax is correct, but the server couldn't process it due to semantic issues. Please check the values in your request.

func NewExportUsersUnprocessableEntity

func NewExportUsersUnprocessableEntity() *ExportUsersUnprocessableEntity

NewExportUsersUnprocessableEntity creates a ExportUsersUnprocessableEntity with default headers values

func (*ExportUsersUnprocessableEntity) Code

Code gets the status code for the export users unprocessable entity response

func (*ExportUsersUnprocessableEntity) Error

func (*ExportUsersUnprocessableEntity) GetPayload

func (*ExportUsersUnprocessableEntity) IsClientError

func (o *ExportUsersUnprocessableEntity) IsClientError() bool

IsClientError returns true when this export users unprocessable entity response has a 4xx status code

func (*ExportUsersUnprocessableEntity) IsCode

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

IsCode returns true when this export users unprocessable entity response a status code equal to that given

func (*ExportUsersUnprocessableEntity) IsRedirect

func (o *ExportUsersUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this export users unprocessable entity response has a 3xx status code

func (*ExportUsersUnprocessableEntity) IsServerError

func (o *ExportUsersUnprocessableEntity) IsServerError() bool

IsServerError returns true when this export users unprocessable entity response has a 5xx status code

func (*ExportUsersUnprocessableEntity) IsSuccess

func (o *ExportUsersUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this export users unprocessable entity response has a 2xx status code

func (*ExportUsersUnprocessableEntity) String

type ImportUsersBadRequest

type ImportUsersBadRequest struct {
	Payload *models.ErrorResponse
}

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

Malformed request.

func NewImportUsersBadRequest

func NewImportUsersBadRequest() *ImportUsersBadRequest

NewImportUsersBadRequest creates a ImportUsersBadRequest with default headers values

func (*ImportUsersBadRequest) Code

func (o *ImportUsersBadRequest) Code() int

Code gets the status code for the import users bad request response

func (*ImportUsersBadRequest) Error

func (o *ImportUsersBadRequest) Error() string

func (*ImportUsersBadRequest) GetPayload

func (o *ImportUsersBadRequest) GetPayload() *models.ErrorResponse

func (*ImportUsersBadRequest) IsClientError

func (o *ImportUsersBadRequest) IsClientError() bool

IsClientError returns true when this import users bad request response has a 4xx status code

func (*ImportUsersBadRequest) IsCode

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

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

func (*ImportUsersBadRequest) IsRedirect

func (o *ImportUsersBadRequest) IsRedirect() bool

IsRedirect returns true when this import users bad request response has a 3xx status code

func (*ImportUsersBadRequest) IsServerError

func (o *ImportUsersBadRequest) IsServerError() bool

IsServerError returns true when this import users bad request response has a 5xx status code

func (*ImportUsersBadRequest) IsSuccess

func (o *ImportUsersBadRequest) IsSuccess() bool

IsSuccess returns true when this import users bad request response has a 2xx status code

func (*ImportUsersBadRequest) String

func (o *ImportUsersBadRequest) String() string

type ImportUsersForbidden

type ImportUsersForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewImportUsersForbidden

func NewImportUsersForbidden() *ImportUsersForbidden

NewImportUsersForbidden creates a ImportUsersForbidden with default headers values

func (*ImportUsersForbidden) Code

func (o *ImportUsersForbidden) Code() int

Code gets the status code for the import users forbidden response

func (*ImportUsersForbidden) Error

func (o *ImportUsersForbidden) Error() string

func (*ImportUsersForbidden) GetPayload

func (o *ImportUsersForbidden) GetPayload() *models.ErrorResponse

func (*ImportUsersForbidden) IsClientError

func (o *ImportUsersForbidden) IsClientError() bool

IsClientError returns true when this import users forbidden response has a 4xx status code

func (*ImportUsersForbidden) IsCode

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

IsCode returns true when this import users forbidden response a status code equal to that given

func (*ImportUsersForbidden) IsRedirect

func (o *ImportUsersForbidden) IsRedirect() bool

IsRedirect returns true when this import users forbidden response has a 3xx status code

func (*ImportUsersForbidden) IsServerError

func (o *ImportUsersForbidden) IsServerError() bool

IsServerError returns true when this import users forbidden response has a 5xx status code

func (*ImportUsersForbidden) IsSuccess

func (o *ImportUsersForbidden) IsSuccess() bool

IsSuccess returns true when this import users forbidden response has a 2xx status code

func (*ImportUsersForbidden) String

func (o *ImportUsersForbidden) String() string

type ImportUsersInternalServerError

type ImportUsersInternalServerError struct {
	Payload *models.ErrorResponse
}

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

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewImportUsersInternalServerError

func NewImportUsersInternalServerError() *ImportUsersInternalServerError

NewImportUsersInternalServerError creates a ImportUsersInternalServerError with default headers values

func (*ImportUsersInternalServerError) Code

Code gets the status code for the import users internal server error response

func (*ImportUsersInternalServerError) Error

func (*ImportUsersInternalServerError) GetPayload

func (*ImportUsersInternalServerError) IsClientError

func (o *ImportUsersInternalServerError) IsClientError() bool

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

func (*ImportUsersInternalServerError) IsCode

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

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

func (*ImportUsersInternalServerError) IsRedirect

func (o *ImportUsersInternalServerError) IsRedirect() bool

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

func (*ImportUsersInternalServerError) IsServerError

func (o *ImportUsersInternalServerError) IsServerError() bool

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

func (*ImportUsersInternalServerError) IsSuccess

func (o *ImportUsersInternalServerError) IsSuccess() bool

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

func (*ImportUsersInternalServerError) String

type ImportUsersOK

type ImportUsersOK struct {
	Payload *models.UserImportResponse
}

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

The per-user import results.

func NewImportUsersOK

func NewImportUsersOK() *ImportUsersOK

NewImportUsersOK creates a ImportUsersOK with default headers values

func (*ImportUsersOK) Code

func (o *ImportUsersOK) Code() int

Code gets the status code for the import users o k response

func (*ImportUsersOK) Error

func (o *ImportUsersOK) Error() string

func (*ImportUsersOK) GetPayload

func (o *ImportUsersOK) GetPayload() *models.UserImportResponse

func (*ImportUsersOK) IsClientError

func (o *ImportUsersOK) IsClientError() bool

IsClientError returns true when this import users o k response has a 4xx status code

func (*ImportUsersOK) IsCode

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

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

func (*ImportUsersOK) IsRedirect

func (o *ImportUsersOK) IsRedirect() bool

IsRedirect returns true when this import users o k response has a 3xx status code

func (*ImportUsersOK) IsServerError

func (o *ImportUsersOK) IsServerError() bool

IsServerError returns true when this import users o k response has a 5xx status code

func (*ImportUsersOK) IsSuccess

func (o *ImportUsersOK) IsSuccess() bool

IsSuccess returns true when this import users o k response has a 2xx status code

func (*ImportUsersOK) String

func (o *ImportUsersOK) String() string

type ImportUsersParams

type ImportUsersParams struct {

	// Body.
	Body *models.UserImportRequest

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

ImportUsersParams contains all the parameters to send to the API endpoint

for the import users operation.

Typically these are written to a http.Request.

func NewImportUsersParams

func NewImportUsersParams() *ImportUsersParams

NewImportUsersParams creates a new ImportUsersParams 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 NewImportUsersParamsWithContext

func NewImportUsersParamsWithContext(ctx context.Context) *ImportUsersParams

NewImportUsersParamsWithContext creates a new ImportUsersParams object with the ability to set a context for a request.

func NewImportUsersParamsWithHTTPClient

func NewImportUsersParamsWithHTTPClient(client *http.Client) *ImportUsersParams

NewImportUsersParamsWithHTTPClient creates a new ImportUsersParams object with the ability to set a custom HTTPClient for a request.

func NewImportUsersParamsWithTimeout

func NewImportUsersParamsWithTimeout(timeout time.Duration) *ImportUsersParams

NewImportUsersParamsWithTimeout creates a new ImportUsersParams object with the ability to set a timeout on a request.

func (*ImportUsersParams) SetBody

func (o *ImportUsersParams) SetBody(body *models.UserImportRequest)

SetBody adds the body to the import users params

func (*ImportUsersParams) SetContext

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

SetContext adds the context to the import users params

func (*ImportUsersParams) SetDefaults

func (o *ImportUsersParams) SetDefaults()

SetDefaults hydrates default values in the import users params (not the query body).

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

func (*ImportUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import users params

func (*ImportUsersParams) SetTimeout

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

SetTimeout adds the timeout to the import users params

func (*ImportUsersParams) WithBody

WithBody adds the body to the import users params

func (*ImportUsersParams) WithContext

func (o *ImportUsersParams) WithContext(ctx context.Context) *ImportUsersParams

WithContext adds the context to the import users params

func (*ImportUsersParams) WithDefaults

func (o *ImportUsersParams) WithDefaults() *ImportUsersParams

WithDefaults hydrates default values in the import users params (not the query body).

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

func (*ImportUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import users params

func (*ImportUsersParams) WithTimeout

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

WithTimeout adds the timeout to the import users params

func (*ImportUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ImportUsersReader

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

ImportUsersReader is a Reader for the ImportUsers structure.

func (*ImportUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportUsersUnauthorized

type ImportUsersUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewImportUsersUnauthorized

func NewImportUsersUnauthorized() *ImportUsersUnauthorized

NewImportUsersUnauthorized creates a ImportUsersUnauthorized with default headers values

func (*ImportUsersUnauthorized) Code

func (o *ImportUsersUnauthorized) Code() int

Code gets the status code for the import users unauthorized response

func (*ImportUsersUnauthorized) Error

func (o *ImportUsersUnauthorized) Error() string

func (*ImportUsersUnauthorized) IsClientError

func (o *ImportUsersUnauthorized) IsClientError() bool

IsClientError returns true when this import users unauthorized response has a 4xx status code

func (*ImportUsersUnauthorized) IsCode

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

IsCode returns true when this import users unauthorized response a status code equal to that given

func (*ImportUsersUnauthorized) IsRedirect

func (o *ImportUsersUnauthorized) IsRedirect() bool

IsRedirect returns true when this import users unauthorized response has a 3xx status code

func (*ImportUsersUnauthorized) IsServerError

func (o *ImportUsersUnauthorized) IsServerError() bool

IsServerError returns true when this import users unauthorized response has a 5xx status code

func (*ImportUsersUnauthorized) IsSuccess

func (o *ImportUsersUnauthorized) IsSuccess() bool

IsSuccess returns true when this import users unauthorized response has a 2xx status code

func (*ImportUsersUnauthorized) String

func (o *ImportUsersUnauthorized) String() string

type ImportUsersUnprocessableEntity

type ImportUsersUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

ImportUsersUnprocessableEntity describes a response with status code 422, with default header values.

The request syntax is correct, but the server couldn't process it due to semantic issues. Please check the values in your request.

func NewImportUsersUnprocessableEntity

func NewImportUsersUnprocessableEntity() *ImportUsersUnprocessableEntity

NewImportUsersUnprocessableEntity creates a ImportUsersUnprocessableEntity with default headers values

func (*ImportUsersUnprocessableEntity) Code

Code gets the status code for the import users unprocessable entity response

func (*ImportUsersUnprocessableEntity) Error

func (*ImportUsersUnprocessableEntity) GetPayload

func (*ImportUsersUnprocessableEntity) IsClientError

func (o *ImportUsersUnprocessableEntity) IsClientError() bool

IsClientError returns true when this import users unprocessable entity response has a 4xx status code

func (*ImportUsersUnprocessableEntity) IsCode

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

IsCode returns true when this import users unprocessable entity response a status code equal to that given

func (*ImportUsersUnprocessableEntity) IsRedirect

func (o *ImportUsersUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this import users unprocessable entity response has a 3xx status code

func (*ImportUsersUnprocessableEntity) IsServerError

func (o *ImportUsersUnprocessableEntity) IsServerError() bool

IsServerError returns true when this import users unprocessable entity response has a 5xx status code

func (*ImportUsersUnprocessableEntity) IsSuccess

func (o *ImportUsersUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this import users unprocessable entity response has a 2xx status code

func (*ImportUsersUnprocessableEntity) String

Jump to

Keyboard shortcuts

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