UNPKG

wallee

Version:
36 lines (35 loc) 1.37 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfAbstractCustomerCommentActive = instanceOfAbstractCustomerCommentActive; exports.AbstractCustomerCommentActiveFromJSON = AbstractCustomerCommentActiveFromJSON; exports.AbstractCustomerCommentActiveFromJSONTyped = AbstractCustomerCommentActiveFromJSONTyped; exports.AbstractCustomerCommentActiveToJSON = AbstractCustomerCommentActiveToJSON; exports.AbstractCustomerCommentActiveToJSONTyped = AbstractCustomerCommentActiveToJSONTyped; /** * Check if a given object implements the AbstractCustomerCommentActive interface. */ function instanceOfAbstractCustomerCommentActive(value) { return true; } function AbstractCustomerCommentActiveFromJSON(json) { return AbstractCustomerCommentActiveFromJSONTyped(json, false); } function AbstractCustomerCommentActiveFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'content': json['content'] == null ? undefined : json['content'], }; } function AbstractCustomerCommentActiveToJSON(json) { return AbstractCustomerCommentActiveToJSONTyped(json, false); } function AbstractCustomerCommentActiveToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'content': value['content'], }; }