/* Options: Date: 2024-06-26 11:14:15 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ScheduleTypeQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ScheduleTypeResponse implements IConvertible { int? Id; String? Name; String? Description; ScheduleTypeResponse({this.Id,this.Name,this.Description}); ScheduleTypeResponse.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() => "ScheduleTypeResponse"; TypeContext? context = _ctx; } // @Route("/services/scheduletypes", "GET") class ScheduleTypeQuery implements IReturn, IConvertible, IGet { ScheduleTypeQuery(); ScheduleTypeQuery.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => ScheduleTypeResponse(); getResponseTypeName() => "ScheduleTypeResponse"; getTypeName() => "ScheduleTypeQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'ScheduleTypeResponse': TypeInfo(TypeOf.Class, create:() => ScheduleTypeResponse()), 'ScheduleTypeQuery': TypeInfo(TypeOf.Class, create:() => ScheduleTypeQuery()), });