/* Options: Date: 2025-08-05 02:04:18 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: SettingsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SettingsResponse implements IConvertible { List? Results; SettingsResponse({this.Results}); SettingsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Results = JsonConverters.fromJson(json['Results'],'List',context!); return this; } Map toJson() => { 'Results': JsonConverters.toJson(Results,'List',context!) }; getTypeName() => "SettingsResponse"; TypeContext? context = _ctx; } // @Route("/search/settings") // @Route("/search/settings", "GET") class SettingsRequest implements IReturn, IConvertible, IGet { String? IndexId; String? SuggestionFields; String? SectionName; String? Text; int? Take; int? Skip; SettingsRequest({this.IndexId,this.SuggestionFields,this.SectionName,this.Text,this.Take,this.Skip}); SettingsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IndexId = json['IndexId']; SuggestionFields = json['SuggestionFields']; SectionName = json['SectionName']; Text = json['Text']; Take = json['Take']; Skip = json['Skip']; return this; } Map toJson() => { 'IndexId': IndexId, 'SuggestionFields': SuggestionFields, 'SectionName': SectionName, 'Text': Text, 'Take': Take, 'Skip': Skip }; createResponse() => SettingsResponse(); getResponseTypeName() => "SettingsResponse"; getTypeName() => "SettingsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'SettingsResponse': TypeInfo(TypeOf.Class, create:() => SettingsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SettingDto': TypeInfo(TypeOf.Class, create:() => SettingDto()), 'SettingsRequest': TypeInfo(TypeOf.Class, create:() => SettingsRequest()), });