/* Options: Date: 2026-04-04 01:20:57 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetThemeSettings.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IPublicServiceModel { String? ApplianceId; String? SubdomainName; } class SettingModel implements IConvertible { String? SettingId; String? SettingName; String? SettingValue; SettingModel({this.SettingId,this.SettingName,this.SettingValue}); SettingModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SettingId = json['SettingId']; SettingName = json['SettingName']; SettingValue = json['SettingValue']; return this; } Map toJson() => { 'SettingId': SettingId, 'SettingName': SettingName, 'SettingValue': SettingValue }; getTypeName() => "SettingModel"; TypeContext? context = _ctx; } // @ApiResponse(Description="List of settings") class GetSettingsResponse implements IConvertible { List? Settings; ResponseStatus? ResponseStatus; GetSettingsResponse({this.Settings,this.ResponseStatus}); GetSettingsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Settings = JsonConverters.fromJson(json['Settings'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Settings': JsonConverters.toJson(Settings,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "GetSettingsResponse"; TypeContext? context = _ctx; } /** * Get all theme settings for the appliance and current context including title, colours and footer settings */ // @Route("/themesettings") // @Api(Description="Get all theme settings for the appliance and current context including title, colours and footer settings") class GetThemeSettings implements IReturn, IPublicServiceModel, IConvertible, IGet { /** * Appliance to retrieve theme settings for */ // @ApiMember(Description="Appliance to retrieve theme settings for", Name="ApplianceId") String? ApplianceId; String? SubdomainName; GetThemeSettings({this.ApplianceId,this.SubdomainName}); GetThemeSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApplianceId = json['ApplianceId']; SubdomainName = json['SubdomainName']; return this; } Map toJson() => { 'ApplianceId': ApplianceId, 'SubdomainName': SubdomainName }; createResponse() => GetSettingsResponse(); getResponseTypeName() => "GetSettingsResponse"; getTypeName() => "GetThemeSettings"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'IPublicServiceModel': TypeInfo(TypeOf.Interface), 'SettingModel': TypeInfo(TypeOf.Class, create:() => SettingModel()), 'GetSettingsResponse': TypeInfo(TypeOf.Class, create:() => GetSettingsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetThemeSettings': TypeInfo(TypeOf.Class, create:() => GetThemeSettings()), });