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