/* Options: Date: 2025-12-06 07:07:05 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: WebixGanttCategoryRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class WebixGanttCategory implements IConvertible { String? id; String? name; String? unit; WebixGanttCategory({this.id,this.name,this.unit}); WebixGanttCategory.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; unit = json['unit']; return this; } Map toJson() => { 'id': id, 'name': name, 'unit': unit }; getTypeName() => "WebixGanttCategory"; TypeContext? context = _ctx; } class WebixGanttCategoryResponse extends WebixGanttCategory implements IConvertible { WebixGanttCategoryResponse(); WebixGanttCategoryResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "WebixGanttCategoryResponse"; TypeContext? context = _ctx; } // @Route("/v1/webix/gantt/categories", "GET,OPTIONS") class WebixGanttCategoryRequest implements IReturn, IConvertible, IGet { WebixGanttCategoryRequest(); WebixGanttCategoryRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => WebixGanttCategoryResponse(); getResponseTypeName() => "WebixGanttCategoryResponse"; getTypeName() => "WebixGanttCategoryRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'WebixGanttCategory': TypeInfo(TypeOf.Class, create:() => WebixGanttCategory()), 'WebixGanttCategoryResponse': TypeInfo(TypeOf.Class, create:() => WebixGanttCategoryResponse()), 'WebixGanttCategoryRequest': TypeInfo(TypeOf.Class, create:() => WebixGanttCategoryRequest()), });