user_audit_log

package
v2.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 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) 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)

	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 GetUserAuditLogsBadRequest

type GetUserAuditLogsBadRequest struct {
	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 {
	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 {
	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 {
	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 {
	Payload *models.UserAuditLogConnection
}
GetUserAuditLogsConnectionOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	Payload []*models.UserAuditLog
}
GetUserAuditLogsOK describes a response with status code 200, with default header values.

Ok

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