user

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for user API

func (*Client) CreateRootUser added in v1.10.0

func (a *Client) CreateRootUser(params *CreateRootUserParams, opts ...ClientOption) (*CreateRootUserOK, error)

CreateRootUser create root user API

func (*Client) CreateUser

func (a *Client) CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserOK, error)

CreateUser create user API

func (*Client) DeleteUser

func (a *Client) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)

DeleteUser delete user API

func (*Client) GetUsers

func (a *Client) GetUsers(params *GetUsersParams, opts ...ClientOption) (*GetUsersOK, error)

GetUsers get users API

func (*Client) GetUsersConnection

func (a *Client) GetUsersConnection(params *GetUsersConnectionParams, opts ...ClientOption) (*GetUsersConnectionOK, error)

GetUsersConnection get users connection API

func (*Client) Login

func (a *Client) Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error)

Login login API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateUser

func (a *Client) UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, error)

UpdateUser update user API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateRootUser(params *CreateRootUserParams, opts ...ClientOption) (*CreateRootUserOK, error)

	CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserOK, error)

	DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)

	GetUsers(params *GetUsersParams, opts ...ClientOption) (*GetUsersOK, error)

	GetUsersConnection(params *GetUsersConnectionParams, opts ...ClientOption) (*GetUsersConnectionOK, error)

	Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error)

	UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new user API client.

type CreateRootUserBadRequest added in v1.10.0

type CreateRootUserBadRequest struct {
	Payload *models.ErrorBody
}
CreateRootUserBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateRootUserBadRequest added in v1.10.0

func NewCreateRootUserBadRequest() *CreateRootUserBadRequest

NewCreateRootUserBadRequest creates a CreateRootUserBadRequest with default headers values

func (*CreateRootUserBadRequest) Error added in v1.10.0

func (o *CreateRootUserBadRequest) Error() string

func (*CreateRootUserBadRequest) GetPayload added in v1.10.0

func (o *CreateRootUserBadRequest) GetPayload() *models.ErrorBody

type CreateRootUserInternalServerError added in v1.10.0

type CreateRootUserInternalServerError struct {
	Payload *models.ErrorBody
}
CreateRootUserInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateRootUserInternalServerError added in v1.10.0

func NewCreateRootUserInternalServerError() *CreateRootUserInternalServerError

NewCreateRootUserInternalServerError creates a CreateRootUserInternalServerError with default headers values

func (*CreateRootUserInternalServerError) Error added in v1.10.0

func (*CreateRootUserInternalServerError) GetPayload added in v1.10.0

type CreateRootUserNotFound added in v1.10.0

type CreateRootUserNotFound struct {
	Payload *models.ErrorBody
}
CreateRootUserNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateRootUserNotFound added in v1.10.0

func NewCreateRootUserNotFound() *CreateRootUserNotFound

NewCreateRootUserNotFound creates a CreateRootUserNotFound with default headers values

func (*CreateRootUserNotFound) Error added in v1.10.0

func (o *CreateRootUserNotFound) Error() string

func (*CreateRootUserNotFound) GetPayload added in v1.10.0

func (o *CreateRootUserNotFound) GetPayload() *models.ErrorBody

type CreateRootUserOK added in v1.10.0

type CreateRootUserOK struct {
	Payload *models.WithTaskUser
}
CreateRootUserOK describes a response with status code 200, with default header values.

Ok

func NewCreateRootUserOK added in v1.10.0

func NewCreateRootUserOK() *CreateRootUserOK

NewCreateRootUserOK creates a CreateRootUserOK with default headers values

func (*CreateRootUserOK) Error added in v1.10.0

func (o *CreateRootUserOK) Error() string

func (*CreateRootUserOK) GetPayload added in v1.10.0

func (o *CreateRootUserOK) GetPayload() *models.WithTaskUser

type CreateRootUserParams added in v1.10.0

type CreateRootUserParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.RootUserCreationParams

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

CreateRootUserParams contains all the parameters to send to the API endpoint

for the create root user operation.

Typically these are written to a http.Request.

