users

package
v0.0.0-...-65287e9 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 10 Imported by: 2

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 users API

func (*Client) ResonateUserAddUser

func (a *Client) ResonateUserAddUser(params *ResonateUserAddUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserAddUserOK, error)

ResonateUserAddUser adds a user

Add a user to the server.

func (*Client) ResonateUserDeleteUser

func (a *Client) ResonateUserDeleteUser(params *ResonateUserDeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserDeleteUserOK, error)

ResonateUserDeleteUser deletes user

Delete a user from the server.

func (*Client) ResonateUserGetUser

func (a *Client) ResonateUserGetUser(params *ResonateUserGetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserGetUserOK, error)

ResonateUserGetUser gets a user

Get a user's public information from the server.

func (*Client) ResonateUserGetUserCredits

func (a *Client) ResonateUserGetUserCredits(params *ResonateUserGetUserCreditsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserGetUserCreditsOK, error)

ResonateUserGetUserCredits gets user credits

Get user credits.

func (*Client) ResonateUserGetUserRestricted

func (a *Client) ResonateUserGetUserRestricted(params *ResonateUserGetUserRestrictedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserGetUserRestrictedOK, error)

ResonateUserGetUserRestricted gets a user s restricted information

Get user profile from the server including private information.

func (*Client) ResonateUserListUsers

func (a *Client) ResonateUserListUsers(params *ResonateUserListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserListUsersOK, error)

ResonateUserListUsers lists users

List all users on the server.

func (*Client) ResonateUserUpdateUser

func (a *Client) ResonateUserUpdateUser(params *ResonateUserUpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserUpdateUserOK, error)

ResonateUserUpdateUser updates a user

Update an existing user record on the server.

func (*Client) ResonateUserUpdateUserRestricted

func (a *Client) ResonateUserUpdateUserRestricted(params *ResonateUserUpdateUserRestrictedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserUpdateUserRestrictedOK, error)

ResonateUserUpdateUserRestricted updates a user record for admins

