UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

30 lines 929 B
import { exists } from '../runtime.js'; export function instanceOfCustomFieldBadgeContentBadgesInner(value) { let isInstance = true; return isInstance; } export function CustomFieldBadgeContentBadgesInnerFromJSON(json) { return CustomFieldBadgeContentBadgesInnerFromJSONTyped(json, false); } export function CustomFieldBadgeContentBadgesInnerFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { id: !exists(json, 'id') ? undefined : json['id'], name: !exists(json, 'name') ? undefined : json['name'], }; } export function CustomFieldBadgeContentBadgesInnerToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { id: value.id, name: value.name, }; } //# sourceMappingURL=CustomFieldBadgeContentBadgesInner.js.map