users

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 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) 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) 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 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) Error

func (o *CreateUserCreated) Error() string

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) Error

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) Error

func (o *CreateUserRoleCreated) Error() string

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 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) Error

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) Error

func (o *DeleteUserNoContent) Error() string

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) Error

func (o *DeleteUserRoleNoContent) Error() string

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 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) Error

func (o *GetUserAcesOK) Error() string

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 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) Error

func (o *GetUserOK) Error() string

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 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) Error

func (o *ListUserCredentialsOK) Error() string

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 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) Error

func (o *ListUserRolesOK) Error() string

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) Error

func (o *ListUsersOK) Error() string

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 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) Error

func (o *ModifyUserOK) Error() string

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