wallee
Version:
TypeScript/JavaScript client for wallee
30 lines (29 loc) • 1.19 kB
JavaScript
import { TransactionClientPlatformInformationFromJSON, } from './TransactionClientPlatformInformation';
/**
* Check if a given object implements the ClientPlatformInformationListResponse interface.
*/
export function instanceOfClientPlatformInformationListResponse(value) {
return true;
}
export function ClientPlatformInformationListResponseFromJSON(json) {
return ClientPlatformInformationListResponseFromJSONTyped(json, false);
}
export function ClientPlatformInformationListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(TransactionClientPlatformInformationFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
export function ClientPlatformInformationListResponseToJSON(json) {
return ClientPlatformInformationListResponseToJSONTyped(json, false);
}
export function ClientPlatformInformationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}