/* Options: Date: 2026-06-13 04:13:33 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: RfpCatalogSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CatalogItem implements IConvertible { int? Id; String? Name; CatalogItem({this.Id,this.Name}); CatalogItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; return this; } Map toJson() => { 'Id': Id, 'Name': Name }; getTypeName() => "CatalogItem"; TypeContext? context = _ctx; } class RfpCatalogSearchResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Items = []; RfpCatalogSearchResponse({this.ResponseStatus,this.Items}); RfpCatalogSearchResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Items = JsonConverters.fromJson(json['Items'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Items': JsonConverters.toJson(Items,'List',context!) }; getTypeName() => "RfpCatalogSearchResponse"; TypeContext? context = _ctx; } // @Route("/v1/Rfp/Catalog", "GET,OPTIONS") class RfpCatalogSearchRequest implements IReturn, IConvertible, IGet { String? Type; String? Q; RfpCatalogSearchRequest({this.Type,this.Q}); RfpCatalogSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Type = json['Type']; Q = json['Q']; return this; } Map toJson() => { 'Type': Type, 'Q': Q }; createResponse() => RfpCatalogSearchResponse(); getResponseTypeName() => "RfpCatalogSearchResponse"; getTypeName() => "RfpCatalogSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'CatalogItem': TypeInfo(TypeOf.Class, create:() => CatalogItem()), 'RfpCatalogSearchResponse': TypeInfo(TypeOf.Class, create:() => RfpCatalogSearchResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RfpCatalogSearchRequest': TypeInfo(TypeOf.Class, create:() => RfpCatalogSearchRequest()), });