/* Options: Date: 2024-07-03 12:55:09 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: DurationTypeQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DurationTypeResponse implements IConvertible { int? Id; String? Name; String? Description; DurationTypeResponse({this.Id,this.Name,this.Description}); DurationTypeResponse.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() => "DurationTypeResponse"; TypeContext? context = _ctx; } // @Route("/services/durationtypes", "GET") class DurationTypeQuery implements IReturn, IConvertible, IGet { DurationTypeQuery(); DurationTypeQuery.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => DurationTypeResponse(); getResponseTypeName() => "DurationTypeResponse"; getTypeName() => "DurationTypeQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'DurationTypeResponse': TypeInfo(TypeOf.Class, create:() => DurationTypeResponse()), 'DurationTypeQuery': TypeInfo(TypeOf.Class, create:() => DurationTypeQuery()), });