""" Options: Date: 2025-10-28 03:49:32 Version: 8.80 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: SCADFiles.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum # @Route("/files", "GET") # @Route("/files", "POST") # @Route("/files/{Path*}", "GET") # @Route("/files/{Path*}", "POST") # @Route("/files/{Path*}", "DELETE") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SCADFiles: # @ApiMember(Description="File path") path: Optional[str] = None """ File path """ # @ApiMember(Description="Contents of a file. NOTE: This is not yet supported in the API") text_contents: Optional[str] = None """ Contents of a file. NOTE: This is not yet supported in the API """ # @ApiMember(Description="Whether or not you want to download the file.") for_download: bool = False """ Whether or not you want to download the file. """ # @ApiMember(Description="Where the files are hosted. If the source is not specified, your default source will be used") source: Optional[str] = None """ Where the files are hosted. If the source is not specified, your default source will be used """