/* Options: Date: 2025-07-01 07:21:27 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SearchInventoryRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @DataContract class BaseRequest implements IConvertible { /** * This is your AIM API Key provided by Tri-Tech */ // @DataMember // @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="header") String? ApiKey; // @DataMember // @ApiMember(DataType="string", Name="OAuthToken", ParameterType="header") String? OAuthToken; BaseRequest({this.ApiKey,this.OAuthToken}); BaseRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApiKey = json['ApiKey']; OAuthToken = json['OAuthToken']; return this; } Map toJson() => { 'ApiKey': ApiKey, 'OAuthToken': OAuthToken }; getTypeName() => "BaseRequest"; TypeContext? context = _ctx; } // @DataContract class BaseSecureRequest extends BaseRequest implements IConvertible { /** * */ // @DataMember // @ApiMember(DataType="string", Description="", Name="Token", ParameterType="Header") String? Token; /** * */ // @DataMember // @ApiMember(DataType="string", Description="", Name="DeviceId", ParameterType="Header") String? DeviceId; /** * */ // @DataMember // @ApiMember(DataType="string", Description="", IsRequired=true, Name="AppId", ParameterType="Header") String? AppId; BaseSecureRequest({this.Token,this.DeviceId,this.AppId}); BaseSecureRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Token = json['Token']; DeviceId = json['DeviceId']; AppId = json['AppId']; return this; } Map toJson() => super.toJson()..addAll({ 'Token': Token, 'DeviceId': DeviceId, 'AppId': AppId }); getTypeName() => "BaseSecureRequest"; TypeContext? context = _ctx; } // @DataContract class ImageInfo implements IConvertible { // @DataMember String? Url; // @DataMember String? ImageStream; // @DataMember String? ImageSize; // @DataMember String? ErrorMessage; // @DataMember int? UriPk; ImageInfo({this.Url,this.ImageStream,this.ImageSize,this.ErrorMessage,this.UriPk}); ImageInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Url = json['Url']; ImageStream = json['ImageStream']; ImageSize = json['ImageSize']; ErrorMessage = json['ErrorMessage']; UriPk = json['UriPk']; return this; } Map toJson() => { 'Url': Url, 'ImageStream': ImageStream, 'ImageSize': ImageSize, 'ErrorMessage': ErrorMessage, 'UriPk': UriPk }; getTypeName() => "ImageInfo"; TypeContext? context = _ctx; } // @DataContract abstract class BindableObject { BindableObject(); BindableObject.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "BindableObject"; TypeContext? context = _ctx; } // @DataContract class SearchInventoryResultSet extends BindableObject implements IAIMInventoryRecord, IConvertible { // @DataMember int? Pk; // @DataMember String? Description; // @DataMember String? InventoryType; // @DataMember String? Manufacturer; // @DataMember String? Model; // @DataMember double? Category; // @DataMember String? CategoryDescription; // @DataMember double? SubCategory; // @DataMember String? SubCategoryDescription; // @DataMember String? SelectionCode; // @DataMember String? SelectionCodeDescription; // @DataMember String? Sku; // @DataMember String? Mpn; // @DataMember bool? Discontinued; // @DataMember String? Attribute1; // @DataMember String? Attribute2; // @DataMember String? Attribute3; // @DataMember String? Attribute4; // @DataMember String? Attribute5; // @DataMember String? Attribute6; // @DataMember String? Attribute7; // @DataMember String? Attribute8; // @DataMember String? Attribute9; // @DataMember String? Attribute10; // @DataMember String? Attribute11; // @DataMember String? Attribute12; // @DataMember String? Attribute13; // @DataMember String? Attribute14; // @DataMember String? Attribute15; // @DataMember String? Attribute16; // @DataMember String? Attribute17; // @DataMember String? Attribute18; // @DataMember String? Attribute19; // @DataMember String? Attribute20; // @DataMember double? ComputerQuantity; // @DataMember double? OurPrice; // @DataMember double? RetailPrice; // @DataMember double? ActiveePrice; // @DataMember double? PriceA; // @DataMember double? PriceB; // @DataMember double? PriceC; // @DataMember double? MinPrice; // @DataMember double? AvailableQuantity; // @DataMember bool? IsMedia; // @DataMember bool? IsPackage; // @DataMember bool? HasImage; // @DataMember String? SearchTerm; // @DataMember String? Keywords; // @DataMember String? KeywordsOrigin; // @DataMember bool? Deleted; // @DataMember DateTime? TimeStamp; SearchInventoryResultSet({this.Pk,this.Description,this.InventoryType,this.Manufacturer,this.Model,this.Category,this.CategoryDescription,this.SubCategory,this.SubCategoryDescription,this.SelectionCode,this.SelectionCodeDescription,this.Sku,this.Mpn,this.Discontinued,this.Attribute1,this.Attribute2,this.Attribute3,this.Attribute4,this.Attribute5,this.Attribute6,this.Attribute7,this.Attribute8,this.Attribute9,this.Attribute10,this.Attribute11,this.Attribute12,this.Attribute13,this.Attribute14,this.Attribute15,this.Attribute16,this.Attribute17,this.Attribute18,this.Attribute19,this.Attribute20,this.ComputerQuantity,this.OurPrice,this.RetailPrice,this.ActiveePrice,this.PriceA,this.PriceB,this.PriceC,this.MinPrice,this.AvailableQuantity,this.IsMedia,this.IsPackage,this.HasImage,this.SearchTerm,this.Keywords,this.KeywordsOrigin,this.Deleted,this.TimeStamp}); SearchInventoryResultSet.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Pk = json['Pk']; Description = json['Description']; InventoryType = json['InventoryType']; Manufacturer = json['Manufacturer']; Model = json['Model']; Category = JsonConverters.toDouble(json['Category']); CategoryDescription = json['CategoryDescription']; SubCategory = JsonConverters.toDouble(json['SubCategory']); SubCategoryDescription = json['SubCategoryDescription']; SelectionCode = json['SelectionCode']; SelectionCodeDescription = json['SelectionCodeDescription']; Sku = json['Sku']; Mpn = json['Mpn']; Discontinued = json['Discontinued']; Attribute1 = json['Attribute1']; Attribute2 = json['Attribute2']; Attribute3 = json['Attribute3']; Attribute4 = json['Attribute4']; Attribute5 = json['Attribute5']; Attribute6 = json['Attribute6']; Attribute7 = json['Attribute7']; Attribute8 = json['Attribute8']; Attribute9 = json['Attribute9']; Attribute10 = json['Attribute10']; Attribute11 = json['Attribute11']; Attribute12 = json['Attribute12']; Attribute13 = json['Attribute13']; Attribute14 = json['Attribute14']; Attribute15 = json['Attribute15']; Attribute16 = json['Attribute16']; Attribute17 = json['Attribute17']; Attribute18 = json['Attribute18']; Attribute19 = json['Attribute19']; Attribute20 = json['Attribute20']; ComputerQuantity = JsonConverters.toDouble(json['ComputerQuantity']); OurPrice = JsonConverters.toDouble(json['OurPrice']); RetailPrice = JsonConverters.toDouble(json['RetailPrice']); ActiveePrice = JsonConverters.toDouble(json['ActiveePrice']); PriceA = JsonConverters.toDouble(json['PriceA']); PriceB = JsonConverters.toDouble(json['PriceB']); PriceC = JsonConverters.toDouble(json['PriceC']); MinPrice = JsonConverters.toDouble(json['MinPrice']); AvailableQuantity = JsonConverters.toDouble(json['AvailableQuantity']); IsMedia = json['IsMedia']; IsPackage = json['IsPackage']; HasImage = json['HasImage']; SearchTerm = json['SearchTerm']; Keywords = json['Keywords']; KeywordsOrigin = json['KeywordsOrigin']; Deleted = json['Deleted']; TimeStamp = JsonConverters.fromJson(json['TimeStamp'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Pk': Pk, 'Description': Description, 'InventoryType': InventoryType, 'Manufacturer': Manufacturer, 'Model': Model, 'Category': Category, 'CategoryDescription': CategoryDescription, 'SubCategory': SubCategory, 'SubCategoryDescription': SubCategoryDescription, 'SelectionCode': SelectionCode, 'SelectionCodeDescription': SelectionCodeDescription, 'Sku': Sku, 'Mpn': Mpn, 'Discontinued': Discontinued, 'Attribute1': Attribute1, 'Attribute2': Attribute2, 'Attribute3': Attribute3, 'Attribute4': Attribute4, 'Attribute5': Attribute5, 'Attribute6': Attribute6, 'Attribute7': Attribute7, 'Attribute8': Attribute8, 'Attribute9': Attribute9, 'Attribute10': Attribute10, 'Attribute11': Attribute11, 'Attribute12': Attribute12, 'Attribute13': Attribute13, 'Attribute14': Attribute14, 'Attribute15': Attribute15, 'Attribute16': Attribute16, 'Attribute17': Attribute17, 'Attribute18': Attribute18, 'Attribute19': Attribute19, 'Attribute20': Attribute20, 'ComputerQuantity': ComputerQuantity, 'OurPrice': OurPrice, 'RetailPrice': RetailPrice, 'ActiveePrice': ActiveePrice, 'PriceA': PriceA, 'PriceB': PriceB, 'PriceC': PriceC, 'MinPrice': MinPrice, 'AvailableQuantity': AvailableQuantity, 'IsMedia': IsMedia, 'IsPackage': IsPackage, 'HasImage': HasImage, 'SearchTerm': SearchTerm, 'Keywords': Keywords, 'KeywordsOrigin': KeywordsOrigin, 'Deleted': Deleted, 'TimeStamp': JsonConverters.toJson(TimeStamp,'DateTime',context!) }); getTypeName() => "SearchInventoryResultSet"; TypeContext? context = _ctx; } // @DataContract class BaseResponse implements IConvertible { /** * */ // @DataMember // @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") BaseResponseResult? Status; BaseResponse({this.Status}); BaseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Status = JsonConverters.fromJson(json['Status'],'BaseResponseResult',context!); return this; } Map toJson() => { 'Status': JsonConverters.toJson(Status,'BaseResponseResult',context!) }; getTypeName() => "BaseResponse"; TypeContext? context = _ctx; } // @DataContract class InventoryDetailResponse extends BaseResponse implements IConvertible { // @DataMember int? SadPk; // @DataMember String? InvType; // @DataMember String? Model; // @DataMember String? Description; // @DataMember String? Mfg; // @DataMember int? Category; // @DataMember String? CategoryDescription; // @DataMember int? SubCategory; // @DataMember String? SubCategoryDescription; // @DataMember String? SelectionCode; // @DataMember String? SelectionCodeDescription; // @DataMember bool? SellSerialsOnline; // @DataMember String? Notes; // @DataMember List? Images; // @DataMember bool? HasImages; // @DataMember List? VariantDetails; // @DataMember List? AddOns; // @DataMember ActiveEInfo? ActiveEInfo; // @DataMember double? Weight; // @DataMember String? Unit; // @DataMember double? ShipCharge; InventoryDetailResponse({this.SadPk,this.InvType,this.Model,this.Description,this.Mfg,this.Category,this.CategoryDescription,this.SubCategory,this.SubCategoryDescription,this.SelectionCode,this.SelectionCodeDescription,this.SellSerialsOnline,this.Notes,this.Images,this.HasImages,this.VariantDetails,this.AddOns,this.ActiveEInfo,this.Weight,this.Unit,this.ShipCharge}); InventoryDetailResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SadPk = json['SadPk']; InvType = json['InvType']; Model = json['Model']; Description = json['Description']; Mfg = json['Mfg']; Category = json['Category']; CategoryDescription = json['CategoryDescription']; SubCategory = json['SubCategory']; SubCategoryDescription = json['SubCategoryDescription']; SelectionCode = json['SelectionCode']; SelectionCodeDescription = json['SelectionCodeDescription']; SellSerialsOnline = json['SellSerialsOnline']; Notes = json['Notes']; Images = JsonConverters.fromJson(json['Images'],'List',context!); HasImages = json['HasImages']; VariantDetails = JsonConverters.fromJson(json['VariantDetails'],'List',context!); AddOns = JsonConverters.fromJson(json['AddOns'],'List',context!); ActiveEInfo = JsonConverters.fromJson(json['ActiveEInfo'],'ActiveEInfo',context!); Weight = JsonConverters.toDouble(json['Weight']); Unit = json['Unit']; ShipCharge = JsonConverters.toDouble(json['ShipCharge']); return this; } Map toJson() => super.toJson()..addAll({ 'SadPk': SadPk, 'InvType': InvType, 'Model': Model, 'Description': Description, 'Mfg': Mfg, 'Category': Category, 'CategoryDescription': CategoryDescription, 'SubCategory': SubCategory, 'SubCategoryDescription': SubCategoryDescription, 'SelectionCode': SelectionCode, 'SelectionCodeDescription': SelectionCodeDescription, 'SellSerialsOnline': SellSerialsOnline, 'Notes': Notes, 'Images': JsonConverters.toJson(Images,'List',context!), 'HasImages': HasImages, 'VariantDetails': JsonConverters.toJson(VariantDetails,'List',context!), 'AddOns': JsonConverters.toJson(AddOns,'List',context!), 'ActiveEInfo': JsonConverters.toJson(ActiveEInfo,'ActiveEInfo',context!), 'Weight': Weight, 'Unit': Unit, 'ShipCharge': ShipCharge }); getTypeName() => "InventoryDetailResponse"; TypeContext? context = _ctx; } // @DataContract class SearchInventoryApiResult extends SearchInventoryResultSet implements IConvertible { // @DataMember InventoryDetailResponse? Detail; // @DataMember ImageInfo? IconImage; // @DataMember double? CustomerPrice; SearchInventoryApiResult({this.Detail,this.IconImage,this.CustomerPrice}); SearchInventoryApiResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Detail = JsonConverters.fromJson(json['Detail'],'InventoryDetailResponse',context!); IconImage = JsonConverters.fromJson(json['IconImage'],'ImageInfo',context!); CustomerPrice = JsonConverters.toDouble(json['CustomerPrice']); return this; } Map toJson() => super.toJson()..addAll({ 'Detail': JsonConverters.toJson(Detail,'InventoryDetailResponse',context!), 'IconImage': JsonConverters.toJson(IconImage,'ImageInfo',context!), 'CustomerPrice': CustomerPrice }); getTypeName() => "SearchInventoryApiResult"; TypeContext? context = _ctx; } abstract class IAIMInventoryRecord { String? LongDesc; int? InvDesc_Cat; int? InvDesc_Sub; String? InvDesc_Mfg; String? InvDesc_Model; String? InvDesc_Desc; String? InvDesc_CatDesc; String? InvDesc_SubDesc; String? InvDesc_Locator; String? InvDesc_StockNum; String? InvDesc_SelDesc; String? InvDesc_Sku; String? InvDesc_SelCode; String? InvDesc_Mpn; String? InvDesc_Att1; String? InvDesc_Att2; String? InvDesc_Att3; String? InvDesc_Att4; String? InvDesc_Att5; String? InvDesc_Att6; } // @DataContract class SearchInventoryResponse extends BaseResponse implements IConvertible { // @DataMember int? StartOffset; // @DataMember int? RecordCount; // @DataMember int? RemainingRecords; // @DataMember int? TotalRecords; // @DataMember // @ApiMember(Name="Records", ParameterType="body") List? Records; SearchInventoryResponse({this.StartOffset,this.RecordCount,this.RemainingRecords,this.TotalRecords,this.Records}); SearchInventoryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); StartOffset = json['StartOffset']; RecordCount = json['RecordCount']; RemainingRecords = json['RemainingRecords']; TotalRecords = json['TotalRecords']; Records = JsonConverters.fromJson(json['Records'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'StartOffset': StartOffset, 'RecordCount': RecordCount, 'RemainingRecords': RemainingRecords, 'TotalRecords': TotalRecords, 'Records': JsonConverters.toJson(Records,'List',context!) }); getTypeName() => "SearchInventoryResponse"; TypeContext? context = _ctx; } /** * SearchInventoryRequires active-e Inventory Service */ // @Route("/SearchInventory", "POST, GET") // @DataContract class SearchInventoryRequest extends BaseSecureRequest implements IReturn, IConvertible, IPost { /** * If sent, only items from the passed location will be returned */ // @DataMember // @ApiMember(DataType="integer", Description="If sent, only items from the passed location will be returned", Format="int32", Name="LocFk") int? LocFk; /** * For Internal Use Only */ // @DataMember // @ApiMember(DataType="integer", Description="For Internal Use Only", Format="int32", Name="MfgFk") int? MfgFk; /** * For Internal Use Only */ // @DataMember // @ApiMember(DataType="integer", Description="For Internal Use Only", Format="int32", Name="CatFk") int? CatFk; /** * For Internal Use Only */ // @DataMember // @ApiMember(DataType="integer", Description="For Internal Use Only", Format="int32", Name="SubFk") int? SubFk; /** * For Internal Use Only */ // @DataMember // @ApiMember(DataType="integer", Description="For Internal Use Only", Format="int32", Name="SelFk") int? SelFk; /** * If sent, only items from the passed category# will be returned */ // @DataMember // @ApiMember(DataType="integer", Description="If sent, only items from the passed category# will be returned", Format="int32", Name="Cat") int? Cat; /** * If sent, only items from the passed subcategory# will be returned. Must be used in conjunction with the Cat parameter. */ // @DataMember // @ApiMember(DataType="integer", Description="If sent, only items from the passed subcategory# will be returned. Must be used in conjunction with the Cat parameter.", Format="int32", Name="Sub") int? Sub; /** * If sent, only items with the passed selection code will be returned */ // @DataMember // @ApiMember(Description="If sent, only items with the passed selection code will be returned", Name="SelectionCode") String? SelectionCode; /** * If sent, only items with the passed mfg code will be returned */ // @DataMember // @ApiMember(Description="If sent, only items with the passed mfg code will be returned", Name="Mfg") String? Mfg; /** * Serialized Items will be included in the search results */ // @DataMember // @ApiMember(DataType="boolean", Description="Serialized Items will be included in the search results", Name="IncludeSerials") bool? IncludeSerials; /** * Media Items will be included in the search results */ // @DataMember // @ApiMember(DataType="boolean", Description="Media Items will be included in the search results", Name="IncludeMedia") bool? IncludeMedia; /** * Non-Serialized, Non-Media Items will be included in the search results */ // @DataMember // @ApiMember(DataType="boolean", Description="Non-Serialized, Non-Media Items will be included in the search results", Name="IncludeAccessories") bool? IncludeAccessories; /** * Package Deal Items will be included in the search results */ // @DataMember // @ApiMember(DataType="boolean", Description="Package Deal Items will be included in the search results", Name="IncludePackages") bool? IncludePackages; /** * The string to be searched for */ // @DataMember // @ApiMember(Description="The string to be searched for", Name="SearchStr") String? SearchStr; /** * If set, only items with the exact model contained in the search string will be returned */ // @DataMember // @ApiMember(DataType="boolean", Description="If set, only items with the exact model contained in the search string will be returned", Name="ExactModel") bool? ExactModel; /** * The Starting Offse */ // @DataMember // @ApiMember(DataType="integer", Description="The Starting Offse", Format="int64", Name="StartOffset") int? StartOffset; /** * The # of records to be returned */ // @DataMember // @ApiMember(DataType="integer", Description="The # of records to be returned", Format="int64", Name="RecordCount") int? RecordCount; /** * If set, Icon Image Urls will be included in the result, if available */ // @DataMember // @ApiMember(DataType="boolean", Description="If set, Icon Image Urls will be included in the result, if available", Name="IncludeIconImage") bool? IncludeIconImage; /** * If sent, only items from the passed category IDs will be returned */ // @DataMember // @ApiMember(Description="If sent, only items from the passed category IDs will be returned", Name="CatIdList") List? CatIdList; /** * If sent, only items from the passed subcategory IDs will be returned */ // @DataMember // @ApiMember(Description="If sent, only items from the passed subcategory IDs will be returned", Name="SubIdList") List? SubIdList; /** * If sent, only items from the passed mfg IDs will be returned */ // @DataMember // @ApiMember(Description="If sent, only items from the passed mfg IDs will be returned", Name="MfgIdList") List? MfgIdList; /** * If sent, only items from the passed selection code IDs will be returned */ // @DataMember // @ApiMember(Description="If sent, only items from the passed selection code IDs will be returned", Name="SelIdList") List? SelIdList; /** * Deleted Items will be included in the search results */ // @DataMember // @ApiMember(DataType="boolean", Description="Deleted Items will be included in the search results", Name="IncludeDeleted") bool? IncludeDeleted; /** * If sent, only inventory changed on or after this date/time will be included */ // @DataMember // @ApiMember(DataType="string", Description="If sent, only inventory changed on or after this date/time will be included", Format="date", Name="ChangedDate", ParameterType="query") DateTime? ChangedDate; /** * Package Deal Line Items will be included */ // @DataMember // @ApiMember(DataType="boolean", Description="Package Deal Line Items will be included", Name="IncludePackageLineItems") bool? IncludePackageLineItems; /** * If set, the InventoryDetails object for each item will also be returned. This is much slower. */ // @DataMember // @ApiMember(DataType="boolean", Description="If set, the InventoryDetails object for each item will also be returned. This is much slower.", Name="IncludeDetails") bool? IncludeDetails; /** * If set, the InventoryDetails object for each item include images. This is much slower and only works with the IncludeDetails parameter. */ // @DataMember // @ApiMember(DataType="boolean", Description="If set, the InventoryDetails object for each item include images. This is much slower and only works with the IncludeDetails parameter.", Name="IncludeDetails") bool? IncludeImages; /** * If sent, only items with an Available Quantity greater then or equal to the sent value will be returned. Use of this parameter requires that the LocFk parameter also be sent. */ // @DataMember // @ApiMember(DataType="integer", Description="If sent, only items with an Available Quantity greater then or equal to the sent value will be returned. Use of this parameter requires that the LocFk parameter also be sent.", Format="int32", Name="MinimumAvailableQuantity") int? MinimumAvailableQuantity; SearchInventoryRequest({this.LocFk,this.MfgFk,this.CatFk,this.SubFk,this.SelFk,this.Cat,this.Sub,this.SelectionCode,this.Mfg,this.IncludeSerials,this.IncludeMedia,this.IncludeAccessories,this.IncludePackages,this.SearchStr,this.ExactModel,this.StartOffset,this.RecordCount,this.IncludeIconImage,this.CatIdList,this.SubIdList,this.MfgIdList,this.SelIdList,this.IncludeDeleted,this.ChangedDate,this.IncludePackageLineItems,this.IncludeDetails,this.IncludeImages,this.MinimumAvailableQuantity}); SearchInventoryRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); LocFk = json['LocFk']; MfgFk = json['MfgFk']; CatFk = json['CatFk']; SubFk = json['SubFk']; SelFk = json['SelFk']; Cat = json['Cat']; Sub = json['Sub']; SelectionCode = json['SelectionCode']; Mfg = json['Mfg']; IncludeSerials = json['IncludeSerials']; IncludeMedia = json['IncludeMedia']; IncludeAccessories = json['IncludeAccessories']; IncludePackages = json['IncludePackages']; SearchStr = json['SearchStr']; ExactModel = json['ExactModel']; StartOffset = json['StartOffset']; RecordCount = json['RecordCount']; IncludeIconImage = json['IncludeIconImage']; CatIdList = JsonConverters.fromJson(json['CatIdList'],'List',context!); SubIdList = JsonConverters.fromJson(json['SubIdList'],'List',context!); MfgIdList = JsonConverters.fromJson(json['MfgIdList'],'List',context!); SelIdList = JsonConverters.fromJson(json['SelIdList'],'List',context!); IncludeDeleted = json['IncludeDeleted']; ChangedDate = JsonConverters.fromJson(json['ChangedDate'],'DateTime',context!); IncludePackageLineItems = json['IncludePackageLineItems']; IncludeDetails = json['IncludeDetails']; IncludeImages = json['IncludeImages']; MinimumAvailableQuantity = json['MinimumAvailableQuantity']; return this; } Map toJson() => super.toJson()..addAll({ 'LocFk': LocFk, 'MfgFk': MfgFk, 'CatFk': CatFk, 'SubFk': SubFk, 'SelFk': SelFk, 'Cat': Cat, 'Sub': Sub, 'SelectionCode': SelectionCode, 'Mfg': Mfg, 'IncludeSerials': IncludeSerials, 'IncludeMedia': IncludeMedia, 'IncludeAccessories': IncludeAccessories, 'IncludePackages': IncludePackages, 'SearchStr': SearchStr, 'ExactModel': ExactModel, 'StartOffset': StartOffset, 'RecordCount': RecordCount, 'IncludeIconImage': IncludeIconImage, 'CatIdList': JsonConverters.toJson(CatIdList,'List',context!), 'SubIdList': JsonConverters.toJson(SubIdList,'List',context!), 'MfgIdList': JsonConverters.toJson(MfgIdList,'List',context!), 'SelIdList': JsonConverters.toJson(SelIdList,'List',context!), 'IncludeDeleted': IncludeDeleted, 'ChangedDate': JsonConverters.toJson(ChangedDate,'DateTime',context!), 'IncludePackageLineItems': IncludePackageLineItems, 'IncludeDetails': IncludeDetails, 'IncludeImages': IncludeImages, 'MinimumAvailableQuantity': MinimumAvailableQuantity }); createResponse() => SearchInventoryResponse(); getResponseTypeName() => "SearchInventoryResponse"; getTypeName() => "SearchInventoryRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'active_ewebservice.biz', types: { 'BaseRequest': TypeInfo(TypeOf.Class, create:() => BaseRequest()), 'BaseSecureRequest': TypeInfo(TypeOf.Class, create:() => BaseSecureRequest()), 'ImageInfo': TypeInfo(TypeOf.Class, create:() => ImageInfo()), 'BindableObject': TypeInfo(TypeOf.AbstractClass), 'SearchInventoryResultSet': TypeInfo(TypeOf.Class, create:() => SearchInventoryResultSet()), 'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()), 'BaseResponseResult': TypeInfo(TypeOf.Class, create:() => BaseResponseResult()), 'InventoryDetailResponse': TypeInfo(TypeOf.Class, create:() => InventoryDetailResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'InventoryDetailByVariant': TypeInfo(TypeOf.Class, create:() => InventoryDetailByVariant()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AddOnDetail': TypeInfo(TypeOf.Class, create:() => AddOnDetail()), 'ActiveEInfo': TypeInfo(TypeOf.Class, create:() => ActiveEInfo()), 'SearchInventoryApiResult': TypeInfo(TypeOf.Class, create:() => SearchInventoryApiResult()), 'IAIMInventoryRecord': TypeInfo(TypeOf.Interface), 'SearchInventoryResponse': TypeInfo(TypeOf.Class, create:() => SearchInventoryResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SearchInventoryRequest': TypeInfo(TypeOf.Class, create:() => SearchInventoryRequest()), });