/* Options: Date: 2026-06-13 04:09: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: RfpContactsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RfpContactSummary implements IConvertible { int? ContactId; String? Name; double? Rate; String? Tags; RfpContactSummary({this.ContactId,this.Name,this.Rate,this.Tags}); RfpContactSummary.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactId = json['ContactId']; Name = json['Name']; Rate = JsonConverters.toDouble(json['Rate']); Tags = json['Tags']; return this; } Map toJson() => { 'ContactId': ContactId, 'Name': Name, 'Rate': Rate, 'Tags': Tags }; getTypeName() => "RfpContactSummary"; TypeContext? context = _ctx; } class RfpContactsResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Contacts = []; RfpContactsResponse({this.ResponseStatus,this.Contacts}); RfpContactsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Contacts = JsonConverters.fromJson(json['Contacts'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Contacts': JsonConverters.toJson(Contacts,'List',context!) }; getTypeName() => "RfpContactsResponse"; TypeContext? context = _ctx; } // @Route("/v1/Rfp/Contacts", "GET,OPTIONS") class RfpContactsRequest implements IReturn, IConvertible, IGet { String? Tag; bool? All; RfpContactsRequest({this.Tag,this.All}); RfpContactsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Tag = json['Tag']; All = json['All']; return this; } Map toJson() => { 'Tag': Tag, 'All': All }; createResponse() => RfpContactsResponse(); getResponseTypeName() => "RfpContactsResponse"; getTypeName() => "RfpContactsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RfpContactSummary': TypeInfo(TypeOf.Class, create:() => RfpContactSummary()), 'RfpContactsResponse': TypeInfo(TypeOf.Class, create:() => RfpContactsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RfpContactsRequest': TypeInfo(TypeOf.Class, create:() => RfpContactsRequest()), });