Documentation ¶
Index ¶
- type Client
- func (a *Client) GetSystemAuditLogs(params *GetSystemAuditLogsParams, opts ...ClientOption) (*GetSystemAuditLogsOK, error)
- func (a *Client) GetSystemAuditLogsConnection(params *GetSystemAuditLogsConnectionParams, opts ...ClientOption) (*GetSystemAuditLogsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetSystemAuditLogsBadRequest
- type GetSystemAuditLogsConnectionBadRequest
- type GetSystemAuditLogsConnectionInternalServerError
- type GetSystemAuditLogsConnectionNotFound
- type GetSystemAuditLogsConnectionOK
- type GetSystemAuditLogsConnectionParams
- func NewGetSystemAuditLogsConnectionParams() *GetSystemAuditLogsConnectionParams
- func NewGetSystemAuditLogsConnectionParamsWithContext(ctx context.Context) *GetSystemAuditLogsConnectionParams
- func NewGetSystemAuditLogsConnectionParamsWithHTTPClient(client *http.Client) *GetSystemAuditLogsConnectionParams
- func NewGetSystemAuditLogsConnectionParamsWithTimeout(timeout time.Duration) *GetSystemAuditLogsConnectionParams
- func (o *GetSystemAuditLogsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSystemAuditLogsConnectionParams) SetContext(ctx context.Context)
- func (o *GetSystemAuditLogsConnectionParams) SetDefaults()
- func (o *GetSystemAuditLogsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSystemAuditLogsConnectionParams) SetRequestBody(requestBody *models.GetSystemAuditLogsConnectionRequestBody)
- func (o *GetSystemAuditLogsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSystemAuditLogsConnectionParams) WithContentLanguage(contentLanguage *string) *GetSystemAuditLogsConnectionParams
- func (o *GetSystemAuditLogsConnectionParams) WithContext(ctx context.Context) *GetSystemAuditLogsConnectionParams
- func (o *GetSystemAuditLogsConnectionParams) WithDefaults() *GetSystemAuditLogsConnectionParams
- func (o *GetSystemAuditLogsConnectionParams) WithHTTPClient(client *http.Client) *GetSystemAuditLogsConnectionParams
- func (o *GetSystemAuditLogsConnectionParams) WithRequestBody(requestBody *models.GetSystemAuditLogsConnectionRequestBody) *GetSystemAuditLogsConnectionParams
- func (o *GetSystemAuditLogsConnectionParams) WithTimeout(timeout time.Duration) *GetSystemAuditLogsConnectionParams
- func (o *GetSystemAuditLogsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSystemAuditLogsConnectionReader
- type GetSystemAuditLogsInternalServerError
- type GetSystemAuditLogsNotFound
- type GetSystemAuditLogsOK
- type GetSystemAuditLogsParams
- func NewGetSystemAuditLogsParams() *GetSystemAuditLogsParams
- func NewGetSystemAuditLogsParamsWithContext(ctx context.Context) *GetSystemAuditLogsParams
- func NewGetSystemAuditLogsParamsWithHTTPClient(client *http.Client) *GetSystemAuditLogsParams
- func NewGetSystemAuditLogsParamsWithTimeout(timeout time.Duration) *GetSystemAuditLogsParams
- func (o *GetSystemAuditLogsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSystemAuditLogsParams) SetContext(ctx context.Context)
- func (o *GetSystemAuditLogsParams) SetDefaults()
- func (o *GetSystemAuditLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetSystemAuditLogsParams) SetRequestBody(requestBody *models.GetSystemAuditLogsRequestBody)
- func (o *GetSystemAuditLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetSystemAuditLogsParams) WithContentLanguage(contentLanguage *string) *GetSystemAuditLogsParams
- func (o *GetSystemAuditLogsParams) WithContext(ctx context.Context) *GetSystemAuditLogsParams
- func (o *GetSystemAuditLogsParams) WithDefaults() *GetSystemAuditLogsParams
- func (o *GetSystemAuditLogsParams) WithHTTPClient(client *http.Client) *GetSystemAuditLogsParams
- func (o *GetSystemAuditLogsParams) WithRequestBody(requestBody *models.GetSystemAuditLogsRequestBody) *GetSystemAuditLogsParams
- func (o *GetSystemAuditLogsParams) WithTimeout(timeout time.Duration) *GetSystemAuditLogsParams
- func (o *GetSystemAuditLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSystemAuditLogsReader
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 system audit log API
func (*Client) GetSystemAuditLogs ¶
func (a *Client) GetSystemAuditLogs(params *GetSystemAuditLogsParams, opts ...ClientOption) (*GetSystemAuditLogsOK, error)
GetSystemAuditLogs get system audit logs API
func (*Client) GetSystemAuditLogsConnection ¶
func (a *Client) GetSystemAuditLogsConnection(params *GetSystemAuditLogsConnectionParams, opts ...ClientOption) (*GetSystemAuditLogsConnectionOK, error)
GetSystemAuditLogsConnection get system audit logs connection API
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 { GetSystemAuditLogs(params *GetSystemAuditLogsParams, opts ...ClientOption) (*GetSystemAuditLogsOK, error) GetSystemAuditLogsConnection(params *GetSystemAuditLogsConnectionParams, opts ...ClientOption) (*GetSystemAuditLogsConnectionOK, 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 system audit log API client.
type GetSystemAuditLogsBadRequest ¶
GetSystemAuditLogsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSystemAuditLogsBadRequest ¶
func NewGetSystemAuditLogsBadRequest() *GetSystemAuditLogsBadRequest
NewGetSystemAuditLogsBadRequest creates a GetSystemAuditLogsBadRequest with default headers values
func (*GetSystemAuditLogsBadRequest) Error ¶
func (o *GetSystemAuditLogsBadRequest) Error() string
func (*GetSystemAuditLogsBadRequest) GetPayload ¶
func (o *GetSystemAuditLogsBadRequest) GetPayload() *models.ErrorBody
type GetSystemAuditLogsConnectionBadRequest ¶
GetSystemAuditLogsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSystemAuditLogsConnectionBadRequest ¶
func NewGetSystemAuditLogsConnectionBadRequest() *GetSystemAuditLogsConnectionBadRequest
NewGetSystemAuditLogsConnectionBadRequest creates a GetSystemAuditLogsConnectionBadRequest with default headers values
func (*GetSystemAuditLogsConnectionBadRequest) Error ¶
func (o *GetSystemAuditLogsConnectionBadRequest) Error() string
func (*GetSystemAuditLogsConnectionBadRequest) GetPayload ¶
func (o *GetSystemAuditLogsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetSystemAuditLogsConnectionInternalServerError ¶
GetSystemAuditLogsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSystemAuditLogsConnectionInternalServerError ¶
func NewGetSystemAuditLogsConnectionInternalServerError() *GetSystemAuditLogsConnectionInternalServerError
NewGetSystemAuditLogsConnectionInternalServerError creates a GetSystemAuditLogsConnectionInternalServerError with default headers values
func (*GetSystemAuditLogsConnectionInternalServerError) Error ¶
func (o *GetSystemAuditLogsConnectionInternalServerError) Error() string
func (*GetSystemAuditLogsConnectionInternalServerError) GetPayload ¶
func (o *GetSystemAuditLogsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetSystemAuditLogsConnectionNotFound ¶
GetSystemAuditLogsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSystemAuditLogsConnectionNotFound ¶
func NewGetSystemAuditLogsConnectionNotFound() *GetSystemAuditLogsConnectionNotFound
NewGetSystemAuditLogsConnectionNotFound creates a GetSystemAuditLogsConnectionNotFound with default headers values
func (*GetSystemAuditLogsConnectionNotFound) Error ¶
func (o *GetSystemAuditLogsConnectionNotFound) Error() string
func (*GetSystemAuditLogsConnectionNotFound) GetPayload ¶
func (o *GetSystemAuditLogsConnectionNotFound) GetPayload() *models.ErrorBody
type GetSystemAuditLogsConnectionOK ¶
type GetSystemAuditLogsConnectionOK struct {
Payload *models.SystemAuditLogConnection
}
GetSystemAuditLogsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetSystemAuditLogsConnectionOK ¶
func NewGetSystemAuditLogsConnectionOK() *GetSystemAuditLogsConnectionOK
NewGetSystemAuditLogsConnectionOK creates a GetSystemAuditLogsConnectionOK with default headers values
func (*GetSystemAuditLogsConnectionOK) Error ¶
func (o *GetSystemAuditLogsConnectionOK) Error() string
func (*GetSystemAuditLogsConnectionOK) GetPayload ¶
func (o *GetSystemAuditLogsConnectionOK) GetPayload() *models.SystemAuditLogConnection
type GetSystemAuditLogsConnectionParams ¶
type GetSystemAuditLogsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSystemAuditLogsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSystemAuditLogsConnectionParams contains all the parameters to send to the API endpoint
for the get system audit logs connection operation. Typically these are written to a http.Request.
func NewGetSystemAuditLogsConnectionParams ¶
func NewGetSystemAuditLogsConnectionParams() *GetSystemAuditLogsConnectionParams
NewGetSystemAuditLogsConnectionParams creates a new GetSystemAuditLogsConnectionParams 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 NewGetSystemAuditLogsConnectionParamsWithContext ¶
func NewGetSystemAuditLogsConnectionParamsWithContext(ctx context.Context) *GetSystemAuditLogsConnectionParams
NewGetSystemAuditLogsConnectionParamsWithContext creates a new GetSystemAuditLogsConnectionParams object with the ability to set a context for a request.
func NewGetSystemAuditLogsConnectionParamsWithHTTPClient ¶
func NewGetSystemAuditLogsConnectionParamsWithHTTPClient(client *http.Client) *GetSystemAuditLogsConnectionParams
NewGetSystemAuditLogsConnectionParamsWithHTTPClient creates a new GetSystemAuditLogsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSystemAuditLogsConnectionParamsWithTimeout ¶
func NewGetSystemAuditLogsConnectionParamsWithTimeout(timeout time.Duration) *GetSystemAuditLogsConnectionParams
NewGetSystemAuditLogsConnectionParamsWithTimeout creates a new GetSystemAuditLogsConnectionParams object with the ability to set a timeout on a request.
func (*GetSystemAuditLogsConnectionParams) SetContentLanguage ¶
func (o *GetSystemAuditLogsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) SetContext ¶
func (o *GetSystemAuditLogsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) SetDefaults ¶
func (o *GetSystemAuditLogsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get system audit logs connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSystemAuditLogsConnectionParams) SetHTTPClient ¶
func (o *GetSystemAuditLogsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) SetRequestBody ¶
func (o *GetSystemAuditLogsConnectionParams) SetRequestBody(requestBody *models.GetSystemAuditLogsConnectionRequestBody)
SetRequestBody adds the requestBody to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) SetTimeout ¶
func (o *GetSystemAuditLogsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) WithContentLanguage ¶
func (o *GetSystemAuditLogsConnectionParams) WithContentLanguage(contentLanguage *string) *GetSystemAuditLogsConnectionParams
WithContentLanguage adds the contentLanguage to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) WithContext ¶
func (o *GetSystemAuditLogsConnectionParams) WithContext(ctx context.Context) *GetSystemAuditLogsConnectionParams
WithContext adds the context to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) WithDefaults ¶
func (o *GetSystemAuditLogsConnectionParams) WithDefaults() *GetSystemAuditLogsConnectionParams
WithDefaults hydrates default values in the get system audit logs connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSystemAuditLogsConnectionParams) WithHTTPClient ¶
func (o *GetSystemAuditLogsConnectionParams) WithHTTPClient(client *http.Client) *GetSystemAuditLogsConnectionParams
WithHTTPClient adds the HTTPClient to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) WithRequestBody ¶
func (o *GetSystemAuditLogsConnectionParams) WithRequestBody(requestBody *models.GetSystemAuditLogsConnectionRequestBody) *GetSystemAuditLogsConnectionParams
WithRequestBody adds the requestBody to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) WithTimeout ¶
func (o *GetSystemAuditLogsConnectionParams) WithTimeout(timeout time.Duration) *GetSystemAuditLogsConnectionParams
WithTimeout adds the timeout to the get system audit logs connection params
func (*GetSystemAuditLogsConnectionParams) WriteToRequest ¶
func (o *GetSystemAuditLogsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSystemAuditLogsConnectionReader ¶
type GetSystemAuditLogsConnectionReader struct {
// contains filtered or unexported fields
}
GetSystemAuditLogsConnectionReader is a Reader for the GetSystemAuditLogsConnection structure.
func (*GetSystemAuditLogsConnectionReader) ReadResponse ¶
func (o *GetSystemAuditLogsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSystemAuditLogsInternalServerError ¶
GetSystemAuditLogsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSystemAuditLogsInternalServerError ¶
func NewGetSystemAuditLogsInternalServerError() *GetSystemAuditLogsInternalServerError
NewGetSystemAuditLogsInternalServerError creates a GetSystemAuditLogsInternalServerError with default headers values
func (*GetSystemAuditLogsInternalServerError) Error ¶
func (o *GetSystemAuditLogsInternalServerError) Error() string
func (*GetSystemAuditLogsInternalServerError) GetPayload ¶
func (o *GetSystemAuditLogsInternalServerError) GetPayload() *models.ErrorBody
type GetSystemAuditLogsNotFound ¶
GetSystemAuditLogsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSystemAuditLogsNotFound ¶
func NewGetSystemAuditLogsNotFound() *GetSystemAuditLogsNotFound
NewGetSystemAuditLogsNotFound creates a GetSystemAuditLogsNotFound with default headers values
func (*GetSystemAuditLogsNotFound) Error ¶
func (o *GetSystemAuditLogsNotFound) Error() string
func (*GetSystemAuditLogsNotFound) GetPayload ¶
func (o *GetSystemAuditLogsNotFound) GetPayload() *models.ErrorBody
type GetSystemAuditLogsOK ¶
type GetSystemAuditLogsOK struct {
Payload []*models.SystemAuditLog
}
GetSystemAuditLogsOK describes a response with status code 200, with default header values.
Ok
func NewGetSystemAuditLogsOK ¶
func NewGetSystemAuditLogsOK() *GetSystemAuditLogsOK
NewGetSystemAuditLogsOK creates a GetSystemAuditLogsOK with default headers values
func (*GetSystemAuditLogsOK) Error ¶
func (o *GetSystemAuditLogsOK) Error() string
func (*GetSystemAuditLogsOK) GetPayload ¶
func (o *GetSystemAuditLogsOK) GetPayload() []*models.SystemAuditLog
type GetSystemAuditLogsParams ¶
type GetSystemAuditLogsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSystemAuditLogsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSystemAuditLogsParams contains all the parameters to send to the API endpoint
for the get system audit logs operation. Typically these are written to a http.Request.
func NewGetSystemAuditLogsParams ¶
func NewGetSystemAuditLogsParams() *GetSystemAuditLogsParams
NewGetSystemAuditLogsParams creates a new GetSystemAuditLogsParams 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 NewGetSystemAuditLogsParamsWithContext ¶
func NewGetSystemAuditLogsParamsWithContext(ctx context.Context) *GetSystemAuditLogsParams
NewGetSystemAuditLogsParamsWithContext creates a new GetSystemAuditLogsParams object with the ability to set a context for a request.
func NewGetSystemAuditLogsParamsWithHTTPClient ¶
func NewGetSystemAuditLogsParamsWithHTTPClient(client *http.Client) *GetSystemAuditLogsParams
NewGetSystemAuditLogsParamsWithHTTPClient creates a new GetSystemAuditLogsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSystemAuditLogsParamsWithTimeout ¶
func NewGetSystemAuditLogsParamsWithTimeout(timeout time.Duration) *GetSystemAuditLogsParams
NewGetSystemAuditLogsParamsWithTimeout creates a new GetSystemAuditLogsParams object with the ability to set a timeout on a request.
func (*GetSystemAuditLogsParams) SetContentLanguage ¶
func (o *GetSystemAuditLogsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get system audit logs params
func (*GetSystemAuditLogsParams) SetContext ¶
func (o *GetSystemAuditLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get system audit logs params
func (*GetSystemAuditLogsParams) SetDefaults ¶
func (o *GetSystemAuditLogsParams) SetDefaults()
SetDefaults hydrates default values in the get system audit logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetSystemAuditLogsParams) SetHTTPClient ¶
func (o *GetSystemAuditLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get system audit logs params
func (*GetSystemAuditLogsParams) SetRequestBody ¶
func (o *GetSystemAuditLogsParams) SetRequestBody(requestBody *models.GetSystemAuditLogsRequestBody)
SetRequestBody adds the requestBody to the get system audit logs params
func (*GetSystemAuditLogsParams) SetTimeout ¶
func (o *GetSystemAuditLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get system audit logs params
func (*GetSystemAuditLogsParams) WithContentLanguage ¶
func (o *GetSystemAuditLogsParams) WithContentLanguage(contentLanguage *string) *GetSystemAuditLogsParams
WithContentLanguage adds the contentLanguage to the get system audit logs params
func (*GetSystemAuditLogsParams) WithContext ¶
func (o *GetSystemAuditLogsParams) WithContext(ctx context.Context) *GetSystemAuditLogsParams
WithContext adds the context to the get system audit logs params
func (*GetSystemAuditLogsParams) WithDefaults ¶
func (o *GetSystemAuditLogsParams) WithDefaults() *GetSystemAuditLogsParams
WithDefaults hydrates default values in the get system audit logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetSystemAuditLogsParams) WithHTTPClient ¶
func (o *GetSystemAuditLogsParams) WithHTTPClient(client *http.Client) *GetSystemAuditLogsParams
WithHTTPClient adds the HTTPClient to the get system audit logs params
func (*GetSystemAuditLogsParams) WithRequestBody ¶
func (o *GetSystemAuditLogsParams) WithRequestBody(requestBody *models.GetSystemAuditLogsRequestBody) *GetSystemAuditLogsParams
WithRequestBody adds the requestBody to the get system audit logs params
func (*GetSystemAuditLogsParams) WithTimeout ¶
func (o *GetSystemAuditLogsParams) WithTimeout(timeout time.Duration) *GetSystemAuditLogsParams
WithTimeout adds the timeout to the get system audit logs params
func (*GetSystemAuditLogsParams) WriteToRequest ¶
func (o *GetSystemAuditLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSystemAuditLogsReader ¶
type GetSystemAuditLogsReader struct {
// contains filtered or unexported fields
}
GetSystemAuditLogsReader is a Reader for the GetSystemAuditLogs structure.
func (*GetSystemAuditLogsReader) ReadResponse ¶
func (o *GetSystemAuditLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.