citrine.resources.audit_info module

class citrine.resources.audit_info.AuditInfo

Bases: Serializable, DictSerializable

Model that holds audit metadata. AuditInfo objects should not be created by the user.

as_dict() Dict[str, Any]

Convert the object to a dictionary.

Returns:

A dictionary representation of the object, where the keys are its fields.

Return type:

dict

classmethod build(data: dict) Self

Build an instance of this object from given data.

dump() dict

Dump this instance.

classmethod from_dict(d: Mapping[str, Any]) DictSerializableType

Reconstitute the object from a dictionary.

Parameters:

d (dict) – The object as a dictionary of key-value pairs that correspond to the object’s fields.

Returns:

The deserialized object.

Return type:

DictSerializable

created_at = None

Time, in ms since epoch, at which the object was created

Type:

Optional[datetime]

created_by = None

ID of the user who created the object

Type:

Optional[UUID]

skip = {}
typ = 'audit_info'
updated_at = None

Time, in ms since epoch, at which the object was most recently updated

Type:

Optional[datetime]

updated_by = None

ID of the user who most recently updated the object

Type:

Optional[UUID]