/* Options: Date: 2024-12-15 20:27:28 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: GetFeatureFlagRequest.* //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 GetFeatureFlagResponse implements IConvertible { ResponseStatus? responseStatus; String? flag; bool? isEnabled; GetFeatureFlagResponse({this.responseStatus,this.flag,this.isEnabled}); GetFeatureFlagResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); flag = json['flag']; isEnabled = json['isEnabled']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'flag': flag, 'isEnabled': isEnabled }; getTypeName() => "GetFeatureFlagResponse"; TypeContext? context = _ctx; } // @Route("/features/{Name}", "GET") class GetFeatureFlagRequest extends GetOperationUnTenanted implements IReturn, IConvertible { String? name; GetFeatureFlagRequest({this.name}); GetFeatureFlagRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); name = json['name']; return this; } Map toJson() => super.toJson()..addAll({ 'name': name }); createResponse() => GetFeatureFlagResponse(); getResponseTypeName() => "GetFeatureFlagResponse"; getTypeName() => "GetFeatureFlagRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'GetOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'IHasGetOptions': TypeInfo(TypeOf.Interface), 'GetFeatureFlagResponse': TypeInfo(TypeOf.Class, create:() => GetFeatureFlagResponse()), 'GetFeatureFlagRequest': TypeInfo(TypeOf.Class, create:() => GetFeatureFlagRequest()), });