/* Options: Date: 2025-12-06 09:34:25 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: NoticeLogRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class NoticeLog implements IConvertible { int? NoticeLogId; int? NoticeId; int? AgentId; DateTime? AgreeToDate; NoticeLog({this.NoticeLogId,this.NoticeId,this.AgentId,this.AgreeToDate}); NoticeLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NoticeLogId = json['NoticeLogId']; NoticeId = json['NoticeId']; AgentId = json['AgentId']; AgreeToDate = JsonConverters.fromJson(json['AgreeToDate'],'DateTime',context!); return this; } Map toJson() => { 'NoticeLogId': NoticeLogId, 'NoticeId': NoticeId, 'AgentId': AgentId, 'AgreeToDate': JsonConverters.toJson(AgreeToDate,'DateTime',context!) }; getTypeName() => "NoticeLog"; TypeContext? context = _ctx; } class NoticeLogResponse implements IConvertible { ResponseStatus? ResponseStatus; List? NoticeLog = []; NoticeLogResponse({this.ResponseStatus,this.NoticeLog}); NoticeLogResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); NoticeLog = JsonConverters.fromJson(json['NoticeLog'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'NoticeLog': JsonConverters.toJson(NoticeLog,'List',context!) }; getTypeName() => "NoticeLogResponse"; TypeContext? context = _ctx; } // @Route("/v1/NoticeLog", "POST,OPTIONS") // @Route("/v1/NoticeLog/{NoticeLogId}", "POST,OPTIONS") class NoticeLogRequest implements IReturn, IConvertible, IPost { List? NoticeLog = []; NoticeLogRequest({this.NoticeLog}); NoticeLogRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NoticeLog = JsonConverters.fromJson(json['NoticeLog'],'List',context!); return this; } Map toJson() => { 'NoticeLog': JsonConverters.toJson(NoticeLog,'List',context!) }; createResponse() => NoticeLogResponse(); getResponseTypeName() => "NoticeLogResponse"; getTypeName() => "NoticeLogRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'NoticeLog': TypeInfo(TypeOf.Class, create:() => NoticeLog()), 'NoticeLogResponse': TypeInfo(TypeOf.Class, create:() => NoticeLogResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'NoticeLogRequest': TypeInfo(TypeOf.Class, create:() => NoticeLogRequest()), });