func NewCreateRootUserParams added in v1.10.0

func NewCreateRootUserParams() *CreateRootUserParams

NewCreateRootUserParams creates a new CreateRootUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateRootUserParamsWithContext added in v1.10.0

func NewCreateRootUserParamsWithContext(ctx context.Context) *CreateRootUserParams

NewCreateRootUserParamsWithContext creates a new CreateRootUserParams object with the ability to set a context for a request.

func NewCreateRootUserParamsWithHTTPClient added in v1.10.0

func NewCreateRootUserParamsWithHTTPClient(client *http.Client) *CreateRootUserParams

NewCreateRootUserParamsWithHTTPClient creates a new CreateRootUserParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRootUserParamsWithTimeout added in v1.10.0

func NewCreateRootUserParamsWithTimeout(timeout time.Duration) *CreateRootUserParams

NewCreateRootUserParamsWithTimeout creates a new CreateRootUserParams object with the ability to set a timeout on a request.

func (*CreateRootUserParams) SetContentLanguage added in v1.10.0

func (o *CreateRootUserParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create root user params

func (*CreateRootUserParams) SetContext added in v1.10.0

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

SetContext adds the context to the create root user params

func (*CreateRootUserParams) SetDefaults added in v1.10.0

func (o *CreateRootUserParams) SetDefaults()

SetDefaults hydrates default values in the create root user params (not the query body).

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

func (*CreateRootUserParams) SetHTTPClient added in v1.10.0

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

SetHTTPClient adds the HTTPClient to the create root user params

func (*CreateRootUserParams) SetRequestBody added in v1.10.0

func (o *CreateRootUserParams) SetRequestBody(requestBody *models.RootUserCreationParams)

SetRequestBody adds the requestBody to the create root user params

func (*CreateRootUserParams) SetTimeout added in v1.10.0

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

SetTimeout adds the timeout to the create root user params

func (*CreateRootUserParams) WithContentLanguage added in v1.10.0

func (o *CreateRootUserParams) WithContentLanguage(contentLanguage *string) *CreateRootUserParams

WithContentLanguage adds the contentLanguage to the create root user params

func (*CreateRootUserParams) WithContext added in v1.10.0

WithContext adds the context to the create root user params

func (*CreateRootUserParams) WithDefaults added in v1.10.0

func (o *CreateRootUserParams) WithDefaults() *CreateRootUserParams

WithDefaults hydrates default values in the create root user params (not the query body).

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

func (*CreateRootUserParams) WithHTTPClient added in v1.10.0

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

WithHTTPClient adds the HTTPClient to the create root user params

func (*CreateRootUserParams) WithRequestBody added in v1.10.0

func (o *CreateRootUserParams) WithRequestBody(requestBody *models.RootUserCreationParams) *CreateRootUserParams

WithRequestBody adds the requestBody to the create root user params

func (*CreateRootUserParams) WithTimeout added in v1.10.0

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

WithTimeout adds the timeout to the create root user params

func (*CreateRootUserParams) WriteToRequest added in v1.10.0

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

WriteToRequest writes these params to a swagger request

type CreateRootUserReader added in v1.10.0

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

CreateRootUserReader is a Reader for the CreateRootUser structure.

func (*CreateRootUserReader) ReadResponse added in v1.10.0

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

ReadResponse reads a server response into the received o.

type CreateUserBadRequest

type CreateUserBadRequest struct {
	Payload *models.ErrorBody
}
CreateUserBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateUserBadRequest

func NewCreateUserBadRequest() *CreateUserBadRequest

NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values

func (*CreateUserBadRequest) Error

func (o *CreateUserBadRequest) Error() string

func (*CreateUserBadRequest) GetPayload

func (o *CreateUserBadRequest) GetPayload() *models.ErrorBody

type CreateUserInternalServerError added in v1.10.0

type CreateUserInternalServerError struct {
	Payload *models.ErrorBody
}
CreateUserInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateUserInternalServerError added in v1.10.0

func NewCreateUserInternalServerError() *CreateUserInternalServerError

NewCreateUserInternalServerError creates a CreateUserInternalServerError with default headers values

func (*CreateUserInternalServerError) Error added in v1.10.0

func (*CreateUserInternalServerError) GetPayload added in v1.10.0

type CreateUserNotFound added in v1.10.0

type CreateUserNotFound struct {
	Payload *models.ErrorBody
}
CreateUserNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateUserNotFound added in v1.10.0

func NewCreateUserNotFound() *CreateUserNotFound

NewCreateUserNotFound creates a CreateUserNotFound with default headers values

func (*CreateUserNotFound) Error added in v1.10.0

func (o *CreateUserNotFound) Error() string

func (*CreateUserNotFound) GetPayload added in v1.10.0

func (o *CreateUserNotFound) GetPayload() *models.ErrorBody

type CreateUserOK

type CreateUserOK struct {
	Payload []*models.WithTaskUser
}
CreateUserOK describes a response with status code 200, with default header values.

Ok

func NewCreateUserOK

func NewCreateUserOK() *CreateUserOK

NewCreateUserOK creates a CreateUserOK with default headers values

func (*CreateUserOK) Error

func (o *CreateUserOK) Error() string

func (*CreateUserOK) GetPayload

func (o *CreateUserOK) GetPayload() []*models.WithTaskUser

type CreateUserParams

type CreateUserParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.UserCreationParams

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

CreateUserParams contains all the parameters to send to the API endpoint

for the create user operation.

Typically these are written to a http.Request.

func NewCreateUserParams

func NewCreateUserParams() *CreateUserParams

NewCreateUserParams creates a new CreateUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateUserParamsWithContext

func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams

NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.

func NewCreateUserParamsWithHTTPClient

func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams

NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserParamsWithTimeout

func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams

NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.

func (*CreateUserParams) SetContentLanguage

func (o *CreateUserParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create user params

func (*CreateUserParams) SetContext

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

SetContext adds the context to the create user params

func (*CreateUserParams) SetDefaults

func (o *CreateUserParams) SetDefaults()

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

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

func (*CreateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) SetRequestBody

func (o *CreateUserParams) SetRequestBody(requestBody []*models.UserCreationParams)

SetRequestBody adds the requestBody to the create user params

func (*CreateUserParams) SetTimeout

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

SetTimeout adds the timeout to the create user params

func (*CreateUserParams) WithContentLanguage

func (o *CreateUserParams) WithContentLanguage(contentLanguage *string) *CreateUserParams

WithContentLanguage adds the contentLanguage to the create user params

func (*CreateUserParams) WithContext

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

WithContext adds the context to the create user params

func (*CreateUserParams) WithDefaults

func (o *CreateUserParams) WithDefaults() *CreateUserParams

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

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

func (*CreateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) WithRequestBody

func (o *CreateUserParams) WithRequestBody(requestBody []*models.UserCreationParams) *CreateUserParams

WithRequestBody adds the requestBody to the create user params

func (*CreateUserParams) WithTimeout

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

WithTimeout adds the timeout to the create user params

func (*CreateUserParams) WriteToRequest

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

WriteToRequest writes these params 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 DeleteUserBadRequest

type DeleteUserBadRequest struct {
	Payload *models.ErrorBody
}
DeleteUserBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteUserBadRequest

func NewDeleteUserBadRequest() *DeleteUserBadRequest

NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values

func (*DeleteUserBadRequest) Error

func (o *DeleteUserBadRequest) Error() string

func (*DeleteUserBadRequest) GetPayload

func (o *DeleteUserBadRequest) GetPayload() *models.ErrorBody

type DeleteUserInternalServerError added in v1.10.0

type DeleteUserInternalServerError struct {
	Payload *models.ErrorBody
}
DeleteUserInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteUserInternalServerError added in v1.10.0

func NewDeleteUserInternalServerError() *DeleteUserInternalServerError

NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values

func (*DeleteUserInternalServerError) Error added in v1.10.0

func (*DeleteUserInternalServerError) GetPayload added in v1.10.0

type DeleteUserNotFound added in v1.10.0

type DeleteUserNotFound struct {
	Payload *models.ErrorBody
}
DeleteUserNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteUserNotFound added in v1.10.0

func NewDeleteUserNotFound() *DeleteUserNotFound

NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values

func (*DeleteUserNotFound) Error added in v1.10.0

func (o *DeleteUserNotFound) Error() string

func (*DeleteUserNotFound) GetPayload added in v1.10.0

func (o *DeleteUserNotFound) GetPayload() *models.ErrorBody

type DeleteUserOK

type DeleteUserOK struct {
	Payload []*models.WithTaskDeleteUser
}
DeleteUserOK describes a response with status code 200, with default header values.

Ok

func NewDeleteUserOK

func NewDeleteUserOK() *DeleteUserOK

NewDeleteUserOK creates a DeleteUserOK with default headers values

func (*DeleteUserOK) Error

func (o *DeleteUserOK) Error() string

func (*DeleteUserOK) GetPayload

func (o *DeleteUserOK) GetPayload() []*models.WithTaskDeleteUser

type DeleteUserParams

type DeleteUserParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.UserDeletionParams

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

DeleteUserParams contains all the parameters to send to the API endpoint

for the delete user operation.

Typically these are written to a http.Request.

func NewDeleteUserParams

func NewDeleteUserParams() *DeleteUserParams

NewDeleteUserParams creates a new DeleteUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteUserParamsWithContext

func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams

NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.

func NewDeleteUserParamsWithHTTPClient

func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams

NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserParamsWithTimeout

func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams

NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.

func (*DeleteUserParams) SetContentLanguage

func (o *DeleteUserParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete user params

func (*DeleteUserParams) SetContext

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

SetContext adds the context to the delete user params

func (*DeleteUserParams) SetDefaults

func (o *DeleteUserParams) SetDefaults()

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

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

func (*DeleteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) SetRequestBody

func (o *DeleteUserParams) SetRequestBody(requestBody *models.UserDeletionParams)

SetRequestBody adds the requestBody to the delete user params

func (*DeleteUserParams) SetTimeout

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

SetTimeout adds the timeout to the delete user params

func (*DeleteUserParams) WithContentLanguage

func (o *DeleteUserParams) WithContentLanguage(contentLanguage *string) *DeleteUserParams

WithContentLanguage adds the contentLanguage to the delete user params

func (*DeleteUserParams) WithContext

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

WithContext adds the context to the delete user params

func (*DeleteUserParams) WithDefaults

func (o *DeleteUserParams) WithDefaults() *DeleteUserParams

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

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

func (*DeleteUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) WithRequestBody

func (o *DeleteUserParams) WithRequestBody(requestBody *models.UserDeletionParams) *DeleteUserParams

WithRequestBody adds the requestBody to the delete user params

func (*DeleteUserParams) WithTimeout

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

WithTimeout adds the timeout to the delete user params

func (*DeleteUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

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 GetUsersBadRequest

type GetUsersBadRequest struct {
	Payload *models.ErrorBody
}
GetUsersBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetUsersBadRequest

func NewGetUsersBadRequest() *GetUsersBadRequest

NewGetUsersBadRequest creates a GetUsersBadRequest with default headers values

func (*GetUsersBadRequest) Error

func (o *GetUsersBadRequest) Error() string

func (*GetUsersBadRequest) GetPayload

func (o *GetUsersBadRequest) GetPayload() *models.ErrorBody

type GetUsersConnectionBadRequest

type GetUsersConnectionBadRequest struct {
	Payload *models.ErrorBody
}
GetUsersConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetUsersConnectionBadRequest

func NewGetUsersConnectionBadRequest() *GetUsersConnectionBadRequest

NewGetUsersConnectionBadRequest creates a GetUsersConnectionBadRequest with default headers values

func (*GetUsersConnectionBadRequest) Error

func (*GetUsersConnectionBadRequest) GetPayload

type GetUsersConnectionInternalServerError added in v1.10.0

type GetUsersConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetUsersConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetUsersConnectionInternalServerError added in v1.10.0

func NewGetUsersConnectionInternalServerError() *GetUsersConnectionInternalServerError

NewGetUsersConnectionInternalServerError creates a GetUsersConnectionInternalServerError with default headers values

func (*GetUsersConnectionInternalServerError) Error added in v1.10.0

func (*GetUsersConnectionInternalServerError) GetPayload added in v1.10.0

type GetUsersConnectionNotFound added in v1.10.0

type GetUsersConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetUsersConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetUsersConnectionNotFound added in v1.10.0

func NewGetUsersConnectionNotFound() *GetUsersConnectionNotFound

NewGetUsersConnectionNotFound creates a GetUsersConnectionNotFound with default headers values

func (*GetUsersConnectionNotFound) Error added in v1.10.0

func (*GetUsersConnectionNotFound) GetPayload added in v1.10.0

func (o *GetUsersConnectionNotFound) GetPayload() *models.ErrorBody

type GetUsersConnectionOK

type GetUsersConnectionOK struct {
	Payload *models.UserConnection
}
GetUsersConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetUsersConnectionOK

func NewGetUsersConnectionOK() *GetUsersConnectionOK

NewGetUsersConnectionOK creates a GetUsersConnectionOK with default headers values

func (*GetUsersConnectionOK) Error

func (o *GetUsersConnectionOK) Error() string

func (*GetUsersConnectionOK) GetPayload

func (o *GetUsersConnectionOK) GetPayload() *models.UserConnection

type GetUsersConnectionParams

type GetUsersConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetUsersConnectionRequestBody

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

GetUsersConnectionParams contains all the parameters to send to the API endpoint

for the get users connection operation.

Typically these are written to a http.Request.

func NewGetUsersConnectionParams

func NewGetUsersConnectionParams() *GetUsersConnectionParams

NewGetUsersConnectionParams creates a new GetUsersConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsersConnectionParamsWithContext

func NewGetUsersConnectionParamsWithContext(ctx context.Context) *GetUsersConnectionParams

NewGetUsersConnectionParamsWithContext creates a new GetUsersConnectionParams object with the ability to set a context for a request.

func NewGetUsersConnectionParamsWithHTTPClient

func NewGetUsersConnectionParamsWithHTTPClient(client *http.Client) *GetUsersConnectionParams

NewGetUsersConnectionParamsWithHTTPClient creates a new GetUsersConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersConnectionParamsWithTimeout

func NewGetUsersConnectionParamsWithTimeout(timeout time.Duration) *GetUsersConnectionParams

NewGetUsersConnectionParamsWithTimeout creates a new GetUsersConnectionParams object with the ability to set a timeout on a request.

func (*GetUsersConnectionParams) SetContentLanguage

func (o *GetUsersConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get users connection params

func (*GetUsersConnectionParams) SetContext

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

SetContext adds the context to the get users connection params

func (*GetUsersConnectionParams) SetDefaults

func (o *GetUsersConnectionParams) SetDefaults()

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

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

func (*GetUsersConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users connection params

func (*GetUsersConnectionParams) SetRequestBody

func (o *GetUsersConnectionParams) SetRequestBody(requestBody *models.GetUsersConnectionRequestBody)

SetRequestBody adds the requestBody to the get users connection params

func (*GetUsersConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get users connection params

func (*GetUsersConnectionParams) WithContentLanguage

func (o *GetUsersConnectionParams) WithContentLanguage(contentLanguage *string) *GetUsersConnectionParams

WithContentLanguage adds the contentLanguage to the get users connection params

func (*GetUsersConnectionParams) WithContext

WithContext adds the context to the get users connection params

func (*GetUsersConnectionParams) WithDefaults

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

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

func (*GetUsersConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users connection params

func (*GetUsersConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get users connection params

func (*GetUsersConnectionParams) WithTimeout

WithTimeout adds the timeout to the get users connection params

func (*GetUsersConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUsersConnectionReader

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

GetUsersConnectionReader is a Reader for the GetUsersConnection structure.

func (*GetUsersConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersInternalServerError added in v1.10.0

type GetUsersInternalServerError struct {
	Payload *models.ErrorBody
}
GetUsersInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetUsersInternalServerError added in v1.10.0

func NewGetUsersInternalServerError() *GetUsersInternalServerError

NewGetUsersInternalServerError creates a GetUsersInternalServerError with default headers values

func (*GetUsersInternalServerError) Error added in v1.10.0

func (*GetUsersInternalServerError) GetPayload added in v1.10.0

func (o *GetUsersInternalServerError) GetPayload() *models.ErrorBody

type GetUsersNotFound added in v1.10.0

type GetUsersNotFound struct {
	Payload *models.ErrorBody
}
GetUsersNotFound describes a response with status code 404, with default header values.

Not found

func NewGetUsersNotFound added in v1.10.0

func NewGetUsersNotFound() *GetUsersNotFound

NewGetUsersNotFound creates a GetUsersNotFound with default headers values

func (*GetUsersNotFound) Error added in v1.10.0

func (o *GetUsersNotFound) Error() string

func (*GetUsersNotFound) GetPayload added in v1.10.0

func (o *GetUsersNotFound) GetPayload() *models.ErrorBody

type GetUsersOK

type GetUsersOK struct {
	Payload []*models.User
}
GetUsersOK describes a response with status code 200, with default header values.

Ok

func NewGetUsersOK

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates a GetUsersOK with default headers values

func (*GetUsersOK) Error

func (o *GetUsersOK) Error() string

func (*GetUsersOK) GetPayload

func (o *GetUsersOK) GetPayload() []*models.User

type GetUsersParams

type GetUsersParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetUsersRequestBody

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

GetUsersParams contains all the parameters to send to the API endpoint

for the get users operation.

Typically these are written to a http.Request.

func NewGetUsersParams

func NewGetUsersParams() *GetUsersParams

NewGetUsersParams creates a new GetUsersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsersParamsWithContext

func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams

NewGetUsersParamsWithContext creates a new GetUsersParams object with the ability to set a context for a request.

func NewGetUsersParamsWithHTTPClient

func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams

NewGetUsersParamsWithHTTPClient creates a new GetUsersParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersParamsWithTimeout

func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams

NewGetUsersParamsWithTimeout creates a new GetUsersParams object with the ability to set a timeout on a request.

func (*GetUsersParams) SetContentLanguage

func (o *GetUsersParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get users params

func (*GetUsersParams) SetContext

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

SetContext adds the context to the get users params

func (*GetUsersParams) SetDefaults

func (o *GetUsersParams) SetDefaults()

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

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

func (*GetUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) SetRequestBody

func (o *GetUsersParams) SetRequestBody(requestBody *models.GetUsersRequestBody)

SetRequestBody adds the requestBody to the get users params

func (*GetUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get users params

func (*GetUsersParams) WithContentLanguage

func (o *GetUsersParams) WithContentLanguage(contentLanguage *string) *GetUsersParams

WithContentLanguage adds the contentLanguage to the get users params

func (*GetUsersParams) WithContext

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

WithContext adds the context to the get users params

func (*GetUsersParams) WithDefaults

func (o *GetUsersParams) WithDefaults() *GetUsersParams

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

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

func (*GetUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) WithRequestBody

func (o *GetUsersParams) WithRequestBody(requestBody *models.GetUsersRequestBody) *GetUsersParams

WithRequestBody adds the requestBody to the get users params

func (*GetUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get users params

func (*GetUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsersReader

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

GetUsersReader is a Reader for the GetUsers structure.

func (*GetUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LoginBadRequest

type LoginBadRequest struct {
	Payload *models.ErrorBody
}
LoginBadRequest describes a response with status code 400, with default header values.

Bad request

func NewLoginBadRequest

func NewLoginBadRequest() *LoginBadRequest

NewLoginBadRequest creates a LoginBadRequest with default headers values

func (*LoginBadRequest) Error

func (o *LoginBadRequest) Error() string

func (*LoginBadRequest) GetPayload

func (o *LoginBadRequest) GetPayload() *models.ErrorBody

type LoginInternalServerError added in v1.10.0

type LoginInternalServerError struct {
	Payload *models.ErrorBody
}
LoginInternalServerError describes a response with status code 500, with default header values.

Server error

func NewLoginInternalServerError added in v1.10.0

func NewLoginInternalServerError() *LoginInternalServerError

NewLoginInternalServerError creates a LoginInternalServerError with default headers values

func (*LoginInternalServerError) Error added in v1.10.0

func (o *LoginInternalServerError) Error() string

func (*LoginInternalServerError) GetPayload added in v1.10.0

func (o *LoginInternalServerError) GetPayload() *models.ErrorBody

type LoginNotFound added in v1.10.0

type LoginNotFound struct {
	Payload *models.ErrorBody
}
LoginNotFound describes a response with status code 404, with default header values.

Not found

func NewLoginNotFound added in v1.10.0

func NewLoginNotFound() *LoginNotFound

NewLoginNotFound creates a LoginNotFound with default headers values

func (*LoginNotFound) Error added in v1.10.0

func (o *LoginNotFound) Error() string

func (*LoginNotFound) GetPayload added in v1.10.0

func (o *LoginNotFound) GetPayload() *models.ErrorBody

type LoginOK

type LoginOK struct {
	Payload *models.WithTaskTokenString
}
LoginOK describes a response with status code 200, with default header values.

Ok

func NewLoginOK

func NewLoginOK() *LoginOK

NewLoginOK creates a LoginOK with default headers values

func (*LoginOK) Error

func (o *LoginOK) Error() string

func (*LoginOK) GetPayload

func (o *LoginOK) GetPayload() *models.WithTaskTokenString

type LoginParams

type LoginParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.LoginInput

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

LoginParams contains all the parameters to send to the API endpoint

for the login operation.

Typically these are written to a http.Request.

func NewLoginParams

func NewLoginParams() *LoginParams

NewLoginParams creates a new LoginParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewLoginParamsWithContext

func NewLoginParamsWithContext(ctx context.Context) *LoginParams

NewLoginParamsWithContext creates a new LoginParams object with the ability to set a context for a request.

func NewLoginParamsWithHTTPClient

func NewLoginParamsWithHTTPClient(client *http.Client) *LoginParams

NewLoginParamsWithHTTPClient creates a new LoginParams object with the ability to set a custom HTTPClient for a request.

func NewLoginParamsWithTimeout

func NewLoginParamsWithTimeout(timeout time.Duration) *LoginParams

NewLoginParamsWithTimeout creates a new LoginParams object with the ability to set a timeout on a request.

func (*LoginParams) SetContentLanguage

func (o *LoginParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the login params

func (*LoginParams) SetContext

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

SetContext adds the context to the login params

func (*LoginParams) SetDefaults

func (o *LoginParams) SetDefaults()

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

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

func (*LoginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the login params

func (*LoginParams) SetRequestBody

func (o *LoginParams) SetRequestBody(requestBody *models.LoginInput)

SetRequestBody adds the requestBody to the login params

func (*LoginParams) SetTimeout

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

SetTimeout adds the timeout to the login params

func (*LoginParams) WithContentLanguage

func (o *LoginParams) WithContentLanguage(contentLanguage *string) *LoginParams

WithContentLanguage adds the contentLanguage to the login params

func (*LoginParams) WithContext

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

WithContext adds the context to the login params

func (*LoginParams) WithDefaults

func (o *LoginParams) WithDefaults() *LoginParams

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

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

func (*LoginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the login params

func (*LoginParams) WithRequestBody

func (o *LoginParams) WithRequestBody(requestBody *models.LoginInput) *LoginParams

WithRequestBody adds the requestBody to the login params

func (*LoginParams) WithTimeout

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

WithTimeout adds the timeout to the login params

func (*LoginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LoginReader

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

LoginReader is a Reader for the Login structure.

func (*LoginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserBadRequest

type UpdateUserBadRequest struct {
	Payload *models.ErrorBody
}
UpdateUserBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateUserBadRequest

func NewUpdateUserBadRequest() *UpdateUserBadRequest

NewUpdateUserBadRequest creates a UpdateUserBadRequest with default headers values

func (*UpdateUserBadRequest) Error

func (o *UpdateUserBadRequest) Error() string

func (*UpdateUserBadRequest) GetPayload

func (o *UpdateUserBadRequest) GetPayload() *models.ErrorBody

type UpdateUserInternalServerError added in v1.10.0

type UpdateUserInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateUserInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateUserInternalServerError added in v1.10.0

func NewUpdateUserInternalServerError() *UpdateUserInternalServerError

NewUpdateUserInternalServerError creates a UpdateUserInternalServerError with default headers values

func (*UpdateUserInternalServerError) Error added in v1.10.0

func (*UpdateUserInternalServerError) GetPayload added in v1.10.0

type UpdateUserNotFound added in v1.10.0

type UpdateUserNotFound struct {
	Payload *models.ErrorBody
}
UpdateUserNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateUserNotFound added in v1.10.0

func NewUpdateUserNotFound() *UpdateUserNotFound

NewUpdateUserNotFound creates a UpdateUserNotFound with default headers values

func (*UpdateUserNotFound) Error added in v1.10.0

func (o *UpdateUserNotFound) Error() string

func (*UpdateUserNotFound) GetPayload added in v1.10.0

func (o *UpdateUserNotFound) GetPayload() *models.ErrorBody

type UpdateUserOK

type UpdateUserOK struct {
	Payload []*models.WithTaskUser
}
UpdateUserOK describes a response with status code 200, with default header values.

Ok

func NewUpdateUserOK

func NewUpdateUserOK() *UpdateUserOK

NewUpdateUserOK creates a UpdateUserOK with default headers values

func (*UpdateUserOK) Error

func (o *UpdateUserOK) Error() string

func (*UpdateUserOK) GetPayload

func (o *UpdateUserOK) GetPayload() []*models.WithTaskUser

type UpdateUserParams

type UpdateUserParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.UserUpdationParams

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

UpdateUserParams contains all the parameters to send to the API endpoint

for the update user operation.

Typically these are written to a http.Request.

func NewUpdateUserParams

func NewUpdateUserParams() *UpdateUserParams

NewUpdateUserParams creates a new UpdateUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateUserParamsWithContext

func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams

NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.

func NewUpdateUserParamsWithHTTPClient

func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams

NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserParamsWithTimeout

func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams

NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.

func (*UpdateUserParams) SetContentLanguage

func (o *UpdateUserParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update user params

func (*UpdateUserParams) SetContext

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

SetContext adds the context to the update user params

func (*UpdateUserParams) SetDefaults

func (o *UpdateUserParams) SetDefaults()

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

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

func (*UpdateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) SetRequestBody

func (o *UpdateUserParams) SetRequestBody(requestBody *models.UserUpdationParams)

SetRequestBody adds the requestBody to the update user params

func (*UpdateUserParams) SetTimeout

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

SetTimeout adds the timeout to the update user params

func (*UpdateUserParams) WithContentLanguage

func (o *UpdateUserParams) WithContentLanguage(contentLanguage *string) *UpdateUserParams

WithContentLanguage adds the contentLanguage to the update user params

func (*UpdateUserParams) WithContext

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

WithContext adds the context to the update user params

func (*UpdateUserParams) WithDefaults

func (o *UpdateUserParams) WithDefaults() *UpdateUserParams

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

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

func (*UpdateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) WithRequestBody

func (o *UpdateUserParams) WithRequestBody(requestBody *models.UserUpdationParams) *UpdateUserParams

WithRequestBody adds the requestBody to the update user params

func (*UpdateUserParams) WithTimeout

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

WithTimeout adds the timeout to the update user params

func (*UpdateUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateUserReader

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

UpdateUserReader is a Reader for the UpdateUser structure.

func (*UpdateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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