audit

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 12 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 {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

Client for audit API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client

New creates a new audit API client.

func (*Client) GetAuditEntry

func (c *Client) GetAuditEntry() *GetAuditEntryRequest

Client.GetAuditEntry creates a new GetAuditEntryRequest object with the default values initialized.

func (*Client) ListAuditEntries

func (c *Client) ListAuditEntries() *ListAuditEntriesRequest

Client.ListAuditEntries creates a new ListAuditEntriesRequest object with the default values initialized.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetAuditEntryOK

type GetAuditEntryOK struct {

	// isStream: false
	*models.AuditEntryListResponse
}

GetAuditEntryOK handles this case with default header values.

Audit details

func NewGetAuditEntryOK

func NewGetAuditEntryOK() *GetAuditEntryOK

NewGetAuditEntryOK creates a GetAuditEntryOK with default headers values

func (*GetAuditEntryOK) Error

func (o *GetAuditEntryOK) Error() string

type GetAuditEntryReader

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

GetAuditEntryReader is a Reader for the GetAuditEntry structure.

func (*GetAuditEntryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuditEntryRequest

type GetAuditEntryRequest struct {
	ID strfmt.UUID

	RecordType string

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

func (*GetAuditEntryRequest) Do

get audit entry API

func (*GetAuditEntryRequest) FromJson

func (*GetAuditEntryRequest) MustDo

func (*GetAuditEntryRequest) WithContext

//////////////// WithContext adds the context to the get audit entry Request

func (*GetAuditEntryRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get audit entry Request

func (*GetAuditEntryRequest) WithID

func (*GetAuditEntryRequest) WithRecordType

func (o *GetAuditEntryRequest) WithRecordType(recordType string) *GetAuditEntryRequest

func (*GetAuditEntryRequest) WriteToRequest

func (o *GetAuditEntryRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these Request to a swagger request

type ListAuditEntriesOK

type ListAuditEntriesOK struct {

	// isStream: false
	*models.AuditEntryListResponse
}

ListAuditEntriesOK handles this case with default header values.

Audit details

func NewListAuditEntriesOK

func NewListAuditEntriesOK() *ListAuditEntriesOK

NewListAuditEntriesOK creates a ListAuditEntriesOK with default headers values

func (*ListAuditEntriesOK) Error

func (o *ListAuditEntriesOK) Error() string

type ListAuditEntriesReader

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

ListAuditEntriesReader is a Reader for the ListAuditEntries structure.

func (*ListAuditEntriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAuditEntriesRequest

type ListAuditEntriesRequest struct {
	FilterActionTimeFrom *strfmt.DateTime

	FilterActionTimeTo *strfmt.DateTime

	FilterOrganisationID []strfmt.UUID

	PageAfter *string

	PageNumber *int64

	PageSize *int64

	RecordType string

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

func (*ListAuditEntriesRequest) Do

list audit entries API

func (*ListAuditEntriesRequest) FromJson

func (*ListAuditEntriesRequest) MustDo

func (*ListAuditEntriesRequest) WithContext

//////////////// WithContext adds the context to the list audit entries Request

func (*ListAuditEntriesRequest) WithFilterActionTimeFrom

func (o *ListAuditEntriesRequest) WithFilterActionTimeFrom(filterActionTimeFrom strfmt.DateTime) *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithFilterActionTimeTo

func (o *ListAuditEntriesRequest) WithFilterActionTimeTo(filterActionTimeTo strfmt.DateTime) *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithFilterOrganisationID

func (o *ListAuditEntriesRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list audit entries Request

func (*ListAuditEntriesRequest) WithPageAfter

func (o *ListAuditEntriesRequest) WithPageAfter(pageAfter string) *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithPageNumber

func (o *ListAuditEntriesRequest) WithPageNumber(pageNumber int64) *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithPageSize

func (o *ListAuditEntriesRequest) WithPageSize(pageSize int64) *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithRecordType

func (o *ListAuditEntriesRequest) WithRecordType(recordType string) *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithoutFilterActionTimeFrom

func (o *ListAuditEntriesRequest) WithoutFilterActionTimeFrom() *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithoutFilterActionTimeTo

func (o *ListAuditEntriesRequest) WithoutFilterActionTimeTo() *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithoutFilterOrganisationID

func (o *ListAuditEntriesRequest) WithoutFilterOrganisationID() *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithoutPageAfter

func (o *ListAuditEntriesRequest) WithoutPageAfter() *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithoutPageNumber

func (o *ListAuditEntriesRequest) WithoutPageNumber() *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WithoutPageSize

func (o *ListAuditEntriesRequest) WithoutPageSize() *ListAuditEntriesRequest

func (*ListAuditEntriesRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

Jump to

Keyboard shortcuts

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