wallee
Version:
TypeScript/JavaScript client for wallee
30 lines (29 loc) • 1.17 kB
JavaScript
import { DebtCollectorConfigurationFromJSON, } from './DebtCollectorConfiguration';
/**
* Check if a given object implements the DebtCollectorConfigurationListResponse interface.
*/
export function instanceOfDebtCollectorConfigurationListResponse(value) {
return true;
}
export function DebtCollectorConfigurationListResponseFromJSON(json) {
return DebtCollectorConfigurationListResponseFromJSONTyped(json, false);
}
export function DebtCollectorConfigurationListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(DebtCollectorConfigurationFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
export function DebtCollectorConfigurationListResponseToJSON(json) {
return DebtCollectorConfigurationListResponseToJSONTyped(json, false);
}
export function DebtCollectorConfigurationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}