/* Options: Date: 2025-12-06 10:41:48 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: WebixGanttAssignmentChangeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class WebixGanttAssignment implements IConvertible { String? id; String? resource; String? task; String? value; WebixGanttAssignment({this.id,this.resource,this.task,this.value}); WebixGanttAssignment.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; resource = json['resource']; task = json['task']; value = json['value']; return this; } Map toJson() => { 'id': id, 'resource': resource, 'task': task, 'value': value }; getTypeName() => "WebixGanttAssignment"; TypeContext? context = _ctx; } class WebixGanttAssignmentResponse extends WebixGanttAssignment implements IConvertible { WebixGanttAssignmentResponse(); WebixGanttAssignmentResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "WebixGanttAssignmentResponse"; TypeContext? context = _ctx; } // @Route("/v1/webix/gantt/assignments", "POST") // @Route("/v1/webix/gantt/assignments/{id}", "DELETE,PUT,OPTIONS") class WebixGanttAssignmentChangeRequest extends WebixGanttAssignment implements IReturn, IConvertible, IPost { WebixGanttAssignmentChangeRequest(); WebixGanttAssignmentChangeRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => WebixGanttAssignmentResponse(); getResponseTypeName() => "WebixGanttAssignmentResponse"; getTypeName() => "WebixGanttAssignmentChangeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'WebixGanttAssignment': TypeInfo(TypeOf.Class, create:() => WebixGanttAssignment()), 'WebixGanttAssignmentResponse': TypeInfo(TypeOf.Class, create:() => WebixGanttAssignmentResponse()), 'WebixGanttAssignmentChangeRequest': TypeInfo(TypeOf.Class, create:() => WebixGanttAssignmentChangeRequest()), });