/* Options: Date: 2026-11-19 04:16:55 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: FormSubmissionBulkPreviewRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormSubmissionBulkResponse implements IConvertible { int? Change; int? Already; int? Cannot; List? Lines = []; String? StageLabel; String? AgentName; ResponseStatus? ResponseStatus; FormSubmissionBulkResponse({this.Change,this.Already,this.Cannot,this.Lines,this.StageLabel,this.AgentName,this.ResponseStatus}); FormSubmissionBulkResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Change = json['Change']; Already = json['Already']; Cannot = json['Cannot']; Lines = JsonConverters.fromJson(json['Lines'],'List',context!); StageLabel = json['StageLabel']; AgentName = json['AgentName']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Change': Change, 'Already': Already, 'Cannot': Cannot, 'Lines': JsonConverters.toJson(Lines,'List',context!), 'StageLabel': StageLabel, 'AgentName': AgentName, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormSubmissionBulkResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/submissions/bulk/preview", "POST") class FormSubmissionBulkPreviewRequest implements IReturn, IConvertible, IPost { String? Action; List? SubmissionUIDs = []; String? Stage; int? AgentId; FormSubmissionBulkPreviewRequest({this.Action,this.SubmissionUIDs,this.Stage,this.AgentId}); FormSubmissionBulkPreviewRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Action = json['Action']; SubmissionUIDs = JsonConverters.fromJson(json['SubmissionUIDs'],'List',context!); Stage = json['Stage']; AgentId = json['AgentId']; return this; } Map toJson() => { 'Action': Action, 'SubmissionUIDs': JsonConverters.toJson(SubmissionUIDs,'List',context!), 'Stage': Stage, 'AgentId': AgentId }; createResponse() => FormSubmissionBulkResponse(); getResponseTypeName() => "FormSubmissionBulkResponse"; getTypeName() => "FormSubmissionBulkPreviewRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormSubmissionBulkResponse': TypeInfo(TypeOf.Class, create:() => FormSubmissionBulkResponse()), 'FormSubmissionBulkPreviewRequest': TypeInfo(TypeOf.Class, create:() => FormSubmissionBulkPreviewRequest()), });