users

package
v0.0.0-...-99157af Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 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 users API

func (*Client) CreateOauthProviders

func (a *Client) CreateOauthProviders(params *CreateOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOauthProvidersOK, error)

CreateOauthProviders creates oauth providers

Creates Oauth providers for a specified user - BETA

func (*Client) CreateUsers

func (a *Client) CreateUsers(params *CreateUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUsersOK, error)

CreateUsers creates users

Create Users in an existing Organization

func (*Client) DeleteOauthProviders

func (a *Client) DeleteOauthProviders(params *DeleteOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOauthProvidersOK, error)

DeleteOauthProviders deletes oauth providers

Removes Oauth providers for a specified user - BETA

func (*Client) DeleteUsers

func (a *Client) DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsersOK, error)

DeleteUsers deletes users

Delete Users within an Organization

func (*Client) GetOauthProviders

func (a *Client) GetOauthProviders(params *GetOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOauthProvidersOK, error)

GetOauthProviders gets oauth providers

Get details about Oauth providers for a user

func (*Client) GetUser

func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)

GetUser gets user

Get details about a User

func (*Client) GetUsers

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

GetUsers lists users

List all Users within an Organization

func (*Client) Oauth

func (a *Client) Oauth(params *OauthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OauthOK, error)

Oauth oauths

Authenticate a user with an Oidc token (Oauth) - BETA

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, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)

UpdateUser updates user

Update a User in an existing Organization

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateOauthProviders(params *CreateOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOauthProvidersOK, error)

	CreateUsers(params *CreateUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUsersOK, error)

	DeleteOauthProviders(params *DeleteOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOauthProvidersOK, error)

	DeleteUsers(params *DeleteUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsersOK, error)

	GetOauthProviders(params *GetOauthProvidersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOauthProvidersOK, error)

	GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)

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

	Oauth(params *OauthParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OauthOK, error)

	UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, 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 users API client.

type CreateOauthProvidersOK

type CreateOauthProvidersOK struct {
	Payload *models.ActivityResponse
}

CreateOauthProvidersOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateOauthProvidersOK

func NewCreateOauthProvidersOK() *CreateOauthProvidersOK

NewCreateOauthProvidersOK creates a CreateOauthProvidersOK with default headers values

func (*CreateOauthProvidersOK) Code

func (o *CreateOauthProvidersOK) Code() int

Code gets the status code for the create oauth providers o k response

func (*CreateOauthProvidersOK) Error

func (o *CreateOauthProvidersOK) Error() string

func (*CreateOauthProvidersOK) GetPayload

func (*CreateOauthProvidersOK) IsClientError

func (o *CreateOauthProvidersOK) IsClientError() bool

IsClientError returns true when this create oauth providers o k response has a 4xx status code

func (*CreateOauthProvidersOK) IsCode

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

IsCode returns true when this create oauth providers o k response a status code equal to that given

func (*CreateOauthProvidersOK) IsRedirect

func (o *CreateOauthProvidersOK) IsRedirect() bool

IsRedirect returns true when this create oauth providers o k response has a 3xx status code

func (*CreateOauthProvidersOK) IsServerError

func (o *CreateOauthProvidersOK) IsServerError() bool

IsServerError returns true when this create oauth providers o k response has a 5xx status code

func (*CreateOauthProvidersOK) IsSuccess

func (o *CreateOauthProvidersOK) IsSuccess() bool

IsSuccess returns true when this create oauth providers o k response has a 2xx status code

func (*CreateOauthProvidersOK) String

func (o *CreateOauthProvidersOK) String() string

type CreateOauthProvidersParams

