UNPKG

wallee

Version:
37 lines (36 loc) 1.42 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfChargeFlowListResponse = instanceOfChargeFlowListResponse; exports.ChargeFlowListResponseFromJSON = ChargeFlowListResponseFromJSON; exports.ChargeFlowListResponseFromJSONTyped = ChargeFlowListResponseFromJSONTyped; exports.ChargeFlowListResponseToJSON = ChargeFlowListResponseToJSON; exports.ChargeFlowListResponseToJSONTyped = ChargeFlowListResponseToJSONTyped; const ChargeFlow_1 = require("./ChargeFlow"); /** * Check if a given object implements the ChargeFlowListResponse interface. */ function instanceOfChargeFlowListResponse(value) { return true; } function ChargeFlowListResponseFromJSON(json) { return ChargeFlowListResponseFromJSONTyped(json, false); } function ChargeFlowListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(ChargeFlow_1.ChargeFlowFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function ChargeFlowListResponseToJSON(json) { return ChargeFlowListResponseToJSONTyped(json, false); } function ChargeFlowListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }