UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

32 lines 1.19 kB
import { exists } from '../runtime.js'; export function instanceOfGetChildInfoAllOfStatistics(value) { let isInstance = true; return isInstance; } export function GetChildInfoAllOfStatisticsFromJSON(json) { return GetChildInfoAllOfStatisticsFromJSONTyped(json, false); } export function GetChildInfoAllOfStatisticsFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { previousMonthTotalSent: !exists(json, 'previousMonthTotalSent') ? undefined : json['previousMonthTotalSent'], currentMonthTotalSent: !exists(json, 'currentMonthTotalSent') ? undefined : json['currentMonthTotalSent'], totalSent: !exists(json, 'totalSent') ? undefined : json['totalSent'], }; } export function GetChildInfoAllOfStatisticsToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { previousMonthTotalSent: value.previousMonthTotalSent, currentMonthTotalSent: value.currentMonthTotalSent, totalSent: value.totalSent, }; } //# sourceMappingURL=GetChildInfoAllOfStatistics.js.map