Documentation ¶
Index ¶
- type AddClientBadRequest
- type AddClientOK
- type AddClientParams
- func (o *AddClientParams) SetClient(client *models.Client)
- func (o *AddClientParams) SetContext(ctx context.Context)
- func (o *AddClientParams) SetHTTPClient(client *http.Client)
- func (o *AddClientParams) SetTimeout(timeout time.Duration)
- func (o *AddClientParams) WithClient(client *models.Client) *AddClientParams
- func (o *AddClientParams) WithContext(ctx context.Context) *AddClientParams
- func (o *AddClientParams) WithHTTPClient(client *http.Client) *AddClientParams
- func (o *AddClientParams) WithTimeout(timeout time.Duration) *AddClientParams
- func (o *AddClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddClientReader
- type Client
- func (a *Client) AddClient(params *AddClientParams, authInfo runtime.ClientAuthInfoWriter) (*AddClientOK, error)
- func (a *Client) DeleteClient(params *DeleteClientParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClientOK, error)
- func (a *Client) GetClient(params *GetClientParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateClientPublicKey(params *UpdateClientPublicKeyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateClientPublicKeyOK, error)
- type DeleteClientBadRequest
- type DeleteClientOK
- type DeleteClientParams
- func (o *DeleteClientParams) SetClientID(clientID string)
- func (o *DeleteClientParams) SetContext(ctx context.Context)
- func (o *DeleteClientParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClientParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClientParams) WithClientID(clientID string) *DeleteClientParams
- func (o *DeleteClientParams) WithContext(ctx context.Context) *DeleteClientParams
- func (o *DeleteClientParams) WithHTTPClient(client *http.Client) *DeleteClientParams
- func (o *DeleteClientParams) WithTimeout(timeout time.Duration) *DeleteClientParams
- func (o *DeleteClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClientReader
- type DeleteClientUnauthorized
- type GetClientBadRequest
- type GetClientOK
- type GetClientParams
- func (o *GetClientParams) SetClientID(clientID string)
- func (o *GetClientParams) SetContext(ctx context.Context)
- func (o *GetClientParams) SetHTTPClient(client *http.Client)
- func (o *GetClientParams) SetTimeout(timeout time.Duration)
- func (o *GetClientParams) WithClientID(clientID string) *GetClientParams
- func (o *GetClientParams) WithContext(ctx context.Context) *GetClientParams
- func (o *GetClientParams) WithHTTPClient(client *http.Client) *GetClientParams
- func (o *GetClientParams) WithTimeout(timeout time.Duration) *GetClientParams
- func (o *GetClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClientReader
- type UpdateClientPublicKeyBadRequest
- type UpdateClientPublicKeyOK
- type UpdateClientPublicKeyParams
- func NewUpdateClientPublicKeyParams() *UpdateClientPublicKeyParams
- func NewUpdateClientPublicKeyParamsWithContext(ctx context.Context) *UpdateClientPublicKeyParams
- func NewUpdateClientPublicKeyParamsWithHTTPClient(client *http.Client) *UpdateClientPublicKeyParams
- func NewUpdateClientPublicKeyParamsWithTimeout(timeout time.Duration) *UpdateClientPublicKeyParams
- func (o *UpdateClientPublicKeyParams) SetClientID(clientID string)
- func (o *UpdateClientPublicKeyParams) SetContext(ctx context.Context)
- func (o *UpdateClientPublicKeyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClientPublicKeyParams) SetNewPublicKey(newPublicKey *models.PublicKey)
- func (o *UpdateClientPublicKeyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClientPublicKeyParams) WithClientID(clientID string) *UpdateClientPublicKeyParams
- func (o *UpdateClientPublicKeyParams) WithContext(ctx context.Context) *UpdateClientPublicKeyParams
- func (o *UpdateClientPublicKeyParams) WithHTTPClient(client *http.Client) *UpdateClientPublicKeyParams
- func (o *UpdateClientPublicKeyParams) WithNewPublicKey(newPublicKey *models.PublicKey) *UpdateClientPublicKeyParams
- func (o *UpdateClientPublicKeyParams) WithTimeout(timeout time.Duration) *UpdateClientPublicKeyParams
- func (o *UpdateClientPublicKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClientPublicKeyReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddClientBadRequest ¶
type AddClientBadRequest struct { }
AddClientBadRequest handles this case with default header values.
Unable to process request
func NewAddClientBadRequest ¶
func NewAddClientBadRequest() *AddClientBadRequest
NewAddClientBadRequest creates a AddClientBadRequest with default headers values
func (*AddClientBadRequest) Error ¶
func (o *AddClientBadRequest) Error() string
type AddClientOK ¶
AddClientOK handles this case with default header values.
Successful registration of a new client.
func NewAddClientOK ¶
func NewAddClientOK() *AddClientOK
NewAddClientOK creates a AddClientOK with default headers values
func (*AddClientOK) Error ¶
func (o *AddClientOK) Error() string
type AddClientParams ¶
type AddClientParams struct { /*Client*/ Client *models.Client Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddClientParams contains all the parameters to send to the API endpoint for the add client operation typically these are written to a http.Request
func NewAddClientParams ¶
func NewAddClientParams() *AddClientParams
NewAddClientParams creates a new AddClientParams object with the default values initialized.
func NewAddClientParamsWithContext ¶
func NewAddClientParamsWithContext(ctx context.Context) *AddClientParams
NewAddClientParamsWithContext creates a new AddClientParams object with the default values initialized, and the ability to set a context for a request
func NewAddClientParamsWithHTTPClient ¶
func NewAddClientParamsWithHTTPClient(client *http.Client) *AddClientParams
NewAddClientParamsWithHTTPClient creates a new AddClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddClientParamsWithTimeout ¶
func NewAddClientParamsWithTimeout(timeout time.Duration) *AddClientParams
NewAddClientParamsWithTimeout creates a new AddClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddClientParams) SetClient ¶
func (o *AddClientParams) SetClient(client *models.Client)
SetClient adds the client to the add client params
func (*AddClientParams) SetContext ¶
func (o *AddClientParams) SetContext(ctx context.Context)
SetContext adds the context to the add client params
func (*AddClientParams) SetHTTPClient ¶
func (o *AddClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add client params
func (*AddClientParams) SetTimeout ¶
func (o *AddClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add client params
func (*AddClientParams) WithClient ¶
func (o *AddClientParams) WithClient(client *models.Client) *AddClientParams
WithClient adds the client to the add client params
func (*AddClientParams) WithContext ¶
func (o *AddClientParams) WithContext(ctx context.Context) *AddClientParams
WithContext adds the context to the add client params
func (*AddClientParams) WithHTTPClient ¶
func (o *AddClientParams) WithHTTPClient(client *http.Client) *AddClientParams
WithHTTPClient adds the HTTPClient to the add client params
func (*AddClientParams) WithTimeout ¶
func (o *AddClientParams) WithTimeout(timeout time.Duration) *AddClientParams
WithTimeout adds the timeout to the add client params
func (*AddClientParams) WriteToRequest ¶
func (o *AddClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddClientReader ¶
type AddClientReader struct {
// contains filtered or unexported fields
}
AddClientReader is a Reader for the AddClient structure.
func (*AddClientReader) ReadResponse ¶
func (o *AddClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for client API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new client API client.
func (*Client) AddClient ¶
func (a *Client) AddClient(params *AddClientParams, authInfo runtime.ClientAuthInfoWriter) (*AddClientOK, error)
AddClient registers a new client
func (*Client) DeleteClient ¶
func (a *Client) DeleteClient(params *DeleteClientParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClientOK, error)
DeleteClient removes an existing organization
func (*Client) GetClient ¶
func (a *Client) GetClient(params *GetClientParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientOK, error)
GetClient gets an existing client
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateClientPublicKey ¶
func (a *Client) UpdateClientPublicKey(params *UpdateClientPublicKeyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateClientPublicKeyOK, error)
UpdateClientPublicKey registers a new public key for the client replacing existing key
type DeleteClientBadRequest ¶
type DeleteClientBadRequest struct { }
DeleteClientBadRequest handles this case with default header values.
Unable to process request
func NewDeleteClientBadRequest ¶
func NewDeleteClientBadRequest() *DeleteClientBadRequest
NewDeleteClientBadRequest creates a DeleteClientBadRequest with default headers values
func (*DeleteClientBadRequest) Error ¶
func (o *DeleteClientBadRequest) Error() string
type DeleteClientOK ¶
DeleteClientOK handles this case with default header values.
Successful update of an existing client.
func NewDeleteClientOK ¶
func NewDeleteClientOK() *DeleteClientOK
NewDeleteClientOK creates a DeleteClientOK with default headers values
func (*DeleteClientOK) Error ¶
func (o *DeleteClientOK) Error() string
type DeleteClientParams ¶
type DeleteClientParams struct { /*ClientID*/ ClientID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClientParams contains all the parameters to send to the API endpoint for the delete client operation typically these are written to a http.Request
func NewDeleteClientParams ¶
func NewDeleteClientParams() *DeleteClientParams
NewDeleteClientParams creates a new DeleteClientParams object with the default values initialized.
func NewDeleteClientParamsWithContext ¶
func NewDeleteClientParamsWithContext(ctx context.Context) *DeleteClientParams
NewDeleteClientParamsWithContext creates a new DeleteClientParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClientParamsWithHTTPClient ¶
func NewDeleteClientParamsWithHTTPClient(client *http.Client) *DeleteClientParams
NewDeleteClientParamsWithHTTPClient creates a new DeleteClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClientParamsWithTimeout ¶
func NewDeleteClientParamsWithTimeout(timeout time.Duration) *DeleteClientParams
NewDeleteClientParamsWithTimeout creates a new DeleteClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClientParams) SetClientID ¶
func (o *DeleteClientParams) SetClientID(clientID string)
SetClientID adds the clientId to the delete client params
func (*DeleteClientParams) SetContext ¶
func (o *DeleteClientParams) SetContext(ctx context.Context)
SetContext adds the context to the delete client params
func (*DeleteClientParams) SetHTTPClient ¶
func (o *DeleteClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete client params
func (*DeleteClientParams) SetTimeout ¶
func (o *DeleteClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete client params
func (*DeleteClientParams) WithClientID ¶
func (o *DeleteClientParams) WithClientID(clientID string) *DeleteClientParams
WithClientID adds the clientID to the delete client params
func (*DeleteClientParams) WithContext ¶
func (o *DeleteClientParams) WithContext(ctx context.Context) *DeleteClientParams
WithContext adds the context to the delete client params
func (*DeleteClientParams) WithHTTPClient ¶
func (o *DeleteClientParams) WithHTTPClient(client *http.Client) *DeleteClientParams
WithHTTPClient adds the HTTPClient to the delete client params
func (*DeleteClientParams) WithTimeout ¶
func (o *DeleteClientParams) WithTimeout(timeout time.Duration) *DeleteClientParams
WithTimeout adds the timeout to the delete client params
func (*DeleteClientParams) WriteToRequest ¶
func (o *DeleteClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClientReader ¶
type DeleteClientReader struct {
// contains filtered or unexported fields
}
DeleteClientReader is a Reader for the DeleteClient structure.
func (*DeleteClientReader) ReadResponse ¶
func (o *DeleteClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClientUnauthorized ¶
type DeleteClientUnauthorized struct { }
DeleteClientUnauthorized handles this case with default header values.
Not authenticated to perform request
func NewDeleteClientUnauthorized ¶
func NewDeleteClientUnauthorized() *DeleteClientUnauthorized
NewDeleteClientUnauthorized creates a DeleteClientUnauthorized with default headers values
func (*DeleteClientUnauthorized) Error ¶
func (o *DeleteClientUnauthorized) Error() string
type GetClientBadRequest ¶
type GetClientBadRequest struct { }
GetClientBadRequest handles this case with default header values.
Unable to process request
func NewGetClientBadRequest ¶
func NewGetClientBadRequest() *GetClientBadRequest
NewGetClientBadRequest creates a GetClientBadRequest with default headers values
func (*GetClientBadRequest) Error ¶
func (o *GetClientBadRequest) Error() string
type GetClientOK ¶
GetClientOK handles this case with default header values.
Returns the client requested
func NewGetClientOK ¶
func NewGetClientOK() *GetClientOK
NewGetClientOK creates a GetClientOK with default headers values
func (*GetClientOK) Error ¶
func (o *GetClientOK) Error() string
type GetClientParams ¶
type GetClientParams struct { /*ClientID*/ ClientID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClientParams contains all the parameters to send to the API endpoint for the get client operation typically these are written to a http.Request
func NewGetClientParams ¶
func NewGetClientParams() *GetClientParams
NewGetClientParams creates a new GetClientParams object with the default values initialized.
func NewGetClientParamsWithContext ¶
func NewGetClientParamsWithContext(ctx context.Context) *GetClientParams
NewGetClientParamsWithContext creates a new GetClientParams object with the default values initialized, and the ability to set a context for a request
func NewGetClientParamsWithHTTPClient ¶
func NewGetClientParamsWithHTTPClient(client *http.Client) *GetClientParams
NewGetClientParamsWithHTTPClient creates a new GetClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClientParamsWithTimeout ¶
func NewGetClientParamsWithTimeout(timeout time.Duration) *GetClientParams
NewGetClientParamsWithTimeout creates a new GetClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClientParams) SetClientID ¶
func (o *GetClientParams) SetClientID(clientID string)
SetClientID adds the clientId to the get client params
func (*GetClientParams) SetContext ¶
func (o *GetClientParams) SetContext(ctx context.Context)
SetContext adds the context to the get client params
func (*GetClientParams) SetHTTPClient ¶
func (o *GetClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get client params
func (*GetClientParams) SetTimeout ¶
func (o *GetClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get client params
func (*GetClientParams) WithClientID ¶
func (o *GetClientParams) WithClientID(clientID string) *GetClientParams
WithClientID adds the clientID to the get client params
func (*GetClientParams) WithContext ¶
func (o *GetClientParams) WithContext(ctx context.Context) *GetClientParams
WithContext adds the context to the get client params
func (*GetClientParams) WithHTTPClient ¶
func (o *GetClientParams) WithHTTPClient(client *http.Client) *GetClientParams
WithHTTPClient adds the HTTPClient to the get client params
func (*GetClientParams) WithTimeout ¶
func (o *GetClientParams) WithTimeout(timeout time.Duration) *GetClientParams
WithTimeout adds the timeout to the get client params
func (*GetClientParams) WriteToRequest ¶
func (o *GetClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClientReader ¶
type GetClientReader struct {
// contains filtered or unexported fields
}
GetClientReader is a Reader for the GetClient structure.
func (*GetClientReader) ReadResponse ¶
func (o *GetClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClientPublicKeyBadRequest ¶
type UpdateClientPublicKeyBadRequest struct { }
UpdateClientPublicKeyBadRequest handles this case with default header values.
Unable to process request
func NewUpdateClientPublicKeyBadRequest ¶
func NewUpdateClientPublicKeyBadRequest() *UpdateClientPublicKeyBadRequest
NewUpdateClientPublicKeyBadRequest creates a UpdateClientPublicKeyBadRequest with default headers values
func (*UpdateClientPublicKeyBadRequest) Error ¶
func (o *UpdateClientPublicKeyBadRequest) Error() string
type UpdateClientPublicKeyOK ¶
type UpdateClientPublicKeyOK struct { }
UpdateClientPublicKeyOK handles this case with default header values.
Public key for the client successfully updated
func NewUpdateClientPublicKeyOK ¶
func NewUpdateClientPublicKeyOK() *UpdateClientPublicKeyOK
NewUpdateClientPublicKeyOK creates a UpdateClientPublicKeyOK with default headers values
func (*UpdateClientPublicKeyOK) Error ¶
func (o *UpdateClientPublicKeyOK) Error() string
type UpdateClientPublicKeyParams ¶
type UpdateClientPublicKeyParams struct { /*ClientID*/ ClientID string /*NewPublicKey*/ NewPublicKey *models.PublicKey Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClientPublicKeyParams contains all the parameters to send to the API endpoint for the update client public key operation typically these are written to a http.Request
func NewUpdateClientPublicKeyParams ¶
func NewUpdateClientPublicKeyParams() *UpdateClientPublicKeyParams
NewUpdateClientPublicKeyParams creates a new UpdateClientPublicKeyParams object with the default values initialized.
func NewUpdateClientPublicKeyParamsWithContext ¶
func NewUpdateClientPublicKeyParamsWithContext(ctx context.Context) *UpdateClientPublicKeyParams
NewUpdateClientPublicKeyParamsWithContext creates a new UpdateClientPublicKeyParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateClientPublicKeyParamsWithHTTPClient ¶
func NewUpdateClientPublicKeyParamsWithHTTPClient(client *http.Client) *UpdateClientPublicKeyParams
NewUpdateClientPublicKeyParamsWithHTTPClient creates a new UpdateClientPublicKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateClientPublicKeyParamsWithTimeout ¶
func NewUpdateClientPublicKeyParamsWithTimeout(timeout time.Duration) *UpdateClientPublicKeyParams
NewUpdateClientPublicKeyParamsWithTimeout creates a new UpdateClientPublicKeyParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateClientPublicKeyParams) SetClientID ¶
func (o *UpdateClientPublicKeyParams) SetClientID(clientID string)
SetClientID adds the clientId to the update client public key params
func (*UpdateClientPublicKeyParams) SetContext ¶
func (o *UpdateClientPublicKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the update client public key params
func (*UpdateClientPublicKeyParams) SetHTTPClient ¶
func (o *UpdateClientPublicKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update client public key params
func (*UpdateClientPublicKeyParams) SetNewPublicKey ¶
func (o *UpdateClientPublicKeyParams) SetNewPublicKey(newPublicKey *models.PublicKey)
SetNewPublicKey adds the newPublicKey to the update client public key params
func (*UpdateClientPublicKeyParams) SetTimeout ¶
func (o *UpdateClientPublicKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update client public key params
func (*UpdateClientPublicKeyParams) WithClientID ¶
func (o *UpdateClientPublicKeyParams) WithClientID(clientID string) *UpdateClientPublicKeyParams
WithClientID adds the clientID to the update client public key params
func (*UpdateClientPublicKeyParams) WithContext ¶
func (o *UpdateClientPublicKeyParams) WithContext(ctx context.Context) *UpdateClientPublicKeyParams
WithContext adds the context to the update client public key params
func (*UpdateClientPublicKeyParams) WithHTTPClient ¶
func (o *UpdateClientPublicKeyParams) WithHTTPClient(client *http.Client) *UpdateClientPublicKeyParams
WithHTTPClient adds the HTTPClient to the update client public key params
func (*UpdateClientPublicKeyParams) WithNewPublicKey ¶
func (o *UpdateClientPublicKeyParams) WithNewPublicKey(newPublicKey *models.PublicKey) *UpdateClientPublicKeyParams
WithNewPublicKey adds the newPublicKey to the update client public key params
func (*UpdateClientPublicKeyParams) WithTimeout ¶
func (o *UpdateClientPublicKeyParams) WithTimeout(timeout time.Duration) *UpdateClientPublicKeyParams
WithTimeout adds the timeout to the update client public key params
func (*UpdateClientPublicKeyParams) WriteToRequest ¶
func (o *UpdateClientPublicKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClientPublicKeyReader ¶
type UpdateClientPublicKeyReader struct {
// contains filtered or unexported fields
}
UpdateClientPublicKeyReader is a Reader for the UpdateClientPublicKey structure.
func (*UpdateClientPublicKeyReader) ReadResponse ¶
func (o *UpdateClientPublicKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.