Skip to main content

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]

Methods

NameDescription
to_strReturns the string representation of the model using alias
to_jsonReturns the JSON representation of the model using alias
from_jsonCreate an instance of TokenWithProperties from a JSON string
to_dictReturn the dictionary representation of the model using alias.
from_dictCreate an instance of TokenWithProperties from a dict