wallee
Version:
TypeScript/JavaScript client for wallee
34 lines (33 loc) • 1.46 kB
JavaScript
/**
* Check if a given object implements the TransactionClientPlatformInformation interface.
*/
export function instanceOfTransactionClientPlatformInformation(value) {
return true;
}
export function TransactionClientPlatformInformationFromJSON(json) {
return TransactionClientPlatformInformationFromJSONTyped(json, false);
}
export 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'],
};
}
export function TransactionClientPlatformInformationToJSON(json) {
return TransactionClientPlatformInformationToJSONTyped(json, false);
}
export function TransactionClientPlatformInformationToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}