v4users

package
v1.999.999-b4 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0, BSD-2-Clause 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 v4users API

func New

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

New creates a new v4users API client.

func (*Client) EvictCurrentUserDetails

func (a *Client) EvictCurrentUserDetails(params *EvictCurrentUserDetailsParams) (*EvictCurrentUserDetailsOK, error)

EvictCurrentUserDetails removes current user from cache

Users can be invited under an account by the administrator, and all resources

func (*Client) GetAllUsers

func (a *Client) GetAllUsers(params *GetAllUsersParams) (*GetAllUsersOK, error)

GetAllUsers retrieves all users in the tenant

Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprint, credentials, clusters) can be shared across account users

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type EvictCurrentUserDetailsOK

type EvictCurrentUserDetailsOK struct {
	Payload *model.UserEvictV4Response
}

EvictCurrentUserDetailsOK handles this case with default header values.

successful operation

func NewEvictCurrentUserDetailsOK

func NewEvictCurrentUserDetailsOK() *EvictCurrentUserDetailsOK

NewEvictCurrentUserDetailsOK creates a EvictCurrentUserDetailsOK with default headers values

func (*EvictCurrentUserDetailsOK) Error

func (o *EvictCurrentUserDetailsOK) Error() string

type EvictCurrentUserDetailsParams

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

EvictCurrentUserDetailsParams contains all the parameters to send to the API endpoint for the evict current user details operation typically these are written to a http.Request

func NewEvictCurrentUserDetailsParams

func NewEvictCurrentUserDetailsParams() *EvictCurrentUserDetailsParams

NewEvictCurrentUserDetailsParams creates a new EvictCurrentUserDetailsParams object with the default values initialized.

func NewEvictCurrentUserDetailsParamsWithContext

func NewEvictCurrentUserDetailsParamsWithContext(ctx context.Context) *EvictCurrentUserDetailsParams

NewEvictCurrentUserDetailsParamsWithContext creates a new EvictCurrentUserDetailsParams object with the default values initialized, and the ability to set a context for a request

func NewEvictCurrentUserDetailsParamsWithHTTPClient

func NewEvictCurrentUserDetailsParamsWithHTTPClient(client *http.Client) *EvictCurrentUserDetailsParams

NewEvictCurrentUserDetailsParamsWithHTTPClient creates a new EvictCurrentUserDetailsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEvictCurrentUserDetailsParamsWithTimeout

func NewEvictCurrentUserDetailsParamsWithTimeout(timeout time.Duration) *EvictCurrentUserDetailsParams

NewEvictCurrentUserDetailsParamsWithTimeout creates a new EvictCurrentUserDetailsParams object with the default values initialized, and the ability to set a timeout on a request

func (*EvictCurrentUserDetailsParams) SetContext

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

SetContext adds the context to the evict current user details params

func (*EvictCurrentUserDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the evict current user details params

func (*EvictCurrentUserDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the evict current user details params

func (*EvictCurrentUserDetailsParams) WithContext

WithContext adds the context to the evict current user details params

func (*EvictCurrentUserDetailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the evict current user details params

func (*EvictCurrentUserDetailsParams) WithTimeout

WithTimeout adds the timeout to the evict current user details params

func (*EvictCurrentUserDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EvictCurrentUserDetailsReader

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

EvictCurrentUserDetailsReader is a Reader for the EvictCurrentUserDetails structure.

func (*EvictCurrentUserDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllUsersOK

type GetAllUsersOK struct {
	Payload *model.UserV4Responses
}

GetAllUsersOK handles this case with default header values.

successful operation

func NewGetAllUsersOK

func NewGetAllUsersOK() *GetAllUsersOK

NewGetAllUsersOK creates a GetAllUsersOK with default headers values

func (*GetAllUsersOK) Error

func (o *GetAllUsersOK) Error() string

type GetAllUsersParams

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

GetAllUsersParams contains all the parameters to send to the API endpoint for the get all users operation typically these are written to a http.Request

func NewGetAllUsersParams

func NewGetAllUsersParams() *GetAllUsersParams

NewGetAllUsersParams creates a new GetAllUsersParams object with the default values initialized.

func NewGetAllUsersParamsWithContext

func NewGetAllUsersParamsWithContext(ctx context.Context) *GetAllUsersParams

NewGetAllUsersParamsWithContext creates a new GetAllUsersParams object with the default values initialized, and the ability to set a context for a request

func NewGetAllUsersParamsWithHTTPClient

func NewGetAllUsersParamsWithHTTPClient(client *http.Client) *GetAllUsersParams

NewGetAllUsersParamsWithHTTPClient creates a new GetAllUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAllUsersParamsWithTimeout

func NewGetAllUsersParamsWithTimeout(timeout time.Duration) *GetAllUsersParams

NewGetAllUsersParamsWithTimeout creates a new GetAllUsersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAllUsersParams) SetContext

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

SetContext adds the context to the get all users params

func (*GetAllUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all users params

func (*GetAllUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get all users params

func (*GetAllUsersParams) WithContext

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

WithContext adds the context to the get all users params

func (*GetAllUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get all users params

func (*GetAllUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get all users params

func (*GetAllUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAllUsersReader

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

GetAllUsersReader is a Reader for the GetAllUsers structure.

func (*GetAllUsersReader) ReadResponse

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