Documentation ¶
Index ¶
- type Client
- func (a *Client) ListClientsWithAccess(params *ListClientsWithAccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListClientsWithAccessOK, error)
- func (a *Client) RevokeClientAccess(params *RevokeClientAccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RevokeClientAccessNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListClientsWithAccessForbidden
- func (o *ListClientsWithAccessForbidden) Code() int
- func (o *ListClientsWithAccessForbidden) Error() string
- func (o *ListClientsWithAccessForbidden) GetPayload() *models.Error
- func (o *ListClientsWithAccessForbidden) IsClientError() bool
- func (o *ListClientsWithAccessForbidden) IsCode(code int) bool
- func (o *ListClientsWithAccessForbidden) IsRedirect() bool
- func (o *ListClientsWithAccessForbidden) IsServerError() bool
- func (o *ListClientsWithAccessForbidden) IsSuccess() bool
- func (o *ListClientsWithAccessForbidden) String() string
- type ListClientsWithAccessNotFound
- func (o *ListClientsWithAccessNotFound) Code() int
- func (o *ListClientsWithAccessNotFound) Error() string
- func (o *ListClientsWithAccessNotFound) GetPayload() *models.Error
- func (o *ListClientsWithAccessNotFound) IsClientError() bool
- func (o *ListClientsWithAccessNotFound) IsCode(code int) bool
- func (o *ListClientsWithAccessNotFound) IsRedirect() bool
- func (o *ListClientsWithAccessNotFound) IsServerError() bool
- func (o *ListClientsWithAccessNotFound) IsSuccess() bool
- func (o *ListClientsWithAccessNotFound) String() string
- type ListClientsWithAccessOK
- func (o *ListClientsWithAccessOK) Code() int
- func (o *ListClientsWithAccessOK) Error() string
- func (o *ListClientsWithAccessOK) GetPayload() *models.ListClientsWithAccess
- func (o *ListClientsWithAccessOK) IsClientError() bool
- func (o *ListClientsWithAccessOK) IsCode(code int) bool
- func (o *ListClientsWithAccessOK) IsRedirect() bool
- func (o *ListClientsWithAccessOK) IsServerError() bool
- func (o *ListClientsWithAccessOK) IsSuccess() bool
- func (o *ListClientsWithAccessOK) String() string
- type ListClientsWithAccessParams
- func NewListClientsWithAccessParams() *ListClientsWithAccessParams
- func NewListClientsWithAccessParamsWithContext(ctx context.Context) *ListClientsWithAccessParams
- func NewListClientsWithAccessParamsWithHTTPClient(client *http.Client) *ListClientsWithAccessParams
- func NewListClientsWithAccessParamsWithTimeout(timeout time.Duration) *ListClientsWithAccessParams
- func (o *ListClientsWithAccessParams) SetContext(ctx context.Context)
- func (o *ListClientsWithAccessParams) SetDefaults()
- func (o *ListClientsWithAccessParams) SetHTTPClient(client *http.Client)
- func (o *ListClientsWithAccessParams) SetTimeout(timeout time.Duration)
- func (o *ListClientsWithAccessParams) WithContext(ctx context.Context) *ListClientsWithAccessParams
- func (o *ListClientsWithAccessParams) WithDefaults() *ListClientsWithAccessParams
- func (o *ListClientsWithAccessParams) WithHTTPClient(client *http.Client) *ListClientsWithAccessParams
- func (o *ListClientsWithAccessParams) WithTimeout(timeout time.Duration) *ListClientsWithAccessParams
- func (o *ListClientsWithAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClientsWithAccessReader
- type ListClientsWithAccessTooManyRequests
- func (o *ListClientsWithAccessTooManyRequests) Code() int
- func (o *ListClientsWithAccessTooManyRequests) Error() string
- func (o *ListClientsWithAccessTooManyRequests) GetPayload() *models.Error
- func (o *ListClientsWithAccessTooManyRequests) IsClientError() bool
- func (o *ListClientsWithAccessTooManyRequests) IsCode(code int) bool
- func (o *ListClientsWithAccessTooManyRequests) IsRedirect() bool
- func (o *ListClientsWithAccessTooManyRequests) IsServerError() bool
- func (o *ListClientsWithAccessTooManyRequests) IsSuccess() bool
- func (o *ListClientsWithAccessTooManyRequests) String() string
- type ListClientsWithAccessUnauthorized
- func (o *ListClientsWithAccessUnauthorized) Code() int
- func (o *ListClientsWithAccessUnauthorized) Error() string
- func (o *ListClientsWithAccessUnauthorized) GetPayload() *models.Error
- func (o *ListClientsWithAccessUnauthorized) IsClientError() bool
- func (o *ListClientsWithAccessUnauthorized) IsCode(code int) bool
- func (o *ListClientsWithAccessUnauthorized) IsRedirect() bool
- func (o *ListClientsWithAccessUnauthorized) IsServerError() bool
- func (o *ListClientsWithAccessUnauthorized) IsSuccess() bool
- func (o *ListClientsWithAccessUnauthorized) String() string
- type RevokeClientAccessForbidden
- func (o *RevokeClientAccessForbidden) Code() int
- func (o *RevokeClientAccessForbidden) Error() string
- func (o *RevokeClientAccessForbidden) GetPayload() *models.Error
- func (o *RevokeClientAccessForbidden) IsClientError() bool
- func (o *RevokeClientAccessForbidden) IsCode(code int) bool
- func (o *RevokeClientAccessForbidden) IsRedirect() bool
- func (o *RevokeClientAccessForbidden) IsServerError() bool
- func (o *RevokeClientAccessForbidden) IsSuccess() bool
- func (o *RevokeClientAccessForbidden) String() string
- type RevokeClientAccessNoContent
- func (o *RevokeClientAccessNoContent) Code() int
- func (o *RevokeClientAccessNoContent) Error() string
- func (o *RevokeClientAccessNoContent) IsClientError() bool
- func (o *RevokeClientAccessNoContent) IsCode(code int) bool
- func (o *RevokeClientAccessNoContent) IsRedirect() bool
- func (o *RevokeClientAccessNoContent) IsServerError() bool
- func (o *RevokeClientAccessNoContent) IsSuccess() bool
- func (o *RevokeClientAccessNoContent) String() string
- type RevokeClientAccessParams
- func NewRevokeClientAccessParams() *RevokeClientAccessParams
- func NewRevokeClientAccessParamsWithContext(ctx context.Context) *RevokeClientAccessParams
- func NewRevokeClientAccessParamsWithHTTPClient(client *http.Client) *RevokeClientAccessParams
- func NewRevokeClientAccessParamsWithTimeout(timeout time.Duration) *RevokeClientAccessParams
- func (o *RevokeClientAccessParams) SetCid(cid string)
- func (o *RevokeClientAccessParams) SetContext(ctx context.Context)
- func (o *RevokeClientAccessParams) SetDefaults()
- func (o *RevokeClientAccessParams) SetHTTPClient(client *http.Client)
- func (o *RevokeClientAccessParams) SetTimeout(timeout time.Duration)
- func (o *RevokeClientAccessParams) WithCid(cid string) *RevokeClientAccessParams
- func (o *RevokeClientAccessParams) WithContext(ctx context.Context) *RevokeClientAccessParams
- func (o *RevokeClientAccessParams) WithDefaults() *RevokeClientAccessParams
- func (o *RevokeClientAccessParams) WithHTTPClient(client *http.Client) *RevokeClientAccessParams
- func (o *RevokeClientAccessParams) WithTimeout(timeout time.Duration) *RevokeClientAccessParams
- func (o *RevokeClientAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeClientAccessReader
- type RevokeClientAccessTooManyRequests
- func (o *RevokeClientAccessTooManyRequests) Code() int
- func (o *RevokeClientAccessTooManyRequests) Error() string
- func (o *RevokeClientAccessTooManyRequests) GetPayload() *models.Error
- func (o *RevokeClientAccessTooManyRequests) IsClientError() bool
- func (o *RevokeClientAccessTooManyRequests) IsCode(code int) bool
- func (o *RevokeClientAccessTooManyRequests) IsRedirect() bool
- func (o *RevokeClientAccessTooManyRequests) IsServerError() bool
- func (o *RevokeClientAccessTooManyRequests) IsSuccess() bool
- func (o *RevokeClientAccessTooManyRequests) String() string
- type RevokeClientAccessUnauthorized
- func (o *RevokeClientAccessUnauthorized) Code() int
- func (o *RevokeClientAccessUnauthorized) Error() string
- func (o *RevokeClientAccessUnauthorized) GetPayload() *models.Error
- func (o *RevokeClientAccessUnauthorized) IsClientError() bool
- func (o *RevokeClientAccessUnauthorized) IsCode(code int) bool
- func (o *RevokeClientAccessUnauthorized) IsRedirect() bool
- func (o *RevokeClientAccessUnauthorized) IsServerError() bool
- func (o *RevokeClientAccessUnauthorized) IsSuccess() bool
- func (o *RevokeClientAccessUnauthorized) 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) ListClientsWithAccess ¶
func (a *Client) ListClientsWithAccess(params *ListClientsWithAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClientsWithAccessOK, error)
ListClientsWithAccess lists clients that user shared data with
Each client contains list of scopes that user agreed to.
func (*Client) RevokeClientAccess ¶
func (a *Client) RevokeClientAccess(params *RevokeClientAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeClientAccessNoContent, error)
RevokeClientAccess revokes client access
Upon removal client won't be able to use user data anymore.
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 { ListClientsWithAccess(params *ListClientsWithAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClientsWithAccessOK, error) RevokeClientAccess(params *RevokeClientAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeClientAccessNoContent, 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 ListClientsWithAccessForbidden ¶
ListClientsWithAccessForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListClientsWithAccessForbidden ¶
func NewListClientsWithAccessForbidden() *ListClientsWithAccessForbidden
NewListClientsWithAccessForbidden creates a ListClientsWithAccessForbidden with default headers values
func (*ListClientsWithAccessForbidden) Code ¶
func (o *ListClientsWithAccessForbidden) Code() int
Code gets the status code for the list clients with access forbidden response
func (*ListClientsWithAccessForbidden) Error ¶
func (o *ListClientsWithAccessForbidden) Error() string
func (*ListClientsWithAccessForbidden) GetPayload ¶
func (o *ListClientsWithAccessForbidden) GetPayload() *models.Error
func (*ListClientsWithAccessForbidden) IsClientError ¶
func (o *ListClientsWithAccessForbidden) IsClientError() bool
IsClientError returns true when this list clients with access forbidden response has a 4xx status code
func (*ListClientsWithAccessForbidden) IsCode ¶
func (o *ListClientsWithAccessForbidden) IsCode(code int) bool
IsCode returns true when this list clients with access forbidden response a status code equal to that given
func (*ListClientsWithAccessForbidden) IsRedirect ¶
func (o *ListClientsWithAccessForbidden) IsRedirect() bool
IsRedirect returns true when this list clients with access forbidden response has a 3xx status code
func (*ListClientsWithAccessForbidden) IsServerError ¶
func (o *ListClientsWithAccessForbidden) IsServerError() bool
IsServerError returns true when this list clients with access forbidden response has a 5xx status code
func (*ListClientsWithAccessForbidden) IsSuccess ¶
func (o *ListClientsWithAccessForbidden) IsSuccess() bool
IsSuccess returns true when this list clients with access forbidden response has a 2xx status code
func (*ListClientsWithAccessForbidden) String ¶
func (o *ListClientsWithAccessForbidden) String() string
type ListClientsWithAccessNotFound ¶
ListClientsWithAccessNotFound describes a response with status code 404, with default header values.
Not found
func NewListClientsWithAccessNotFound ¶
func NewListClientsWithAccessNotFound() *ListClientsWithAccessNotFound
NewListClientsWithAccessNotFound creates a ListClientsWithAccessNotFound with default headers values
func (*ListClientsWithAccessNotFound) Code ¶
func (o *ListClientsWithAccessNotFound) Code() int
Code gets the status code for the list clients with access not found response
func (*ListClientsWithAccessNotFound) Error ¶
func (o *ListClientsWithAccessNotFound) Error() string
func (*ListClientsWithAccessNotFound) GetPayload ¶
func (o *ListClientsWithAccessNotFound) GetPayload() *models.Error
func (*ListClientsWithAccessNotFound) IsClientError ¶
func (o *ListClientsWithAccessNotFound) IsClientError() bool
IsClientError returns true when this list clients with access not found response has a 4xx status code
func (*ListClientsWithAccessNotFound) IsCode ¶
func (o *ListClientsWithAccessNotFound) IsCode(code int) bool
IsCode returns true when this list clients with access not found response a status code equal to that given
func (*ListClientsWithAccessNotFound) IsRedirect ¶
func (o *ListClientsWithAccessNotFound) IsRedirect() bool
IsRedirect returns true when this list clients with access not found response has a 3xx status code
func (*ListClientsWithAccessNotFound) IsServerError ¶
func (o *ListClientsWithAccessNotFound) IsServerError() bool
IsServerError returns true when this list clients with access not found response has a 5xx status code
func (*ListClientsWithAccessNotFound) IsSuccess ¶
func (o *ListClientsWithAccessNotFound) IsSuccess() bool
IsSuccess returns true when this list clients with access not found response has a 2xx status code
func (*ListClientsWithAccessNotFound) String ¶
func (o *ListClientsWithAccessNotFound) String() string
type ListClientsWithAccessOK ¶
type ListClientsWithAccessOK struct {
Payload *models.ListClientsWithAccess
}
ListClientsWithAccessOK describes a response with status code 200, with default header values.
Clients with access
func NewListClientsWithAccessOK ¶
func NewListClientsWithAccessOK() *ListClientsWithAccessOK
NewListClientsWithAccessOK creates a ListClientsWithAccessOK with default headers values
func (*ListClientsWithAccessOK) Code ¶
func (o *ListClientsWithAccessOK) Code() int
Code gets the status code for the list clients with access o k response
func (*ListClientsWithAccessOK) Error ¶
func (o *ListClientsWithAccessOK) Error() string
func (*ListClientsWithAccessOK) GetPayload ¶
func (o *ListClientsWithAccessOK) GetPayload() *models.ListClientsWithAccess
func (*ListClientsWithAccessOK) IsClientError ¶
func (o *ListClientsWithAccessOK) IsClientError() bool
IsClientError returns true when this list clients with access o k response has a 4xx status code
func (*ListClientsWithAccessOK) IsCode ¶
func (o *ListClientsWithAccessOK) IsCode(code int) bool
IsCode returns true when this list clients with access o k response a status code equal to that given
func (*ListClientsWithAccessOK) IsRedirect ¶
func (o *ListClientsWithAccessOK) IsRedirect() bool
IsRedirect returns true when this list clients with access o k response has a 3xx status code
func (*ListClientsWithAccessOK) IsServerError ¶
func (o *ListClientsWithAccessOK) IsServerError() bool
IsServerError returns true when this list clients with access o k response has a 5xx status code
func (*ListClientsWithAccessOK) IsSuccess ¶
func (o *ListClientsWithAccessOK) IsSuccess() bool
IsSuccess returns true when this list clients with access o k response has a 2xx status code
func (*ListClientsWithAccessOK) String ¶
func (o *ListClientsWithAccessOK) String() string
type ListClientsWithAccessParams ¶
type ListClientsWithAccessParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClientsWithAccessParams contains all the parameters to send to the API endpoint
for the list clients with access operation. Typically these are written to a http.Request.
func NewListClientsWithAccessParams ¶
func NewListClientsWithAccessParams() *ListClientsWithAccessParams
NewListClientsWithAccessParams creates a new ListClientsWithAccessParams 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 NewListClientsWithAccessParamsWithContext ¶
func NewListClientsWithAccessParamsWithContext(ctx context.Context) *ListClientsWithAccessParams
NewListClientsWithAccessParamsWithContext creates a new ListClientsWithAccessParams object with the ability to set a context for a request.
func NewListClientsWithAccessParamsWithHTTPClient ¶
func NewListClientsWithAccessParamsWithHTTPClient(client *http.Client) *ListClientsWithAccessParams
NewListClientsWithAccessParamsWithHTTPClient creates a new ListClientsWithAccessParams object with the ability to set a custom HTTPClient for a request.
func NewListClientsWithAccessParamsWithTimeout ¶
func NewListClientsWithAccessParamsWithTimeout(timeout time.Duration) *ListClientsWithAccessParams
NewListClientsWithAccessParamsWithTimeout creates a new ListClientsWithAccessParams object with the ability to set a timeout on a request.
func (*ListClientsWithAccessParams) SetContext ¶
func (o *ListClientsWithAccessParams) SetContext(ctx context.Context)
SetContext adds the context to the list clients with access params
func (*ListClientsWithAccessParams) SetDefaults ¶
func (o *ListClientsWithAccessParams) SetDefaults()
SetDefaults hydrates default values in the list clients with access params (not the query body).
All values with no default are reset to their zero value.
func (*ListClientsWithAccessParams) SetHTTPClient ¶
func (o *ListClientsWithAccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list clients with access params
func (*ListClientsWithAccessParams) SetTimeout ¶
func (o *ListClientsWithAccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list clients with access params
func (*ListClientsWithAccessParams) WithContext ¶
func (o *ListClientsWithAccessParams) WithContext(ctx context.Context) *ListClientsWithAccessParams
WithContext adds the context to the list clients with access params
func (*ListClientsWithAccessParams) WithDefaults ¶
func (o *ListClientsWithAccessParams) WithDefaults() *ListClientsWithAccessParams
WithDefaults hydrates default values in the list clients with access params (not the query body).
All values with no default are reset to their zero value.
func (*ListClientsWithAccessParams) WithHTTPClient ¶
func (o *ListClientsWithAccessParams) WithHTTPClient(client *http.Client) *ListClientsWithAccessParams
WithHTTPClient adds the HTTPClient to the list clients with access params
func (*ListClientsWithAccessParams) WithTimeout ¶
func (o *ListClientsWithAccessParams) WithTimeout(timeout time.Duration) *ListClientsWithAccessParams
WithTimeout adds the timeout to the list clients with access params
func (*ListClientsWithAccessParams) WriteToRequest ¶
func (o *ListClientsWithAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClientsWithAccessReader ¶
type ListClientsWithAccessReader struct {
// contains filtered or unexported fields
}
ListClientsWithAccessReader is a Reader for the ListClientsWithAccess structure.
func (*ListClientsWithAccessReader) ReadResponse ¶
func (o *ListClientsWithAccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClientsWithAccessTooManyRequests ¶
ListClientsWithAccessTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListClientsWithAccessTooManyRequests ¶
func NewListClientsWithAccessTooManyRequests() *ListClientsWithAccessTooManyRequests
NewListClientsWithAccessTooManyRequests creates a ListClientsWithAccessTooManyRequests with default headers values
func (*ListClientsWithAccessTooManyRequests) Code ¶
func (o *ListClientsWithAccessTooManyRequests) Code() int
Code gets the status code for the list clients with access too many requests response
func (*ListClientsWithAccessTooManyRequests) Error ¶
func (o *ListClientsWithAccessTooManyRequests) Error() string
func (*ListClientsWithAccessTooManyRequests) GetPayload ¶
func (o *ListClientsWithAccessTooManyRequests) GetPayload() *models.Error
func (*ListClientsWithAccessTooManyRequests) IsClientError ¶
func (o *ListClientsWithAccessTooManyRequests) IsClientError() bool
IsClientError returns true when this list clients with access too many requests response has a 4xx status code
func (*ListClientsWithAccessTooManyRequests) IsCode ¶
func (o *ListClientsWithAccessTooManyRequests) IsCode(code int) bool
IsCode returns true when this list clients with access too many requests response a status code equal to that given
func (*ListClientsWithAccessTooManyRequests) IsRedirect ¶
func (o *ListClientsWithAccessTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list clients with access too many requests response has a 3xx status code
func (*ListClientsWithAccessTooManyRequests) IsServerError ¶
func (o *ListClientsWithAccessTooManyRequests) IsServerError() bool
IsServerError returns true when this list clients with access too many requests response has a 5xx status code
func (*ListClientsWithAccessTooManyRequests) IsSuccess ¶
func (o *ListClientsWithAccessTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list clients with access too many requests response has a 2xx status code
func (*ListClientsWithAccessTooManyRequests) String ¶
func (o *ListClientsWithAccessTooManyRequests) String() string
type ListClientsWithAccessUnauthorized ¶
type ListClientsWithAccessUnauthorized struct {
}ListClientsWithAccessUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListClientsWithAccessUnauthorized ¶
func NewListClientsWithAccessUnauthorized() *ListClientsWithAccessUnauthorized
NewListClientsWithAccessUnauthorized creates a ListClientsWithAccessUnauthorized with default headers values
func (*ListClientsWithAccessUnauthorized) Code ¶
func (o *ListClientsWithAccessUnauthorized) Code() int
Code gets the status code for the list clients with access unauthorized response
func (*ListClientsWithAccessUnauthorized) Error ¶
func (o *ListClientsWithAccessUnauthorized) Error() string
func (*ListClientsWithAccessUnauthorized) GetPayload ¶
func (o *ListClientsWithAccessUnauthorized) GetPayload() *models.Error
func (*ListClientsWithAccessUnauthorized) IsClientError ¶
func (o *ListClientsWithAccessUnauthorized) IsClientError() bool
IsClientError returns true when this list clients with access unauthorized response has a 4xx status code
func (*ListClientsWithAccessUnauthorized) IsCode ¶
func (o *ListClientsWithAccessUnauthorized) IsCode(code int) bool
IsCode returns true when this list clients with access unauthorized response a status code equal to that given
func (*ListClientsWithAccessUnauthorized) IsRedirect ¶
func (o *ListClientsWithAccessUnauthorized) IsRedirect() bool
IsRedirect returns true when this list clients with access unauthorized response has a 3xx status code
func (*ListClientsWithAccessUnauthorized) IsServerError ¶
func (o *ListClientsWithAccessUnauthorized) IsServerError() bool
IsServerError returns true when this list clients with access unauthorized response has a 5xx status code
func (*ListClientsWithAccessUnauthorized) IsSuccess ¶
func (o *ListClientsWithAccessUnauthorized) IsSuccess() bool
IsSuccess returns true when this list clients with access unauthorized response has a 2xx status code
func (*ListClientsWithAccessUnauthorized) String ¶
func (o *ListClientsWithAccessUnauthorized) String() string
type RevokeClientAccessForbidden ¶
RevokeClientAccessForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRevokeClientAccessForbidden ¶
func NewRevokeClientAccessForbidden() *RevokeClientAccessForbidden
NewRevokeClientAccessForbidden creates a RevokeClientAccessForbidden with default headers values
func (*RevokeClientAccessForbidden) Code ¶
func (o *RevokeClientAccessForbidden) Code() int
Code gets the status code for the revoke client access forbidden response
func (*RevokeClientAccessForbidden) Error ¶
func (o *RevokeClientAccessForbidden) Error() string
func (*RevokeClientAccessForbidden) GetPayload ¶
func (o *RevokeClientAccessForbidden) GetPayload() *models.Error
func (*RevokeClientAccessForbidden) IsClientError ¶
func (o *RevokeClientAccessForbidden) IsClientError() bool
IsClientError returns true when this revoke client access forbidden response has a 4xx status code
func (*RevokeClientAccessForbidden) IsCode ¶
func (o *RevokeClientAccessForbidden) IsCode(code int) bool
IsCode returns true when this revoke client access forbidden response a status code equal to that given
func (*RevokeClientAccessForbidden) IsRedirect ¶
func (o *RevokeClientAccessForbidden) IsRedirect() bool
IsRedirect returns true when this revoke client access forbidden response has a 3xx status code
func (*RevokeClientAccessForbidden) IsServerError ¶
func (o *RevokeClientAccessForbidden) IsServerError() bool
IsServerError returns true when this revoke client access forbidden response has a 5xx status code
func (*RevokeClientAccessForbidden) IsSuccess ¶
func (o *RevokeClientAccessForbidden) IsSuccess() bool
IsSuccess returns true when this revoke client access forbidden response has a 2xx status code
func (*RevokeClientAccessForbidden) String ¶
func (o *RevokeClientAccessForbidden) String() string
type RevokeClientAccessNoContent ¶
type RevokeClientAccessNoContent struct { }
RevokeClientAccessNoContent describes a response with status code 204, with default header values.
Client access has been revoked
func NewRevokeClientAccessNoContent ¶
func NewRevokeClientAccessNoContent() *RevokeClientAccessNoContent
NewRevokeClientAccessNoContent creates a RevokeClientAccessNoContent with default headers values
func (*RevokeClientAccessNoContent) Code ¶
func (o *RevokeClientAccessNoContent) Code() int
Code gets the status code for the revoke client access no content response
func (*RevokeClientAccessNoContent) Error ¶
func (o *RevokeClientAccessNoContent) Error() string
func (*RevokeClientAccessNoContent) IsClientError ¶
func (o *RevokeClientAccessNoContent) IsClientError() bool
IsClientError returns true when this revoke client access no content response has a 4xx status code
func (*RevokeClientAccessNoContent) IsCode ¶
func (o *RevokeClientAccessNoContent) IsCode(code int) bool
IsCode returns true when this revoke client access no content response a status code equal to that given
func (*RevokeClientAccessNoContent) IsRedirect ¶
func (o *RevokeClientAccessNoContent) IsRedirect() bool
IsRedirect returns true when this revoke client access no content response has a 3xx status code
func (*RevokeClientAccessNoContent) IsServerError ¶
func (o *RevokeClientAccessNoContent) IsServerError() bool
IsServerError returns true when this revoke client access no content response has a 5xx status code
func (*RevokeClientAccessNoContent) IsSuccess ¶
func (o *RevokeClientAccessNoContent) IsSuccess() bool
IsSuccess returns true when this revoke client access no content response has a 2xx status code
func (*RevokeClientAccessNoContent) String ¶
func (o *RevokeClientAccessNoContent) String() string
type RevokeClientAccessParams ¶
type RevokeClientAccessParams struct { /* Cid. Client id Default: "default" */ Cid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeClientAccessParams contains all the parameters to send to the API endpoint
for the revoke client access operation. Typically these are written to a http.Request.
func NewRevokeClientAccessParams ¶
func NewRevokeClientAccessParams() *RevokeClientAccessParams
NewRevokeClientAccessParams creates a new RevokeClientAccessParams 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 NewRevokeClientAccessParamsWithContext ¶
func NewRevokeClientAccessParamsWithContext(ctx context.Context) *RevokeClientAccessParams
NewRevokeClientAccessParamsWithContext creates a new RevokeClientAccessParams object with the ability to set a context for a request.
func NewRevokeClientAccessParamsWithHTTPClient ¶
func NewRevokeClientAccessParamsWithHTTPClient(client *http.Client) *RevokeClientAccessParams
NewRevokeClientAccessParamsWithHTTPClient creates a new RevokeClientAccessParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeClientAccessParamsWithTimeout ¶
func NewRevokeClientAccessParamsWithTimeout(timeout time.Duration) *RevokeClientAccessParams
NewRevokeClientAccessParamsWithTimeout creates a new RevokeClientAccessParams object with the ability to set a timeout on a request.
func (*RevokeClientAccessParams) SetCid ¶
func (o *RevokeClientAccessParams) SetCid(cid string)
SetCid adds the cid to the revoke client access params
func (*RevokeClientAccessParams) SetContext ¶
func (o *RevokeClientAccessParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke client access params
func (*RevokeClientAccessParams) SetDefaults ¶
func (o *RevokeClientAccessParams) SetDefaults()
SetDefaults hydrates default values in the revoke client access params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeClientAccessParams) SetHTTPClient ¶
func (o *RevokeClientAccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke client access params
func (*RevokeClientAccessParams) SetTimeout ¶
func (o *RevokeClientAccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke client access params
func (*RevokeClientAccessParams) WithCid ¶
func (o *RevokeClientAccessParams) WithCid(cid string) *RevokeClientAccessParams
WithCid adds the cid to the revoke client access params
func (*RevokeClientAccessParams) WithContext ¶
func (o *RevokeClientAccessParams) WithContext(ctx context.Context) *RevokeClientAccessParams
WithContext adds the context to the revoke client access params
func (*RevokeClientAccessParams) WithDefaults ¶
func (o *RevokeClientAccessParams) WithDefaults() *RevokeClientAccessParams
WithDefaults hydrates default values in the revoke client access params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeClientAccessParams) WithHTTPClient ¶
func (o *RevokeClientAccessParams) WithHTTPClient(client *http.Client) *RevokeClientAccessParams
WithHTTPClient adds the HTTPClient to the revoke client access params
func (*RevokeClientAccessParams) WithTimeout ¶
func (o *RevokeClientAccessParams) WithTimeout(timeout time.Duration) *RevokeClientAccessParams
WithTimeout adds the timeout to the revoke client access params
func (*RevokeClientAccessParams) WriteToRequest ¶
func (o *RevokeClientAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeClientAccessReader ¶
type RevokeClientAccessReader struct {
// contains filtered or unexported fields
}
RevokeClientAccessReader is a Reader for the RevokeClientAccess structure.
func (*RevokeClientAccessReader) ReadResponse ¶
func (o *RevokeClientAccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeClientAccessTooManyRequests ¶
RevokeClientAccessTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewRevokeClientAccessTooManyRequests ¶
func NewRevokeClientAccessTooManyRequests() *RevokeClientAccessTooManyRequests
NewRevokeClientAccessTooManyRequests creates a RevokeClientAccessTooManyRequests with default headers values
func (*RevokeClientAccessTooManyRequests) Code ¶
func (o *RevokeClientAccessTooManyRequests) Code() int
Code gets the status code for the revoke client access too many requests response
func (*RevokeClientAccessTooManyRequests) Error ¶
func (o *RevokeClientAccessTooManyRequests) Error() string
func (*RevokeClientAccessTooManyRequests) GetPayload ¶
func (o *RevokeClientAccessTooManyRequests) GetPayload() *models.Error
func (*RevokeClientAccessTooManyRequests) IsClientError ¶
func (o *RevokeClientAccessTooManyRequests) IsClientError() bool
IsClientError returns true when this revoke client access too many requests response has a 4xx status code
func (*RevokeClientAccessTooManyRequests) IsCode ¶
func (o *RevokeClientAccessTooManyRequests) IsCode(code int) bool
IsCode returns true when this revoke client access too many requests response a status code equal to that given
func (*RevokeClientAccessTooManyRequests) IsRedirect ¶
func (o *RevokeClientAccessTooManyRequests) IsRedirect() bool
IsRedirect returns true when this revoke client access too many requests response has a 3xx status code
func (*RevokeClientAccessTooManyRequests) IsServerError ¶
func (o *RevokeClientAccessTooManyRequests) IsServerError() bool
IsServerError returns true when this revoke client access too many requests response has a 5xx status code
func (*RevokeClientAccessTooManyRequests) IsSuccess ¶
func (o *RevokeClientAccessTooManyRequests) IsSuccess() bool
IsSuccess returns true when this revoke client access too many requests response has a 2xx status code
func (*RevokeClientAccessTooManyRequests) String ¶
func (o *RevokeClientAccessTooManyRequests) String() string
type RevokeClientAccessUnauthorized ¶
type RevokeClientAccessUnauthorized struct {
}RevokeClientAccessUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRevokeClientAccessUnauthorized ¶
func NewRevokeClientAccessUnauthorized() *RevokeClientAccessUnauthorized
NewRevokeClientAccessUnauthorized creates a RevokeClientAccessUnauthorized with default headers values
func (*RevokeClientAccessUnauthorized) Code ¶
func (o *RevokeClientAccessUnauthorized) Code() int
Code gets the status code for the revoke client access unauthorized response
func (*RevokeClientAccessUnauthorized) Error ¶
func (o *RevokeClientAccessUnauthorized) Error() string
func (*RevokeClientAccessUnauthorized) GetPayload ¶
func (o *RevokeClientAccessUnauthorized) GetPayload() *models.Error
func (*RevokeClientAccessUnauthorized) IsClientError ¶
func (o *RevokeClientAccessUnauthorized) IsClientError() bool
IsClientError returns true when this revoke client access unauthorized response has a 4xx status code
func (*RevokeClientAccessUnauthorized) IsCode ¶
func (o *RevokeClientAccessUnauthorized) IsCode(code int) bool
IsCode returns true when this revoke client access unauthorized response a status code equal to that given
func (*RevokeClientAccessUnauthorized) IsRedirect ¶
func (o *RevokeClientAccessUnauthorized) IsRedirect() bool
IsRedirect returns true when this revoke client access unauthorized response has a 3xx status code
func (*RevokeClientAccessUnauthorized) IsServerError ¶
func (o *RevokeClientAccessUnauthorized) IsServerError() bool
IsServerError returns true when this revoke client access unauthorized response has a 5xx status code
func (*RevokeClientAccessUnauthorized) IsSuccess ¶
func (o *RevokeClientAccessUnauthorized) IsSuccess() bool
IsSuccess returns true when this revoke client access unauthorized response has a 2xx status code
func (*RevokeClientAccessUnauthorized) String ¶
func (o *RevokeClientAccessUnauthorized) String() string