Documentation ¶
Index ¶
- type Client
- type GetAuditEntryOK
- type GetAuditEntryReader
- type GetAuditEntryRequest
- func (a *GetAuditEntryRequest) Do() (*GetAuditEntryOK, error)
- func (o *GetAuditEntryRequest) FromJson(j string) (*GetAuditEntryRequest, error)
- func (a *GetAuditEntryRequest) MustDo() *GetAuditEntryOK
- func (o *GetAuditEntryRequest) WithContext(ctx context.Context) *GetAuditEntryRequest
- func (o *GetAuditEntryRequest) WithHTTPClient(client *http.Client) *GetAuditEntryRequest
- func (o *GetAuditEntryRequest) WithID(id strfmt.UUID) *GetAuditEntryRequest
- func (o *GetAuditEntryRequest) WithRecordType(recordType string) *GetAuditEntryRequest
- func (o *GetAuditEntryRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAuditEntriesOK
- type ListAuditEntriesReader
- type ListAuditEntriesRequest
- func (a *ListAuditEntriesRequest) Do() (*ListAuditEntriesOK, error)
- func (o *ListAuditEntriesRequest) FromJson(j string) (*ListAuditEntriesRequest, error)
- func (a *ListAuditEntriesRequest) MustDo() *ListAuditEntriesOK
- func (o *ListAuditEntriesRequest) WithContext(ctx context.Context) *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithFilterActionTimeFrom(filterActionTimeFrom strfmt.DateTime) *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithFilterActionTimeTo(filterActionTimeTo strfmt.DateTime) *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithHTTPClient(client *http.Client) *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithPageAfter(pageAfter string) *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithPageNumber(pageNumber int64) *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithPageSize(pageSize int64) *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithRecordType(recordType string) *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithoutFilterActionTimeFrom() *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithoutFilterActionTimeTo() *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithoutFilterOrganisationID() *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithoutPageAfter() *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithoutPageNumber() *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WithoutPageSize() *ListAuditEntriesRequest
- func (o *ListAuditEntriesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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 ¶
func (a *GetAuditEntryRequest) Do() (*GetAuditEntryOK, error)
get audit entry API
func (*GetAuditEntryRequest) FromJson ¶
func (o *GetAuditEntryRequest) FromJson(j string) (*GetAuditEntryRequest, error)
func (*GetAuditEntryRequest) MustDo ¶
func (a *GetAuditEntryRequest) MustDo() *GetAuditEntryOK
func (*GetAuditEntryRequest) WithContext ¶
func (o *GetAuditEntryRequest) WithContext(ctx context.Context) *GetAuditEntryRequest
//////////////// 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 (o *GetAuditEntryRequest) WithID(id strfmt.UUID) *GetAuditEntryRequest
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 ¶
func (a *ListAuditEntriesRequest) Do() (*ListAuditEntriesOK, error)
list audit entries API
func (*ListAuditEntriesRequest) FromJson ¶
func (o *ListAuditEntriesRequest) FromJson(j string) (*ListAuditEntriesRequest, error)
func (*ListAuditEntriesRequest) MustDo ¶
func (a *ListAuditEntriesRequest) MustDo() *ListAuditEntriesOK
func (*ListAuditEntriesRequest) WithContext ¶
func (o *ListAuditEntriesRequest) WithContext(ctx context.Context) *ListAuditEntriesRequest
//////////////// 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 ¶
func (o *ListAuditEntriesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request