/* Options: Date: 2026-06-23 00:06:38 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: PortalPhotoRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/portal/{Token}/photo/{AttachmentId}", "GET,OPTIONS") class PortalPhotoRequest implements IConvertible, IGet { String? Token; int? AttachmentId; PortalPhotoRequest({this.Token,this.AttachmentId}); PortalPhotoRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Token = json['Token']; AttachmentId = json['AttachmentId']; return this; } Map toJson() => { 'Token': Token, 'AttachmentId': AttachmentId }; getTypeName() => "PortalPhotoRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PortalPhotoRequest': TypeInfo(TypeOf.Class, create:() => PortalPhotoRequest()), });