usergroups

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: 1

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

func (*Client) ResonateUserAddUserGroup

func (a *Client) ResonateUserAddUserGroup(params *ResonateUserAddUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserAddUserGroupOK, error)

ResonateUserAddUserGroup adds a user group

Add a user group to the server to user resource with id: id.

func (*Client) ResonateUserDeleteUserGroup

func (a *Client) ResonateUserDeleteUserGroup(params *ResonateUserDeleteUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserDeleteUserGroupOK, error)

ResonateUserDeleteUserGroup deletes usergroup

Delete a usergroup from the server.

func (*Client) ResonateUserGetUserGroup

func (a *Client) ResonateUserGetUserGroup(params *ResonateUserGetUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserGetUserGroupOK, error)

ResonateUserGetUserGroup gets a user group

Get a usergroup from the server.

func (*Client) ResonateUserListUsersUserGroups

func (a *Client) ResonateUserListUsersUserGroups(params *ResonateUserListUsersUserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserListUsersUserGroupsOK, error)

ResonateUserListUsersUserGroups gets a list of users groups

Get a list of users groups owned by user from server

func (*Client) ResonateUserUpdateUserGroup

func (a *Client) ResonateUserUpdateUserGroup(params *ResonateUserUpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserUpdateUserGroupOK, error)

ResonateUserUpdateUserGroup updates a user group

Update an existing user group record on the server.

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 {
	ResonateUserAddUserGroup(params *ResonateUserAddUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserAddUserGroupOK, error)

	ResonateUserDeleteUserGroup(params *ResonateUserDeleteUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserDeleteUserGroupOK, error)

	ResonateUserGetUserGroup(params *ResonateUserGetUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserGetUserGroupOK, error)

	ResonateUserListUsersUserGroups(params *ResonateUserListUsersUserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserListUsersUserGroupsOK, error)

	ResonateUserUpdateUserGroup(params *ResonateUserUpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResonateUserUpdateUserGroupOK, 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 usergroups API client.

type ResonateUserAddUserGroupDefault

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

An unexpected error response.

func NewResonateUserAddUserGroupDefault

func NewResonateUserAddUserGroupDefault(code int) *ResonateUserAddUserGroupDefault

NewResonateUserAddUserGroupDefault creates a ResonateUserAddUserGroupDefault with default headers values

func (*ResonateUserAddUserGroupDefault) Code

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

func (*ResonateUserAddUserGroupDefault) Error

func (*ResonateUserAddUserGroupDefault) GetPayload

type ResonateUserAddUserGroupOK

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

A successful response.

func NewResonateUserAddUserGroupOK

func NewResonateUserAddUserGroupOK() *ResonateUserAddUserGroupOK

NewResonateUserAddUserGroupOK creates a ResonateUserAddUserGroupOK with default headers values

func (*ResonateUserAddUserGroupOK) Error

func (*ResonateUserAddUserGroupOK) GetPayload

type ResonateUserAddUserGroupParams

type ResonateUserAddUserGroupParams struct {

	// Body.
	Body *models.UserUserGroupCreateRequest

	// ID.
	ID string

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

ResonateUserAddUserGroupParams contains all the parameters to send to the API endpoint

for the resonate user add user group operation.

Typically these are written to a http.Request.

func NewResonateUserAddUserGroupParams

func NewResonateUserAddUserGroupParams() *ResonateUserAddUserGroupParams

NewResonateUserAddUserGroupParams creates a new ResonateUserAddUserGroupParams 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 NewResonateUserAddUserGroupParamsWithContext

func NewResonateUserAddUserGroupParamsWithContext(ctx context.Context) *ResonateUserAddUserGroupParams

NewResonateUserAddUserGroupParamsWithContext creates a new ResonateUserAddUserGroupParams object with the ability to set a context for a request.

func NewResonateUserAddUserGroupParamsWithHTTPClient

func NewResonateUserAddUserGroupParamsWithHTTPClient(client *http.Client) *ResonateUserAddUserGroupParams

NewResonateUserAddUserGroupParamsWithHTTPClient creates a new ResonateUserAddUserGroupParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserAddUserGroupParamsWithTimeout

func NewResonateUserAddUserGroupParamsWithTimeout(timeout time.Duration) *ResonateUserAddUserGroupParams

NewResonateUserAddUserGroupParamsWithTimeout creates a new ResonateUserAddUserGroupParams object with the ability to set a timeout on a request.

func (*ResonateUserAddUserGroupParams) SetBody

SetBody adds the body to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) SetContext

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

SetContext adds the context to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) SetDefaults

func (o *ResonateUserAddUserGroupParams) SetDefaults()

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

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

func (*ResonateUserAddUserGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) SetID

SetID adds the id to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) WithBody

