/* Options: Date: 2025-08-05 02:11:59 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: GetUncachedPages.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PageProxy implements IConvertible { String? Title; String? ParentPagesTitles; String? WorkflowStatus; bool? HasDraftNewerThanPublished; PageProxy({this.Title,this.ParentPagesTitles,this.WorkflowStatus,this.HasDraftNewerThanPublished}); PageProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Title = json['Title']; ParentPagesTitles = json['ParentPagesTitles']; WorkflowStatus = json['WorkflowStatus']; HasDraftNewerThanPublished = json['HasDraftNewerThanPublished']; return this; } Map toJson() => { 'Title': Title, 'ParentPagesTitles': ParentPagesTitles, 'WorkflowStatus': WorkflowStatus, 'HasDraftNewerThanPublished': HasDraftNewerThanPublished }; getTypeName() => "PageProxy"; TypeContext? context = _ctx; } class UncachedPagesProxy implements IConvertible { List? NotCachedPages; int? CountAllSites; int? CountCurrentSite; UncachedPagesProxy({this.NotCachedPages,this.CountAllSites,this.CountCurrentSite}); UncachedPagesProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NotCachedPages = JsonConverters.fromJson(json['NotCachedPages'],'List',context!); CountAllSites = json['CountAllSites']; CountCurrentSite = json['CountCurrentSite']; return this; } Map toJson() => { 'NotCachedPages': JsonConverters.toJson(NotCachedPages,'List',context!), 'CountAllSites': CountAllSites, 'CountCurrentSite': CountCurrentSite }; getTypeName() => "UncachedPagesProxy"; TypeContext? context = _ctx; } // @Route("/diagnostics/uncached-pages", "GET") class GetUncachedPages implements IReturn, IConvertible, IGet { bool? CountOnly; int? Skip; int? Take; String? SiteRootNodeId; GetUncachedPages({this.CountOnly,this.Skip,this.Take,this.SiteRootNodeId}); GetUncachedPages.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CountOnly = json['CountOnly']; Skip = json['Skip']; Take = json['Take']; SiteRootNodeId = json['SiteRootNodeId']; return this; } Map toJson() => { 'CountOnly': CountOnly, 'Skip': Skip, 'Take': Take, 'SiteRootNodeId': SiteRootNodeId }; createResponse() => UncachedPagesProxy(); getResponseTypeName() => "UncachedPagesProxy"; getTypeName() => "GetUncachedPages"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'PageProxy': TypeInfo(TypeOf.Class, create:() => PageProxy()), 'UncachedPagesProxy': TypeInfo(TypeOf.Class, create:() => UncachedPagesProxy()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetUncachedPages': TypeInfo(TypeOf.Class, create:() => GetUncachedPages()), });