/* Options: Date: 2024-11-21 11:57:50 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PriceCalculationTypeQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PriceCalculationTypeResponse implements IConvertible { int? Id; String? Name; String? Description; PriceCalculationTypeResponse({this.Id,this.Name,this.Description}); PriceCalculationTypeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description }; getTypeName() => "PriceCalculationTypeResponse"; TypeContext? context = _ctx; } // @Route("/services/prices/calculationtypes", "GET") class PriceCalculationTypeQuery implements IReturn, IConvertible, IGet { PriceCalculationTypeQuery(); PriceCalculationTypeQuery.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => PriceCalculationTypeResponse(); getResponseTypeName() => "PriceCalculationTypeResponse"; getTypeName() => "PriceCalculationTypeQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'PriceCalculationTypeResponse': TypeInfo(TypeOf.Class, create:() => PriceCalculationTypeResponse()), 'PriceCalculationTypeQuery': TypeInfo(TypeOf.Class, create:() => PriceCalculationTypeQuery()), });