UNPKG

wallee

Version:
41 lines (40 loc) 2.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfTransactionClientPlatformInformation = instanceOfTransactionClientPlatformInformation; exports.TransactionClientPlatformInformationFromJSON = TransactionClientPlatformInformationFromJSON; exports.TransactionClientPlatformInformationFromJSONTyped = TransactionClientPlatformInformationFromJSONTyped; exports.TransactionClientPlatformInformationToJSON = TransactionClientPlatformInformationToJSON; exports.TransactionClientPlatformInformationToJSONTyped = TransactionClientPlatformInformationToJSONTyped; /** * Check if a given object implements the TransactionClientPlatformInformation interface. */ function instanceOfTransactionClientPlatformInformation(value) { return true; } function TransactionClientPlatformInformationFromJSON(json) { return TransactionClientPlatformInformationFromJSONTyped(json, false); } function TransactionClientPlatformInformationFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'spaceId': json['spaceId'] == null ? undefined : json['spaceId'], 'integrationType': json['integrationType'] == null ? undefined : json['integrationType'], 'osVersion': json['osVersion'] == null ? undefined : json['osVersion'], 'platformType': json['platformType'] == null ? undefined : json['platformType'], 'sdkVersion': json['sdkVersion'] == null ? undefined : json['sdkVersion'], 'id': json['id'] == null ? undefined : json['id'], 'version': json['version'] == null ? undefined : json['version'], 'transaction': json['transaction'] == null ? undefined : json['transaction'], }; } function TransactionClientPlatformInformationToJSON(json) { return TransactionClientPlatformInformationToJSONTyped(json, false); } function TransactionClientPlatformInformationToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }