system_audit_log

package
v2.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 0

Documentation

Index

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

type GetSystemAuditLogsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetSystemAuditLogsBadRequest) GetPayload

type GetSystemAuditLogsConnectionBadRequest

type GetSystemAuditLogsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetSystemAuditLogsConnectionBadRequest) GetPayload

type GetSystemAuditLogsConnectionInternalServerError

type GetSystemAuditLogsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetSystemAuditLogsConnectionInternalServerError) GetPayload

type GetSystemAuditLogsConnectionNotFound

type GetSystemAuditLogsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetSystemAuditLogsConnectionNotFound) GetPayload

type GetSystemAuditLogsConnectionOK

type GetSystemAuditLogsConnectionOK struct {
	XTowerRequestID string

	Payload *models.SystemAuditLogConnection
}
GetSystemAuditLogsConnectionOK describes a response with status code 200, with default header values.

GetSystemAuditLogsConnectionOK get system audit logs connection o k

func NewGetSystemAuditLogsConnectionOK

func NewGetSystemAuditLogsConnectionOK() *GetSystemAuditLogsConnectionOK

NewGetSystemAuditLogsConnectionOK creates a GetSystemAuditLogsConnectionOK with default headers values

func (*GetSystemAuditLogsConnectionOK) Error

func (*GetSystemAuditLogsConnectionOK) GetPayload

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

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

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

WithContext adds the context to the get system audit logs connection params

func (*GetSystemAuditLogsConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get system audit logs connection params

func (*GetSystemAuditLogsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get system audit logs connection params

func (*GetSystemAuditLogsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get system audit logs connection params

func (*GetSystemAuditLogsConnectionParams) WriteToRequest

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

type GetSystemAuditLogsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetSystemAuditLogsInternalServerError) GetPayload

type GetSystemAuditLogsNotFound

type GetSystemAuditLogsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetSystemAuditLogsNotFound) GetPayload

func (o *GetSystemAuditLogsNotFound) GetPayload() *models.ErrorBody

type GetSystemAuditLogsOK

type GetSystemAuditLogsOK struct {
	XTowerRequestID string

	Payload []*models.SystemAuditLog
}
GetSystemAuditLogsOK describes a response with status code 200, with default header values.

GetSystemAuditLogsOK get system audit logs o k

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

WithContext adds the context to the get system audit logs params

func (*GetSystemAuditLogsParams) WithDefaults

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

WithRequestBody adds the requestBody to the get system audit logs params

func (*GetSystemAuditLogsParams) WithTimeout

WithTimeout adds the timeout to the get system audit logs params

func (*GetSystemAuditLogsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL