/* Options: Date: 2026-11-30 03:11:34 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: FormGoSendRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormGoSendResponse implements IConvertible { int? Sent; int? Skipped; int? Reminders; int? Pushes; int? Texts; int? AppOnly; String? Message; bool? Replay; ResponseStatus? ResponseStatus; FormGoSendResponse({this.Sent,this.Skipped,this.Reminders,this.Pushes,this.Texts,this.AppOnly,this.Message,this.Replay,this.ResponseStatus}); FormGoSendResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Sent = json['Sent']; Skipped = json['Skipped']; Reminders = json['Reminders']; Pushes = json['Pushes']; Texts = json['Texts']; AppOnly = json['AppOnly']; Message = json['Message']; Replay = json['Replay']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Sent': Sent, 'Skipped': Skipped, 'Reminders': Reminders, 'Pushes': Pushes, 'Texts': Texts, 'AppOnly': AppOnly, 'Message': Message, 'Replay': Replay, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormGoSendResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/go-send", "POST") class FormGoSendRequest implements IReturn, IConvertible, IPost { String? FormUID; String? Mode; List? Positions = []; List? Workers = []; String? ClientKey; FormGoSendRequest({this.FormUID,this.Mode,this.Positions,this.Workers,this.ClientKey}); FormGoSendRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; Mode = json['Mode']; Positions = JsonConverters.fromJson(json['Positions'],'List',context!); Workers = JsonConverters.fromJson(json['Workers'],'List',context!); ClientKey = json['ClientKey']; return this; } Map toJson() => { 'FormUID': FormUID, 'Mode': Mode, 'Positions': JsonConverters.toJson(Positions,'List',context!), 'Workers': JsonConverters.toJson(Workers,'List',context!), 'ClientKey': ClientKey }; createResponse() => FormGoSendResponse(); getResponseTypeName() => "FormGoSendResponse"; getTypeName() => "FormGoSendRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormGoSendResponse': TypeInfo(TypeOf.Class, create:() => FormGoSendResponse()), 'FormGoSendRequest': TypeInfo(TypeOf.Class, create:() => FormGoSendRequest()), });