/* Options: Date: 2026-11-22 22:03:09 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: EngineExpirySweepRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EngineExpirySweepResponse implements IConvertible { bool? Swept; String? Why; String? LocalDate; List? CertMilestones = []; List? DocMilestones = []; List? ListeningWorkflowIds = []; int? Steps; int? Claimed; int? Written; int? Released; ResponseStatus? ResponseStatus; EngineExpirySweepResponse({this.Swept,this.Why,this.LocalDate,this.CertMilestones,this.DocMilestones,this.ListeningWorkflowIds,this.Steps,this.Claimed,this.Written,this.Released,this.ResponseStatus}); EngineExpirySweepResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Swept = json['Swept']; Why = json['Why']; LocalDate = json['LocalDate']; CertMilestones = JsonConverters.fromJson(json['CertMilestones'],'List',context!); DocMilestones = JsonConverters.fromJson(json['DocMilestones'],'List',context!); ListeningWorkflowIds = JsonConverters.fromJson(json['ListeningWorkflowIds'],'List',context!); Steps = json['Steps']; Claimed = json['Claimed']; Written = json['Written']; Released = json['Released']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Swept': Swept, 'Why': Why, 'LocalDate': LocalDate, 'CertMilestones': JsonConverters.toJson(CertMilestones,'List',context!), 'DocMilestones': JsonConverters.toJson(DocMilestones,'List',context!), 'ListeningWorkflowIds': JsonConverters.toJson(ListeningWorkflowIds,'List',context!), 'Steps': Steps, 'Claimed': Claimed, 'Written': Written, 'Released': Released, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "EngineExpirySweepResponse"; TypeContext? context = _ctx; } // @Route("/v1/engine/sweeps/before-a-date", "GET,POST,OPTIONS") class EngineExpirySweepRequest implements IReturn, IConvertible, IGet { int? WorkflowId; EngineExpirySweepRequest({this.WorkflowId}); EngineExpirySweepRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { WorkflowId = json['WorkflowId']; return this; } Map toJson() => { 'WorkflowId': WorkflowId }; createResponse() => EngineExpirySweepResponse(); getResponseTypeName() => "EngineExpirySweepResponse"; getTypeName() => "EngineExpirySweepRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EngineExpirySweepResponse': TypeInfo(TypeOf.Class, create:() => EngineExpirySweepResponse()), 'EngineExpirySweepRequest': TypeInfo(TypeOf.Class, create:() => EngineExpirySweepRequest()), });