/* Options: Date: 2026-07-08 19:28:53 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: JobDependencyUpdateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class JobDependency implements IConvertible { int? JobDependencyID; String? TenantId; int? ProjectID; int? PredecessorJobID; int? SuccessorJobID; String? DependencyType; int? LagDays; String? CreatedBy; DateTime? CreatedAt; DateTime? UpdatedAt; JobDependency({this.JobDependencyID,this.TenantId,this.ProjectID,this.PredecessorJobID,this.SuccessorJobID,this.DependencyType,this.LagDays,this.CreatedBy,this.CreatedAt,this.UpdatedAt}); JobDependency.fromJson(Map json) { fromMap(json); } fromMap(Map json) { JobDependencyID = json['JobDependencyID']; TenantId = json['TenantId']; ProjectID = json['ProjectID']; PredecessorJobID = json['PredecessorJobID']; SuccessorJobID = json['SuccessorJobID']; DependencyType = json['DependencyType']; LagDays = json['LagDays']; CreatedBy = json['CreatedBy']; CreatedAt = JsonConverters.fromJson(json['CreatedAt'],'DateTime',context!); UpdatedAt = JsonConverters.fromJson(json['UpdatedAt'],'DateTime',context!); return this; } Map toJson() => { 'JobDependencyID': JobDependencyID, 'TenantId': TenantId, 'ProjectID': ProjectID, 'PredecessorJobID': PredecessorJobID, 'SuccessorJobID': SuccessorJobID, 'DependencyType': DependencyType, 'LagDays': LagDays, 'CreatedBy': CreatedBy, 'CreatedAt': JsonConverters.toJson(CreatedAt,'DateTime',context!), 'UpdatedAt': JsonConverters.toJson(UpdatedAt,'DateTime',context!) }; getTypeName() => "JobDependency"; TypeContext? context = _ctx; } class JobDependencyResponse implements IConvertible { ResponseStatus? ResponseStatus; int? ProjectID; List? Dependencies = []; JobDependencyResponse({this.ResponseStatus,this.ProjectID,this.Dependencies}); JobDependencyResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ProjectID = json['ProjectID']; Dependencies = JsonConverters.fromJson(json['Dependencies'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ProjectID': ProjectID, 'Dependencies': JsonConverters.toJson(Dependencies,'List',context!) }; getTypeName() => "JobDependencyResponse"; TypeContext? context = _ctx; } // @Route("/v1/project/{ProjectID}/dependencies/{JobDependencyID}", "PUT,OPTIONS") class JobDependencyUpdateRequest implements IReturn, IConvertible, IPut { int? ProjectID; int? JobDependencyID; String? DependencyType; int? LagDays; JobDependencyUpdateRequest({this.ProjectID,this.JobDependencyID,this.DependencyType,this.LagDays}); JobDependencyUpdateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectID = json['ProjectID']; JobDependencyID = json['JobDependencyID']; DependencyType = json['DependencyType']; LagDays = json['LagDays']; return this; } Map toJson() => { 'ProjectID': ProjectID, 'JobDependencyID': JobDependencyID, 'DependencyType': DependencyType, 'LagDays': LagDays }; createResponse() => JobDependencyResponse(); getResponseTypeName() => "JobDependencyResponse"; getTypeName() => "JobDependencyUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'JobDependency': TypeInfo(TypeOf.Class, create:() => JobDependency()), 'JobDependencyResponse': TypeInfo(TypeOf.Class, create:() => JobDependencyResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'JobDependencyUpdateRequest': TypeInfo(TypeOf.Class, create:() => JobDependencyUpdateRequest()), });