/* Options: Date: 2025-08-05 02:01:05 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: GetUncachedLibraries.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum CacheProfileType { Client, Server, Both, } class MediaLibraryProxy implements IConvertible { String? Title; String? LibraryType; CacheProfileType? CacheProfileType; MediaLibraryProxy({this.Title,this.LibraryType,this.CacheProfileType}); MediaLibraryProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Title = json['Title']; LibraryType = json['LibraryType']; CacheProfileType = JsonConverters.fromJson(json['CacheProfileType'],'CacheProfileType',context!); return this; } Map toJson() => { 'Title': Title, 'LibraryType': LibraryType, 'CacheProfileType': JsonConverters.toJson(CacheProfileType,'CacheProfileType',context!) }; getTypeName() => "MediaLibraryProxy"; TypeContext? context = _ctx; } class UncachedLibrariesProxy implements IConvertible { List? NotCachedLibraries; int? CountAllSites; int? CountCurrentSite; UncachedLibrariesProxy({this.NotCachedLibraries,this.CountAllSites,this.CountCurrentSite}); UncachedLibrariesProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NotCachedLibraries = JsonConverters.fromJson(json['NotCachedLibraries'],'List',context!); CountAllSites = json['CountAllSites']; CountCurrentSite = json['CountCurrentSite']; return this; } Map toJson() => { 'NotCachedLibraries': JsonConverters.toJson(NotCachedLibraries,'List',context!), 'CountAllSites': CountAllSites, 'CountCurrentSite': CountCurrentSite }; getTypeName() => "UncachedLibrariesProxy"; TypeContext? context = _ctx; } // @Route("/diagnostics/uncached-libraries", "GET") class GetUncachedLibraries implements IReturn, IConvertible, IGet { bool? CountOnly; int? Skip; int? Take; String? SiteId; GetUncachedLibraries({this.CountOnly,this.Skip,this.Take,this.SiteId}); GetUncachedLibraries.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CountOnly = json['CountOnly']; Skip = json['Skip']; Take = json['Take']; SiteId = json['SiteId']; return this; } Map toJson() => { 'CountOnly': CountOnly, 'Skip': Skip, 'Take': Take, 'SiteId': SiteId }; createResponse() => UncachedLibrariesProxy(); getResponseTypeName() => "UncachedLibrariesProxy"; getTypeName() => "GetUncachedLibraries"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'CacheProfileType': TypeInfo(TypeOf.Enum, enumValues:CacheProfileType.values), 'MediaLibraryProxy': TypeInfo(TypeOf.Class, create:() => MediaLibraryProxy()), 'UncachedLibrariesProxy': TypeInfo(TypeOf.Class, create:() => UncachedLibrariesProxy()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetUncachedLibraries': TypeInfo(TypeOf.Class, create:() => GetUncachedLibraries()), });