Update an existing user record on the server including restricted information.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ResonateUserAddUser(params *ResonateUserAddUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserAddUserOK, error)

	ResonateUserDeleteUser(params *ResonateUserDeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserDeleteUserOK, error)

	ResonateUserGetUser(params *ResonateUserGetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserGetUserOK, error)

	ResonateUserGetUserCredits(params *ResonateUserGetUserCreditsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserGetUserCreditsOK, error)

	ResonateUserGetUserRestricted(params *ResonateUserGetUserRestrictedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserGetUserRestrictedOK, error)

	ResonateUserListUsers(params *ResonateUserListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserListUsersOK, error)

	ResonateUserUpdateUser(params *ResonateUserUpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserUpdateUserOK, error)

	ResonateUserUpdateUserRestricted(params *ResonateUserUpdateUserRestrictedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserUpdateUserRestrictedOK, 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 users API client.

type ResonateUserAddUserDefault

type ResonateUserAddUserDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
ResonateUserAddUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResonateUserAddUserDefault

func NewResonateUserAddUserDefault(code int) *ResonateUserAddUserDefault

NewResonateUserAddUserDefault creates a ResonateUserAddUserDefault with default headers values

func (*ResonateUserAddUserDefault) Code

func (o *ResonateUserAddUserDefault) Code() int

Code gets the status code for the resonate user add user default response

func (*ResonateUserAddUserDefault) Error

func (*ResonateUserAddUserDefault) GetPayload

func (o *ResonateUserAddUserDefault) GetPayload() *models.RPCStatus

type ResonateUserAddUserOK

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

A successful response.

func NewResonateUserAddUserOK

func NewResonateUserAddUserOK() *ResonateUserAddUserOK

NewResonateUserAddUserOK creates a ResonateUserAddUserOK with default headers values

func (*ResonateUserAddUserOK) Error

func (o *ResonateUserAddUserOK) Error() string

func (*ResonateUserAddUserOK) GetPayload

func (o *ResonateUserAddUserOK) GetPayload() *models.UserUserRequest

type ResonateUserAddUserParams

type ResonateUserAddUserParams struct {

	// Body.
	Body *models.UserUserAddRequest

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

ResonateUserAddUserParams contains all the parameters to send to the API endpoint

for the resonate user add user operation.

Typically these are written to a http.Request.

func NewResonateUserAddUserParams

func NewResonateUserAddUserParams() *ResonateUserAddUserParams

NewResonateUserAddUserParams creates a new ResonateUserAddUserParams 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 NewResonateUserAddUserParamsWithContext

func NewResonateUserAddUserParamsWithContext(ctx context.Context) *ResonateUserAddUserParams

NewResonateUserAddUserParamsWithContext creates a new ResonateUserAddUserParams object with the ability to set a context for a request.

func NewResonateUserAddUserParamsWithHTTPClient

func NewResonateUserAddUserParamsWithHTTPClient(client *http.Client) *ResonateUserAddUserParams

NewResonateUserAddUserParamsWithHTTPClient creates a new ResonateUserAddUserParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserAddUserParamsWithTimeout

func NewResonateUserAddUserParamsWithTimeout(timeout time.Duration) *ResonateUserAddUserParams

NewResonateUserAddUserParamsWithTimeout creates a new ResonateUserAddUserParams object with the ability to set a timeout on a request.

func (*ResonateUserAddUserParams) SetBody

SetBody adds the body to the resonate user add user params

func (*ResonateUserAddUserParams) SetContext

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

SetContext adds the context to the resonate user add user params

func (*ResonateUserAddUserParams) SetDefaults

func (o *ResonateUserAddUserParams) SetDefaults()

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

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

func (*ResonateUserAddUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user add user params

func (*ResonateUserAddUserParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user add user params

func (*ResonateUserAddUserParams) WithBody

WithBody adds the body to the resonate user add user params

func (*ResonateUserAddUserParams) WithContext

WithContext adds the context to the resonate user add user params

func (*ResonateUserAddUserParams) WithDefaults

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

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

func (*ResonateUserAddUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the resonate user add user params

func (*ResonateUserAddUserParams) WithTimeout

WithTimeout adds the timeout to the resonate user add user params

func (*ResonateUserAddUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserAddUserReader

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

ResonateUserAddUserReader is a Reader for the ResonateUserAddUser structure.

func (*ResonateUserAddUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserDeleteUserDefault

type ResonateUserDeleteUserDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
ResonateUserDeleteUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResonateUserDeleteUserDefault

func NewResonateUserDeleteUserDefault(code int) *ResonateUserDeleteUserDefault

NewResonateUserDeleteUserDefault creates a ResonateUserDeleteUserDefault with default headers values

func (*ResonateUserDeleteUserDefault) Code

Code gets the status code for the resonate user delete user default response

func (*ResonateUserDeleteUserDefault) Error

func (*ResonateUserDeleteUserDefault) GetPayload

type ResonateUserDeleteUserOK

type ResonateUserDeleteUserOK struct {
	Payload models.UserEmpty
}
ResonateUserDeleteUserOK describes a response with status code 200, with default header values.

A successful response.

func NewResonateUserDeleteUserOK

func NewResonateUserDeleteUserOK() *ResonateUserDeleteUserOK

NewResonateUserDeleteUserOK creates a ResonateUserDeleteUserOK with default headers values

func (*ResonateUserDeleteUserOK) Error

func (o *ResonateUserDeleteUserOK) Error() string

func (*ResonateUserDeleteUserOK) GetPayload

func (o *ResonateUserDeleteUserOK) GetPayload() models.UserEmpty

type ResonateUserDeleteUserParams

type ResonateUserDeleteUserParams struct {

	// ID.
	ID string

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

ResonateUserDeleteUserParams contains all the parameters to send to the API endpoint

for the resonate user delete user operation.

Typically these are written to a http.Request.

func NewResonateUserDeleteUserParams

func NewResonateUserDeleteUserParams() *ResonateUserDeleteUserParams

NewResonateUserDeleteUserParams creates a new ResonateUserDeleteUserParams 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 NewResonateUserDeleteUserParamsWithContext

func NewResonateUserDeleteUserParamsWithContext(ctx context.Context) *ResonateUserDeleteUserParams

NewResonateUserDeleteUserParamsWithContext creates a new ResonateUserDeleteUserParams object with the ability to set a context for a request.

func NewResonateUserDeleteUserParamsWithHTTPClient

func NewResonateUserDeleteUserParamsWithHTTPClient(client *http.Client) *ResonateUserDeleteUserParams

NewResonateUserDeleteUserParamsWithHTTPClient creates a new ResonateUserDeleteUserParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserDeleteUserParamsWithTimeout

func NewResonateUserDeleteUserParamsWithTimeout(timeout time.Duration) *ResonateUserDeleteUserParams

NewResonateUserDeleteUserParamsWithTimeout creates a new ResonateUserDeleteUserParams object with the ability to set a timeout on a request.

func (*ResonateUserDeleteUserParams) SetContext

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

SetContext adds the context to the resonate user delete user params

func (*ResonateUserDeleteUserParams) SetDefaults

func (o *ResonateUserDeleteUserParams) SetDefaults()

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

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

func (*ResonateUserDeleteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user delete user params

func (*ResonateUserDeleteUserParams) SetID

func (o *ResonateUserDeleteUserParams) SetID(id string)

SetID adds the id to the resonate user delete user params

func (*ResonateUserDeleteUserParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user delete user params

func (*ResonateUserDeleteUserParams) WithContext

WithContext adds the context to the resonate user delete user params

func (*ResonateUserDeleteUserParams) WithDefaults

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

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

func (*ResonateUserDeleteUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resonate user delete user params

func (*ResonateUserDeleteUserParams) WithID

WithID adds the id to the resonate user delete user params

func (*ResonateUserDeleteUserParams) WithTimeout

WithTimeout adds the timeout to the resonate user delete user params

func (*ResonateUserDeleteUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserDeleteUserReader

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

ResonateUserDeleteUserReader is a Reader for the ResonateUserDeleteUser structure.

func (*ResonateUserDeleteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserGetUserCreditsDefault

type ResonateUserGetUserCreditsDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
ResonateUserGetUserCreditsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResonateUserGetUserCreditsDefault

func NewResonateUserGetUserCreditsDefault(code int) *ResonateUserGetUserCreditsDefault

NewResonateUserGetUserCreditsDefault creates a ResonateUserGetUserCreditsDefault with default headers values

func (*ResonateUserGetUserCreditsDefault) Code

Code gets the status code for the resonate user get user credits default response

func (*ResonateUserGetUserCreditsDefault) Error

func (*ResonateUserGetUserCreditsDefault) GetPayload

type ResonateUserGetUserCreditsOK

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

A successful response.

func NewResonateUserGetUserCreditsOK

func NewResonateUserGetUserCreditsOK() *ResonateUserGetUserCreditsOK

NewResonateUserGetUserCreditsOK creates a ResonateUserGetUserCreditsOK with default headers values

func (*ResonateUserGetUserCreditsOK) Error

func (*ResonateUserGetUserCreditsOK) GetPayload

type ResonateUserGetUserCreditsParams

type ResonateUserGetUserCreditsParams struct {

	// ID.
	ID string

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

ResonateUserGetUserCreditsParams contains all the parameters to send to the API endpoint

for the resonate user get user credits operation.

Typically these are written to a http.Request.

func NewResonateUserGetUserCreditsParams

func NewResonateUserGetUserCreditsParams() *ResonateUserGetUserCreditsParams

NewResonateUserGetUserCreditsParams creates a new ResonateUserGetUserCreditsParams 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 NewResonateUserGetUserCreditsParamsWithContext

func NewResonateUserGetUserCreditsParamsWithContext(ctx context.Context) *ResonateUserGetUserCreditsParams

NewResonateUserGetUserCreditsParamsWithContext creates a new ResonateUserGetUserCreditsParams object with the ability to set a context for a request.

func NewResonateUserGetUserCreditsParamsWithHTTPClient

func NewResonateUserGetUserCreditsParamsWithHTTPClient(client *http.Client) *ResonateUserGetUserCreditsParams

NewResonateUserGetUserCreditsParamsWithHTTPClient creates a new ResonateUserGetUserCreditsParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserGetUserCreditsParamsWithTimeout

func NewResonateUserGetUserCreditsParamsWithTimeout(timeout time.Duration) *ResonateUserGetUserCreditsParams

NewResonateUserGetUserCreditsParamsWithTimeout creates a new ResonateUserGetUserCreditsParams object with the ability to set a timeout on a request.

func (*ResonateUserGetUserCreditsParams) SetContext

SetContext adds the context to the resonate user get user credits params

func (*ResonateUserGetUserCreditsParams) SetDefaults

func (o *ResonateUserGetUserCreditsParams) SetDefaults()

SetDefaults hydrates default values in the resonate user get user credits params (not the query body).

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

func (*ResonateUserGetUserCreditsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user get user credits params

func (*ResonateUserGetUserCreditsParams) SetID

SetID adds the id to the resonate user get user credits params

func (*ResonateUserGetUserCreditsParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user get user credits params

func (*ResonateUserGetUserCreditsParams) WithContext

WithContext adds the context to the resonate user get user credits params

func (*ResonateUserGetUserCreditsParams) WithDefaults

WithDefaults hydrates default values in the resonate user get user credits params (not the query body).

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

func (*ResonateUserGetUserCreditsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resonate user get user credits params

func (*ResonateUserGetUserCreditsParams) WithID

WithID adds the id to the resonate user get user credits params

func (*ResonateUserGetUserCreditsParams) WithTimeout

WithTimeout adds the timeout to the resonate user get user credits params

func (*ResonateUserGetUserCreditsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserGetUserCreditsReader

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

ResonateUserGetUserCreditsReader is a Reader for the ResonateUserGetUserCredits structure.

func (*ResonateUserGetUserCreditsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserGetUserDefault

type ResonateUserGetUserDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
ResonateUserGetUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResonateUserGetUserDefault

func NewResonateUserGetUserDefault(code int) *ResonateUserGetUserDefault

NewResonateUserGetUserDefault creates a ResonateUserGetUserDefault with default headers values

func (*ResonateUserGetUserDefault) Code

func (o *ResonateUserGetUserDefault) Code() int

Code gets the status code for the resonate user get user default response

func (*ResonateUserGetUserDefault) Error

func (*ResonateUserGetUserDefault) GetPayload

func (o *ResonateUserGetUserDefault) GetPayload() *models.RPCStatus

type ResonateUserGetUserOK

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

A successful response.

func NewResonateUserGetUserOK

func NewResonateUserGetUserOK() *ResonateUserGetUserOK

NewResonateUserGetUserOK creates a ResonateUserGetUserOK with default headers values

func (*ResonateUserGetUserOK) Error

func (o *ResonateUserGetUserOK) Error() string

func (*ResonateUserGetUserOK) GetPayload

type ResonateUserGetUserParams

type ResonateUserGetUserParams struct {

	// ID.
	ID string

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

ResonateUserGetUserParams contains all the parameters to send to the API endpoint

for the resonate user get user operation.

Typically these are written to a http.Request.

func NewResonateUserGetUserParams

func NewResonateUserGetUserParams() *ResonateUserGetUserParams

NewResonateUserGetUserParams creates a new ResonateUserGetUserParams 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 NewResonateUserGetUserParamsWithContext

func NewResonateUserGetUserParamsWithContext(ctx context.Context) *ResonateUserGetUserParams

NewResonateUserGetUserParamsWithContext creates a new ResonateUserGetUserParams object with the ability to set a context for a request.

func NewResonateUserGetUserParamsWithHTTPClient

func NewResonateUserGetUserParamsWithHTTPClient(client *http.Client) *ResonateUserGetUserParams

NewResonateUserGetUserParamsWithHTTPClient creates a new ResonateUserGetUserParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserGetUserParamsWithTimeout

func NewResonateUserGetUserParamsWithTimeout(timeout time.Duration) *ResonateUserGetUserParams

NewResonateUserGetUserParamsWithTimeout creates a new ResonateUserGetUserParams object with the ability to set a timeout on a request.

func (*ResonateUserGetUserParams) SetContext

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

SetContext adds the context to the resonate user get user params

func (*ResonateUserGetUserParams) SetDefaults

func (o *ResonateUserGetUserParams) SetDefaults()

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

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

func (*ResonateUserGetUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user get user params

func (*ResonateUserGetUserParams) SetID

func (o *ResonateUserGetUserParams) SetID(id string)

SetID adds the id to the resonate user get user params

func (*ResonateUserGetUserParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user get user params

func (*ResonateUserGetUserParams) WithContext

WithContext adds the context to the resonate user get user params

func (*ResonateUserGetUserParams) WithDefaults

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

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

func (*ResonateUserGetUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the resonate user get user params

func (*ResonateUserGetUserParams) WithID

WithID adds the id to the resonate user get user params

func (*ResonateUserGetUserParams) WithTimeout

WithTimeout adds the timeout to the resonate user get user params

func (*ResonateUserGetUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserGetUserReader

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

ResonateUserGetUserReader is a Reader for the ResonateUserGetUser structure.

func (*ResonateUserGetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserGetUserRestrictedDefault

type ResonateUserGetUserRestrictedDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
ResonateUserGetUserRestrictedDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResonateUserGetUserRestrictedDefault

func NewResonateUserGetUserRestrictedDefault(code int) *ResonateUserGetUserRestrictedDefault

NewResonateUserGetUserRestrictedDefault creates a ResonateUserGetUserRestrictedDefault with default headers values

func (*ResonateUserGetUserRestrictedDefault) Code

Code gets the status code for the resonate user get user restricted default response

func (*ResonateUserGetUserRestrictedDefault) Error

func (*ResonateUserGetUserRestrictedDefault) GetPayload

type ResonateUserGetUserRestrictedOK

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

A successful response.

func NewResonateUserGetUserRestrictedOK

func NewResonateUserGetUserRestrictedOK() *ResonateUserGetUserRestrictedOK

NewResonateUserGetUserRestrictedOK creates a ResonateUserGetUserRestrictedOK with default headers values

func (*ResonateUserGetUserRestrictedOK) Error

func (*ResonateUserGetUserRestrictedOK) GetPayload

type ResonateUserGetUserRestrictedParams

type ResonateUserGetUserRestrictedParams struct {

	// ID.
	ID string

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

ResonateUserGetUserRestrictedParams contains all the parameters to send to the API endpoint

for the resonate user get user restricted operation.

Typically these are written to a http.Request.

func NewResonateUserGetUserRestrictedParams

func NewResonateUserGetUserRestrictedParams() *ResonateUserGetUserRestrictedParams

NewResonateUserGetUserRestrictedParams creates a new ResonateUserGetUserRestrictedParams 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 NewResonateUserGetUserRestrictedParamsWithContext

func NewResonateUserGetUserRestrictedParamsWithContext(ctx context.Context) *ResonateUserGetUserRestrictedParams

NewResonateUserGetUserRestrictedParamsWithContext creates a new ResonateUserGetUserRestrictedParams object with the ability to set a context for a request.

func NewResonateUserGetUserRestrictedParamsWithHTTPClient

func NewResonateUserGetUserRestrictedParamsWithHTTPClient(client *http.Client) *ResonateUserGetUserRestrictedParams

NewResonateUserGetUserRestrictedParamsWithHTTPClient creates a new ResonateUserGetUserRestrictedParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserGetUserRestrictedParamsWithTimeout

func NewResonateUserGetUserRestrictedParamsWithTimeout(timeout time.Duration) *ResonateUserGetUserRestrictedParams

NewResonateUserGetUserRestrictedParamsWithTimeout creates a new ResonateUserGetUserRestrictedParams object with the ability to set a timeout on a request.

func (*ResonateUserGetUserRestrictedParams) SetContext

SetContext adds the context to the resonate user get user restricted params

func (*ResonateUserGetUserRestrictedParams) SetDefaults

func (o *ResonateUserGetUserRestrictedParams) SetDefaults()

SetDefaults hydrates default values in the resonate user get user restricted params (not the query body).

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

func (*ResonateUserGetUserRestrictedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user get user restricted params

func (*ResonateUserGetUserRestrictedParams) SetID

SetID adds the id to the resonate user get user restricted params

func (*ResonateUserGetUserRestrictedParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user get user restricted params

func (*ResonateUserGetUserRestrictedParams) WithContext

WithContext adds the context to the resonate user get user restricted params

func (*ResonateUserGetUserRestrictedParams) WithDefaults

WithDefaults hydrates default values in the resonate user get user restricted params (not the query body).

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

func (*ResonateUserGetUserRestrictedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resonate user get user restricted params

func (*ResonateUserGetUserRestrictedParams) WithID

WithID adds the id to the resonate user get user restricted params

func (*ResonateUserGetUserRestrictedParams) WithTimeout

WithTimeout adds the timeout to the resonate user get user restricted params

func (*ResonateUserGetUserRestrictedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserGetUserRestrictedReader

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

ResonateUserGetUserRestrictedReader is a Reader for the ResonateUserGetUserRestricted structure.

func (*ResonateUserGetUserRestrictedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserListUsersDefault

type ResonateUserListUsersDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
ResonateUserListUsersDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResonateUserListUsersDefault

func NewResonateUserListUsersDefault(code int) *ResonateUserListUsersDefault

NewResonateUserListUsersDefault creates a ResonateUserListUsersDefault with default headers values

func (*ResonateUserListUsersDefault) Code

Code gets the status code for the resonate user list users default response

func (*ResonateUserListUsersDefault) Error

func (*ResonateUserListUsersDefault) GetPayload

type ResonateUserListUsersOK

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

A successful response.

func NewResonateUserListUsersOK

func NewResonateUserListUsersOK() *ResonateUserListUsersOK

NewResonateUserListUsersOK creates a ResonateUserListUsersOK with default headers values

func (*ResonateUserListUsersOK) Error

func (o *ResonateUserListUsersOK) Error() string

func (*ResonateUserListUsersOK) GetPayload

type ResonateUserListUsersParams

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

ResonateUserListUsersParams contains all the parameters to send to the API endpoint

for the resonate user list users operation.

Typically these are written to a http.Request.

func NewResonateUserListUsersParams

func NewResonateUserListUsersParams() *ResonateUserListUsersParams

NewResonateUserListUsersParams creates a new ResonateUserListUsersParams 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 NewResonateUserListUsersParamsWithContext

func NewResonateUserListUsersParamsWithContext(ctx context.Context) *ResonateUserListUsersParams

NewResonateUserListUsersParamsWithContext creates a new ResonateUserListUsersParams object with the ability to set a context for a request.

func NewResonateUserListUsersParamsWithHTTPClient

func NewResonateUserListUsersParamsWithHTTPClient(client *http.Client) *ResonateUserListUsersParams

NewResonateUserListUsersParamsWithHTTPClient creates a new ResonateUserListUsersParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserListUsersParamsWithTimeout

func NewResonateUserListUsersParamsWithTimeout(timeout time.Duration) *ResonateUserListUsersParams

NewResonateUserListUsersParamsWithTimeout creates a new ResonateUserListUsersParams object with the ability to set a timeout on a request.

func (*ResonateUserListUsersParams) SetContext

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

SetContext adds the context to the resonate user list users params

func (*ResonateUserListUsersParams) SetDefaults

func (o *ResonateUserListUsersParams) SetDefaults()

SetDefaults hydrates default values in the resonate user list users params (not the query body).

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

func (*ResonateUserListUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user list users params

func (*ResonateUserListUsersParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user list users params

func (*ResonateUserListUsersParams) WithContext

WithContext adds the context to the resonate user list users params

func (*ResonateUserListUsersParams) WithDefaults

WithDefaults hydrates default values in the resonate user list users params (not the query body).

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

func (*ResonateUserListUsersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resonate user list users params

func (*ResonateUserListUsersParams) WithTimeout

WithTimeout adds the timeout to the resonate user list users params

func (*ResonateUserListUsersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserListUsersReader

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

ResonateUserListUsersReader is a Reader for the ResonateUserListUsers structure.

func (*ResonateUserListUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserUpdateUserDefault

type ResonateUserUpdateUserDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
ResonateUserUpdateUserDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResonateUserUpdateUserDefault

func NewResonateUserUpdateUserDefault(code int) *ResonateUserUpdateUserDefault

NewResonateUserUpdateUserDefault creates a ResonateUserUpdateUserDefault with default headers values

func (*ResonateUserUpdateUserDefault) Code

Code gets the status code for the resonate user update user default response

func (*ResonateUserUpdateUserDefault) Error

func (*ResonateUserUpdateUserDefault) GetPayload

type ResonateUserUpdateUserOK

type ResonateUserUpdateUserOK struct {
	Payload models.UserEmpty
}
ResonateUserUpdateUserOK describes a response with status code 200, with default header values.

A successful response.

func NewResonateUserUpdateUserOK

func NewResonateUserUpdateUserOK() *ResonateUserUpdateUserOK

NewResonateUserUpdateUserOK creates a ResonateUserUpdateUserOK with default headers values

func (*ResonateUserUpdateUserOK) Error

func (o *ResonateUserUpdateUserOK) Error() string

func (*ResonateUserUpdateUserOK) GetPayload

func (o *ResonateUserUpdateUserOK) GetPayload() models.UserEmpty

type ResonateUserUpdateUserParams

type ResonateUserUpdateUserParams struct {

	// Body.
	Body *models.UserUserUpdateRequest

	// ID.
	ID string

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

ResonateUserUpdateUserParams contains all the parameters to send to the API endpoint

for the resonate user update user operation.

Typically these are written to a http.Request.

func NewResonateUserUpdateUserParams

func NewResonateUserUpdateUserParams() *ResonateUserUpdateUserParams

NewResonateUserUpdateUserParams creates a new ResonateUserUpdateUserParams 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 NewResonateUserUpdateUserParamsWithContext

func NewResonateUserUpdateUserParamsWithContext(ctx context.Context) *ResonateUserUpdateUserParams

NewResonateUserUpdateUserParamsWithContext creates a new ResonateUserUpdateUserParams object with the ability to set a context for a request.

func NewResonateUserUpdateUserParamsWithHTTPClient

func NewResonateUserUpdateUserParamsWithHTTPClient(client *http.Client) *ResonateUserUpdateUserParams

NewResonateUserUpdateUserParamsWithHTTPClient creates a new ResonateUserUpdateUserParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserUpdateUserParamsWithTimeout

func NewResonateUserUpdateUserParamsWithTimeout(timeout time.Duration) *ResonateUserUpdateUserParams

NewResonateUserUpdateUserParamsWithTimeout creates a new ResonateUserUpdateUserParams object with the ability to set a timeout on a request.

func (*ResonateUserUpdateUserParams) SetBody

SetBody adds the body to the resonate user update user params

func (*ResonateUserUpdateUserParams) SetContext

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

SetContext adds the context to the resonate user update user params

func (*ResonateUserUpdateUserParams) SetDefaults

func (o *ResonateUserUpdateUserParams) SetDefaults()

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

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

func (*ResonateUserUpdateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user update user params

func (*ResonateUserUpdateUserParams) SetID

func (o *ResonateUserUpdateUserParams) SetID(id string)

SetID adds the id to the resonate user update user params

func (*ResonateUserUpdateUserParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user update user params

func (*ResonateUserUpdateUserParams) WithBody

WithBody adds the body to the resonate user update user params

func (*ResonateUserUpdateUserParams) WithContext

WithContext adds the context to the resonate user update user params

func (*ResonateUserUpdateUserParams) WithDefaults

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

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

func (*ResonateUserUpdateUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resonate user update user params

func (*ResonateUserUpdateUserParams) WithID

WithID adds the id to the resonate user update user params

func (*ResonateUserUpdateUserParams) WithTimeout

WithTimeout adds the timeout to the resonate user update user params

func (*ResonateUserUpdateUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserUpdateUserReader

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

ResonateUserUpdateUserReader is a Reader for the ResonateUserUpdateUser structure.

func (*ResonateUserUpdateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserUpdateUserRestrictedDefault

type ResonateUserUpdateUserRestrictedDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}
ResonateUserUpdateUserRestrictedDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResonateUserUpdateUserRestrictedDefault

func NewResonateUserUpdateUserRestrictedDefault(code int) *ResonateUserUpdateUserRestrictedDefault

NewResonateUserUpdateUserRestrictedDefault creates a ResonateUserUpdateUserRestrictedDefault with default headers values

func (*ResonateUserUpdateUserRestrictedDefault) Code

Code gets the status code for the resonate user update user restricted default response

func (*ResonateUserUpdateUserRestrictedDefault) Error

func (*ResonateUserUpdateUserRestrictedDefault) GetPayload

type ResonateUserUpdateUserRestrictedOK

type ResonateUserUpdateUserRestrictedOK struct {
	Payload models.UserEmpty
}
ResonateUserUpdateUserRestrictedOK describes a response with status code 200, with default header values.

A successful response.

func NewResonateUserUpdateUserRestrictedOK

func NewResonateUserUpdateUserRestrictedOK() *ResonateUserUpdateUserRestrictedOK

NewResonateUserUpdateUserRestrictedOK creates a ResonateUserUpdateUserRestrictedOK with default headers values

func (*ResonateUserUpdateUserRestrictedOK) Error

func (*ResonateUserUpdateUserRestrictedOK) GetPayload

type ResonateUserUpdateUserRestrictedParams

type ResonateUserUpdateUserRestrictedParams struct {

	// Body.
	Body *models.UserUserUpdateRestrictedRequest

	// ID.
	ID string

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

ResonateUserUpdateUserRestrictedParams contains all the parameters to send to the API endpoint

for the resonate user update user restricted operation.

Typically these are written to a http.Request.

func NewResonateUserUpdateUserRestrictedParams

func NewResonateUserUpdateUserRestrictedParams() *ResonateUserUpdateUserRestrictedParams

NewResonateUserUpdateUserRestrictedParams creates a new ResonateUserUpdateUserRestrictedParams 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 NewResonateUserUpdateUserRestrictedParamsWithContext

func NewResonateUserUpdateUserRestrictedParamsWithContext(ctx context.Context) *ResonateUserUpdateUserRestrictedParams

NewResonateUserUpdateUserRestrictedParamsWithContext creates a new ResonateUserUpdateUserRestrictedParams object with the ability to set a context for a request.

func NewResonateUserUpdateUserRestrictedParamsWithHTTPClient

func NewResonateUserUpdateUserRestrictedParamsWithHTTPClient(client *http.Client) *ResonateUserUpdateUserRestrictedParams

NewResonateUserUpdateUserRestrictedParamsWithHTTPClient creates a new ResonateUserUpdateUserRestrictedParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserUpdateUserRestrictedParamsWithTimeout

func NewResonateUserUpdateUserRestrictedParamsWithTimeout(timeout time.Duration) *ResonateUserUpdateUserRestrictedParams

NewResonateUserUpdateUserRestrictedParamsWithTimeout creates a new ResonateUserUpdateUserRestrictedParams object with the ability to set a timeout on a request.

func (*ResonateUserUpdateUserRestrictedParams) SetBody

SetBody adds the body to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) SetContext

SetContext adds the context to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) SetDefaults

func (o *ResonateUserUpdateUserRestrictedParams) SetDefaults()

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

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

func (*ResonateUserUpdateUserRestrictedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) SetID

SetID adds the id to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) WithBody

WithBody adds the body to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) WithContext

WithContext adds the context to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) WithDefaults

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

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

func (*ResonateUserUpdateUserRestrictedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) WithID

WithID adds the id to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) WithTimeout

WithTimeout adds the timeout to the resonate user update user restricted params

func (*ResonateUserUpdateUserRestrictedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserUpdateUserRestrictedReader

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

ResonateUserUpdateUserRestrictedReader is a Reader for the ResonateUserUpdateUserRestricted structure.

func (*ResonateUserUpdateUserRestrictedReader) ReadResponse

func (o *ResonateUserUpdateUserRestrictedReader) 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