/* Options: Date: 2025-08-05 02:04:23 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CommentsCountGetRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CollectionResponse implements IConvertible { int? TotalCount; List? Items; CollectionResponse({this.TotalCount,this.Items}); CollectionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TotalCount = json['TotalCount']; Items = JsonConverters.fromJson(json['Items'],'IEnumerable<${runtimeGenericTypeDefs(this,[0]).join(",")}>',context!); return this; } Map toJson() => { 'TotalCount': TotalCount, 'Items': JsonConverters.toJson(Items,'List',context!) }; getTypeName() => "CollectionResponse<$CommentsCountResponse>"; TypeContext? context = _ctx; } // @Route("/comments-api/comments/count", "GET") class CommentsCountGetRequest implements IReturn>, IConvertible, IGet { List? ThreadKey; List? Status; CommentsCountGetRequest({this.ThreadKey,this.Status}); CommentsCountGetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ThreadKey = JsonConverters.fromJson(json['ThreadKey'],'List',context!); Status = JsonConverters.fromJson(json['Status'],'List',context!); return this; } Map toJson() => { 'ThreadKey': JsonConverters.toJson(ThreadKey,'List',context!), 'Status': JsonConverters.toJson(Status,'List',context!) }; createResponse() => CollectionResponse(); getResponseTypeName() => "CollectionResponse"; getTypeName() => "CommentsCountGetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'CollectionResponse': TypeInfo(TypeOf.Class, create:() => CollectionResponse()), 'CommentsCountGetRequest': TypeInfo(TypeOf.Class, create:() => CommentsCountGetRequest()), });