UNPKG

wallee

Version:
30 lines (29 loc) 1.08 kB
import { DebtCollectionCaseFromJSON, } from './DebtCollectionCase'; /** * Check if a given object implements the DebtCollectionCaseListResponse interface. */ export function instanceOfDebtCollectionCaseListResponse(value) { return true; } export function DebtCollectionCaseListResponseFromJSON(json) { return DebtCollectionCaseListResponseFromJSONTyped(json, false); } export function DebtCollectionCaseListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(DebtCollectionCaseFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function DebtCollectionCaseListResponseToJSON(json) { return DebtCollectionCaseListResponseToJSONTyped(json, false); } export function DebtCollectionCaseListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }