/* Options: Date: 2025-12-06 07:25:28 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: WebixGanttResourceRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class WebixGanttResource implements IConvertible { String? id; String? name; String? category_id; String? avatar; String? unit; WebixGanttResource({this.id,this.name,this.category_id,this.avatar,this.unit}); WebixGanttResource.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; category_id = json['category_id']; avatar = json['avatar']; unit = json['unit']; return this; } Map toJson() => { 'id': id, 'name': name, 'category_id': category_id, 'avatar': avatar, 'unit': unit }; getTypeName() => "WebixGanttResource"; TypeContext? context = _ctx; } class WebixGanttResourceResponse extends WebixGanttResource implements IConvertible { WebixGanttResourceResponse(); WebixGanttResourceResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "WebixGanttResourceResponse"; TypeContext? context = _ctx; } // @Route("/v1/webix/gantt/resources", "GET,OPTIONS") class WebixGanttResourceRequest implements IReturn, IConvertible, IGet { WebixGanttResourceRequest(); WebixGanttResourceRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => WebixGanttResourceResponse(); getResponseTypeName() => "WebixGanttResourceResponse"; getTypeName() => "WebixGanttResourceRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'WebixGanttResource': TypeInfo(TypeOf.Class, create:() => WebixGanttResource()), 'WebixGanttResourceResponse': TypeInfo(TypeOf.Class, create:() => WebixGanttResourceResponse()), 'WebixGanttResourceRequest': TypeInfo(TypeOf.Class, create:() => WebixGanttResourceRequest()), });