Skip to main content

FunctionAuthSecret

Description: Represents a function authentication secret backed by a file.

Attributes

NameTypeDescription
idStrictStr
createddatetime.datetime
fileFile
commentsList[Comment]
archive_status_historyList[ResourceArchiveStatus]
created_by_idStrictStr
function_auth_typeFunctionAuthType
shaOptional[StrictStr]
saltOptional[StrictStr]
auth_integration_idOptional[StrictStr]
expirationOptional[datetime.datetime]

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 the model from a dictionary.
update_propertiesUpdate one or more metadata fields on the underlying file.
update_descriptionUpdate the file’s description.
update_display_nameUpdate the file’s display name.
update_external_identifierUpdate the file’s external identifier.
update_version_nameUpdate the file’s version name.
read_bytesRead and return the raw byte contents of the associated file revision.
read_textRead the contents as decoded text.
copy_toCopy the contents to a local file.
read_jsonParse the contents as JSON.