type CreateOauthProvidersParams struct {

	// Body.
	Body *models.CreateOauthProvidersRequest

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

CreateOauthProvidersParams contains all the parameters to send to the API endpoint

for the create oauth providers operation.

Typically these are written to a http.Request.

func NewCreateOauthProvidersParams

func NewCreateOauthProvidersParams() *CreateOauthProvidersParams

NewCreateOauthProvidersParams creates a new CreateOauthProvidersParams 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 NewCreateOauthProvidersParamsWithContext

func NewCreateOauthProvidersParamsWithContext(ctx context.Context) *CreateOauthProvidersParams

NewCreateOauthProvidersParamsWithContext creates a new CreateOauthProvidersParams object with the ability to set a context for a request.

func NewCreateOauthProvidersParamsWithHTTPClient

func NewCreateOauthProvidersParamsWithHTTPClient(client *http.Client) *CreateOauthProvidersParams

NewCreateOauthProvidersParamsWithHTTPClient creates a new CreateOauthProvidersParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOauthProvidersParamsWithTimeout

func NewCreateOauthProvidersParamsWithTimeout(timeout time.Duration) *CreateOauthProvidersParams

NewCreateOauthProvidersParamsWithTimeout creates a new CreateOauthProvidersParams object with the ability to set a timeout on a request.

func (*CreateOauthProvidersParams) SetBody

SetBody adds the body to the create oauth providers params

func (*CreateOauthProvidersParams) SetContext

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

SetContext adds the context to the create oauth providers params

func (*CreateOauthProvidersParams) SetDefaults

func (o *CreateOauthProvidersParams) SetDefaults()

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

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

func (*CreateOauthProvidersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create oauth providers params

func (*CreateOauthProvidersParams) SetTimeout

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

SetTimeout adds the timeout to the create oauth providers params

func (*CreateOauthProvidersParams) WithBody

WithBody adds the body to the create oauth providers params

func (*CreateOauthProvidersParams) WithContext

WithContext adds the context to the create oauth providers params

func (*CreateOauthProvidersParams) WithDefaults

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

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

func (*CreateOauthProvidersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create oauth providers params

func (*CreateOauthProvidersParams) WithTimeout

WithTimeout adds the timeout to the create oauth providers params

func (*CreateOauthProvidersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOauthProvidersReader

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

CreateOauthProvidersReader is a Reader for the CreateOauthProviders structure.

func (*CreateOauthProvidersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUsersOK

type CreateUsersOK struct {
	Payload *models.ActivityResponse
}

CreateUsersOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateUsersOK

func NewCreateUsersOK() *CreateUsersOK

NewCreateUsersOK creates a CreateUsersOK with default headers values

func (*CreateUsersOK) Code

func (o *CreateUsersOK) Code() int

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

func (*CreateUsersOK) Error

func (o *CreateUsersOK) Error() string

func (*CreateUsersOK) GetPayload

func (o *CreateUsersOK) GetPayload() *models.ActivityResponse

func (*CreateUsersOK) IsClientError

func (o *CreateUsersOK) IsClientError() bool

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

func (*CreateUsersOK) IsCode

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

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

func (*CreateUsersOK) IsRedirect

func (o *CreateUsersOK) IsRedirect() bool

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

func (*CreateUsersOK) IsServerError

func (o *CreateUsersOK) IsServerError() bool

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

func (*CreateUsersOK) IsSuccess

func (o *CreateUsersOK) IsSuccess() bool

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

func (*CreateUsersOK) String

func (o *CreateUsersOK) String() string

type CreateUsersParams

type CreateUsersParams struct {

	// Body.
	Body *models.CreateUsersRequest

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

CreateUsersParams contains all the parameters to send to the API endpoint

for the create users operation.

Typically these are written to a http.Request.

func NewCreateUsersParams

func NewCreateUsersParams() *CreateUsersParams

NewCreateUsersParams creates a new CreateUsersParams 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 NewCreateUsersParamsWithContext

func NewCreateUsersParamsWithContext(ctx context.Context) *CreateUsersParams

NewCreateUsersParamsWithContext creates a new CreateUsersParams object with the ability to set a context for a request.

func NewCreateUsersParamsWithHTTPClient

func NewCreateUsersParamsWithHTTPClient(client *http.Client) *CreateUsersParams

NewCreateUsersParamsWithHTTPClient creates a new CreateUsersParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUsersParamsWithTimeout

func NewCreateUsersParamsWithTimeout(timeout time.Duration) *CreateUsersParams

NewCreateUsersParamsWithTimeout creates a new CreateUsersParams object with the ability to set a timeout on a request.

func (*CreateUsersParams) SetBody

func (o *CreateUsersParams) SetBody(body *models.CreateUsersRequest)

SetBody adds the body to the create users params

func (*CreateUsersParams) SetContext

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

SetContext adds the context to the create users params

func (*CreateUsersParams) SetDefaults

func (o *CreateUsersParams) SetDefaults()

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

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

func (*CreateUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create users params

func (*CreateUsersParams) SetTimeout

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

SetTimeout adds the timeout to the create users params

func (*CreateUsersParams) WithBody

WithBody adds the body to the create users params

func (*CreateUsersParams) WithContext

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

WithContext adds the context to the create users params

func (*CreateUsersParams) WithDefaults

func (o *CreateUsersParams) WithDefaults() *CreateUsersParams

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

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

func (*CreateUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create users params

func (*CreateUsersParams) WithTimeout

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

WithTimeout adds the timeout to the create users params

func (*CreateUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateUsersReader

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

CreateUsersReader is a Reader for the CreateUsers structure.

func (*CreateUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOauthProvidersOK

type DeleteOauthProvidersOK struct {
	Payload *models.ActivityResponse
}

DeleteOauthProvidersOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteOauthProvidersOK

func NewDeleteOauthProvidersOK() *DeleteOauthProvidersOK

NewDeleteOauthProvidersOK creates a DeleteOauthProvidersOK with default headers values

func (*DeleteOauthProvidersOK) Code

func (o *DeleteOauthProvidersOK) Code() int

Code gets the status code for the delete oauth providers o k response

func (*DeleteOauthProvidersOK) Error

func (o *DeleteOauthProvidersOK) Error() string

func (*DeleteOauthProvidersOK) GetPayload

func (*DeleteOauthProvidersOK) IsClientError

func (o *DeleteOauthProvidersOK) IsClientError() bool

IsClientError returns true when this delete oauth providers o k response has a 4xx status code

func (*DeleteOauthProvidersOK) IsCode

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

IsCode returns true when this delete oauth providers o k response a status code equal to that given

func (*DeleteOauthProvidersOK) IsRedirect

func (o *DeleteOauthProvidersOK) IsRedirect() bool

IsRedirect returns true when this delete oauth providers o k response has a 3xx status code

func (*DeleteOauthProvidersOK) IsServerError

func (o *DeleteOauthProvidersOK) IsServerError() bool

IsServerError returns true when this delete oauth providers o k response has a 5xx status code

func (*DeleteOauthProvidersOK) IsSuccess

func (o *DeleteOauthProvidersOK) IsSuccess() bool

IsSuccess returns true when this delete oauth providers o k response has a 2xx status code

func (*DeleteOauthProvidersOK) String

func (o *DeleteOauthProvidersOK) String() string

type DeleteOauthProvidersParams

type DeleteOauthProvidersParams struct {

	// Body.
	Body *models.DeleteOauthProvidersRequest

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

DeleteOauthProvidersParams contains all the parameters to send to the API endpoint

for the delete oauth providers operation.

Typically these are written to a http.Request.

func NewDeleteOauthProvidersParams

func NewDeleteOauthProvidersParams() *DeleteOauthProvidersParams

NewDeleteOauthProvidersParams creates a new DeleteOauthProvidersParams 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 NewDeleteOauthProvidersParamsWithContext

func NewDeleteOauthProvidersParamsWithContext(ctx context.Context) *DeleteOauthProvidersParams

NewDeleteOauthProvidersParamsWithContext creates a new DeleteOauthProvidersParams object with the ability to set a context for a request.

func NewDeleteOauthProvidersParamsWithHTTPClient

func NewDeleteOauthProvidersParamsWithHTTPClient(client *http.Client) *DeleteOauthProvidersParams

NewDeleteOauthProvidersParamsWithHTTPClient creates a new DeleteOauthProvidersParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOauthProvidersParamsWithTimeout

func NewDeleteOauthProvidersParamsWithTimeout(timeout time.Duration) *DeleteOauthProvidersParams

NewDeleteOauthProvidersParamsWithTimeout creates a new DeleteOauthProvidersParams object with the ability to set a timeout on a request.

func (*DeleteOauthProvidersParams) SetBody

SetBody adds the body to the delete oauth providers params

func (*DeleteOauthProvidersParams) SetContext

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

SetContext adds the context to the delete oauth providers params

func (*DeleteOauthProvidersParams) SetDefaults

func (o *DeleteOauthProvidersParams) SetDefaults()

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

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

func (*DeleteOauthProvidersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete oauth providers params

func (*DeleteOauthProvidersParams) SetTimeout

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

SetTimeout adds the timeout to the delete oauth providers params

func (*DeleteOauthProvidersParams) WithBody

WithBody adds the body to the delete oauth providers params

func (*DeleteOauthProvidersParams) WithContext

WithContext adds the context to the delete oauth providers params

func (*DeleteOauthProvidersParams) WithDefaults

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

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

func (*DeleteOauthProvidersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete oauth providers params

func (*DeleteOauthProvidersParams) WithTimeout

WithTimeout adds the timeout to the delete oauth providers params

func (*DeleteOauthProvidersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOauthProvidersReader

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

DeleteOauthProvidersReader is a Reader for the DeleteOauthProviders structure.

func (*DeleteOauthProvidersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUsersOK

type DeleteUsersOK struct {
	Payload *models.ActivityResponse
}

DeleteUsersOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteUsersOK

func NewDeleteUsersOK() *DeleteUsersOK

NewDeleteUsersOK creates a DeleteUsersOK with default headers values

func (*DeleteUsersOK) Code

func (o *DeleteUsersOK) Code() int

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

func (*DeleteUsersOK) Error

func (o *DeleteUsersOK) Error() string

func (*DeleteUsersOK) GetPayload

func (o *DeleteUsersOK) GetPayload() *models.ActivityResponse

func (*DeleteUsersOK) IsClientError

func (o *DeleteUsersOK) IsClientError() bool

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

func (*DeleteUsersOK) IsCode

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

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

func (*DeleteUsersOK) IsRedirect

func (o *DeleteUsersOK) IsRedirect() bool

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

func (*DeleteUsersOK) IsServerError

func (o *DeleteUsersOK) IsServerError() bool

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

func (*DeleteUsersOK) IsSuccess

func (o *DeleteUsersOK) IsSuccess() bool

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

func (*DeleteUsersOK) String

func (o *DeleteUsersOK) String() string

type DeleteUsersParams

type DeleteUsersParams struct {

	// Body.
	Body *models.DeleteUsersRequest

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

DeleteUsersParams contains all the parameters to send to the API endpoint

for the delete users operation.

Typically these are written to a http.Request.

func NewDeleteUsersParams

func NewDeleteUsersParams() *DeleteUsersParams

NewDeleteUsersParams creates a new DeleteUsersParams 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 NewDeleteUsersParamsWithContext

func NewDeleteUsersParamsWithContext(ctx context.Context) *DeleteUsersParams

NewDeleteUsersParamsWithContext creates a new DeleteUsersParams object with the ability to set a context for a request.

func NewDeleteUsersParamsWithHTTPClient

func NewDeleteUsersParamsWithHTTPClient(client *http.Client) *DeleteUsersParams

NewDeleteUsersParamsWithHTTPClient creates a new DeleteUsersParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUsersParamsWithTimeout

func NewDeleteUsersParamsWithTimeout(timeout time.Duration) *DeleteUsersParams

NewDeleteUsersParamsWithTimeout creates a new DeleteUsersParams object with the ability to set a timeout on a request.

func (*DeleteUsersParams) SetBody

func (o *DeleteUsersParams) SetBody(body *models.DeleteUsersRequest)

SetBody adds the body to the delete users params

func (*DeleteUsersParams) SetContext

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

SetContext adds the context to the delete users params

func (*DeleteUsersParams) SetDefaults

func (o *DeleteUsersParams) SetDefaults()

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

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

func (*DeleteUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete users params

func (*DeleteUsersParams) SetTimeout

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

SetTimeout adds the timeout to the delete users params

func (*DeleteUsersParams) WithBody

WithBody adds the body to the delete users params

func (*DeleteUsersParams) WithContext

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

WithContext adds the context to the delete users params

func (*DeleteUsersParams) WithDefaults

func (o *DeleteUsersParams) WithDefaults() *DeleteUsersParams

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

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

func (*DeleteUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete users params

func (*DeleteUsersParams) WithTimeout

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

WithTimeout adds the timeout to the delete users params

func (*DeleteUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteUsersReader

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

DeleteUsersReader is a Reader for the DeleteUsers structure.

func (*DeleteUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOauthProvidersOK

type GetOauthProvidersOK struct {
	Payload *models.GetOauthProvidersResponse
}

GetOauthProvidersOK describes a response with status code 200, with default header values.

A successful response.

func NewGetOauthProvidersOK

func NewGetOauthProvidersOK() *GetOauthProvidersOK

NewGetOauthProvidersOK creates a GetOauthProvidersOK with default headers values

func (*GetOauthProvidersOK) Code

func (o *GetOauthProvidersOK) Code() int

Code gets the status code for the get oauth providers o k response

func (*GetOauthProvidersOK) Error

func (o *GetOauthProvidersOK) Error() string

func (*GetOauthProvidersOK) GetPayload

func (*GetOauthProvidersOK) IsClientError

func (o *GetOauthProvidersOK) IsClientError() bool

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

func (*GetOauthProvidersOK) IsCode

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

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

func (*GetOauthProvidersOK) IsRedirect

func (o *GetOauthProvidersOK) IsRedirect() bool

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

func (*GetOauthProvidersOK) IsServerError

func (o *GetOauthProvidersOK) IsServerError() bool

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

func (*GetOauthProvidersOK) IsSuccess

func (o *GetOauthProvidersOK) IsSuccess() bool

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

func (*GetOauthProvidersOK) String

func (o *GetOauthProvidersOK) String() string

type GetOauthProvidersParams

type GetOauthProvidersParams struct {

	// Body.
	Body *models.GetOauthProvidersRequest

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

GetOauthProvidersParams contains all the parameters to send to the API endpoint

for the get oauth providers operation.

Typically these are written to a http.Request.

func NewGetOauthProvidersParams

func NewGetOauthProvidersParams() *GetOauthProvidersParams

NewGetOauthProvidersParams creates a new GetOauthProvidersParams 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 NewGetOauthProvidersParamsWithContext

func NewGetOauthProvidersParamsWithContext(ctx context.Context) *GetOauthProvidersParams

NewGetOauthProvidersParamsWithContext creates a new GetOauthProvidersParams object with the ability to set a context for a request.

func NewGetOauthProvidersParamsWithHTTPClient

func NewGetOauthProvidersParamsWithHTTPClient(client *http.Client) *GetOauthProvidersParams

NewGetOauthProvidersParamsWithHTTPClient creates a new GetOauthProvidersParams object with the ability to set a custom HTTPClient for a request.

func NewGetOauthProvidersParamsWithTimeout

func NewGetOauthProvidersParamsWithTimeout(timeout time.Duration) *GetOauthProvidersParams

NewGetOauthProvidersParamsWithTimeout creates a new GetOauthProvidersParams object with the ability to set a timeout on a request.

func (*GetOauthProvidersParams) SetBody

SetBody adds the body to the get oauth providers params

func (*GetOauthProvidersParams) SetContext

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

SetContext adds the context to the get oauth providers params

func (*GetOauthProvidersParams) SetDefaults

func (o *GetOauthProvidersParams) SetDefaults()

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

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

func (*GetOauthProvidersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get oauth providers params

func (*GetOauthProvidersParams) SetTimeout

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

SetTimeout adds the timeout to the get oauth providers params

func (*GetOauthProvidersParams) WithBody

WithBody adds the body to the get oauth providers params

func (*GetOauthProvidersParams) WithContext

WithContext adds the context to the get oauth providers params

func (*GetOauthProvidersParams) WithDefaults

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

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

func (*GetOauthProvidersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get oauth providers params

func (*GetOauthProvidersParams) WithTimeout

WithTimeout adds the timeout to the get oauth providers params

func (*GetOauthProvidersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOauthProvidersReader

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

GetOauthProvidersReader is a Reader for the GetOauthProviders structure.

func (*GetOauthProvidersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserOK

type GetUserOK struct {
	Payload *models.GetUserResponse
}

GetUserOK describes a response with status code 200, with default header values.

A successful response.

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Code

func (o *GetUserOK) Code() int

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

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *models.GetUserResponse

func (*GetUserOK) IsClientError

func (o *GetUserOK) IsClientError() bool

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

func (*GetUserOK) IsCode

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

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

func (*GetUserOK) IsRedirect

func (o *GetUserOK) IsRedirect() bool

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

func (*GetUserOK) IsServerError

func (o *GetUserOK) IsServerError() bool

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

func (*GetUserOK) IsSuccess

func (o *GetUserOK) IsSuccess() bool

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

func (*GetUserOK) String

func (o *GetUserOK) String() string

type GetUserParams

type GetUserParams struct {

	// Body.
	Body *models.GetUserRequest

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

GetUserParams contains all the parameters to send to the API endpoint

for the get user operation.

Typically these are written to a http.Request.

func NewGetUserParams

func NewGetUserParams() *GetUserParams

NewGetUserParams creates a new GetUserParams 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 NewGetUserParamsWithContext

func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams

NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.

func NewGetUserParamsWithHTTPClient

func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams

NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserParamsWithTimeout

func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams

NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.

func (*GetUserParams) SetBody

func (o *GetUserParams) SetBody(body *models.GetUserRequest)

SetBody adds the body to the get user params

func (*GetUserParams) SetContext

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

SetContext adds the context to the get user params

func (*GetUserParams) SetDefaults

func (o *GetUserParams) SetDefaults()

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

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

func (*GetUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) SetTimeout

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

SetTimeout adds the timeout to the get user params

func (*GetUserParams) WithBody

func (o *GetUserParams) WithBody(body *models.GetUserRequest) *GetUserParams

WithBody adds the body to the get user params

func (*GetUserParams) WithContext

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

WithContext adds the context to the get user params

func (*GetUserParams) WithDefaults

func (o *GetUserParams) WithDefaults() *GetUserParams

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

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

func (*GetUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) WithTimeout

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

WithTimeout adds the timeout to the get user params

func (*GetUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserReader

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

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersOK

type GetUsersOK struct {
	Payload *models.GetUsersResponse
}

GetUsersOK describes a response with status code 200, with default header values.

A successful response.

func NewGetUsersOK

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates a GetUsersOK with default headers values

func (*GetUsersOK) Code

func (o *GetUsersOK) Code() int

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

func (*GetUsersOK) Error

func (o *GetUsersOK) Error() string

func (*GetUsersOK) GetPayload

func (o *GetUsersOK) GetPayload() *models.GetUsersResponse

func (*GetUsersOK) IsClientError

func (o *GetUsersOK) IsClientError() bool

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

func (*GetUsersOK) IsCode

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

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

func (*GetUsersOK) IsRedirect

func (o *GetUsersOK) IsRedirect() bool

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

func (*GetUsersOK) IsServerError

func (o *GetUsersOK) IsServerError() bool

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

func (*GetUsersOK) IsSuccess

func (o *GetUsersOK) IsSuccess() bool

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

func (*GetUsersOK) String

func (o *GetUsersOK) String() string

type GetUsersParams

type GetUsersParams struct {

	// Body.
	Body *models.GetUsersRequest

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

func (o *GetUsersParams) SetBody(body *models.GetUsersRequest)

SetBody adds the body 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) SetTimeout

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

SetTimeout adds the timeout to the get users params

func (*GetUsersParams) WithBody

WithBody adds the body 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) 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 OauthOK

type OauthOK struct {
	Payload *models.ActivityResponse
}

OauthOK describes a response with status code 200, with default header values.

A successful response.

func NewOauthOK

func NewOauthOK() *OauthOK

NewOauthOK creates a OauthOK with default headers values

func (*OauthOK) Code

func (o *OauthOK) Code() int

Code gets the status code for the oauth o k response

func (*OauthOK) Error

func (o *OauthOK) Error() string

func (*OauthOK) GetPayload

func (o *OauthOK) GetPayload() *models.ActivityResponse

func (*OauthOK) IsClientError

func (o *OauthOK) IsClientError() bool

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

func (*OauthOK) IsCode

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

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

func (*OauthOK) IsRedirect

func (o *OauthOK) IsRedirect() bool

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

func (*OauthOK) IsServerError

func (o *OauthOK) IsServerError() bool

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

func (*OauthOK) IsSuccess

func (o *OauthOK) IsSuccess() bool

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

func (*OauthOK) String

func (o *OauthOK) String() string

type OauthParams

type OauthParams struct {

	// Body.
	Body *models.OauthRequest

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

OauthParams contains all the parameters to send to the API endpoint

for the oauth operation.

Typically these are written to a http.Request.

func NewOauthParams

func NewOauthParams() *OauthParams

NewOauthParams creates a new OauthParams 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 NewOauthParamsWithContext

func NewOauthParamsWithContext(ctx context.Context) *OauthParams

NewOauthParamsWithContext creates a new OauthParams object with the ability to set a context for a request.

func NewOauthParamsWithHTTPClient

func NewOauthParamsWithHTTPClient(client *http.Client) *OauthParams

NewOauthParamsWithHTTPClient creates a new OauthParams object with the ability to set a custom HTTPClient for a request.

func NewOauthParamsWithTimeout

func NewOauthParamsWithTimeout(timeout time.Duration) *OauthParams

NewOauthParamsWithTimeout creates a new OauthParams object with the ability to set a timeout on a request.

func (*OauthParams) SetBody

func (o *OauthParams) SetBody(body *models.OauthRequest)

SetBody adds the body to the oauth params

func (*OauthParams) SetContext

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

SetContext adds the context to the oauth params

func (*OauthParams) SetDefaults

func (o *OauthParams) SetDefaults()

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

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

func (*OauthParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the oauth params

func (*OauthParams) SetTimeout

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

SetTimeout adds the timeout to the oauth params

func (*OauthParams) WithBody

func (o *OauthParams) WithBody(body *models.OauthRequest) *OauthParams

WithBody adds the body to the oauth params

func (*OauthParams) WithContext

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

WithContext adds the context to the oauth params

func (*OauthParams) WithDefaults

func (o *OauthParams) WithDefaults() *OauthParams

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

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

func (*OauthParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the oauth params

func (*OauthParams) WithTimeout

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

WithTimeout adds the timeout to the oauth params

func (*OauthParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OauthReader

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

OauthReader is a Reader for the Oauth structure.

func (*OauthReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserOK

type UpdateUserOK struct {
	Payload *models.ActivityResponse
}

UpdateUserOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateUserOK

func NewUpdateUserOK() *UpdateUserOK

NewUpdateUserOK creates a UpdateUserOK with default headers values

func (*UpdateUserOK) Code

func (o *UpdateUserOK) Code() int

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

func (*UpdateUserOK) Error

func (o *UpdateUserOK) Error() string

func (*UpdateUserOK) GetPayload

func (o *UpdateUserOK) GetPayload() *models.ActivityResponse

func (*UpdateUserOK) IsClientError

func (o *UpdateUserOK) IsClientError() bool

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

func (*UpdateUserOK) IsCode

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

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

func (*UpdateUserOK) IsRedirect

func (o *UpdateUserOK) IsRedirect() bool

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

func (*UpdateUserOK) IsServerError

func (o *UpdateUserOK) IsServerError() bool

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

func (*UpdateUserOK) IsSuccess

func (o *UpdateUserOK) IsSuccess() bool

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

func (*UpdateUserOK) String

func (o *UpdateUserOK) String() string

type UpdateUserParams

type UpdateUserParams struct {

	// Body.
	Body *models.UpdateUserRequest

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

func (o *UpdateUserParams) SetBody(body *models.UpdateUserRequest)

SetBody adds the body 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) SetTimeout

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

SetTimeout adds the timeout to the update user params

func (*UpdateUserParams) WithBody

WithBody adds the body 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) 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