channel3-sdk
Version:
The official TypeScript/JavaScript SDK for Channel3 AI Shopping API
51 lines • 1.72 kB
JavaScript
;
/* tslint:disable */
/* eslint-disable */
/**
* FastAPI
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfSearchFilterPrice = instanceOfSearchFilterPrice;
exports.SearchFilterPriceFromJSON = SearchFilterPriceFromJSON;
exports.SearchFilterPriceFromJSONTyped = SearchFilterPriceFromJSONTyped;
exports.SearchFilterPriceToJSON = SearchFilterPriceToJSON;
exports.SearchFilterPriceToJSONTyped = SearchFilterPriceToJSONTyped;
/**
* Check if a given object implements the SearchFilterPrice interface.
*/
function instanceOfSearchFilterPrice(value) {
return true;
}
function SearchFilterPriceFromJSON(json) {
return SearchFilterPriceFromJSONTyped(json, false);
}
function SearchFilterPriceFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'min_price': json['min_price'] == null ? undefined : json['min_price'],
'max_price': json['max_price'] == null ? undefined : json['max_price'],
};
}
function SearchFilterPriceToJSON(json) {
return SearchFilterPriceToJSONTyped(json, false);
}
function SearchFilterPriceToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'min_price': value['min_price'],
'max_price': value['max_price'],
};
}
//# sourceMappingURL=SearchFilterPrice.js.map