/* Options: Date: 2026-06-22 20:33:27 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: QboPendingQuotesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class QboPendingQuote implements IConvertible { int? QuoteID; String? QuoteUID; String? Name; String? Status; DateTime? QuoteDate; double? Total; String? CustomerName; QboPendingQuote({this.QuoteID,this.QuoteUID,this.Name,this.Status,this.QuoteDate,this.Total,this.CustomerName}); QboPendingQuote.fromJson(Map json) { fromMap(json); } fromMap(Map json) { QuoteID = json['QuoteID']; QuoteUID = json['QuoteUID']; Name = json['Name']; Status = json['Status']; QuoteDate = JsonConverters.fromJson(json['QuoteDate'],'DateTime',context!); Total = JsonConverters.toDouble(json['Total']); CustomerName = json['CustomerName']; return this; } Map toJson() => { 'QuoteID': QuoteID, 'QuoteUID': QuoteUID, 'Name': Name, 'Status': Status, 'QuoteDate': JsonConverters.toJson(QuoteDate,'DateTime',context!), 'Total': Total, 'CustomerName': CustomerName }; getTypeName() => "QboPendingQuote"; TypeContext? context = _ctx; } class QboPendingQuotesResponse implements IConvertible { List? Quotes = []; ResponseStatus? ResponseStatus; QboPendingQuotesResponse({this.Quotes,this.ResponseStatus}); QboPendingQuotesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Quotes = JsonConverters.fromJson(json['Quotes'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Quotes': JsonConverters.toJson(Quotes,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "QboPendingQuotesResponse"; TypeContext? context = _ctx; } // @Route("/v1/qbo/pending-quotes", "GET,OPTIONS") class QboPendingQuotesRequest implements IReturn, IConvertible, IGet { QboPendingQuotesRequest(); QboPendingQuotesRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => QboPendingQuotesResponse(); getResponseTypeName() => "QboPendingQuotesResponse"; getTypeName() => "QboPendingQuotesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'QboPendingQuote': TypeInfo(TypeOf.Class, create:() => QboPendingQuote()), 'QboPendingQuotesResponse': TypeInfo(TypeOf.Class, create:() => QboPendingQuotesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'QboPendingQuotesRequest': TypeInfo(TypeOf.Class, create:() => QboPendingQuotesRequest()), });