/* Options: Date: 2026-06-22 22:53:30 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: QboLogRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class QboSyncLogEntry implements IConvertible { String? EntityType; String? LocalId; String? Action; String? Outcome; String? Detail; String? QboId; DateTime? CreatedAt; String? CreatedBy; QboSyncLogEntry({this.EntityType,this.LocalId,this.Action,this.Outcome,this.Detail,this.QboId,this.CreatedAt,this.CreatedBy}); QboSyncLogEntry.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EntityType = json['EntityType']; LocalId = json['LocalId']; Action = json['Action']; Outcome = json['Outcome']; Detail = json['Detail']; QboId = json['QboId']; CreatedAt = JsonConverters.fromJson(json['CreatedAt'],'DateTime',context!); CreatedBy = json['CreatedBy']; return this; } Map toJson() => { 'EntityType': EntityType, 'LocalId': LocalId, 'Action': Action, 'Outcome': Outcome, 'Detail': Detail, 'QboId': QboId, 'CreatedAt': JsonConverters.toJson(CreatedAt,'DateTime',context!), 'CreatedBy': CreatedBy }; getTypeName() => "QboSyncLogEntry"; TypeContext? context = _ctx; } class QboLogResponse implements IConvertible { List? Entries = []; ResponseStatus? ResponseStatus; QboLogResponse({this.Entries,this.ResponseStatus}); QboLogResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Entries = JsonConverters.fromJson(json['Entries'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Entries': JsonConverters.toJson(Entries,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "QboLogResponse"; TypeContext? context = _ctx; } // @Route("/v1/qbo/log", "GET,OPTIONS") class QboLogRequest implements IReturn, IConvertible, IGet { QboLogRequest(); QboLogRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => QboLogResponse(); getResponseTypeName() => "QboLogResponse"; getTypeName() => "QboLogRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'QboSyncLogEntry': TypeInfo(TypeOf.Class, create:() => QboSyncLogEntry()), 'QboLogResponse': TypeInfo(TypeOf.Class, create:() => QboLogResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'QboLogRequest': TypeInfo(TypeOf.Class, create:() => QboLogRequest()), });