UNPKG

wallee

Version:
37 lines (36 loc) 1.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfInvoiceCommentListResponse = instanceOfInvoiceCommentListResponse; exports.InvoiceCommentListResponseFromJSON = InvoiceCommentListResponseFromJSON; exports.InvoiceCommentListResponseFromJSONTyped = InvoiceCommentListResponseFromJSONTyped; exports.InvoiceCommentListResponseToJSON = InvoiceCommentListResponseToJSON; exports.InvoiceCommentListResponseToJSONTyped = InvoiceCommentListResponseToJSONTyped; const TransactionInvoiceComment_1 = require("./TransactionInvoiceComment"); /** * Check if a given object implements the InvoiceCommentListResponse interface. */ function instanceOfInvoiceCommentListResponse(value) { return true; } function InvoiceCommentListResponseFromJSON(json) { return InvoiceCommentListResponseFromJSONTyped(json, false); } function InvoiceCommentListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(TransactionInvoiceComment_1.TransactionInvoiceCommentFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function InvoiceCommentListResponseToJSON(json) { return InvoiceCommentListResponseToJSONTyped(json, false); } function InvoiceCommentListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }