/* Options: Date: 2025-12-06 08:40:09 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: UserNotificationDeleteAllRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class UserNotificationDeleteAllResponse implements IConvertible { ResponseStatus? ResponseStatus; bool? Deleted; UserNotificationDeleteAllResponse({this.ResponseStatus,this.Deleted}); UserNotificationDeleteAllResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Deleted = json['Deleted']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Deleted': Deleted }; getTypeName() => "UserNotificationDeleteAllResponse"; TypeContext? context = _ctx; } // @Route("/v1/UserNotifications/{AgentId}/DeleteAll") class UserNotificationDeleteAllRequest implements IReturn, IConvertible, IDelete { int? AgentId; UserNotificationDeleteAllRequest({this.AgentId}); UserNotificationDeleteAllRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentId = json['AgentId']; return this; } Map toJson() => { 'AgentId': AgentId }; createResponse() => UserNotificationDeleteAllResponse(); getResponseTypeName() => "UserNotificationDeleteAllResponse"; getTypeName() => "UserNotificationDeleteAllRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'UserNotificationDeleteAllResponse': TypeInfo(TypeOf.Class, create:() => UserNotificationDeleteAllResponse()), 'UserNotificationDeleteAllRequest': TypeInfo(TypeOf.Class, create:() => UserNotificationDeleteAllRequest()), });