/* Options: Date: 2025-10-30 00:00:36 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://prod-api-agency-orch-mb-dhc.rapp-customers.co.uk //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FeatureFlagUpdateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class VehicleSwapAgentEnabledDto implements IConvertible { bool? Enabled; String? Reason; VehicleSwapAgentEnabledDto({this.Enabled,this.Reason}); VehicleSwapAgentEnabledDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; Reason = json['Reason']; return this; } Map toJson() => { 'Enabled': Enabled, 'Reason': Reason }; getTypeName() => "VehicleSwapAgentEnabledDto"; TypeContext? context = _ctx; } class FeatureFlagStatusVehicleSwapBase implements IConvertible { bool? AgencyEnabled; bool? OrdersEnabled; VehicleSwapAgentEnabledDto? VehicleSwapAgentEnabledData; FeatureFlagStatusVehicleSwapBase({this.AgencyEnabled,this.OrdersEnabled,this.VehicleSwapAgentEnabledData}); FeatureFlagStatusVehicleSwapBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgencyEnabled = json['AgencyEnabled']; OrdersEnabled = json['OrdersEnabled']; VehicleSwapAgentEnabledData = JsonConverters.fromJson(json['VehicleSwapAgentEnabledData'],'VehicleSwapAgentEnabledDto',context!); return this; } Map toJson() => { 'AgencyEnabled': AgencyEnabled, 'OrdersEnabled': OrdersEnabled, 'VehicleSwapAgentEnabledData': JsonConverters.toJson(VehicleSwapAgentEnabledData,'VehicleSwapAgentEnabledDto',context!) }; getTypeName() => "FeatureFlagStatusVehicleSwapBase"; TypeContext? context = _ctx; } class SuccessResponse implements IConvertible { bool? Success; SuccessResponse({this.Success}); SuccessResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Success = json['Success']; return this; } Map toJson() => { 'Success': Success }; getTypeName() => "SuccessResponse"; TypeContext? context = _ctx; } // @Route("/v1/FeatureFlag", "PUT") class FeatureFlagUpdateRequest extends FeatureFlagStatusVehicleSwapBase implements IReturn, IPut, IConvertible { FeatureFlagUpdateRequest(); FeatureFlagUpdateRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => SuccessResponse(); getResponseTypeName() => "SuccessResponse"; getTypeName() => "FeatureFlagUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: { 'VehicleSwapAgentEnabledDto': TypeInfo(TypeOf.Class, create:() => VehicleSwapAgentEnabledDto()), 'FeatureFlagStatusVehicleSwapBase': TypeInfo(TypeOf.Class, create:() => FeatureFlagStatusVehicleSwapBase()), 'SuccessResponse': TypeInfo(TypeOf.Class, create:() => SuccessResponse()), 'FeatureFlagUpdateRequest': TypeInfo(TypeOf.Class, create:() => FeatureFlagUpdateRequest()), });