/* Options: Date: 2026-06-23 00:04:13 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: PmUpdateProjectRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PmActionResponse implements IConvertible { bool? Success; String? Message; int? NewId; ResponseStatus? ResponseStatus; PmActionResponse({this.Success,this.Message,this.NewId,this.ResponseStatus}); PmActionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Success = json['Success']; Message = json['Message']; NewId = json['NewId']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Success': Success, 'Message': Message, 'NewId': NewId, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "PmActionResponse"; TypeContext? context = _ctx; } // @Route("/v1/pm/project", "POST,OPTIONS") class PmUpdateProjectRequest implements IReturn, IConvertible, IPost { int? ProjectID; String? Name; double? Budget; int? StatusID; String? StartDate; String? EndDate; PmUpdateProjectRequest({this.ProjectID,this.Name,this.Budget,this.StatusID,this.StartDate,this.EndDate}); PmUpdateProjectRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectID = json['ProjectID']; Name = json['Name']; Budget = JsonConverters.toDouble(json['Budget']); StatusID = json['StatusID']; StartDate = json['StartDate']; EndDate = json['EndDate']; return this; } Map toJson() => { 'ProjectID': ProjectID, 'Name': Name, 'Budget': Budget, 'StatusID': StatusID, 'StartDate': StartDate, 'EndDate': EndDate }; createResponse() => PmActionResponse(); getResponseTypeName() => "PmActionResponse"; getTypeName() => "PmUpdateProjectRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PmActionResponse': TypeInfo(TypeOf.Class, create:() => PmActionResponse()), 'PmUpdateProjectRequest': TypeInfo(TypeOf.Class, create:() => PmUpdateProjectRequest()), });