Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ListClientsSystemForbidden
- func (o *ListClientsSystemForbidden) Code() int
- func (o *ListClientsSystemForbidden) Error() string
- func (o *ListClientsSystemForbidden) GetPayload() *models.Error
- func (o *ListClientsSystemForbidden) IsClientError() bool
- func (o *ListClientsSystemForbidden) IsCode(code int) bool
- func (o *ListClientsSystemForbidden) IsRedirect() bool
- func (o *ListClientsSystemForbidden) IsServerError() bool
- func (o *ListClientsSystemForbidden) IsSuccess() bool
- func (o *ListClientsSystemForbidden) String() string
- type ListClientsSystemNotFound
- func (o *ListClientsSystemNotFound) Code() int
- func (o *ListClientsSystemNotFound) Error() string
- func (o *ListClientsSystemNotFound) GetPayload() *models.Error
- func (o *ListClientsSystemNotFound) IsClientError() bool
- func (o *ListClientsSystemNotFound) IsCode(code int) bool
- func (o *ListClientsSystemNotFound) IsRedirect() bool
- func (o *ListClientsSystemNotFound) IsServerError() bool
- func (o *ListClientsSystemNotFound) IsSuccess() bool
- func (o *ListClientsSystemNotFound) String() string
- type ListClientsSystemOK
- func (o *ListClientsSystemOK) Code() int
- func (o *ListClientsSystemOK) Error() string
- func (o *ListClientsSystemOK) GetPayload() *models.Clients
- func (o *ListClientsSystemOK) IsClientError() bool
- func (o *ListClientsSystemOK) IsCode(code int) bool
- func (o *ListClientsSystemOK) IsRedirect() bool
- func (o *ListClientsSystemOK) IsServerError() bool
- func (o *ListClientsSystemOK) IsSuccess() bool
- func (o *ListClientsSystemOK) String() string
- type ListClientsSystemParams
- func NewListClientsSystemParams() *ListClientsSystemParams
- func NewListClientsSystemParamsWithContext(ctx context.Context) *ListClientsSystemParams
- func NewListClientsSystemParamsWithHTTPClient(client *http.Client) *ListClientsSystemParams
- func NewListClientsSystemParamsWithTimeout(timeout time.Duration) *ListClientsSystemParams
- func (o *ListClientsSystemParams) SetContext(ctx context.Context)
- func (o *ListClientsSystemParams) SetDefaults()
- func (o *ListClientsSystemParams) SetHTTPClient(client *http.Client)
- func (o *ListClientsSystemParams) SetTimeout(timeout time.Duration)
- func (o *ListClientsSystemParams) SetWid(wid string)
- func (o *ListClientsSystemParams) WithContext(ctx context.Context) *ListClientsSystemParams
- func (o *ListClientsSystemParams) WithDefaults() *ListClientsSystemParams
- func (o *ListClientsSystemParams) WithHTTPClient(client *http.Client) *ListClientsSystemParams
- func (o *ListClientsSystemParams) WithTimeout(timeout time.Duration) *ListClientsSystemParams
- func (o *ListClientsSystemParams) WithWid(wid string) *ListClientsSystemParams
- func (o *ListClientsSystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClientsSystemReader
- type ListClientsSystemTooManyRequests
- func (o *ListClientsSystemTooManyRequests) Code() int
- func (o *ListClientsSystemTooManyRequests) Error() string
- func (o *ListClientsSystemTooManyRequests) GetPayload() *models.Error
- func (o *ListClientsSystemTooManyRequests) IsClientError() bool
- func (o *ListClientsSystemTooManyRequests) IsCode(code int) bool
- func (o *ListClientsSystemTooManyRequests) IsRedirect() bool
- func (o *ListClientsSystemTooManyRequests) IsServerError() bool
- func (o *ListClientsSystemTooManyRequests) IsSuccess() bool
- func (o *ListClientsSystemTooManyRequests) String() string
- type ListClientsSystemUnauthorized
- func (o *ListClientsSystemUnauthorized) Code() int
- func (o *ListClientsSystemUnauthorized) Error() string
- func (o *ListClientsSystemUnauthorized) GetPayload() *models.Error
- func (o *ListClientsSystemUnauthorized) IsClientError() bool
- func (o *ListClientsSystemUnauthorized) IsCode(code int) bool
- func (o *ListClientsSystemUnauthorized) IsRedirect() bool
- func (o *ListClientsSystemUnauthorized) IsServerError() bool
- func (o *ListClientsSystemUnauthorized) IsSuccess() bool
- func (o *ListClientsSystemUnauthorized) String() string
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 ¶
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 (o *ListClientsSystemForbidden) Error() string
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 ¶
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 ¶
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 ¶
func (o *ListClientsSystemParams) WithContext(ctx context.Context) *ListClientsSystemParams
WithContext adds the context to the list clients system params
func (*ListClientsSystemParams) WithDefaults ¶
func (o *ListClientsSystemParams) WithDefaults() *ListClientsSystemParams
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 ¶
func (o *ListClientsSystemParams) WithTimeout(timeout time.Duration) *ListClientsSystemParams
WithTimeout adds the timeout to the list clients system params
func (*ListClientsSystemParams) WithWid ¶
func (o *ListClientsSystemParams) WithWid(wid string) *ListClientsSystemParams
WithWid adds the wid to the list clients system params
func (*ListClientsSystemParams) WriteToRequest ¶
func (o *ListClientsSystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *ListClientsSystemTooManyRequests) Code() int
Code gets the status code for the list clients system too many requests response
func (*ListClientsSystemTooManyRequests) Error ¶
func (o *ListClientsSystemTooManyRequests) Error() string
func (*ListClientsSystemTooManyRequests) GetPayload ¶
func (o *ListClientsSystemTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *ListClientsSystemTooManyRequests) String() string
type ListClientsSystemUnauthorized ¶
type ListClientsSystemUnauthorized struct {
}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 ¶
func (o *ListClientsSystemUnauthorized) Code() int
Code gets the status code for the list clients system unauthorized response
func (*ListClientsSystemUnauthorized) Error ¶
func (o *ListClientsSystemUnauthorized) Error() string
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 ¶
func (o *ListClientsSystemUnauthorized) String() string