WithBody adds the body to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) WithContext

WithContext adds the context to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) WithDefaults

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

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

func (*ResonateUserAddUserGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) WithID

WithID adds the id to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) WithTimeout

WithTimeout adds the timeout to the resonate user add user group params

func (*ResonateUserAddUserGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserAddUserGroupReader

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

ResonateUserAddUserGroupReader is a Reader for the ResonateUserAddUserGroup structure.

func (*ResonateUserAddUserGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserDeleteUserGroupDefault

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

An unexpected error response.

func NewResonateUserDeleteUserGroupDefault

func NewResonateUserDeleteUserGroupDefault(code int) *ResonateUserDeleteUserGroupDefault

NewResonateUserDeleteUserGroupDefault creates a ResonateUserDeleteUserGroupDefault with default headers values

func (*ResonateUserDeleteUserGroupDefault) Code

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

func (*ResonateUserDeleteUserGroupDefault) Error

func (*ResonateUserDeleteUserGroupDefault) GetPayload

type ResonateUserDeleteUserGroupOK

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

A successful response.

func NewResonateUserDeleteUserGroupOK

func NewResonateUserDeleteUserGroupOK() *ResonateUserDeleteUserGroupOK

NewResonateUserDeleteUserGroupOK creates a ResonateUserDeleteUserGroupOK with default headers values

func (*ResonateUserDeleteUserGroupOK) Error

func (*ResonateUserDeleteUserGroupOK) GetPayload

type ResonateUserDeleteUserGroupParams

type ResonateUserDeleteUserGroupParams struct {

	// ID.
	ID string

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

ResonateUserDeleteUserGroupParams contains all the parameters to send to the API endpoint

for the resonate user delete user group operation.

Typically these are written to a http.Request.

func NewResonateUserDeleteUserGroupParams

func NewResonateUserDeleteUserGroupParams() *ResonateUserDeleteUserGroupParams

NewResonateUserDeleteUserGroupParams creates a new ResonateUserDeleteUserGroupParams 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 NewResonateUserDeleteUserGroupParamsWithContext

func NewResonateUserDeleteUserGroupParamsWithContext(ctx context.Context) *ResonateUserDeleteUserGroupParams

NewResonateUserDeleteUserGroupParamsWithContext creates a new ResonateUserDeleteUserGroupParams object with the ability to set a context for a request.

func NewResonateUserDeleteUserGroupParamsWithHTTPClient

func NewResonateUserDeleteUserGroupParamsWithHTTPClient(client *http.Client) *ResonateUserDeleteUserGroupParams

NewResonateUserDeleteUserGroupParamsWithHTTPClient creates a new ResonateUserDeleteUserGroupParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserDeleteUserGroupParamsWithTimeout

func NewResonateUserDeleteUserGroupParamsWithTimeout(timeout time.Duration) *ResonateUserDeleteUserGroupParams

NewResonateUserDeleteUserGroupParamsWithTimeout creates a new ResonateUserDeleteUserGroupParams object with the ability to set a timeout on a request.

func (*ResonateUserDeleteUserGroupParams) SetContext

SetContext adds the context to the resonate user delete user group params

func (*ResonateUserDeleteUserGroupParams) SetDefaults

func (o *ResonateUserDeleteUserGroupParams) SetDefaults()

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

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

func (*ResonateUserDeleteUserGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user delete user group params

func (*ResonateUserDeleteUserGroupParams) SetID

SetID adds the id to the resonate user delete user group params

func (*ResonateUserDeleteUserGroupParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user delete user group params

func (*ResonateUserDeleteUserGroupParams) WithContext

WithContext adds the context to the resonate user delete user group params

func (*ResonateUserDeleteUserGroupParams) WithDefaults

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

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

func (*ResonateUserDeleteUserGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resonate user delete user group params

func (*ResonateUserDeleteUserGroupParams) WithID

WithID adds the id to the resonate user delete user group params

func (*ResonateUserDeleteUserGroupParams) WithTimeout

WithTimeout adds the timeout to the resonate user delete user group params

func (*ResonateUserDeleteUserGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserDeleteUserGroupReader

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

ResonateUserDeleteUserGroupReader is a Reader for the ResonateUserDeleteUserGroup structure.

func (*ResonateUserDeleteUserGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserGetUserGroupDefault

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

An unexpected error response.

func NewResonateUserGetUserGroupDefault

func NewResonateUserGetUserGroupDefault(code int) *ResonateUserGetUserGroupDefault

NewResonateUserGetUserGroupDefault creates a ResonateUserGetUserGroupDefault with default headers values

func (*ResonateUserGetUserGroupDefault) Code

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

func (*ResonateUserGetUserGroupDefault) Error

func (*ResonateUserGetUserGroupDefault) GetPayload

type ResonateUserGetUserGroupOK

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

A successful response.

func NewResonateUserGetUserGroupOK

func NewResonateUserGetUserGroupOK() *ResonateUserGetUserGroupOK

NewResonateUserGetUserGroupOK creates a ResonateUserGetUserGroupOK with default headers values

func (*ResonateUserGetUserGroupOK) Error

func (*ResonateUserGetUserGroupOK) GetPayload

type ResonateUserGetUserGroupParams

type ResonateUserGetUserGroupParams struct {

	// ID.
	ID string

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

ResonateUserGetUserGroupParams contains all the parameters to send to the API endpoint

for the resonate user get user group operation.

Typically these are written to a http.Request.

func NewResonateUserGetUserGroupParams

func NewResonateUserGetUserGroupParams() *ResonateUserGetUserGroupParams

NewResonateUserGetUserGroupParams creates a new ResonateUserGetUserGroupParams 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 NewResonateUserGetUserGroupParamsWithContext

func NewResonateUserGetUserGroupParamsWithContext(ctx context.Context) *ResonateUserGetUserGroupParams

NewResonateUserGetUserGroupParamsWithContext creates a new ResonateUserGetUserGroupParams object with the ability to set a context for a request.

func NewResonateUserGetUserGroupParamsWithHTTPClient

func NewResonateUserGetUserGroupParamsWithHTTPClient(client *http.Client) *ResonateUserGetUserGroupParams

NewResonateUserGetUserGroupParamsWithHTTPClient creates a new ResonateUserGetUserGroupParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserGetUserGroupParamsWithTimeout

func NewResonateUserGetUserGroupParamsWithTimeout(timeout time.Duration) *ResonateUserGetUserGroupParams

NewResonateUserGetUserGroupParamsWithTimeout creates a new ResonateUserGetUserGroupParams object with the ability to set a timeout on a request.

func (*ResonateUserGetUserGroupParams) SetContext

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

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

func (*ResonateUserGetUserGroupParams) SetDefaults

func (o *ResonateUserGetUserGroupParams) SetDefaults()

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

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

func (*ResonateUserGetUserGroupParams) SetHTTPClient

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

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

func (*ResonateUserGetUserGroupParams) SetID

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

func (*ResonateUserGetUserGroupParams) SetTimeout

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

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

func (*ResonateUserGetUserGroupParams) WithContext

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

func (*ResonateUserGetUserGroupParams) WithDefaults

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

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

func (*ResonateUserGetUserGroupParams) WithHTTPClient

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

func (*ResonateUserGetUserGroupParams) WithID

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

func (*ResonateUserGetUserGroupParams) WithTimeout

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

func (*ResonateUserGetUserGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserGetUserGroupReader

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

ResonateUserGetUserGroupReader is a Reader for the ResonateUserGetUserGroup structure.

func (*ResonateUserGetUserGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserListUsersUserGroupsDefault

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

An unexpected error response.

func NewResonateUserListUsersUserGroupsDefault

func NewResonateUserListUsersUserGroupsDefault(code int) *ResonateUserListUsersUserGroupsDefault

NewResonateUserListUsersUserGroupsDefault creates a ResonateUserListUsersUserGroupsDefault with default headers values

func (*ResonateUserListUsersUserGroupsDefault) Code

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

func (*ResonateUserListUsersUserGroupsDefault) Error

func (*ResonateUserListUsersUserGroupsDefault) GetPayload

type ResonateUserListUsersUserGroupsOK

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

A successful response.

func NewResonateUserListUsersUserGroupsOK

func NewResonateUserListUsersUserGroupsOK() *ResonateUserListUsersUserGroupsOK

NewResonateUserListUsersUserGroupsOK creates a ResonateUserListUsersUserGroupsOK with default headers values

func (*ResonateUserListUsersUserGroupsOK) Error

func (*ResonateUserListUsersUserGroupsOK) GetPayload

type ResonateUserListUsersUserGroupsParams

type ResonateUserListUsersUserGroupsParams struct {

	// ID.
	ID string

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

ResonateUserListUsersUserGroupsParams contains all the parameters to send to the API endpoint

for the resonate user list users user groups operation.

Typically these are written to a http.Request.

func NewResonateUserListUsersUserGroupsParams

func NewResonateUserListUsersUserGroupsParams() *ResonateUserListUsersUserGroupsParams

NewResonateUserListUsersUserGroupsParams creates a new ResonateUserListUsersUserGroupsParams 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 NewResonateUserListUsersUserGroupsParamsWithContext

func NewResonateUserListUsersUserGroupsParamsWithContext(ctx context.Context) *ResonateUserListUsersUserGroupsParams

NewResonateUserListUsersUserGroupsParamsWithContext creates a new ResonateUserListUsersUserGroupsParams object with the ability to set a context for a request.

func NewResonateUserListUsersUserGroupsParamsWithHTTPClient

func NewResonateUserListUsersUserGroupsParamsWithHTTPClient(client *http.Client) *ResonateUserListUsersUserGroupsParams

NewResonateUserListUsersUserGroupsParamsWithHTTPClient creates a new ResonateUserListUsersUserGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserListUsersUserGroupsParamsWithTimeout

func NewResonateUserListUsersUserGroupsParamsWithTimeout(timeout time.Duration) *ResonateUserListUsersUserGroupsParams

NewResonateUserListUsersUserGroupsParamsWithTimeout creates a new ResonateUserListUsersUserGroupsParams object with the ability to set a timeout on a request.

func (*ResonateUserListUsersUserGroupsParams) SetContext

SetContext adds the context to the resonate user list users user groups params

func (*ResonateUserListUsersUserGroupsParams) SetDefaults

func (o *ResonateUserListUsersUserGroupsParams) SetDefaults()

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

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

func (*ResonateUserListUsersUserGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resonate user list users user groups params

func (*ResonateUserListUsersUserGroupsParams) SetID

SetID adds the id to the resonate user list users user groups params

func (*ResonateUserListUsersUserGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the resonate user list users user groups params

func (*ResonateUserListUsersUserGroupsParams) WithContext

WithContext adds the context to the resonate user list users user groups params

func (*ResonateUserListUsersUserGroupsParams) WithDefaults

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

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

func (*ResonateUserListUsersUserGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resonate user list users user groups params

func (*ResonateUserListUsersUserGroupsParams) WithID

WithID adds the id to the resonate user list users user groups params

func (*ResonateUserListUsersUserGroupsParams) WithTimeout

WithTimeout adds the timeout to the resonate user list users user groups params

func (*ResonateUserListUsersUserGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserListUsersUserGroupsReader

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

ResonateUserListUsersUserGroupsReader is a Reader for the ResonateUserListUsersUserGroups structure.

func (*ResonateUserListUsersUserGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResonateUserUpdateUserGroupDefault

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

An unexpected error response.

func NewResonateUserUpdateUserGroupDefault

func NewResonateUserUpdateUserGroupDefault(code int) *ResonateUserUpdateUserGroupDefault

NewResonateUserUpdateUserGroupDefault creates a ResonateUserUpdateUserGroupDefault with default headers values

func (*ResonateUserUpdateUserGroupDefault) Code

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

func (*ResonateUserUpdateUserGroupDefault) Error

func (*ResonateUserUpdateUserGroupDefault) GetPayload

type ResonateUserUpdateUserGroupOK

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

A successful response.

func NewResonateUserUpdateUserGroupOK

func NewResonateUserUpdateUserGroupOK() *ResonateUserUpdateUserGroupOK

NewResonateUserUpdateUserGroupOK creates a ResonateUserUpdateUserGroupOK with default headers values

func (*ResonateUserUpdateUserGroupOK) Error

func (*ResonateUserUpdateUserGroupOK) GetPayload

type ResonateUserUpdateUserGroupParams

type ResonateUserUpdateUserGroupParams struct {

	// Body.
	Body *models.UserUserGroupUpdateRequest

	// ID.
	ID string

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

ResonateUserUpdateUserGroupParams contains all the parameters to send to the API endpoint

for the resonate user update user group operation.

Typically these are written to a http.Request.

func NewResonateUserUpdateUserGroupParams

func NewResonateUserUpdateUserGroupParams() *ResonateUserUpdateUserGroupParams

NewResonateUserUpdateUserGroupParams creates a new ResonateUserUpdateUserGroupParams 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 NewResonateUserUpdateUserGroupParamsWithContext

func NewResonateUserUpdateUserGroupParamsWithContext(ctx context.Context) *ResonateUserUpdateUserGroupParams

NewResonateUserUpdateUserGroupParamsWithContext creates a new ResonateUserUpdateUserGroupParams object with the ability to set a context for a request.

func NewResonateUserUpdateUserGroupParamsWithHTTPClient

func NewResonateUserUpdateUserGroupParamsWithHTTPClient(client *http.Client) *ResonateUserUpdateUserGroupParams

NewResonateUserUpdateUserGroupParamsWithHTTPClient creates a new ResonateUserUpdateUserGroupParams object with the ability to set a custom HTTPClient for a request.

func NewResonateUserUpdateUserGroupParamsWithTimeout

func NewResonateUserUpdateUserGroupParamsWithTimeout(timeout time.Duration) *ResonateUserUpdateUserGroupParams

NewResonateUserUpdateUserGroupParamsWithTimeout creates a new ResonateUserUpdateUserGroupParams object with the ability to set a timeout on a request.

func (*ResonateUserUpdateUserGroupParams) SetBody

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

func (*ResonateUserUpdateUserGroupParams) SetContext

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

func (*ResonateUserUpdateUserGroupParams) SetDefaults

func (o *ResonateUserUpdateUserGroupParams) SetDefaults()

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

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

func (*ResonateUserUpdateUserGroupParams) SetHTTPClient

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

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

func (*ResonateUserUpdateUserGroupParams) SetID

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

func (*ResonateUserUpdateUserGroupParams) SetTimeout

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

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

func (*ResonateUserUpdateUserGroupParams) WithBody

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

func (*ResonateUserUpdateUserGroupParams) WithContext

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

func (*ResonateUserUpdateUserGroupParams) WithDefaults

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

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

func (*ResonateUserUpdateUserGroupParams) WithHTTPClient

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

func (*ResonateUserUpdateUserGroupParams) WithID

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

func (*ResonateUserUpdateUserGroupParams) WithTimeout

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

func (*ResonateUserUpdateUserGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResonateUserUpdateUserGroupReader

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

ResonateUserUpdateUserGroupReader is a Reader for the ResonateUserUpdateUserGroup structure.

func (*ResonateUserUpdateUserGroupReader) ReadResponse

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