/* Options: Date: 2025-12-06 08:04:03 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: MallGetOtherServicesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; abstract class IHasMallId { int? mallId; } class MallOtherServiceDto implements IConvertible { int? id; String? serviceName; String? floor; MallOtherServiceDto({this.id,this.serviceName,this.floor}); MallOtherServiceDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; serviceName = json['serviceName']; floor = json['floor']; return this; } Map toJson() => { 'id': id, 'serviceName': serviceName, 'floor': floor }; getTypeName() => "MallOtherServiceDto"; TypeContext? context = _ctx; } class MallGetOtherServicesResponse implements IConvertible { List? otherServices = []; MallGetOtherServicesResponse({this.otherServices}); MallGetOtherServicesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { otherServices = JsonConverters.fromJson(json['otherServices'],'List',context!); return this; } Map toJson() => { 'otherServices': JsonConverters.toJson(otherServices,'List',context!) }; getTypeName() => "MallGetOtherServicesResponse"; TypeContext? context = _ctx; } // @Route("/mall/other-services", "GET") class MallGetOtherServicesRequest implements IReturn, IGet, IHasMallId, IConvertible { int? mallId; MallGetOtherServicesRequest({this.mallId}); MallGetOtherServicesRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { mallId = json['mallId']; return this; } Map toJson() => { 'mallId': mallId }; createResponse() => MallGetOtherServicesResponse(); getResponseTypeName() => "MallGetOtherServicesResponse"; getTypeName() => "MallGetOtherServicesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'IHasMallId': TypeInfo(TypeOf.Interface), 'MallOtherServiceDto': TypeInfo(TypeOf.Class, create:() => MallOtherServiceDto()), 'MallGetOtherServicesResponse': TypeInfo(TypeOf.Class, create:() => MallGetOtherServicesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'MallGetOtherServicesRequest': TypeInfo(TypeOf.Class, create:() => MallGetOtherServicesRequest()), });