Skip to main content
Version: 2025.11

TokenWithProperties

Description: Token is a subclass of Base and represents a token used to store file information.

Attributes

NameTypeDescription
idStrictStr
createddatetime.datetime
shaStrictStr
saltStrictStr
nameStrictStr
extensionStrictStr
sizeStrictInt
descriptionOptional[StrictStr]
mimeOptional[StrictStr]
version_nameOptional[StrictStr]
external_identifierOptional[StrictStr]
display_nameOptional[StrictStr]
object_store_shaOptional[ObjectStoreSha]

Methods

NameDescription
to_strReturn the string representation of the model using field aliases.
to_jsonReturn the JSON string representation of the model using field aliases.
from_jsonCreate an instance of the model from a JSON string.
to_dictReturn the dictionary representation of the model using field aliases.
from_dictCreate an instance of TokenWithProperties from a dict