/* Options: Date: 2025-12-06 06:11:56 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: DocumentOCRNotificationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DocumentOCRNotificationResponse implements IConvertible { ResponseStatus? ResponseStatus; bool? Success; DocumentOCRNotificationResponse({this.ResponseStatus,this.Success}); DocumentOCRNotificationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Success = json['Success']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Success': Success }; getTypeName() => "DocumentOCRNotificationResponse"; TypeContext? context = _ctx; } // @Route("/v1/DocumentOCRNotification", "POST, PUT") class DocumentOCRNotificationRequest implements IReturn, IConvertible, IPost { String? jobId; String? status; String? sourceDocument; DocumentOCRNotificationRequest({this.jobId,this.status,this.sourceDocument}); DocumentOCRNotificationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { jobId = json['jobId']; status = json['status']; sourceDocument = json['sourceDocument']; return this; } Map toJson() => { 'jobId': jobId, 'status': status, 'sourceDocument': sourceDocument }; createResponse() => DocumentOCRNotificationResponse(); getResponseTypeName() => "DocumentOCRNotificationResponse"; getTypeName() => "DocumentOCRNotificationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'DocumentOCRNotificationResponse': TypeInfo(TypeOf.Class, create:() => DocumentOCRNotificationResponse()), 'DocumentOCRNotificationRequest': TypeInfo(TypeOf.Class, create:() => DocumentOCRNotificationRequest()), });