Skip to content

Module invenio_rest_api_client.models.audit_log_entry

Variables

T
TYPE_CHECKING

Classes

AuditLogEntry

class AuditLogEntry(
    id: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    created: invenio_rest_api_client.types.Unset | datetime.datetime = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    action: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    resource: invenio_rest_api_client.types.Unset | ForwardRef('AuditLogEntryResource') = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    metadata: invenio_rest_api_client.types.Unset | ForwardRef('AuditLogEntryMetadata') = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    user: invenio_rest_api_client.types.Unset | ForwardRef('AuditLogEntryUser') = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    links: invenio_rest_api_client.types.Unset | ForwardRef('AuditLogEntryLinks') = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>
)

Conflict - Resource already exists or operation conflicts

Attributes

Name Type Description Default
id Union[Unset, str] Unique identifier for the log entry Example: 9913abd2-1a7c-42cb-a73e-e48a9e1bf4f2. None
created Union[Unset, datetime.datetime] Timestamp when the log entry was created Example:
2025-06-20T08:05:27.730677+00:00.
None
action Union[Unset, str] Action performed Example: record.publish. None
resource Union[Unset, AuditLogEntryResource] Resource affected by the action None
metadata Union[Unset, AuditLogEntryMetadata] Additional metadata about the log entry None
user Union[Unset, AuditLogEntryUser] User who performed the action None
links Union[Unset, AuditLogEntryLinks] Links related to the log entry None

Static methods

from_dict

def from_dict(
    src_dict: collections.abc.Mapping[str, typing.Any]
) -> ~T

Instance variables

action
additional_keys
additional_properties
created
id
links
metadata
resource
user

Methods

to_dict

def to_dict(
    self
) -> dict[str, typing.Any]