UNPKG

wallee

Version:
37 lines (36 loc) 1.79 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfClientPlatformInformationListResponse = instanceOfClientPlatformInformationListResponse; exports.ClientPlatformInformationListResponseFromJSON = ClientPlatformInformationListResponseFromJSON; exports.ClientPlatformInformationListResponseFromJSONTyped = ClientPlatformInformationListResponseFromJSONTyped; exports.ClientPlatformInformationListResponseToJSON = ClientPlatformInformationListResponseToJSON; exports.ClientPlatformInformationListResponseToJSONTyped = ClientPlatformInformationListResponseToJSONTyped; const TransactionClientPlatformInformation_1 = require("./TransactionClientPlatformInformation"); /** * Check if a given object implements the ClientPlatformInformationListResponse interface. */ function instanceOfClientPlatformInformationListResponse(value) { return true; } function ClientPlatformInformationListResponseFromJSON(json) { return ClientPlatformInformationListResponseFromJSONTyped(json, false); } function ClientPlatformInformationListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(TransactionClientPlatformInformation_1.TransactionClientPlatformInformationFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function ClientPlatformInformationListResponseToJSON(json) { return ClientPlatformInformationListResponseToJSONTyped(json, false); } function ClientPlatformInformationListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }