wallee
Version:
TypeScript/JavaScript client for wallee
29 lines (28 loc) • 877 B
JavaScript
/**
* Check if a given object implements the AbstractCustomerCommentActive interface.
*/
export function instanceOfAbstractCustomerCommentActive(value) {
return true;
}
export function AbstractCustomerCommentActiveFromJSON(json) {
return AbstractCustomerCommentActiveFromJSONTyped(json, false);
}
export function AbstractCustomerCommentActiveFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'content': json['content'] == null ? undefined : json['content'],
};
}
export function AbstractCustomerCommentActiveToJSON(json) {
return AbstractCustomerCommentActiveToJSONTyped(json, false);
}
export function AbstractCustomerCommentActiveToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'content': value['content'],
};
}