Work on event files and hosted files

This commit is contained in:
Scott Idem
2021-10-22 13:54:50 -04:00
parent 661e9ca417
commit 70981e0c3f
3 changed files with 43 additions and 10 deletions

View File

@@ -82,6 +82,12 @@ class Event_File_Base(BaseModel):
hosted_file_hash_sha256: Optional[str] = Field(
alias = 'hash_sha256'
)
hosted_file_subdirectory_path: Optional[str] = Field( # NOTE: This will frequently only contain numbers, but it still needs to be a string
alias = 'subdirectory_path'
)
hosted_file_content_type: Optional[str] = Field(
alias = 'content_type'
)
hosted_file_size: Optional[str] = Field(
alias = 'file_size'
)