Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteClients(params *DeleteClientsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClientsOK, error)
- func (a *Client) GetClients(params *GetClientsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientsOK, error)
- func (a *Client) PostClients(params *PostClientsParams, authInfo runtime.ClientAuthInfoWriter) (*PostClientsOK, error)
- func (a *Client) PutClients(params *PutClientsParams, authInfo runtime.ClientAuthInfoWriter) (*PutClientsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteClientsOK
- type DeleteClientsParams
- func (o *DeleteClientsParams) SetClientID(clientID string)
- func (o *DeleteClientsParams) SetContext(ctx context.Context)
- func (o *DeleteClientsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClientsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClientsParams) WithClientID(clientID string) *DeleteClientsParams
- func (o *DeleteClientsParams) WithContext(ctx context.Context) *DeleteClientsParams
- func (o *DeleteClientsParams) WithHTTPClient(client *http.Client) *DeleteClientsParams
- func (o *DeleteClientsParams) WithTimeout(timeout time.Duration) *DeleteClientsParams
- func (o *DeleteClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClientsReader
- type GetClientsOK
- type GetClientsParams
- func (o *GetClientsParams) SetContext(ctx context.Context)
- func (o *GetClientsParams) SetHTTPClient(client *http.Client)
- func (o *GetClientsParams) SetPage(page *int32)
- func (o *GetClientsParams) SetPageSize(pageSize *int32)
- func (o *GetClientsParams) SetSearch(search *string)
- func (o *GetClientsParams) SetTimeout(timeout time.Duration)
- func (o *GetClientsParams) WithContext(ctx context.Context) *GetClientsParams
- func (o *GetClientsParams) WithHTTPClient(client *http.Client) *GetClientsParams
- func (o *GetClientsParams) WithPage(page *int32) *GetClientsParams
- func (o *GetClientsParams) WithPageSize(pageSize *int32) *GetClientsParams
- func (o *GetClientsParams) WithSearch(search *string) *GetClientsParams
- func (o *GetClientsParams) WithTimeout(timeout time.Duration) *GetClientsParams
- func (o *GetClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClientsReader
- type PostClientsOK
- type PostClientsParams
- func (o *PostClientsParams) SetClient(client *models.Client)
- func (o *PostClientsParams) SetContext(ctx context.Context)
- func (o *PostClientsParams) SetHTTPClient(client *http.Client)
- func (o *PostClientsParams) SetTimeout(timeout time.Duration)
- func (o *PostClientsParams) WithClient(client *models.Client) *PostClientsParams
- func (o *PostClientsParams) WithContext(ctx context.Context) *PostClientsParams
- func (o *PostClientsParams) WithHTTPClient(client *http.Client) *PostClientsParams
- func (o *PostClientsParams) WithTimeout(timeout time.Duration) *PostClientsParams
- func (o *PostClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostClientsReader
- type PutClientsOK
- type PutClientsParams
- func (o *PutClientsParams) SetClient(client *models.Client)
- func (o *PutClientsParams) SetClientID(clientID string)
- func (o *PutClientsParams) SetContext(ctx context.Context)
- func (o *PutClientsParams) SetHTTPClient(client *http.Client)
- func (o *PutClientsParams) SetTimeout(timeout time.Duration)
- func (o *PutClientsParams) WithClient(client *models.Client) *PutClientsParams
- func (o *PutClientsParams) WithClientID(clientID string) *PutClientsParams
- func (o *PutClientsParams) WithContext(ctx context.Context) *PutClientsParams
- func (o *PutClientsParams) WithHTTPClient(client *http.Client) *PutClientsParams
- func (o *PutClientsParams) WithTimeout(timeout time.Duration) *PutClientsParams
- func (o *PutClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutClientsReader
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) DeleteClients ¶
func (a *Client) DeleteClients(params *DeleteClientsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClientsOK, error)
DeleteClients delete clients API
func (*Client) GetClients ¶
func (a *Client) GetClients(params *GetClientsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientsOK, error)
GetClients get clients API
func (*Client) PostClients ¶
func (a *Client) PostClients(params *PostClientsParams, authInfo runtime.ClientAuthInfoWriter) (*PostClientsOK, error)
PostClients post clients API
func (*Client) PutClients ¶
func (a *Client) PutClients(params *PutClientsParams, authInfo runtime.ClientAuthInfoWriter) (*PutClientsOK, error)
PutClients put clients API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteClients(params *DeleteClientsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClientsOK, error) GetClients(params *GetClientsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClientsOK, error) PostClients(params *PostClientsParams, authInfo runtime.ClientAuthInfoWriter) (*PostClientsOK, error) PutClients(params *PutClientsParams, authInfo runtime.ClientAuthInfoWriter) (*PutClientsOK, 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 DeleteClientsOK ¶
type DeleteClientsOK struct {
Payload bool
}
DeleteClientsOK handles this case with default header values.
Success
func NewDeleteClientsOK ¶
func NewDeleteClientsOK() *DeleteClientsOK
NewDeleteClientsOK creates a DeleteClientsOK with default headers values
func (*DeleteClientsOK) Error ¶
func (o *DeleteClientsOK) Error() string
func (*DeleteClientsOK) GetPayload ¶
func (o *DeleteClientsOK) GetPayload() bool
type DeleteClientsParams ¶
type DeleteClientsParams struct { /*ClientID*/ ClientID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClientsParams contains all the parameters to send to the API endpoint for the delete clients operation typically these are written to a http.Request
func NewDeleteClientsParams ¶
func NewDeleteClientsParams() *DeleteClientsParams
NewDeleteClientsParams creates a new DeleteClientsParams object with the default values initialized.
func NewDeleteClientsParamsWithContext ¶
func NewDeleteClientsParamsWithContext(ctx context.Context) *DeleteClientsParams
NewDeleteClientsParamsWithContext creates a new DeleteClientsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClientsParamsWithHTTPClient ¶
func NewDeleteClientsParamsWithHTTPClient(client *http.Client) *DeleteClientsParams
NewDeleteClientsParamsWithHTTPClient creates a new DeleteClientsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClientsParamsWithTimeout ¶
func NewDeleteClientsParamsWithTimeout(timeout time.Duration) *DeleteClientsParams
NewDeleteClientsParamsWithTimeout creates a new DeleteClientsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClientsParams) SetClientID ¶
func (o *DeleteClientsParams) SetClientID(clientID string)
SetClientID adds the clientId to the delete clients params
func (*DeleteClientsParams) SetContext ¶
func (o *DeleteClientsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete clients params
func (*DeleteClientsParams) SetHTTPClient ¶
func (o *DeleteClientsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete clients params
func (*DeleteClientsParams) SetTimeout ¶
func (o *DeleteClientsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete clients params
func (*DeleteClientsParams) WithClientID ¶
func (o *DeleteClientsParams) WithClientID(clientID string) *DeleteClientsParams
WithClientID adds the clientID to the delete clients params
func (*DeleteClientsParams) WithContext ¶
func (o *DeleteClientsParams) WithContext(ctx context.Context) *DeleteClientsParams
WithContext adds the context to the delete clients params
func (*DeleteClientsParams) WithHTTPClient ¶
func (o *DeleteClientsParams) WithHTTPClient(client *http.Client) *DeleteClientsParams
WithHTTPClient adds the HTTPClient to the delete clients params
func (*DeleteClientsParams) WithTimeout ¶
func (o *DeleteClientsParams) WithTimeout(timeout time.Duration) *DeleteClientsParams
WithTimeout adds the timeout to the delete clients params
func (*DeleteClientsParams) WriteToRequest ¶
func (o *DeleteClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClientsReader ¶
type DeleteClientsReader struct {
// contains filtered or unexported fields
}
DeleteClientsReader is a Reader for the DeleteClients structure.
func (*DeleteClientsReader) ReadResponse ¶
func (o *DeleteClientsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClientsOK ¶
type GetClientsOK struct {
Payload *models.APICollectionOfClient
}
GetClientsOK handles this case with default header values.
Success
func NewGetClientsOK ¶
func NewGetClientsOK() *GetClientsOK
NewGetClientsOK creates a GetClientsOK with default headers values
func (*GetClientsOK) Error ¶
func (o *GetClientsOK) Error() string
func (*GetClientsOK) GetPayload ¶
func (o *GetClientsOK) GetPayload() *models.APICollectionOfClient
type GetClientsParams ¶
type GetClientsParams struct { /*Page*/ Page *int32 /*PageSize*/ PageSize *int32 /*Search*/ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClientsParams contains all the parameters to send to the API endpoint for the get clients operation typically these are written to a http.Request
func NewGetClientsParams ¶
func NewGetClientsParams() *GetClientsParams
NewGetClientsParams creates a new GetClientsParams object with the default values initialized.
func NewGetClientsParamsWithContext ¶
func NewGetClientsParamsWithContext(ctx context.Context) *GetClientsParams
NewGetClientsParamsWithContext creates a new GetClientsParams object with the default values initialized, and the ability to set a context for a request
func NewGetClientsParamsWithHTTPClient ¶
func NewGetClientsParamsWithHTTPClient(client *http.Client) *GetClientsParams
NewGetClientsParamsWithHTTPClient creates a new GetClientsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClientsParamsWithTimeout ¶
func NewGetClientsParamsWithTimeout(timeout time.Duration) *GetClientsParams
NewGetClientsParamsWithTimeout creates a new GetClientsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClientsParams) SetContext ¶
func (o *GetClientsParams) SetContext(ctx context.Context)
SetContext adds the context to the get clients params
func (*GetClientsParams) SetHTTPClient ¶
func (o *GetClientsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get clients params
func (*GetClientsParams) SetPage ¶
func (o *GetClientsParams) SetPage(page *int32)
SetPage adds the page to the get clients params
func (*GetClientsParams) SetPageSize ¶
func (o *GetClientsParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get clients params
func (*GetClientsParams) SetSearch ¶
func (o *GetClientsParams) SetSearch(search *string)
SetSearch adds the search to the get clients params
func (*GetClientsParams) SetTimeout ¶
func (o *GetClientsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get clients params
func (*GetClientsParams) WithContext ¶
func (o *GetClientsParams) WithContext(ctx context.Context) *GetClientsParams
WithContext adds the context to the get clients params
func (*GetClientsParams) WithHTTPClient ¶
func (o *GetClientsParams) WithHTTPClient(client *http.Client) *GetClientsParams
WithHTTPClient adds the HTTPClient to the get clients params
func (*GetClientsParams) WithPage ¶
func (o *GetClientsParams) WithPage(page *int32) *GetClientsParams
WithPage adds the page to the get clients params
func (*GetClientsParams) WithPageSize ¶
func (o *GetClientsParams) WithPageSize(pageSize *int32) *GetClientsParams
WithPageSize adds the pageSize to the get clients params
func (*GetClientsParams) WithSearch ¶
func (o *GetClientsParams) WithSearch(search *string) *GetClientsParams
WithSearch adds the search to the get clients params
func (*GetClientsParams) WithTimeout ¶
func (o *GetClientsParams) WithTimeout(timeout time.Duration) *GetClientsParams
WithTimeout adds the timeout to the get clients params
func (*GetClientsParams) WriteToRequest ¶
func (o *GetClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClientsReader ¶
type GetClientsReader struct {
// contains filtered or unexported fields
}
GetClientsReader is a Reader for the GetClients structure.
func (*GetClientsReader) ReadResponse ¶
func (o *GetClientsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostClientsOK ¶
PostClientsOK handles this case with default header values.
Success
func NewPostClientsOK ¶
func NewPostClientsOK() *PostClientsOK
NewPostClientsOK creates a PostClientsOK with default headers values
func (*PostClientsOK) Error ¶
func (o *PostClientsOK) Error() string
func (*PostClientsOK) GetPayload ¶
func (o *PostClientsOK) GetPayload() *models.Client
type PostClientsParams ¶
type PostClientsParams struct { /*Client*/ Client *models.Client Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostClientsParams contains all the parameters to send to the API endpoint for the post clients operation typically these are written to a http.Request
func NewPostClientsParams ¶
func NewPostClientsParams() *PostClientsParams
NewPostClientsParams creates a new PostClientsParams object with the default values initialized.
func NewPostClientsParamsWithContext ¶
func NewPostClientsParamsWithContext(ctx context.Context) *PostClientsParams
NewPostClientsParamsWithContext creates a new PostClientsParams object with the default values initialized, and the ability to set a context for a request
func NewPostClientsParamsWithHTTPClient ¶
func NewPostClientsParamsWithHTTPClient(client *http.Client) *PostClientsParams
NewPostClientsParamsWithHTTPClient creates a new PostClientsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostClientsParamsWithTimeout ¶
func NewPostClientsParamsWithTimeout(timeout time.Duration) *PostClientsParams
NewPostClientsParamsWithTimeout creates a new PostClientsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostClientsParams) SetClient ¶
func (o *PostClientsParams) SetClient(client *models.Client)
SetClient adds the client to the post clients params
func (*PostClientsParams) SetContext ¶
func (o *PostClientsParams) SetContext(ctx context.Context)
SetContext adds the context to the post clients params
func (*PostClientsParams) SetHTTPClient ¶
func (o *PostClientsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post clients params
func (*PostClientsParams) SetTimeout ¶
func (o *PostClientsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post clients params
func (*PostClientsParams) WithClient ¶
func (o *PostClientsParams) WithClient(client *models.Client) *PostClientsParams
WithClient adds the client to the post clients params
func (*PostClientsParams) WithContext ¶
func (o *PostClientsParams) WithContext(ctx context.Context) *PostClientsParams
WithContext adds the context to the post clients params
func (*PostClientsParams) WithHTTPClient ¶
func (o *PostClientsParams) WithHTTPClient(client *http.Client) *PostClientsParams
WithHTTPClient adds the HTTPClient to the post clients params
func (*PostClientsParams) WithTimeout ¶
func (o *PostClientsParams) WithTimeout(timeout time.Duration) *PostClientsParams
WithTimeout adds the timeout to the post clients params
func (*PostClientsParams) WriteToRequest ¶
func (o *PostClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostClientsReader ¶
type PostClientsReader struct {
// contains filtered or unexported fields
}
PostClientsReader is a Reader for the PostClients structure.
func (*PostClientsReader) ReadResponse ¶
func (o *PostClientsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutClientsOK ¶
PutClientsOK handles this case with default header values.
Success
func NewPutClientsOK ¶
func NewPutClientsOK() *PutClientsOK
NewPutClientsOK creates a PutClientsOK with default headers values
func (*PutClientsOK) Error ¶
func (o *PutClientsOK) Error() string
func (*PutClientsOK) GetPayload ¶
func (o *PutClientsOK) GetPayload() *models.Client
type PutClientsParams ¶
type PutClientsParams struct { /*Client*/ Client *models.Client /*ClientID*/ ClientID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutClientsParams contains all the parameters to send to the API endpoint for the put clients operation typically these are written to a http.Request
func NewPutClientsParams ¶
func NewPutClientsParams() *PutClientsParams
NewPutClientsParams creates a new PutClientsParams object with the default values initialized.
func NewPutClientsParamsWithContext ¶
func NewPutClientsParamsWithContext(ctx context.Context) *PutClientsParams
NewPutClientsParamsWithContext creates a new PutClientsParams object with the default values initialized, and the ability to set a context for a request
func NewPutClientsParamsWithHTTPClient ¶
func NewPutClientsParamsWithHTTPClient(client *http.Client) *PutClientsParams
NewPutClientsParamsWithHTTPClient creates a new PutClientsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutClientsParamsWithTimeout ¶
func NewPutClientsParamsWithTimeout(timeout time.Duration) *PutClientsParams
NewPutClientsParamsWithTimeout creates a new PutClientsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutClientsParams) SetClient ¶
func (o *PutClientsParams) SetClient(client *models.Client)
SetClient adds the client to the put clients params
func (*PutClientsParams) SetClientID ¶
func (o *PutClientsParams) SetClientID(clientID string)
SetClientID adds the clientId to the put clients params
func (*PutClientsParams) SetContext ¶
func (o *PutClientsParams) SetContext(ctx context.Context)
SetContext adds the context to the put clients params
func (*PutClientsParams) SetHTTPClient ¶
func (o *PutClientsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put clients params
func (*PutClientsParams) SetTimeout ¶
func (o *PutClientsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put clients params
func (*PutClientsParams) WithClient ¶
func (o *PutClientsParams) WithClient(client *models.Client) *PutClientsParams
WithClient adds the client to the put clients params
func (*PutClientsParams) WithClientID ¶
func (o *PutClientsParams) WithClientID(clientID string) *PutClientsParams
WithClientID adds the clientID to the put clients params
func (*PutClientsParams) WithContext ¶
func (o *PutClientsParams) WithContext(ctx context.Context) *PutClientsParams
WithContext adds the context to the put clients params
func (*PutClientsParams) WithHTTPClient ¶
func (o *PutClientsParams) WithHTTPClient(client *http.Client) *PutClientsParams
WithHTTPClient adds the HTTPClient to the put clients params
func (*PutClientsParams) WithTimeout ¶
func (o *PutClientsParams) WithTimeout(timeout time.Duration) *PutClientsParams
WithTimeout adds the timeout to the put clients params
func (*PutClientsParams) WriteToRequest ¶
func (o *PutClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutClientsReader ¶
type PutClientsReader struct {
// contains filtered or unexported fields
}
PutClientsReader is a Reader for the PutClients structure.
func (*PutClientsReader) ReadResponse ¶
func (o *PutClientsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.