/* Options: Date: 2024-12-15 20:56:07 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetHealthCheckRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class GetOperationUnTenanted implements IHasGetOptions, IGet { String? embed; GetOperationUnTenanted({this.embed}); GetOperationUnTenanted.fromJson(Map json) { fromMap(json); } fromMap(Map json) { embed = json['embed']; return this; } Map toJson() => { 'embed': embed }; getTypeName() => "GetOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } abstract class IHasGetOptions { String? embed; } class GetHealthCheckResponse implements IConvertible { ResponseStatus? responseStatus; String? name; String? version; String? status; GetHealthCheckResponse({this.responseStatus,this.name,this.version,this.status}); GetHealthCheckResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); name = json['name']; version = json['version']; status = json['status']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'name': name, 'version': version, 'status': status }; getTypeName() => "GetHealthCheckResponse"; TypeContext? context = _ctx; } // @Route("/health", "GET") class GetHealthCheckRequest extends GetOperationUnTenanted implements IReturn, IConvertible { GetHealthCheckRequest(); GetHealthCheckRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => GetHealthCheckResponse(); getResponseTypeName() => "GetHealthCheckResponse"; getTypeName() => "GetHealthCheckRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'GetOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'IHasGetOptions': TypeInfo(TypeOf.Interface), 'GetHealthCheckResponse': TypeInfo(TypeOf.Class, create:() => GetHealthCheckResponse()), 'GetHealthCheckRequest': TypeInfo(TypeOf.Class, create:() => GetHealthCheckRequest()), });