wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.57 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfProductMeteredFeeListResponse = instanceOfProductMeteredFeeListResponse;
exports.ProductMeteredFeeListResponseFromJSON = ProductMeteredFeeListResponseFromJSON;
exports.ProductMeteredFeeListResponseFromJSONTyped = ProductMeteredFeeListResponseFromJSONTyped;
exports.ProductMeteredFeeListResponseToJSON = ProductMeteredFeeListResponseToJSON;
exports.ProductMeteredFeeListResponseToJSONTyped = ProductMeteredFeeListResponseToJSONTyped;
const ProductMeteredFee_1 = require("./ProductMeteredFee");
/**
* Check if a given object implements the ProductMeteredFeeListResponse interface.
*/
function instanceOfProductMeteredFeeListResponse(value) {
return true;
}
function ProductMeteredFeeListResponseFromJSON(json) {
return ProductMeteredFeeListResponseFromJSONTyped(json, false);
}
function ProductMeteredFeeListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(ProductMeteredFee_1.ProductMeteredFeeFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function ProductMeteredFeeListResponseToJSON(json) {
return ProductMeteredFeeListResponseToJSONTyped(json, false);
}
function ProductMeteredFeeListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}