/* Options: Date: 2026-04-04 03:13:08 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: GetSettings.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; 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; } // @Route("/settings") class GetSettings implements IReturn, IConvertible, IGet { List? SettingIds; GetSettings({this.SettingIds}); GetSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SettingIds = JsonConverters.fromJson(json['SettingIds'],'List',context!); return this; } Map toJson() => { 'SettingIds': JsonConverters.toJson(SettingIds,'List',context!) }; createResponse() => GetSettingsResponse(); getResponseTypeName() => "GetSettingsResponse"; getTypeName() => "GetSettings"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'SettingModel': TypeInfo(TypeOf.Class, create:() => SettingModel()), 'GetSettingsResponse': TypeInfo(TypeOf.Class, create:() => GetSettingsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetSettings': TypeInfo(TypeOf.Class, create:() => GetSettings()), });