users

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 13 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 {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

Client for users API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client

New creates a new users API client.

func (*Client) CreateUser

func (c *Client) CreateUser() *CreateUserRequest

Client.CreateUser creates a new CreateUserRequest object with the default values initialized.

func (*Client) CreateUserCredentials

func (c *Client) CreateUserCredentials() *CreateUserCredentialsRequest

Client.CreateUserCredentials creates a new CreateUserCredentialsRequest object with the default values initialized.

func (*Client) CreateUserRole

func (c *Client) CreateUserRole() *CreateUserRoleRequest

Client.CreateUserRole creates a new CreateUserRoleRequest object with the default values initialized.

func (*Client) DeleteUser

func (c *Client) DeleteUser() *DeleteUserRequest

Client.DeleteUser creates a new DeleteUserRequest object with the default values initialized.

func (*Client) DeleteUserCredential

func (c *Client) DeleteUserCredential() *DeleteUserCredentialRequest

Client.DeleteUserCredential creates a new DeleteUserCredentialRequest object with the default values initialized.

func (*Client) DeleteUserRole

func (c *Client) DeleteUserRole() *DeleteUserRoleRequest

Client.DeleteUserRole creates a new DeleteUserRoleRequest object with the default values initialized.

func (*Client) FetchPublicKeyForUser

func (c *Client) FetchPublicKeyForUser() *FetchPublicKeyForUserRequest

Client.FetchPublicKeyForUser creates a new FetchPublicKeyForUserRequest object with the default values initialized.

func (*Client) GetUser

func (c *Client) GetUser() *GetUserRequest

Client.GetUser creates a new GetUserRequest object with the default values initialized.

func (*Client) GetUserAces

func (c *Client) GetUserAces() *GetUserAcesRequest

Client.GetUserAces creates a new GetUserAcesRequest object with the default values initialized.

func (*Client) ListPublicKeysForUser

func (c *Client) ListPublicKeysForUser() *ListPublicKeysForUserRequest

Client.ListPublicKeysForUser creates a new ListPublicKeysForUserRequest object with the default values initialized.

func (*Client) ListUserCredentials

func (c *Client) ListUserCredentials() *ListUserCredentialsRequest

Client.ListUserCredentials creates a new ListUserCredentialsRequest object with the default values initialized.

func (*Client) ListUserRoles

func (c *Client) ListUserRoles() *ListUserRolesRequest

Client.ListUserRoles creates a new ListUserRolesRequest object with the default values initialized.

func (*Client) ListUsers

func (c *Client) ListUsers() *ListUsersRequest

Client.ListUsers creates a new ListUsersRequest object with the default values initialized.

func (*Client) ModifyUser

func (c *Client) ModifyUser() *ModifyUserRequest

Client.ModifyUser creates a new ModifyUserRequest object with the default values initialized.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateUserBadRequest

type CreateUserBadRequest struct {

	// isStream: false
	*models.APIError
}

CreateUserBadRequest handles this case with default header values.

Bad request

func NewCreateUserBadRequest

func NewCreateUserBadRequest() *CreateUserBadRequest

NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values

func (*CreateUserBadRequest) Code

func (o *CreateUserBadRequest) Code() int

Code gets the status code for the create user bad request response

func (*CreateUserBadRequest) Error

func (o *CreateUserBadRequest) Error() string

func (*CreateUserBadRequest) IsClientError

func (o *CreateUserBadRequest) IsClientError() bool

IsClientError returns true when this create user bad request response has a 4xx status code

func (*CreateUserBadRequest) IsCode

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

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

func (*CreateUserBadRequest) IsRedirect

func (o *CreateUserBadRequest) IsRedirect() bool

IsRedirect returns true when this create user bad request response has a 3xx status code

func (*CreateUserBadRequest) IsServerError

func (o *CreateUserBadRequest) IsServerError() bool

IsServerError returns true when this create user bad request response has a 5xx status code

func (*CreateUserBadRequest) IsSuccess

func (o *CreateUserBadRequest) IsSuccess() bool

IsSuccess returns true when this create user bad request response has a 2xx status code

type CreateUserConflict

type CreateUserConflict struct {

	// isStream: false
	*models.APIError
}

CreateUserConflict handles this case with default header values.

Conflict

func NewCreateUserConflict

func NewCreateUserConflict() *CreateUserConflict

NewCreateUserConflict creates a CreateUserConflict with default headers values

func (*CreateUserConflict) Code

func (o *CreateUserConflict) Code() int

Code gets the status code for the create user conflict response

func (*CreateUserConflict) Error

func (o *CreateUserConflict) Error() string

func (*CreateUserConflict) IsClientError

func (o *CreateUserConflict) IsClientError() bool

IsClientError returns true when this create user conflict response has a 4xx status code

func (*CreateUserConflict) IsCode

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

IsCode returns true when this create user conflict response a status code equal to that given

func (*CreateUserConflict) IsRedirect

func (o *CreateUserConflict) IsRedirect() bool

IsRedirect returns true when this create user conflict response has a 3xx status code

func (*CreateUserConflict) IsServerError

func (o *CreateUserConflict) IsServerError() bool

IsServerError returns true when this create user conflict response has a 5xx status code

func (*CreateUserConflict) IsSuccess

func (o *CreateUserConflict) IsSuccess() bool

IsSuccess returns true when this create user conflict response has a 2xx status code

type CreateUserCreated

type CreateUserCreated struct {

	// isStream: false
	*models.UserCreationResponse
}

CreateUserCreated handles this case with default header values.

User creation response

func NewCreateUserCreated

func NewCreateUserCreated() *CreateUserCreated

NewCreateUserCreated creates a CreateUserCreated with default headers values

func (*CreateUserCreated) Code

func (o *CreateUserCreated) Code() int

Code gets the status code for the create user created response

func (*CreateUserCreated) Error

func (o *CreateUserCreated) Error() string

func (*CreateUserCreated) IsClientError

func (o *CreateUserCreated) IsClientError() bool

IsClientError returns true when this create user created response has a 4xx status code

func (*CreateUserCreated) IsCode

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

IsCode returns true when this create user created response a status code equal to that given

func (*CreateUserCreated) IsRedirect

func (o *CreateUserCreated) IsRedirect() bool

IsRedirect returns true when this create user created response has a 3xx status code

func (*CreateUserCreated) IsServerError

func (o *CreateUserCreated) IsServerError() bool

IsServerError returns true when this create user created response has a 5xx status code

func (*CreateUserCreated) IsSuccess

func (o *CreateUserCreated) IsSuccess() bool

IsSuccess returns true when this create user created response has a 2xx status code

type CreateUserCredentialsCreated

type CreateUserCredentialsCreated struct {

	// isStream: false
	*models.CredentialCreationResponse
}

CreateUserCredentialsCreated handles this case with default header values.

Credential creation response

func NewCreateUserCredentialsCreated

func NewCreateUserCredentialsCreated() *CreateUserCredentialsCreated

NewCreateUserCredentialsCreated creates a CreateUserCredentialsCreated with default headers values

func (*CreateUserCredentialsCreated) Code

Code gets the status code for the create user credentials created response

func (*CreateUserCredentialsCreated) Error

func (*CreateUserCredentialsCreated) IsClientError

func (o *CreateUserCredentialsCreated) IsClientError() bool

IsClientError returns true when this create user credentials created response has a 4xx status code

func (*CreateUserCredentialsCreated) IsCode

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

IsCode returns true when this create user credentials created response a status code equal to that given

func (*CreateUserCredentialsCreated) IsRedirect

func (o *CreateUserCredentialsCreated) IsRedirect() bool

IsRedirect returns true when this create user credentials created response has a 3xx status code

func (*CreateUserCredentialsCreated) IsServerError

func (o *CreateUserCredentialsCreated) IsServerError() bool

IsServerError returns true when this create user credentials created response has a 5xx status code

func (*CreateUserCredentialsCreated) IsSuccess

func (o *CreateUserCredentialsCreated) IsSuccess() bool

IsSuccess returns true when this create user credentials created response has a 2xx status code

type CreateUserCredentialsNotFound

type CreateUserCredentialsNotFound struct {

	// isStream: false
	*models.APIError
}

CreateUserCredentialsNotFound handles this case with default header values.

Not Found

func NewCreateUserCredentialsNotFound

func NewCreateUserCredentialsNotFound() *CreateUserCredentialsNotFound

NewCreateUserCredentialsNotFound creates a CreateUserCredentialsNotFound with default headers values

func (*CreateUserCredentialsNotFound) Code

Code gets the status code for the create user credentials not found response

func (*CreateUserCredentialsNotFound) Error

func (*CreateUserCredentialsNotFound) IsClientError

func (o *CreateUserCredentialsNotFound) IsClientError() bool

IsClientError returns true when this create user credentials not found response has a 4xx status code

func (*CreateUserCredentialsNotFound) IsCode

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

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

func (*CreateUserCredentialsNotFound) IsRedirect

func (o *CreateUserCredentialsNotFound) IsRedirect() bool

IsRedirect returns true when this create user credentials not found response has a 3xx status code

func (*CreateUserCredentialsNotFound) IsServerError

func (o *CreateUserCredentialsNotFound) IsServerError() bool

IsServerError returns true when this create user credentials not found response has a 5xx status code

func (*CreateUserCredentialsNotFound) IsSuccess

func (o *CreateUserCredentialsNotFound) IsSuccess() bool

IsSuccess returns true when this create user credentials not found response has a 2xx status code

type CreateUserCredentialsReader

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

CreateUserCredentialsReader is a Reader for the CreateUserCredentials structure.

func (*CreateUserCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserCredentialsRequest

type CreateUserCredentialsRequest struct {
	UserID strfmt.UUID

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

func (*CreateUserCredentialsRequest) Do

create user credentials API

func (*CreateUserCredentialsRequest) FromJson

func (*CreateUserCredentialsRequest) MustDo

func (*CreateUserCredentialsRequest) WithContext

//////////////// WithContext adds the context to the create user credentials Request

func (*CreateUserCredentialsRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create user credentials Request

func (*CreateUserCredentialsRequest) WithUserID

func (*CreateUserCredentialsRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type CreateUserReader

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

CreateUserReader is a Reader for the CreateUser structure.

func (*CreateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserRequest

type CreateUserRequest struct {
	*models.UserCreation

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

func (*CreateUserRequest) Do

create user API

func (*CreateUserRequest) FromJson

func (o *CreateUserRequest) FromJson(j string) (*CreateUserRequest, error)

func (*CreateUserRequest) MustDo

func (a *CreateUserRequest) MustDo() *CreateUserCreated

func (*CreateUserRequest) WithContext

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

//////////////// WithContext adds the context to the create user Request

func (*CreateUserRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user Request

func (*CreateUserRequest) WithUserCreationRequest

func (o *CreateUserRequest) WithUserCreationRequest(userCreationRequest models.UserCreation) *CreateUserRequest

func (*CreateUserRequest) WithoutUserCreationRequest

func (o *CreateUserRequest) WithoutUserCreationRequest() *CreateUserRequest

func (*CreateUserRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type CreateUserRoleCreated

type CreateUserRoleCreated struct {
}

CreateUserRoleCreated handles this case with default header values.

Role set OK

func NewCreateUserRoleCreated

func NewCreateUserRoleCreated() *CreateUserRoleCreated

NewCreateUserRoleCreated creates a CreateUserRoleCreated with default headers values

func (*CreateUserRoleCreated) Code

func (o *CreateUserRoleCreated) Code() int

Code gets the status code for the create user role created response

func (*CreateUserRoleCreated) Error

func (o *CreateUserRoleCreated) Error() string

func (*CreateUserRoleCreated) IsClientError

func (o *CreateUserRoleCreated) IsClientError() bool

IsClientError returns true when this create user role created response has a 4xx status code

func (*CreateUserRoleCreated) IsCode

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

IsCode returns true when this create user role created response a status code equal to that given

func (*CreateUserRoleCreated) IsRedirect

func (o *CreateUserRoleCreated) IsRedirect() bool

IsRedirect returns true when this create user role created response has a 3xx status code

func (*CreateUserRoleCreated) IsServerError

func (o *CreateUserRoleCreated) IsServerError() bool

IsServerError returns true when this create user role created response has a 5xx status code

func (*CreateUserRoleCreated) IsSuccess

func (o *CreateUserRoleCreated) IsSuccess() bool

IsSuccess returns true when this create user role created response has a 2xx status code

type CreateUserRoleNotFound

type CreateUserRoleNotFound struct {

	// isStream: false
	*models.APIError
}

CreateUserRoleNotFound handles this case with default header values.

Not Found

func NewCreateUserRoleNotFound

func NewCreateUserRoleNotFound() *CreateUserRoleNotFound

NewCreateUserRoleNotFound creates a CreateUserRoleNotFound with default headers values

func (*CreateUserRoleNotFound) Code

func (o *CreateUserRoleNotFound) Code() int

Code gets the status code for the create user role not found response

func (*CreateUserRoleNotFound) Error

func (o *CreateUserRoleNotFound) Error() string

func (*CreateUserRoleNotFound) IsClientError

func (o *CreateUserRoleNotFound) IsClientError() bool

IsClientError returns true when this create user role not found response has a 4xx status code

func (*CreateUserRoleNotFound) IsCode

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

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

func (*CreateUserRoleNotFound) IsRedirect

func (o *CreateUserRoleNotFound) IsRedirect() bool

IsRedirect returns true when this create user role not found response has a 3xx status code

func (*CreateUserRoleNotFound) IsServerError

func (o *CreateUserRoleNotFound) IsServerError() bool

IsServerError returns true when this create user role not found response has a 5xx status code

func (*CreateUserRoleNotFound) IsSuccess

func (o *CreateUserRoleNotFound) IsSuccess() bool

IsSuccess returns true when this create user role not found response has a 2xx status code

type CreateUserRoleReader

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

CreateUserRoleReader is a Reader for the CreateUserRole structure.

func (*CreateUserRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserRoleRequest

type CreateUserRoleRequest struct {
	RoleID strfmt.UUID

	UserID strfmt.UUID

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

func (*CreateUserRoleRequest) Do

create user role API

func (*CreateUserRoleRequest) FromJson

func (*CreateUserRoleRequest) MustDo

func (*CreateUserRoleRequest) WithContext

//////////////// WithContext adds the context to the create user role Request

func (*CreateUserRoleRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user role Request

func (*CreateUserRoleRequest) WithRoleID

func (o *CreateUserRoleRequest) WithRoleID(roleID strfmt.UUID) *CreateUserRoleRequest

func (*CreateUserRoleRequest) WithUserID

func (o *CreateUserRoleRequest) WithUserID(userID strfmt.UUID) *CreateUserRoleRequest

func (*CreateUserRoleRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type DeleteUserConflict

type DeleteUserConflict struct {

	// isStream: false
	*models.APIError
}

DeleteUserConflict handles this case with default header values.

Conflict

func NewDeleteUserConflict

func NewDeleteUserConflict() *DeleteUserConflict

NewDeleteUserConflict creates a DeleteUserConflict with default headers values

func (*DeleteUserConflict) Code

func (o *DeleteUserConflict) Code() int

Code gets the status code for the delete user conflict response

func (*DeleteUserConflict) Error

func (o *DeleteUserConflict) Error() string

func (*DeleteUserConflict) IsClientError

func (o *DeleteUserConflict) IsClientError() bool

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

func (*DeleteUserConflict) IsCode

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

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

func (*DeleteUserConflict) IsRedirect

func (o *DeleteUserConflict) IsRedirect() bool

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

func (*DeleteUserConflict) IsServerError

func (o *DeleteUserConflict) IsServerError() bool

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

func (*DeleteUserConflict) IsSuccess

func (o *DeleteUserConflict) IsSuccess() bool

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

type DeleteUserCredentialNoContent

type DeleteUserCredentialNoContent struct {
}

DeleteUserCredentialNoContent handles this case with default header values.

Credential deleted

func NewDeleteUserCredentialNoContent

func NewDeleteUserCredentialNoContent() *DeleteUserCredentialNoContent

NewDeleteUserCredentialNoContent creates a DeleteUserCredentialNoContent with default headers values

func (*DeleteUserCredentialNoContent) Code

Code gets the status code for the delete user credential no content response

func (*DeleteUserCredentialNoContent) Error

func (*DeleteUserCredentialNoContent) IsClientError

func (o *DeleteUserCredentialNoContent) IsClientError() bool

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

func (*DeleteUserCredentialNoContent) IsCode

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

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

func (*DeleteUserCredentialNoContent) IsRedirect

func (o *DeleteUserCredentialNoContent) IsRedirect() bool

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

func (*DeleteUserCredentialNoContent) IsServerError

func (o *DeleteUserCredentialNoContent) IsServerError() bool

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

func (*DeleteUserCredentialNoContent) IsSuccess

func (o *DeleteUserCredentialNoContent) IsSuccess() bool

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

type DeleteUserCredentialNotFound

type DeleteUserCredentialNotFound struct {

	// isStream: false
	*models.APIError
}

DeleteUserCredentialNotFound handles this case with default header values.

Not Found

func NewDeleteUserCredentialNotFound

func NewDeleteUserCredentialNotFound() *DeleteUserCredentialNotFound

NewDeleteUserCredentialNotFound creates a DeleteUserCredentialNotFound with default headers values

func (*DeleteUserCredentialNotFound) Code

Code gets the status code for the delete user credential not found response

func (*DeleteUserCredentialNotFound) Error

func (*DeleteUserCredentialNotFound) IsClientError

func (o *DeleteUserCredentialNotFound) IsClientError() bool

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

func (*DeleteUserCredentialNotFound) IsCode

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

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

func (*DeleteUserCredentialNotFound) IsRedirect

func (o *DeleteUserCredentialNotFound) IsRedirect() bool

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

func (*DeleteUserCredentialNotFound) IsServerError

func (o *DeleteUserCredentialNotFound) IsServerError() bool

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

func (*DeleteUserCredentialNotFound) IsSuccess

func (o *DeleteUserCredentialNotFound) IsSuccess() bool

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

type DeleteUserCredentialReader

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

DeleteUserCredentialReader is a Reader for the DeleteUserCredential structure.

func (*DeleteUserCredentialReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserCredentialRequest

type DeleteUserCredentialRequest struct {
	ClientID string

	UserID strfmt.UUID

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

func (*DeleteUserCredentialRequest) Do

delete user credential API

func (*DeleteUserCredentialRequest) FromJson

func (*DeleteUserCredentialRequest) MustDo

func (*DeleteUserCredentialRequest) WithClientID

func (*DeleteUserCredentialRequest) WithContext

//////////////// WithContext adds the context to the delete user credential Request

func (*DeleteUserCredentialRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user credential Request

func (*DeleteUserCredentialRequest) WithUserID

func (*DeleteUserCredentialRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type DeleteUserNoContent

type DeleteUserNoContent struct {
}

DeleteUserNoContent handles this case with default header values.

User deleted

func NewDeleteUserNoContent

func NewDeleteUserNoContent() *DeleteUserNoContent

NewDeleteUserNoContent creates a DeleteUserNoContent with default headers values

func (*DeleteUserNoContent) Code

func (o *DeleteUserNoContent) Code() int

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

func (*DeleteUserNoContent) Error

func (o *DeleteUserNoContent) Error() string

func (*DeleteUserNoContent) IsClientError

func (o *DeleteUserNoContent) IsClientError() bool

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

func (*DeleteUserNoContent) IsCode

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

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

func (*DeleteUserNoContent) IsRedirect

func (o *DeleteUserNoContent) IsRedirect() bool

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

func (*DeleteUserNoContent) IsServerError

func (o *DeleteUserNoContent) IsServerError() bool

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

func (*DeleteUserNoContent) IsSuccess

func (o *DeleteUserNoContent) IsSuccess() bool

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

type DeleteUserNotFound

type DeleteUserNotFound struct {

	// isStream: false
	*models.APIError
}

DeleteUserNotFound handles this case with default header values.

Not Found

func NewDeleteUserNotFound

func NewDeleteUserNotFound() *DeleteUserNotFound

NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values

func (*DeleteUserNotFound) Code

func (o *DeleteUserNotFound) Code() int

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

func (*DeleteUserNotFound) Error

func (o *DeleteUserNotFound) Error() string

func (*DeleteUserNotFound) IsClientError

func (o *DeleteUserNotFound) IsClientError() bool

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

func (*DeleteUserNotFound) IsCode

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

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

func (*DeleteUserNotFound) IsRedirect

func (o *DeleteUserNotFound) IsRedirect() bool

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

func (*DeleteUserNotFound) IsServerError

func (o *DeleteUserNotFound) IsServerError() bool

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

func (*DeleteUserNotFound) IsSuccess

func (o *DeleteUserNotFound) IsSuccess() bool

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

type DeleteUserReader

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

DeleteUserReader is a Reader for the DeleteUser structure.

func (*DeleteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserRequest

type DeleteUserRequest struct {
	UserID strfmt.UUID

	Version int64

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

func (*DeleteUserRequest) Do

delete user API

func (*DeleteUserRequest) FromJson

func (o *DeleteUserRequest) FromJson(j string) (*DeleteUserRequest, error)

func (*DeleteUserRequest) MustDo

func (*DeleteUserRequest) WithContext

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

//////////////// WithContext adds the context to the delete user Request

func (*DeleteUserRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user Request

func (*DeleteUserRequest) WithUserID

func (o *DeleteUserRequest) WithUserID(userID strfmt.UUID) *DeleteUserRequest

func (*DeleteUserRequest) WithVersion

func (o *DeleteUserRequest) WithVersion(version int64) *DeleteUserRequest

func (*DeleteUserRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type DeleteUserRoleNoContent

type DeleteUserRoleNoContent struct {
}

DeleteUserRoleNoContent handles this case with default header values.

User role deleted OK

func NewDeleteUserRoleNoContent

func NewDeleteUserRoleNoContent() *DeleteUserRoleNoContent

NewDeleteUserRoleNoContent creates a DeleteUserRoleNoContent with default headers values

func (*DeleteUserRoleNoContent) Code

func (o *DeleteUserRoleNoContent) Code() int

Code gets the status code for the delete user role no content response

func (*DeleteUserRoleNoContent) Error

func (o *DeleteUserRoleNoContent) Error() string

func (*DeleteUserRoleNoContent) IsClientError

func (o *DeleteUserRoleNoContent) IsClientError() bool

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

func (*DeleteUserRoleNoContent) IsCode

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

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

func (*DeleteUserRoleNoContent) IsRedirect

func (o *DeleteUserRoleNoContent) IsRedirect() bool

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

func (*DeleteUserRoleNoContent) IsServerError

func (o *DeleteUserRoleNoContent) IsServerError() bool

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

func (*DeleteUserRoleNoContent) IsSuccess

func (o *DeleteUserRoleNoContent) IsSuccess() bool

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

type DeleteUserRoleNotFound

type DeleteUserRoleNotFound struct {

	// isStream: false
	*models.APIError
}

DeleteUserRoleNotFound handles this case with default header values.

Not Found

func NewDeleteUserRoleNotFound

func NewDeleteUserRoleNotFound() *DeleteUserRoleNotFound

NewDeleteUserRoleNotFound creates a DeleteUserRoleNotFound with default headers values

func (*DeleteUserRoleNotFound) Code

func (o *DeleteUserRoleNotFound) Code() int

Code gets the status code for the delete user role not found response

func (*DeleteUserRoleNotFound) Error

func (o *DeleteUserRoleNotFound) Error() string

func (*DeleteUserRoleNotFound) IsClientError

func (o *DeleteUserRoleNotFound) IsClientError() bool

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

func (*DeleteUserRoleNotFound) IsCode

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

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

func (*DeleteUserRoleNotFound) IsRedirect

func (o *DeleteUserRoleNotFound) IsRedirect() bool

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

func (*DeleteUserRoleNotFound) IsServerError

func (o *DeleteUserRoleNotFound) IsServerError() bool

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

func (*DeleteUserRoleNotFound) IsSuccess

func (o *DeleteUserRoleNotFound) IsSuccess() bool

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

type DeleteUserRoleReader

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

DeleteUserRoleReader is a Reader for the DeleteUserRole structure.

func (*DeleteUserRoleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserRoleRequest

type DeleteUserRoleRequest struct {
	RoleID strfmt.UUID

	UserID strfmt.UUID

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

func (*DeleteUserRoleRequest) Do

delete user role API

func (*DeleteUserRoleRequest) FromJson

func (*DeleteUserRoleRequest) MustDo

func (*DeleteUserRoleRequest) WithContext

//////////////// WithContext adds the context to the delete user role Request

func (*DeleteUserRoleRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user role Request

func (*DeleteUserRoleRequest) WithRoleID

func (o *DeleteUserRoleRequest) WithRoleID(roleID strfmt.UUID) *DeleteUserRoleRequest

func (*DeleteUserRoleRequest) WithUserID

func (o *DeleteUserRoleRequest) WithUserID(userID strfmt.UUID) *DeleteUserRoleRequest

func (*DeleteUserRoleRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type FetchPublicKeyForUserNotFound

type FetchPublicKeyForUserNotFound struct {

	// isStream: false
	*models.APIError
}

FetchPublicKeyForUserNotFound handles this case with default header values.

Not Found

func NewFetchPublicKeyForUserNotFound

func NewFetchPublicKeyForUserNotFound() *FetchPublicKeyForUserNotFound

NewFetchPublicKeyForUserNotFound creates a FetchPublicKeyForUserNotFound with default headers values

func (*FetchPublicKeyForUserNotFound) Code

Code gets the status code for the fetch public key for user not found response

func (*FetchPublicKeyForUserNotFound) Error

func (*FetchPublicKeyForUserNotFound) IsClientError

func (o *FetchPublicKeyForUserNotFound) IsClientError() bool

IsClientError returns true when this fetch public key for user not found response has a 4xx status code

func (*FetchPublicKeyForUserNotFound) IsCode

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

IsCode returns true when this fetch public key for user not found response a status code equal to that given

func (*FetchPublicKeyForUserNotFound) IsRedirect

func (o *FetchPublicKeyForUserNotFound) IsRedirect() bool

IsRedirect returns true when this fetch public key for user not found response has a 3xx status code

func (*FetchPublicKeyForUserNotFound) IsServerError

func (o *FetchPublicKeyForUserNotFound) IsServerError() bool

IsServerError returns true when this fetch public key for user not found response has a 5xx status code

func (*FetchPublicKeyForUserNotFound) IsSuccess

func (o *FetchPublicKeyForUserNotFound) IsSuccess() bool

IsSuccess returns true when this fetch public key for user not found response has a 2xx status code

type FetchPublicKeyForUserOK

type FetchPublicKeyForUserOK struct {

	// isStream: false
	*models.PublicKeyResponse
}

FetchPublicKeyForUserOK handles this case with default header values.

Public key

func NewFetchPublicKeyForUserOK

func NewFetchPublicKeyForUserOK() *FetchPublicKeyForUserOK

NewFetchPublicKeyForUserOK creates a FetchPublicKeyForUserOK with default headers values

func (*FetchPublicKeyForUserOK) Code

func (o *FetchPublicKeyForUserOK) Code() int

Code gets the status code for the fetch public key for user o k response

func (*FetchPublicKeyForUserOK) Error

func (o *FetchPublicKeyForUserOK) Error() string

func (*FetchPublicKeyForUserOK) IsClientError

func (o *FetchPublicKeyForUserOK) IsClientError() bool

IsClientError returns true when this fetch public key for user o k response has a 4xx status code

func (*FetchPublicKeyForUserOK) IsCode

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

IsCode returns true when this fetch public key for user o k response a status code equal to that given

func (*FetchPublicKeyForUserOK) IsRedirect

func (o *FetchPublicKeyForUserOK) IsRedirect() bool

IsRedirect returns true when this fetch public key for user o k response has a 3xx status code

func (*FetchPublicKeyForUserOK) IsServerError

func (o *FetchPublicKeyForUserOK) IsServerError() bool

IsServerError returns true when this fetch public key for user o k response has a 5xx status code

func (*FetchPublicKeyForUserOK) IsSuccess

func (o *FetchPublicKeyForUserOK) IsSuccess() bool

IsSuccess returns true when this fetch public key for user o k response has a 2xx status code

type FetchPublicKeyForUserReader

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

FetchPublicKeyForUserReader is a Reader for the FetchPublicKeyForUser structure.

func (*FetchPublicKeyForUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FetchPublicKeyForUserRequest

type FetchPublicKeyForUserRequest struct {
	PublicKeyID strfmt.UUID

	UserID strfmt.UUID

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

func (*FetchPublicKeyForUserRequest) Do

fetch public key for user API

func (*FetchPublicKeyForUserRequest) FromJson

func (*FetchPublicKeyForUserRequest) MustDo

func (*FetchPublicKeyForUserRequest) WithContext

//////////////// WithContext adds the context to the fetch public key for user Request

func (*FetchPublicKeyForUserRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the fetch public key for user Request

func (*FetchPublicKeyForUserRequest) WithPublicKeyID

func (o *FetchPublicKeyForUserRequest) WithPublicKeyID(publicKeyID strfmt.UUID) *FetchPublicKeyForUserRequest

func (*FetchPublicKeyForUserRequest) WithUserID

func (*FetchPublicKeyForUserRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type GetUserAcesNotFound

type GetUserAcesNotFound struct {

	// isStream: false
	*models.APIError
}

GetUserAcesNotFound handles this case with default header values.

Not Found

func NewGetUserAcesNotFound

func NewGetUserAcesNotFound() *GetUserAcesNotFound

NewGetUserAcesNotFound creates a GetUserAcesNotFound with default headers values

func (*GetUserAcesNotFound) Code

func (o *GetUserAcesNotFound) Code() int

Code gets the status code for the get user aces not found response

func (*GetUserAcesNotFound) Error

func (o *GetUserAcesNotFound) Error() string

func (*GetUserAcesNotFound) IsClientError

func (o *GetUserAcesNotFound) IsClientError() bool

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

func (*GetUserAcesNotFound) IsCode

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

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

func (*GetUserAcesNotFound) IsRedirect

func (o *GetUserAcesNotFound) IsRedirect() bool

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

func (*GetUserAcesNotFound) IsServerError

func (o *GetUserAcesNotFound) IsServerError() bool

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

func (*GetUserAcesNotFound) IsSuccess

func (o *GetUserAcesNotFound) IsSuccess() bool

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

type GetUserAcesOK

type GetUserAcesOK struct {

	// isStream: false
	*models.AceDetailsListResponse
}

GetUserAcesOK handles this case with default header values.

List of access control entries for this user

func NewGetUserAcesOK

func NewGetUserAcesOK() *GetUserAcesOK

NewGetUserAcesOK creates a GetUserAcesOK with default headers values

func (*GetUserAcesOK) Code

func (o *GetUserAcesOK) Code() int

Code gets the status code for the get user aces o k response

func (*GetUserAcesOK) Error

func (o *GetUserAcesOK) Error() string

func (*GetUserAcesOK) IsClientError

func (o *GetUserAcesOK) IsClientError() bool

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

func (*GetUserAcesOK) IsCode

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

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

func (*GetUserAcesOK) IsRedirect

func (o *GetUserAcesOK) IsRedirect() bool

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

func (*GetUserAcesOK) IsServerError

func (o *GetUserAcesOK) IsServerError() bool

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

func (*GetUserAcesOK) IsSuccess

func (o *GetUserAcesOK) IsSuccess() bool

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

type GetUserAcesReader

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

GetUserAcesReader is a Reader for the GetUserAces structure.

func (*GetUserAcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserAcesRequest

type GetUserAcesRequest struct {
	FilterAction *string

	FilterRecordType *string

	UserID strfmt.UUID

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

func (*GetUserAcesRequest) Do

get user aces API

func (*GetUserAcesRequest) FromJson

func (*GetUserAcesRequest) MustDo

func (a *GetUserAcesRequest) MustDo() *GetUserAcesOK

func (*GetUserAcesRequest) WithContext

//////////////// WithContext adds the context to the get user aces Request

func (*GetUserAcesRequest) WithFilterAction

func (o *GetUserAcesRequest) WithFilterAction(filterAction string) *GetUserAcesRequest

func (*GetUserAcesRequest) WithFilterRecordType

func (o *GetUserAcesRequest) WithFilterRecordType(filterRecordType string) *GetUserAcesRequest

func (*GetUserAcesRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user aces Request

func (*GetUserAcesRequest) WithUserID

func (o *GetUserAcesRequest) WithUserID(userID strfmt.UUID) *GetUserAcesRequest

func (*GetUserAcesRequest) WithoutFilterAction

func (o *GetUserAcesRequest) WithoutFilterAction() *GetUserAcesRequest

func (*GetUserAcesRequest) WithoutFilterRecordType

func (o *GetUserAcesRequest) WithoutFilterRecordType() *GetUserAcesRequest

func (*GetUserAcesRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type GetUserNotFound

type GetUserNotFound struct {

	// isStream: false
	*models.APIError
}

GetUserNotFound handles this case with default header values.

Not Found

func NewGetUserNotFound

func NewGetUserNotFound() *GetUserNotFound

NewGetUserNotFound creates a GetUserNotFound with default headers values

func (*GetUserNotFound) Code

func (o *GetUserNotFound) Code() int

Code gets the status code for the get user not found response

func (*GetUserNotFound) Error

func (o *GetUserNotFound) Error() string

func (*GetUserNotFound) IsClientError

func (o *GetUserNotFound) IsClientError() bool

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

func (*GetUserNotFound) IsCode

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

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

func (*GetUserNotFound) IsRedirect

func (o *GetUserNotFound) IsRedirect() bool

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

func (*GetUserNotFound) IsServerError

func (o *GetUserNotFound) IsServerError() bool

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

func (*GetUserNotFound) IsSuccess

func (o *GetUserNotFound) IsSuccess() bool

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

type GetUserOK

type GetUserOK struct {

	// isStream: false
	*models.UserDetailsResponse
}

GetUserOK handles this case with default header values.

User details

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Code

func (o *GetUserOK) Code() int

Code gets the status code for the get user o k response

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) IsClientError

func (o *GetUserOK) IsClientError() bool

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

func (*GetUserOK) IsCode

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

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

func (*GetUserOK) IsRedirect

func (o *GetUserOK) IsRedirect() bool

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

func (*GetUserOK) IsServerError

func (o *GetUserOK) IsServerError() bool

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

func (*GetUserOK) IsSuccess

func (o *GetUserOK) IsSuccess() bool

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

type GetUserReader

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

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserRequest

type GetUserRequest struct {
	UserID strfmt.UUID

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

func (*GetUserRequest) Do

func (a *GetUserRequest) Do() (*GetUserOK, error)

get user API

func (*GetUserRequest) FromJson

func (o *GetUserRequest) FromJson(j string) (*GetUserRequest, error)

func (*GetUserRequest) MustDo

func (a *GetUserRequest) MustDo() *GetUserOK

func (*GetUserRequest) WithContext

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

//////////////// WithContext adds the context to the get user Request

func (*GetUserRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user Request

func (*GetUserRequest) WithUserID

func (o *GetUserRequest) WithUserID(userID strfmt.UUID) *GetUserRequest

func (*GetUserRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type ListPublicKeysForUserNotFound

type ListPublicKeysForUserNotFound struct {

	// isStream: false
	*models.APIError
}

ListPublicKeysForUserNotFound handles this case with default header values.

Not Found

func NewListPublicKeysForUserNotFound

func NewListPublicKeysForUserNotFound() *ListPublicKeysForUserNotFound

NewListPublicKeysForUserNotFound creates a ListPublicKeysForUserNotFound with default headers values

func (*ListPublicKeysForUserNotFound) Code

Code gets the status code for the list public keys for user not found response

func (*ListPublicKeysForUserNotFound) Error

func (*ListPublicKeysForUserNotFound) IsClientError

func (o *ListPublicKeysForUserNotFound) IsClientError() bool

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

func (*ListPublicKeysForUserNotFound) IsCode

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

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

func (*ListPublicKeysForUserNotFound) IsRedirect

func (o *ListPublicKeysForUserNotFound) IsRedirect() bool

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

func (*ListPublicKeysForUserNotFound) IsServerError

func (o *ListPublicKeysForUserNotFound) IsServerError() bool

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

func (*ListPublicKeysForUserNotFound) IsSuccess

func (o *ListPublicKeysForUserNotFound) IsSuccess() bool

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

type ListPublicKeysForUserOK

type ListPublicKeysForUserOK struct {

	// isStream: false
	*models.PublicKeysListResponse
}

ListPublicKeysForUserOK handles this case with default header values.

List of all public keys for given user

func NewListPublicKeysForUserOK

func NewListPublicKeysForUserOK() *ListPublicKeysForUserOK

NewListPublicKeysForUserOK creates a ListPublicKeysForUserOK with default headers values

func (*ListPublicKeysForUserOK) Code

func (o *ListPublicKeysForUserOK) Code() int

Code gets the status code for the list public keys for user o k response

func (*ListPublicKeysForUserOK) Error

func (o *ListPublicKeysForUserOK) Error() string

func (*ListPublicKeysForUserOK) IsClientError

func (o *ListPublicKeysForUserOK) IsClientError() bool

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

func (*ListPublicKeysForUserOK) IsCode

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

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

func (*ListPublicKeysForUserOK) IsRedirect

func (o *ListPublicKeysForUserOK) IsRedirect() bool

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

func (*ListPublicKeysForUserOK) IsServerError

func (o *ListPublicKeysForUserOK) IsServerError() bool

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

func (*ListPublicKeysForUserOK) IsSuccess

func (o *ListPublicKeysForUserOK) IsSuccess() bool

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

type ListPublicKeysForUserReader

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

ListPublicKeysForUserReader is a Reader for the ListPublicKeysForUser structure.

func (*ListPublicKeysForUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPublicKeysForUserRequest

type ListPublicKeysForUserRequest struct {
	UserID strfmt.UUID

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

func (*ListPublicKeysForUserRequest) Do

list public keys for user API

func (*ListPublicKeysForUserRequest) FromJson

func (*ListPublicKeysForUserRequest) MustDo

func (*ListPublicKeysForUserRequest) WithContext

//////////////// WithContext adds the context to the list public keys for user Request

func (*ListPublicKeysForUserRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list public keys for user Request

func (*ListPublicKeysForUserRequest) WithUserID

func (*ListPublicKeysForUserRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type ListUserCredentialsNotFound

type ListUserCredentialsNotFound struct {

	// isStream: false
	*models.APIError
}

ListUserCredentialsNotFound handles this case with default header values.

Not Found

func NewListUserCredentialsNotFound

func NewListUserCredentialsNotFound() *ListUserCredentialsNotFound

NewListUserCredentialsNotFound creates a ListUserCredentialsNotFound with default headers values

func (*ListUserCredentialsNotFound) Code

func (o *ListUserCredentialsNotFound) Code() int

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

func (*ListUserCredentialsNotFound) Error

func (*ListUserCredentialsNotFound) IsClientError

func (o *ListUserCredentialsNotFound) IsClientError() bool

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

func (*ListUserCredentialsNotFound) IsCode

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

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

func (*ListUserCredentialsNotFound) IsRedirect

func (o *ListUserCredentialsNotFound) IsRedirect() bool

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

func (*ListUserCredentialsNotFound) IsServerError

func (o *ListUserCredentialsNotFound) IsServerError() bool

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

func (*ListUserCredentialsNotFound) IsSuccess

func (o *ListUserCredentialsNotFound) IsSuccess() bool

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

type ListUserCredentialsOK

type ListUserCredentialsOK struct {

	// isStream: false
	*models.UserCredentialListResponse
}

ListUserCredentialsOK handles this case with default header values.

List of credentials for user

func NewListUserCredentialsOK

func NewListUserCredentialsOK() *ListUserCredentialsOK

NewListUserCredentialsOK creates a ListUserCredentialsOK with default headers values

func (*ListUserCredentialsOK) Code

func (o *ListUserCredentialsOK) Code() int

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

func (*ListUserCredentialsOK) Error

func (o *ListUserCredentialsOK) Error() string

func (*ListUserCredentialsOK) IsClientError

func (o *ListUserCredentialsOK) IsClientError() bool

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

func (*ListUserCredentialsOK) IsCode

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

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

func (*ListUserCredentialsOK) IsRedirect

func (o *ListUserCredentialsOK) IsRedirect() bool

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

func (*ListUserCredentialsOK) IsServerError

func (o *ListUserCredentialsOK) IsServerError() bool

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

func (*ListUserCredentialsOK) IsSuccess

func (o *ListUserCredentialsOK) IsSuccess() bool

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

type ListUserCredentialsReader

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

ListUserCredentialsReader is a Reader for the ListUserCredentials structure.

func (*ListUserCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserCredentialsRequest

type ListUserCredentialsRequest struct {
	UserID strfmt.UUID

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

func (*ListUserCredentialsRequest) Do

list user credentials API

func (*ListUserCredentialsRequest) FromJson

func (*ListUserCredentialsRequest) MustDo

func (*ListUserCredentialsRequest) WithContext

//////////////// WithContext adds the context to the list user credentials Request

func (*ListUserCredentialsRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user credentials Request

func (*ListUserCredentialsRequest) WithUserID

func (*ListUserCredentialsRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type ListUserRolesNotFound

type ListUserRolesNotFound struct {

	// isStream: false
	*models.APIError
}

ListUserRolesNotFound handles this case with default header values.

Not Found

func NewListUserRolesNotFound

func NewListUserRolesNotFound() *ListUserRolesNotFound

NewListUserRolesNotFound creates a ListUserRolesNotFound with default headers values

func (*ListUserRolesNotFound) Code

func (o *ListUserRolesNotFound) Code() int

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

func (*ListUserRolesNotFound) Error

func (o *ListUserRolesNotFound) Error() string

func (*ListUserRolesNotFound) IsClientError

func (o *ListUserRolesNotFound) IsClientError() bool

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

func (*ListUserRolesNotFound) IsCode

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

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

func (*ListUserRolesNotFound) IsRedirect

func (o *ListUserRolesNotFound) IsRedirect() bool

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

func (*ListUserRolesNotFound) IsServerError

func (o *ListUserRolesNotFound) IsServerError() bool

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

func (*ListUserRolesNotFound) IsSuccess

func (o *ListUserRolesNotFound) IsSuccess() bool

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

type ListUserRolesOK

type ListUserRolesOK struct {

	// isStream: false
	*models.UserRoleListResponse
}

ListUserRolesOK handles this case with default header values.

List of roles for user

func NewListUserRolesOK

func NewListUserRolesOK() *ListUserRolesOK

NewListUserRolesOK creates a ListUserRolesOK with default headers values

func (*ListUserRolesOK) Code

func (o *ListUserRolesOK) Code() int

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

func (*ListUserRolesOK) Error

func (o *ListUserRolesOK) Error() string

func (*ListUserRolesOK) IsClientError

func (o *ListUserRolesOK) IsClientError() bool

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

func (*ListUserRolesOK) IsCode

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

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

func (*ListUserRolesOK) IsRedirect

func (o *ListUserRolesOK) IsRedirect() bool

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

func (*ListUserRolesOK) IsServerError

func (o *ListUserRolesOK) IsServerError() bool

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

func (*ListUserRolesOK) IsSuccess

func (o *ListUserRolesOK) IsSuccess() bool

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

type ListUserRolesReader

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

ListUserRolesReader is a Reader for the ListUserRoles structure.

func (*ListUserRolesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserRolesRequest

type ListUserRolesRequest struct {
	UserID strfmt.UUID

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

func (*ListUserRolesRequest) Do

list user roles API

func (*ListUserRolesRequest) FromJson

func (*ListUserRolesRequest) MustDo

func (*ListUserRolesRequest) WithContext

//////////////// WithContext adds the context to the list user roles Request

func (*ListUserRolesRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list user roles Request

func (*ListUserRolesRequest) WithUserID

func (o *ListUserRolesRequest) WithUserID(userID strfmt.UUID) *ListUserRolesRequest

func (*ListUserRolesRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type ListUsersOK

type ListUsersOK struct {

	// isStream: false
	*models.UserDetailsListResponse
}

ListUsersOK handles this case with default header values.

List of user details

func NewListUsersOK

func NewListUsersOK() *ListUsersOK

NewListUsersOK creates a ListUsersOK with default headers values

func (*ListUsersOK) Code

func (o *ListUsersOK) Code() int

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

func (*ListUsersOK) Error

func (o *ListUsersOK) Error() string

func (*ListUsersOK) IsClientError

func (o *ListUsersOK) IsClientError() bool

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

func (*ListUsersOK) IsCode

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

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

func (*ListUsersOK) IsRedirect

func (o *ListUsersOK) IsRedirect() bool

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

func (*ListUsersOK) IsServerError

func (o *ListUsersOK) IsServerError() bool

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

func (*ListUsersOK) IsSuccess

func (o *ListUsersOK) IsSuccess() bool

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

type ListUsersReader

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

ListUsersReader is a Reader for the ListUsers structure.

func (*ListUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUsersRequest

type ListUsersRequest struct {
	PageNumber *int64

	PageSize *int64

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

func (*ListUsersRequest) Do

func (a *ListUsersRequest) Do() (*ListUsersOK, error)

list users API

func (*ListUsersRequest) FromJson

func (o *ListUsersRequest) FromJson(j string) (*ListUsersRequest, error)

func (*ListUsersRequest) MustDo

func (a *ListUsersRequest) MustDo() *ListUsersOK

func (*ListUsersRequest) WithContext

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

//////////////// WithContext adds the context to the list users Request

func (*ListUsersRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list users Request

func (*ListUsersRequest) WithPageNumber

func (o *ListUsersRequest) WithPageNumber(pageNumber int64) *ListUsersRequest

func (*ListUsersRequest) WithPageSize

func (o *ListUsersRequest) WithPageSize(pageSize int64) *ListUsersRequest

func (*ListUsersRequest) WithoutPageNumber

func (o *ListUsersRequest) WithoutPageNumber() *ListUsersRequest

func (*ListUsersRequest) WithoutPageSize

func (o *ListUsersRequest) WithoutPageSize() *ListUsersRequest

func (*ListUsersRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type ModifyUserBadRequest

type ModifyUserBadRequest struct {

	// isStream: false
	*models.APIError
}

ModifyUserBadRequest handles this case with default header values.

Bad request

func NewModifyUserBadRequest

func NewModifyUserBadRequest() *ModifyUserBadRequest

NewModifyUserBadRequest creates a ModifyUserBadRequest with default headers values

func (*ModifyUserBadRequest) Code

func (o *ModifyUserBadRequest) Code() int

Code gets the status code for the modify user bad request response

func (*ModifyUserBadRequest) Error

func (o *ModifyUserBadRequest) Error() string

func (*ModifyUserBadRequest) IsClientError

func (o *ModifyUserBadRequest) IsClientError() bool

IsClientError returns true when this modify user bad request response has a 4xx status code

func (*ModifyUserBadRequest) IsCode

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

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

func (*ModifyUserBadRequest) IsRedirect

func (o *ModifyUserBadRequest) IsRedirect() bool

IsRedirect returns true when this modify user bad request response has a 3xx status code

func (*ModifyUserBadRequest) IsServerError

func (o *ModifyUserBadRequest) IsServerError() bool

IsServerError returns true when this modify user bad request response has a 5xx status code

func (*ModifyUserBadRequest) IsSuccess

func (o *ModifyUserBadRequest) IsSuccess() bool

IsSuccess returns true when this modify user bad request response has a 2xx status code

type ModifyUserNotFound

type ModifyUserNotFound struct {

	// isStream: false
	*models.APIError
}

ModifyUserNotFound handles this case with default header values.

Not Found

func NewModifyUserNotFound

func NewModifyUserNotFound() *ModifyUserNotFound

NewModifyUserNotFound creates a ModifyUserNotFound with default headers values

func (*ModifyUserNotFound) Code

func (o *ModifyUserNotFound) Code() int

Code gets the status code for the modify user not found response

func (*ModifyUserNotFound) Error

func (o *ModifyUserNotFound) Error() string

func (*ModifyUserNotFound) IsClientError

func (o *ModifyUserNotFound) IsClientError() bool

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

func (*ModifyUserNotFound) IsCode

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

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

func (*ModifyUserNotFound) IsRedirect

func (o *ModifyUserNotFound) IsRedirect() bool

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

func (*ModifyUserNotFound) IsServerError

func (o *ModifyUserNotFound) IsServerError() bool

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

func (*ModifyUserNotFound) IsSuccess

func (o *ModifyUserNotFound) IsSuccess() bool

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

type ModifyUserOK

type ModifyUserOK struct {

	// isStream: false
	*models.UserDetailsResponse
}

ModifyUserOK handles this case with default header values.

User details

func NewModifyUserOK

func NewModifyUserOK() *ModifyUserOK

NewModifyUserOK creates a ModifyUserOK with default headers values

func (*ModifyUserOK) Code

func (o *ModifyUserOK) Code() int

Code gets the status code for the modify user o k response

func (*ModifyUserOK) Error

func (o *ModifyUserOK) Error() string

func (*ModifyUserOK) IsClientError

func (o *ModifyUserOK) IsClientError() bool

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

func (*ModifyUserOK) IsCode

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

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

func (*ModifyUserOK) IsRedirect

func (o *ModifyUserOK) IsRedirect() bool

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

func (*ModifyUserOK) IsServerError

func (o *ModifyUserOK) IsServerError() bool

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

func (*ModifyUserOK) IsSuccess

func (o *ModifyUserOK) IsSuccess() bool

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

type ModifyUserReader

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

ModifyUserReader is a Reader for the ModifyUser structure.

func (*ModifyUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyUserRequest

type ModifyUserRequest struct {
	*models.UserCreation

	UserID strfmt.UUID

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

func (*ModifyUserRequest) Do

func (a *ModifyUserRequest) Do() (*ModifyUserOK, error)

modify user API

func (*ModifyUserRequest) FromJson

func (o *ModifyUserRequest) FromJson(j string) (*ModifyUserRequest, error)

func (*ModifyUserRequest) MustDo

func (a *ModifyUserRequest) MustDo() *ModifyUserOK

func (*ModifyUserRequest) WithContext

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

//////////////// WithContext adds the context to the modify user Request

func (*ModifyUserRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the modify user Request

func (*ModifyUserRequest) WithUserID

func (o *ModifyUserRequest) WithUserID(userID strfmt.UUID) *ModifyUserRequest

func (*ModifyUserRequest) WithUserUpdateRequest

func (o *ModifyUserRequest) WithUserUpdateRequest(userUpdateRequest models.UserCreation) *ModifyUserRequest

func (*ModifyUserRequest) WithoutUserUpdateRequest

func (o *ModifyUserRequest) WithoutUserUpdateRequest() *ModifyUserRequest

func (*ModifyUserRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

Jump to

Keyboard shortcuts

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