/* Options: Date: 2025-08-05 02:17:47 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: TestConnectionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class TestConnectionResponse implements IConvertible { bool? Result; TestConnectionResponse({this.Result}); TestConnectionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Result = json['Result']; return this; } Map toJson() => { 'Result': Result }; getTypeName() => "TestConnectionResponse"; TypeContext? context = _ctx; } // @Route("/search/testConnection") // @Route("/search/testConnection") class TestConnectionRequest implements IReturn, IConvertible, IPost { String? AzureServiceAdminKey; String? AzureSearchServiceName; TestConnectionRequest({this.AzureServiceAdminKey,this.AzureSearchServiceName}); TestConnectionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AzureServiceAdminKey = json['AzureServiceAdminKey']; AzureSearchServiceName = json['AzureSearchServiceName']; return this; } Map toJson() => { 'AzureServiceAdminKey': AzureServiceAdminKey, 'AzureSearchServiceName': AzureSearchServiceName }; createResponse() => TestConnectionResponse(); getResponseTypeName() => "TestConnectionResponse"; getTypeName() => "TestConnectionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'TestConnectionResponse': TypeInfo(TypeOf.Class, create:() => TestConnectionResponse()), 'TestConnectionRequest': TypeInfo(TypeOf.Class, create:() => TestConnectionRequest()), });