/* Options: Date: 2025-12-06 06:10:46 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: ProjectStatusRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ProjectStatus implements IConvertible { int? ProjectStatusID; String? StatusName; String? StatusDescription; int? ProgressionOrder; bool? EndOfLine; ProjectStatus({this.ProjectStatusID,this.StatusName,this.StatusDescription,this.ProgressionOrder,this.EndOfLine}); ProjectStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectStatusID = json['ProjectStatusID']; StatusName = json['StatusName']; StatusDescription = json['StatusDescription']; ProgressionOrder = json['ProgressionOrder']; EndOfLine = json['EndOfLine']; return this; } Map toJson() => { 'ProjectStatusID': ProjectStatusID, 'StatusName': StatusName, 'StatusDescription': StatusDescription, 'ProgressionOrder': ProgressionOrder, 'EndOfLine': EndOfLine }; getTypeName() => "ProjectStatus"; TypeContext? context = _ctx; } class ProjectStatusResponse implements IConvertible { ResponseStatus? ResponseStatus; List? ProjectStatus = []; ProjectStatusResponse({this.ResponseStatus,this.ProjectStatus}); ProjectStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ProjectStatus = JsonConverters.fromJson(json['ProjectStatus'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ProjectStatus': JsonConverters.toJson(ProjectStatus,'List',context!) }; getTypeName() => "ProjectStatusResponse"; TypeContext? context = _ctx; } // @Route("/v1/ProjectStatus", "GET,POST,PUT,DELETE,OPTIONS") // @Route("/v1/ProjectStatus/{ProjectStatusID}", "GET,POST,PUT,DELETE,OPTIONS") class ProjectStatusRequest implements IReturn, IConvertible, IPost { int? ProjectStatusID; List? ProjectStatus = []; ProjectStatusRequest({this.ProjectStatusID,this.ProjectStatus}); ProjectStatusRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectStatusID = json['ProjectStatusID']; ProjectStatus = JsonConverters.fromJson(json['ProjectStatus'],'List',context!); return this; } Map toJson() => { 'ProjectStatusID': ProjectStatusID, 'ProjectStatus': JsonConverters.toJson(ProjectStatus,'List',context!) }; createResponse() => ProjectStatusResponse(); getResponseTypeName() => "ProjectStatusResponse"; getTypeName() => "ProjectStatusRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ProjectStatus': TypeInfo(TypeOf.Class, create:() => ProjectStatus()), 'ProjectStatusResponse': TypeInfo(TypeOf.Class, create:() => ProjectStatusResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ProjectStatusRequest': TypeInfo(TypeOf.Class, create:() => ProjectStatusRequest()), });