/* Options: Date: 2025-12-06 05:17: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: WebContactRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class WebContact implements IConvertible { String? Subject; String? Message; String? Sender; WebContact({this.Subject,this.Message,this.Sender}); WebContact.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Subject = json['Subject']; Message = json['Message']; Sender = json['Sender']; return this; } Map toJson() => { 'Subject': Subject, 'Message': Message, 'Sender': Sender }; getTypeName() => "WebContact"; TypeContext? context = _ctx; } class WebContactResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Contact = []; WebContactResponse({this.ResponseStatus,this.Contact}); WebContactResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Contact = JsonConverters.fromJson(json['Contact'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Contact': JsonConverters.toJson(Contact,'List',context!) }; getTypeName() => "WebContactResponse"; TypeContext? context = _ctx; } // @Route("/v1/WebContact", "POST,OPTIONS") class WebContactRequest implements IReturn, IConvertible, IPost { List? Contact = []; WebContactRequest({this.Contact}); WebContactRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Contact = JsonConverters.fromJson(json['Contact'],'List',context!); return this; } Map toJson() => { 'Contact': JsonConverters.toJson(Contact,'List',context!) }; createResponse() => WebContactResponse(); getResponseTypeName() => "WebContactResponse"; getTypeName() => "WebContactRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'WebContact': TypeInfo(TypeOf.Class, create:() => WebContact()), 'WebContactResponse': TypeInfo(TypeOf.Class, create:() => WebContactResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'WebContactRequest': TypeInfo(TypeOf.Class, create:() => WebContactRequest()), });