clients

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 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 clients API

func (*Client) ListClientsSystem

func (a *Client) ListClientsSystem(params *ListClientsSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClientsSystemOK, error)

ListClientsSystem lists clients by authorization server

This API lists clients by 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 {
	ListClientsSystem(params *ListClientsSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClientsSystemOK, 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 clients API client.

type ListClientsSystemForbidden

type ListClientsSystemForbidden struct {
	Payload *models.Error
}

ListClientsSystemForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListClientsSystemForbidden

func NewListClientsSystemForbidden() *ListClientsSystemForbidden

NewListClientsSystemForbidden creates a ListClientsSystemForbidden with default headers values

func (*ListClientsSystemForbidden) Code

func (o *ListClientsSystemForbidden) Code() int

Code gets the status code for the list clients system forbidden response

func (*ListClientsSystemForbidden) Error

func (*ListClientsSystemForbidden) GetPayload

func (o *ListClientsSystemForbidden) GetPayload() *models.Error

func (*ListClientsSystemForbidden) IsClientError

func (o *ListClientsSystemForbidden) IsClientError() bool

IsClientError returns true when this list clients system forbidden response has a 4xx status code

func (*ListClientsSystemForbidden) IsCode

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

IsCode returns true when this list clients system forbidden response a status code equal to that given

func (*ListClientsSystemForbidden) IsRedirect

func (o *ListClientsSystemForbidden) IsRedirect() bool

IsRedirect returns true when this list clients system forbidden response has a 3xx status code

func (*ListClientsSystemForbidden) IsServerError

func (o *ListClientsSystemForbidden) IsServerError() bool

IsServerError returns true when this list clients system forbidden response has a 5xx status code

func (*ListClientsSystemForbidden) IsSuccess

func (o *ListClientsSystemForbidden) IsSuccess() bool

IsSuccess returns true when this list clients system forbidden response has a 2xx status code

func (*ListClientsSystemForbidden) String

func (o *ListClientsSystemForbidden) String() string

type ListClientsSystemNotFound

type ListClientsSystemNotFound struct {
	Payload *models.Error
}

ListClientsSystemNotFound describes a response with status code 404, with default header values.

Not found

func NewListClientsSystemNotFound

func NewListClientsSystemNotFound() *ListClientsSystemNotFound

NewListClientsSystemNotFound creates a ListClientsSystemNotFound with default headers values

func (*ListClientsSystemNotFound) Code

func (o *ListClientsSystemNotFound) Code() int

Code gets the status code for the list clients system not found response

func (*ListClientsSystemNotFound) Error

func (o *ListClientsSystemNotFound) Error() string

func (*ListClientsSystemNotFound) GetPayload

func (o *ListClientsSystemNotFound) GetPayload() *models.Error

func (*ListClientsSystemNotFound) IsClientError

func (o *ListClientsSystemNotFound) IsClientError() bool

IsClientError returns true when this list clients system not found response has a 4xx status code

func (*ListClientsSystemNotFound) IsCode

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

IsCode returns true when this list clients system not found response a status code equal to that given

func (*ListClientsSystemNotFound) IsRedirect

func (o *ListClientsSystemNotFound) IsRedirect() bool

IsRedirect returns true when this list clients system not found response has a 3xx status code

func (*ListClientsSystemNotFound) IsServerError

func (o *ListClientsSystemNotFound) IsServerError() bool

IsServerError returns true when this list clients system not found response has a 5xx status code

func (*ListClientsSystemNotFound) IsSuccess

func (o *ListClientsSystemNotFound) IsSuccess() bool

IsSuccess returns true when this list clients system not found response has a 2xx status code

func (*ListClientsSystemNotFound) String

func (o *ListClientsSystemNotFound) String() string

type ListClientsSystemOK

type ListClientsSystemOK struct {
	Payload *models.Clients
}

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

Clients

func NewListClientsSystemOK

func NewListClientsSystemOK() *ListClientsSystemOK

NewListClientsSystemOK creates a ListClientsSystemOK with default headers values

func (*ListClientsSystemOK) Code

func (o *ListClientsSystemOK) Code() int

Code gets the status code for the list clients system o k response

func (*ListClientsSystemOK) Error

func (o *ListClientsSystemOK) Error() string

func (*ListClientsSystemOK) GetPayload

func (o *ListClientsSystemOK) GetPayload() *models.Clients

func (*ListClientsSystemOK) IsClientError

func (o *ListClientsSystemOK) IsClientError() bool

IsClientError returns true when this list clients system o k response has a 4xx status code

func (*ListClientsSystemOK) IsCode

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

IsCode returns true when this list clients system o k response a status code equal to that given

func (*ListClientsSystemOK) IsRedirect

func (o *ListClientsSystemOK) IsRedirect() bool

IsRedirect returns true when this list clients system o k response has a 3xx status code

func (*ListClientsSystemOK) IsServerError

func (o *ListClientsSystemOK) IsServerError() bool

IsServerError returns true when this list clients system o k response has a 5xx status code

func (*ListClientsSystemOK) IsSuccess

func (o *ListClientsSystemOK) IsSuccess() bool

IsSuccess returns true when this list clients system o k response has a 2xx status code

func (*ListClientsSystemOK) String

func (o *ListClientsSystemOK) String() string

type ListClientsSystemParams

type ListClientsSystemParams struct {

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ListClientsSystemParams contains all the parameters to send to the API endpoint

for the list clients system operation.

Typically these are written to a http.Request.

func NewListClientsSystemParams

func NewListClientsSystemParams() *ListClientsSystemParams

NewListClientsSystemParams creates a new ListClientsSystemParams 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 NewListClientsSystemParamsWithContext

func NewListClientsSystemParamsWithContext(ctx context.Context) *ListClientsSystemParams

NewListClientsSystemParamsWithContext creates a new ListClientsSystemParams object with the ability to set a context for a request.

func NewListClientsSystemParamsWithHTTPClient

func NewListClientsSystemParamsWithHTTPClient(client *http.Client) *ListClientsSystemParams

NewListClientsSystemParamsWithHTTPClient creates a new ListClientsSystemParams object with the ability to set a custom HTTPClient for a request.

func NewListClientsSystemParamsWithTimeout

func NewListClientsSystemParamsWithTimeout(timeout time.Duration) *ListClientsSystemParams

NewListClientsSystemParamsWithTimeout creates a new ListClientsSystemParams object with the ability to set a timeout on a request.

func (*ListClientsSystemParams) SetContext

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

SetContext adds the context to the list clients system params

func (*ListClientsSystemParams) SetDefaults

func (o *ListClientsSystemParams) SetDefaults()

SetDefaults hydrates default values in the list clients system params (not the query body).

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

func (*ListClientsSystemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list clients system params

func (*ListClientsSystemParams) SetTimeout

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

SetTimeout adds the timeout to the list clients system params

func (*ListClientsSystemParams) SetWid

func (o *ListClientsSystemParams) SetWid(wid string)

SetWid adds the wid to the list clients system params

func (*ListClientsSystemParams) WithContext

WithContext adds the context to the list clients system params

func (*ListClientsSystemParams) WithDefaults

WithDefaults hydrates default values in the list clients system params (not the query body).

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

func (*ListClientsSystemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list clients system params

func (*ListClientsSystemParams) WithTimeout

WithTimeout adds the timeout to the list clients system params

func (*ListClientsSystemParams) WithWid

WithWid adds the wid to the list clients system params

func (*ListClientsSystemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListClientsSystemReader

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

ListClientsSystemReader is a Reader for the ListClientsSystem structure.

func (*ListClientsSystemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListClientsSystemTooManyRequests

type ListClientsSystemTooManyRequests struct {
	Payload *models.Error
}

ListClientsSystemTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListClientsSystemTooManyRequests

func NewListClientsSystemTooManyRequests() *ListClientsSystemTooManyRequests

NewListClientsSystemTooManyRequests creates a ListClientsSystemTooManyRequests with default headers values

func (*ListClientsSystemTooManyRequests) Code

Code gets the status code for the list clients system too many requests response

func (*ListClientsSystemTooManyRequests) Error

func (*ListClientsSystemTooManyRequests) GetPayload

func (*ListClientsSystemTooManyRequests) IsClientError

func (o *ListClientsSystemTooManyRequests) IsClientError() bool

IsClientError returns true when this list clients system too many requests response has a 4xx status code

func (*ListClientsSystemTooManyRequests) IsCode

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

IsCode returns true when this list clients system too many requests response a status code equal to that given

func (*ListClientsSystemTooManyRequests) IsRedirect

func (o *ListClientsSystemTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list clients system too many requests response has a 3xx status code

func (*ListClientsSystemTooManyRequests) IsServerError

func (o *ListClientsSystemTooManyRequests) IsServerError() bool

IsServerError returns true when this list clients system too many requests response has a 5xx status code

func (*ListClientsSystemTooManyRequests) IsSuccess

func (o *ListClientsSystemTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list clients system too many requests response has a 2xx status code

func (*ListClientsSystemTooManyRequests) String

type ListClientsSystemUnauthorized

type ListClientsSystemUnauthorized struct {
	Payload *models.Error
}

ListClientsSystemUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListClientsSystemUnauthorized

func NewListClientsSystemUnauthorized() *ListClientsSystemUnauthorized

NewListClientsSystemUnauthorized creates a ListClientsSystemUnauthorized with default headers values

func (*ListClientsSystemUnauthorized) Code

Code gets the status code for the list clients system unauthorized response

func (*ListClientsSystemUnauthorized) Error

func (*ListClientsSystemUnauthorized) GetPayload

func (o *ListClientsSystemUnauthorized) GetPayload() *models.Error

func (*ListClientsSystemUnauthorized) IsClientError

func (o *ListClientsSystemUnauthorized) IsClientError() bool

IsClientError returns true when this list clients system unauthorized response has a 4xx status code

func (*ListClientsSystemUnauthorized) IsCode

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

IsCode returns true when this list clients system unauthorized response a status code equal to that given

func (*ListClientsSystemUnauthorized) IsRedirect

func (o *ListClientsSystemUnauthorized) IsRedirect() bool

IsRedirect returns true when this list clients system unauthorized response has a 3xx status code

func (*ListClientsSystemUnauthorized) IsServerError

func (o *ListClientsSystemUnauthorized) IsServerError() bool

IsServerError returns true when this list clients system unauthorized response has a 5xx status code

func (*ListClientsSystemUnauthorized) IsSuccess

func (o *ListClientsSystemUnauthorized) IsSuccess() bool

IsSuccess returns true when this list clients system unauthorized response has a 2xx status code

func (*ListClientsSystemUnauthorized) String

Jump to

Keyboard shortcuts

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