/* Options: Date: 2025-12-06 07:51:02 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //GlobalNamespace: BusinessApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetBillingContactRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; abstract class IHasBusinessId { int? businessId; } class BillingContact implements IConvertible { String? person; String? phone; String? email; BillingContact({this.person,this.phone,this.email}); BillingContact.fromJson(Map json) { fromMap(json); } fromMap(Map json) { person = json['person']; phone = json['phone']; email = json['email']; return this; } Map toJson() => { 'person': person, 'phone': phone, 'email': email }; getTypeName() => "BillingContact"; TypeContext? context = _ctx; } class GetBillingContactResponse implements IConvertible { BillingContact? billingContact; GetBillingContactResponse({this.billingContact}); GetBillingContactResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { billingContact = JsonConverters.fromJson(json['billingContact'],'BillingContact',context!); return this; } Map toJson() => { 'billingContact': JsonConverters.toJson(billingContact,'BillingContact',context!) }; getTypeName() => "GetBillingContactResponse"; TypeContext? context = _ctx; } // @Route("/business/get_billing_contact", "GET") class GetBillingContactRequest implements IReturn, IGet, IHasBusinessId, IConvertible { int? businessId; GetBillingContactRequest({this.businessId}); GetBillingContactRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { businessId = json['businessId']; return this; } Map toJson() => { 'businessId': businessId }; createResponse() => GetBillingContactResponse(); getResponseTypeName() => "GetBillingContactResponse"; getTypeName() => "GetBillingContactRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'IHasBusinessId': TypeInfo(TypeOf.Interface), 'BillingContact': TypeInfo(TypeOf.Class, create:() => BillingContact()), 'GetBillingContactResponse': TypeInfo(TypeOf.Class, create:() => GetBillingContactResponse()), 'GetBillingContactRequest': TypeInfo(TypeOf.Class, create:() => GetBillingContactRequest()), });