/* Options: Date: 2025-12-06 07:09:00 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: ContactStatusRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ContactStatus implements IConvertible { int? ContactStatusId; String? Description; ContactStatus({this.ContactStatusId,this.Description}); ContactStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactStatusId = json['ContactStatusId']; Description = json['Description']; return this; } Map toJson() => { 'ContactStatusId': ContactStatusId, 'Description': Description }; getTypeName() => "ContactStatus"; TypeContext? context = _ctx; } class ContactStatusResponse implements IConvertible { ResponseStatus? ResponseStatus; List? ContactStatus = []; ContactStatusResponse({this.ResponseStatus,this.ContactStatus}); ContactStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ContactStatus = JsonConverters.fromJson(json['ContactStatus'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ContactStatus': JsonConverters.toJson(ContactStatus,'List',context!) }; getTypeName() => "ContactStatusResponse"; TypeContext? context = _ctx; } // @Route("/v1/ContactStatus", "GET") class ContactStatusRequest implements IReturn, IConvertible, IGet { ContactStatusRequest(); ContactStatusRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => ContactStatusResponse(); getResponseTypeName() => "ContactStatusResponse"; getTypeName() => "ContactStatusRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ContactStatus': TypeInfo(TypeOf.Class, create:() => ContactStatus()), 'ContactStatusResponse': TypeInfo(TypeOf.Class, create:() => ContactStatusResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ContactStatusRequest': TypeInfo(TypeOf.Class, create:() => ContactStatusRequest()), });