user_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 user audit log API

func (*Client) CreateUserAuditLog added in v2.14.0

func (a *Client) CreateUserAuditLog(params *CreateUserAuditLogParams, opts ...ClientOption) (*CreateUserAuditLogOK, error)

CreateUserAuditLog create user audit log API

func (*Client) GetUserAuditLogs

func (a *Client) GetUserAuditLogs(params *GetUserAuditLogsParams, opts ...ClientOption) (*GetUserAuditLogsOK, error)

GetUserAuditLogs get user audit logs API

func (*Client) GetUserAuditLogsConnection

func (a *Client) GetUserAuditLogsConnection(params *GetUserAuditLogsConnectionParams, opts ...ClientOption) (*GetUserAuditLogsConnectionOK, error)

GetUserAuditLogsConnection get user 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 {
	GetUserAuditLogs(params *GetUserAuditLogsParams, opts ...ClientOption) (*GetUserAuditLogsOK, error)

	GetUserAuditLogsConnection(params *GetUserAuditLogsConnectionParams, opts ...ClientOption) (*GetUserAuditLogsConnectionOK, error)

	CreateUserAuditLog(params *CreateUserAuditLogParams, opts ...ClientOption) (*CreateUserAuditLogOK, 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 user audit log API client.

type CreateUserAuditLogBadRequest added in v2.14.0

type CreateUserAuditLogBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateUserAuditLogBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateUserAuditLogBadRequest added in v2.14.0

func NewCreateUserAuditLogBadRequest() *CreateUserAuditLogBadRequest

NewCreateUserAuditLogBadRequest creates a CreateUserAuditLogBadRequest with default headers values

func (*CreateUserAuditLogBadRequest) Error added in v2.14.0

func (*CreateUserAuditLogBadRequest) GetPayload added in v2.14.0

type CreateUserAuditLogInternalServerError added in v2.14.0

type CreateUserAuditLogInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateUserAuditLogInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateUserAuditLogInternalServerError added in v2.14.0

func NewCreateUserAuditLogInternalServerError() *CreateUserAuditLogInternalServerError

NewCreateUserAuditLogInternalServerError creates a CreateUserAuditLogInternalServerError with default headers values

func (*CreateUserAuditLogInternalServerError) Error added in v2.14.0

func (*CreateUserAuditLogInternalServerError) GetPayload added in v2.14.0

type CreateUserAuditLogNotFound added in v2.14.0

type CreateUserAuditLogNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateUserAuditLogNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateUserAuditLogNotFound added in v2.14.0

func NewCreateUserAuditLogNotFound() *CreateUserAuditLogNotFound

NewCreateUserAuditLogNotFound creates a CreateUserAuditLogNotFound with default headers values

func (*CreateUserAuditLogNotFound) Error added in v2.14.0

func (*CreateUserAuditLogNotFound) GetPayload added in v2.14.0

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

type CreateUserAuditLogOK added in v2.14.0

type CreateUserAuditLogOK struct {
	XTowerRequestID string

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

CreateUserAuditLogOK create user audit log o k

func NewCreateUserAuditLogOK added in v2.14.0

func NewCreateUserAuditLogOK() *CreateUserAuditLogOK

NewCreateUserAuditLogOK creates a CreateUserAuditLogOK with default headers values

func (*CreateUserAuditLogOK) Error added in v2.14.0

func (o *CreateUserAuditLogOK) Error() string

func (*CreateUserAuditLogOK) GetPayload added in v2.14.0

type CreateUserAuditLogParams added in v2.14.0

type CreateUserAuditLogParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.UserAuditLogCreationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateUserAuditLogParams contains all the parameters to send to the API endpoint

for the create user audit log operation.

Typically these are written to a http.Request.

func NewCreateUserAuditLogParams added in v2.14.0

func NewCreateUserAuditLogParams() *CreateUserAuditLogParams

NewCreateUserAuditLogParams creates a new CreateUserAuditLogParams 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 NewCreateUserAuditLogParamsWithContext added in v2.14.0

func NewCreateUserAuditLogParamsWithContext(ctx context.Context) *CreateUserAuditLogParams

NewCreateUserAuditLogParamsWithContext creates a new CreateUserAuditLogParams object with the ability to set a context for a request.

func NewCreateUserAuditLogParamsWithHTTPClient added in v2.14.0

func NewCreateUserAuditLogParamsWithHTTPClient(client *http.Client) *CreateUserAuditLogParams

NewCreateUserAuditLogParamsWithHTTPClient creates a new CreateUserAuditLogParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserAuditLogParamsWithTimeout added in v2.14.0

func NewCreateUserAuditLogParamsWithTimeout(timeout time.Duration) *CreateUserAuditLogParams

NewCreateUserAuditLogParamsWithTimeout creates a new CreateUserAuditLogParams object with the ability to set a timeout on a request.

func (*CreateUserAuditLogParams) SetContentLanguage added in v2.14.0

func (o *CreateUserAuditLogParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create user audit log params

func (*CreateUserAuditLogParams) SetContext added in v2.14.0

func (o *CreateUserAuditLogParams) SetContext(ctx context.Context)

SetContext adds the context to the create user audit log params

func (*CreateUserAuditLogParams) SetDefaults added in v2.14.0

func (o *CreateUserAuditLogParams) SetDefaults()

SetDefaults hydrates default values in the create user audit log params (not the query body).

All values with no default are reset to their zero value.

func (*CreateUserAuditLogParams) SetHTTPClient added in v2.14.0

func (o *CreateUserAuditLogParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create user audit log params

func (*CreateUserAuditLogParams) SetRequestBody added in v2.14.0

func (o *CreateUserAuditLogParams) SetRequestBody(requestBody []*models.UserAuditLogCreationParams)

SetRequestBody adds the requestBody to the create user audit log params

func (*CreateUserAuditLogParams) SetTimeout added in v2.14.0

func (o *CreateUserAuditLogParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create user audit log params

func (*CreateUserAuditLogParams) WithContentLanguage added in v2.14.0

func (o *CreateUserAuditLogParams) WithContentLanguage(contentLanguage *string) *CreateUserAuditLogParams

WithContentLanguage adds the contentLanguage to the create user audit log params

func (*CreateUserAuditLogParams) WithContext added in v2.14.0

WithContext adds the context to the create user audit log params

func (*CreateUserAuditLogParams) WithDefaults added in v2.14.0

WithDefaults hydrates default values in the create user audit log params (not the query body).

All values with no default are reset to their zero value.

func (*CreateUserAuditLogParams) WithHTTPClient added in v2.14.0

func (o *CreateUserAuditLogParams) WithHTTPClient(client *http.Client) *CreateUserAuditLogParams

WithHTTPClient adds the HTTPClient to the create user audit log params

func (*CreateUserAuditLogParams) WithRequestBody added in v2.14.0

WithRequestBody adds the requestBody to the create user audit log params

func (*CreateUserAuditLogParams) WithTimeout added in v2.14.0

WithTimeout adds the timeout to the create user audit log params

func (*CreateUserAuditLogParams) WriteToRequest added in v2.14.0

WriteToRequest writes these params to a swagger request

type CreateUserAuditLogReader added in v2.14.0

type CreateUserAuditLogReader struct {
	// contains filtered or unexported fields
}

CreateUserAuditLogReader is a Reader for the CreateUserAuditLog structure.

func (*CreateUserAuditLogReader) ReadResponse added in v2.14.0

func (o *CreateUserAuditLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserAuditLogsBadRequest

type GetUserAuditLogsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetUserAuditLogsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetUserAuditLogsBadRequest

func NewGetUserAuditLogsBadRequest() *GetUserAuditLogsBadRequest

NewGetUserAuditLogsBadRequest creates a GetUserAuditLogsBadRequest with default headers values

func (*GetUserAuditLogsBadRequest) Error

func (*GetUserAuditLogsBadRequest) GetPayload

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

type GetUserAuditLogsConnectionBadRequest

type GetUserAuditLogsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetUserAuditLogsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetUserAuditLogsConnectionBadRequest

func NewGetUserAuditLogsConnectionBadRequest() *GetUserAuditLogsConnectionBadRequest

NewGetUserAuditLogsConnectionBadRequest creates a GetUserAuditLogsConnectionBadRequest with default headers values

func (*GetUserAuditLogsConnectionBadRequest) Error

func (*GetUserAuditLogsConnectionBadRequest) GetPayload

type GetUserAuditLogsConnectionInternalServerError

type GetUserAuditLogsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetUserAuditLogsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetUserAuditLogsConnectionInternalServerError

func NewGetUserAuditLogsConnectionInternalServerError() *GetUserAuditLogsConnectionInternalServerError

NewGetUserAuditLogsConnectionInternalServerError creates a GetUserAuditLogsConnectionInternalServerError with default headers values

func (*GetUserAuditLogsConnectionInternalServerError) Error

func (*GetUserAuditLogsConnectionInternalServerError) GetPayload

type GetUserAuditLogsConnectionNotFound

type GetUserAuditLogsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetUserAuditLogsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetUserAuditLogsConnectionNotFound

func NewGetUserAuditLogsConnectionNotFound() *GetUserAuditLogsConnectionNotFound

NewGetUserAuditLogsConnectionNotFound creates a GetUserAuditLogsConnectionNotFound with default headers values

func (*GetUserAuditLogsConnectionNotFound) Error

func (*GetUserAuditLogsConnectionNotFound) GetPayload

type GetUserAuditLogsConnectionOK

type GetUserAuditLogsConnectionOK struct {
	XTowerRequestID string

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

GetUserAuditLogsConnectionOK get user audit logs connection o k

func NewGetUserAuditLogsConnectionOK

func NewGetUserAuditLogsConnectionOK() *GetUserAuditLogsConnectionOK

NewGetUserAuditLogsConnectionOK creates a GetUserAuditLogsConnectionOK with default headers values

func (*GetUserAuditLogsConnectionOK) Error

func (*GetUserAuditLogsConnectionOK) GetPayload

type GetUserAuditLogsConnectionParams

type GetUserAuditLogsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetUserAuditLogsConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserAuditLogsConnectionParams contains all the parameters to send to the API endpoint

for the get user audit logs connection operation.

Typically these are written to a http.Request.

func NewGetUserAuditLogsConnectionParams

func NewGetUserAuditLogsConnectionParams() *GetUserAuditLogsConnectionParams

NewGetUserAuditLogsConnectionParams creates a new GetUserAuditLogsConnectionParams 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 NewGetUserAuditLogsConnectionParamsWithContext

func NewGetUserAuditLogsConnectionParamsWithContext(ctx context.Context) *GetUserAuditLogsConnectionParams

NewGetUserAuditLogsConnectionParamsWithContext creates a new GetUserAuditLogsConnectionParams object with the ability to set a context for a request.

func NewGetUserAuditLogsConnectionParamsWithHTTPClient

func NewGetUserAuditLogsConnectionParamsWithHTTPClient(client *http.Client) *GetUserAuditLogsConnectionParams

NewGetUserAuditLogsConnectionParamsWithHTTPClient creates a new GetUserAuditLogsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserAuditLogsConnectionParamsWithTimeout

func NewGetUserAuditLogsConnectionParamsWithTimeout(timeout time.Duration) *GetUserAuditLogsConnectionParams

NewGetUserAuditLogsConnectionParamsWithTimeout creates a new GetUserAuditLogsConnectionParams object with the ability to set a timeout on a request.

func (*GetUserAuditLogsConnectionParams) SetContentLanguage

func (o *GetUserAuditLogsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) SetContext

SetContext adds the context to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) SetDefaults

func (o *GetUserAuditLogsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get user audit logs connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserAuditLogsConnectionParams) SetHTTPClient

func (o *GetUserAuditLogsConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) SetTimeout

func (o *GetUserAuditLogsConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) WithContentLanguage

func (o *GetUserAuditLogsConnectionParams) WithContentLanguage(contentLanguage *string) *GetUserAuditLogsConnectionParams

WithContentLanguage adds the contentLanguage to the get user audit logs connection params

func (*GetUserAuditLogsConnectionParams) WithContext

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

func (*GetUserAuditLogsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get user audit logs connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserAuditLogsConnectionParams) WithHTTPClient

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

func (*GetUserAuditLogsConnectionParams) WithRequestBody

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

func (*GetUserAuditLogsConnectionParams) WithTimeout

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

func (*GetUserAuditLogsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserAuditLogsConnectionReader

type GetUserAuditLogsConnectionReader struct {
	// contains filtered or unexported fields
}

GetUserAuditLogsConnectionReader is a Reader for the GetUserAuditLogsConnection structure.

func (*GetUserAuditLogsConnectionReader) ReadResponse

func (o *GetUserAuditLogsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserAuditLogsInternalServerError

type GetUserAuditLogsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetUserAuditLogsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetUserAuditLogsInternalServerError

func NewGetUserAuditLogsInternalServerError() *GetUserAuditLogsInternalServerError

NewGetUserAuditLogsInternalServerError creates a GetUserAuditLogsInternalServerError with default headers values

func (*GetUserAuditLogsInternalServerError) Error

func (*GetUserAuditLogsInternalServerError) GetPayload

type GetUserAuditLogsNotFound

type GetUserAuditLogsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetUserAuditLogsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetUserAuditLogsNotFound

func NewGetUserAuditLogsNotFound() *GetUserAuditLogsNotFound

NewGetUserAuditLogsNotFound creates a GetUserAuditLogsNotFound with default headers values

func (*GetUserAuditLogsNotFound) Error

func (o *GetUserAuditLogsNotFound) Error() string

func (*GetUserAuditLogsNotFound) GetPayload

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

type GetUserAuditLogsOK

type GetUserAuditLogsOK struct {
	XTowerRequestID string

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

GetUserAuditLogsOK get user audit logs o k

func NewGetUserAuditLogsOK

func NewGetUserAuditLogsOK() *GetUserAuditLogsOK

NewGetUserAuditLogsOK creates a GetUserAuditLogsOK with default headers values

func (*GetUserAuditLogsOK) Error

func (o *GetUserAuditLogsOK) Error() string

func (*GetUserAuditLogsOK) GetPayload

func (o *GetUserAuditLogsOK) GetPayload() []*models.UserAuditLog

type GetUserAuditLogsParams

type GetUserAuditLogsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetUserAuditLogsRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserAuditLogsParams contains all the parameters to send to the API endpoint

for the get user audit logs operation.

Typically these are written to a http.Request.

func NewGetUserAuditLogsParams

func NewGetUserAuditLogsParams() *GetUserAuditLogsParams

NewGetUserAuditLogsParams creates a new GetUserAuditLogsParams 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 NewGetUserAuditLogsParamsWithContext

func NewGetUserAuditLogsParamsWithContext(ctx context.Context) *GetUserAuditLogsParams

NewGetUserAuditLogsParamsWithContext creates a new GetUserAuditLogsParams object with the ability to set a context for a request.

func NewGetUserAuditLogsParamsWithHTTPClient

func NewGetUserAuditLogsParamsWithHTTPClient(client *http.Client) *GetUserAuditLogsParams

NewGetUserAuditLogsParamsWithHTTPClient creates a new GetUserAuditLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserAuditLogsParamsWithTimeout

func NewGetUserAuditLogsParamsWithTimeout(timeout time.Duration) *GetUserAuditLogsParams

NewGetUserAuditLogsParamsWithTimeout creates a new GetUserAuditLogsParams object with the ability to set a timeout on a request.

func (*GetUserAuditLogsParams) SetContentLanguage

func (o *GetUserAuditLogsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get user audit logs params

func (*GetUserAuditLogsParams) SetContext

func (o *GetUserAuditLogsParams) SetContext(ctx context.Context)

SetContext adds the context to the get user audit logs params

func (*GetUserAuditLogsParams) SetDefaults

func (o *GetUserAuditLogsParams) SetDefaults()

SetDefaults hydrates default values in the get user audit logs params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserAuditLogsParams) SetHTTPClient

func (o *GetUserAuditLogsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user audit logs params

func (*GetUserAuditLogsParams) SetRequestBody

func (o *GetUserAuditLogsParams) SetRequestBody(requestBody *models.GetUserAuditLogsRequestBody)

SetRequestBody adds the requestBody to the get user audit logs params

func (*GetUserAuditLogsParams) SetTimeout

func (o *GetUserAuditLogsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user audit logs params

func (*GetUserAuditLogsParams) WithContentLanguage

func (o *GetUserAuditLogsParams) WithContentLanguage(contentLanguage *string) *GetUserAuditLogsParams

WithContentLanguage adds the contentLanguage to the get user audit logs params

func (*GetUserAuditLogsParams) WithContext

WithContext adds the context to the get user audit logs params

func (*GetUserAuditLogsParams) WithDefaults

WithDefaults hydrates default values in the get user audit logs params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserAuditLogsParams) WithHTTPClient

func (o *GetUserAuditLogsParams) WithHTTPClient(client *http.Client) *GetUserAuditLogsParams

WithHTTPClient adds the HTTPClient to the get user audit logs params

func (*GetUserAuditLogsParams) WithRequestBody

WithRequestBody adds the requestBody to the get user audit logs params

func (*GetUserAuditLogsParams) WithTimeout

WithTimeout adds the timeout to the get user audit logs params

func (*GetUserAuditLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserAuditLogsReader

type GetUserAuditLogsReader struct {
	// contains filtered or unexported fields
}

GetUserAuditLogsReader is a Reader for the GetUserAuditLogs structure.

func (*GetUserAuditLogsReader) ReadResponse

func (o *GetUserAuditLogsReader) 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