UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

31 lines 961 B
import { exists } from '../runtime.js'; export function instanceOfGetAccountAllOfMarketingAutomation(value) { let isInstance = true; isInstance = isInstance && 'enabled' in value; return isInstance; } export function GetAccountAllOfMarketingAutomationFromJSON(json) { return GetAccountAllOfMarketingAutomationFromJSONTyped(json, false); } export function GetAccountAllOfMarketingAutomationFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { key: !exists(json, 'key') ? undefined : json['key'], enabled: json['enabled'], }; } export function GetAccountAllOfMarketingAutomationToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { key: value.key, enabled: value.enabled, }; } //# sourceMappingURL=GetAccountAllOfMarketingAutomation.js.map