/* Options: Date: 2025-10-27 21:37:14 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: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; // @Route("/files", "GET") // @Route("/files", "POST") // @Route("/files/{Path*}", "GET") // @Route("/files/{Path*}", "POST") // @Route("/files/{Path*}", "DELETE") class SCADFiles implements IConvertible, IGet { /** * File path */ // @ApiMember(Description="File path") String? Path; /** * Contents of a file. NOTE: This is not yet supported in the API */ // @ApiMember(Description="Contents of a file. NOTE: This is not yet supported in the API") String? TextContents; /** * Whether or not you want to download the file. */ // @ApiMember(Description="Whether or not you want to download the file.") bool? ForDownload; /** * Where the files are hosted. If the source is not specified, your default source will be used */ // @ApiMember(Description="Where the files are hosted. If the source is not specified, your default source will be used") String? Source; SCADFiles({this.Path,this.TextContents,this.ForDownload,this.Source}); SCADFiles.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Path = json['Path']; TextContents = json['TextContents']; ForDownload = json['ForDownload']; Source = json['Source']; return this; } Map toJson() => { 'Path': Path, 'TextContents': TextContents, 'ForDownload': ForDownload, 'Source': Source }; getTypeName() => "SCADFiles"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'SCADFiles': TypeInfo(TypeOf.Class, create:() => SCADFiles()), });