UNPKG

wallee

Version:
31 lines (30 loc) 1.14 kB
import { DunningFlowLevelFromJSON, } from './DunningFlowLevel'; /** * Check if a given object implements the DunningFlowLevelSearchResponse interface. */ export function instanceOfDunningFlowLevelSearchResponse(value) { return true; } export function DunningFlowLevelSearchResponseFromJSON(json) { return DunningFlowLevelSearchResponseFromJSONTyped(json, false); } export function DunningFlowLevelSearchResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(DunningFlowLevelFromJSON)), 'offset': json['offset'] == null ? undefined : json['offset'], 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function DunningFlowLevelSearchResponseToJSON(json) { return DunningFlowLevelSearchResponseToJSONTyped(json, false); } export function DunningFlowLevelSearchResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }