UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

28 lines 779 B
import { exists } from '../runtime.js'; export function instanceOfCreateUpdateContactModel(value) { let isInstance = true; return isInstance; } export function CreateUpdateContactModelFromJSON(json) { return CreateUpdateContactModelFromJSONTyped(json, false); } export function CreateUpdateContactModelFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { id: !exists(json, 'id') ? undefined : json['id'], }; } export function CreateUpdateContactModelToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { id: value.id, }; } //# sourceMappingURL=CreateUpdateContactModel.js.map