/* Options: Date: 2026-11-30 03:11:28 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: FormGoSentRemoveRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormGoSentRow implements IConvertible { int? Id; String? Name; String? Position; String? FirstSentAt; String? FirstSentBy; String? LastSentAt; String? LastSentBy; int? Times; String? How; String? Went; String? Where; bool? CanRemove; FormGoSentRow({this.Id,this.Name,this.Position,this.FirstSentAt,this.FirstSentBy,this.LastSentAt,this.LastSentBy,this.Times,this.How,this.Went,this.Where,this.CanRemove}); FormGoSentRow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Position = json['Position']; FirstSentAt = json['FirstSentAt']; FirstSentBy = json['FirstSentBy']; LastSentAt = json['LastSentAt']; LastSentBy = json['LastSentBy']; Times = json['Times']; How = json['How']; Went = json['Went']; Where = json['Where']; CanRemove = json['CanRemove']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Position': Position, 'FirstSentAt': FirstSentAt, 'FirstSentBy': FirstSentBy, 'LastSentAt': LastSentAt, 'LastSentBy': LastSentBy, 'Times': Times, 'How': How, 'Went': Went, 'Where': Where, 'CanRemove': CanRemove }; getTypeName() => "FormGoSentRow"; TypeContext? context = _ctx; } class FormGoSentResponse implements IConvertible { List? Rows = []; String? Message; ResponseStatus? ResponseStatus; FormGoSentResponse({this.Rows,this.Message,this.ResponseStatus}); FormGoSentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Rows = JsonConverters.fromJson(json['Rows'],'List',context!); Message = json['Message']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Rows': JsonConverters.toJson(Rows,'List',context!), 'Message': Message, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormGoSentResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/go-sent/remove", "POST") class FormGoSentRemoveRequest implements IReturn, IConvertible, IPost { String? FormUID; int? Worker; FormGoSentRemoveRequest({this.FormUID,this.Worker}); FormGoSentRemoveRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; Worker = json['Worker']; return this; } Map toJson() => { 'FormUID': FormUID, 'Worker': Worker }; createResponse() => FormGoSentResponse(); getResponseTypeName() => "FormGoSentResponse"; getTypeName() => "FormGoSentRemoveRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormGoSentRow': TypeInfo(TypeOf.Class, create:() => FormGoSentRow()), 'FormGoSentResponse': TypeInfo(TypeOf.Class, create:() => FormGoSentResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormGoSentRemoveRequest': TypeInfo(TypeOf.Class, create:() => FormGoSentRemoveRequest()), });