/* Options: Date: 2025-12-06 05:26:32 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AttachmentDownloadRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/v1/AttachmentDownload/{AttachmentId}", "GET") class AttachmentDownloadRequest implements IConvertible, IGet { String? AttachmentId; bool? ViewInBrowser; AttachmentDownloadRequest({this.AttachmentId,this.ViewInBrowser}); AttachmentDownloadRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AttachmentId = json['AttachmentId']; ViewInBrowser = json['ViewInBrowser']; return this; } Map toJson() => { 'AttachmentId': AttachmentId, 'ViewInBrowser': ViewInBrowser }; getTypeName() => "AttachmentDownloadRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'AttachmentDownloadRequest': TypeInfo(TypeOf.Class, create:() => AttachmentDownloadRequest()), });