/* Options: Date: 2025-12-06 07:06:20 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ActivateSubscriptionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class ActivateSubscriptionResponse implements IConvertible { bool? activated; ActivateSubscriptionResponse({this.activated}); ActivateSubscriptionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { activated = json['activated']; return this; } Map toJson() => { 'activated': activated }; getTypeName() => "ActivateSubscriptionResponse"; TypeContext? context = _ctx; } // @Route("/subscription/activate", "POST") class ActivateSubscriptionRequest implements IReturn, IPost, IConvertible { int? businessId; int? subscriptionPlanId; ActivateSubscriptionRequest({this.businessId,this.subscriptionPlanId}); ActivateSubscriptionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { businessId = json['businessId']; subscriptionPlanId = json['subscriptionPlanId']; return this; } Map toJson() => { 'businessId': businessId, 'subscriptionPlanId': subscriptionPlanId }; createResponse() => ActivateSubscriptionResponse(); getResponseTypeName() => "ActivateSubscriptionResponse"; getTypeName() => "ActivateSubscriptionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'ActivateSubscriptionResponse': TypeInfo(TypeOf.Class, create:() => ActivateSubscriptionResponse()), 'ActivateSubscriptionRequest': TypeInfo(TypeOf.Class, create:() => ActivateSubscriptionRequest()), });