wallee
Version:
TypeScript/JavaScript client for wallee
38 lines (37 loc) • 1.9 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfClientPlatformInformationSearchResponse = instanceOfClientPlatformInformationSearchResponse;
exports.ClientPlatformInformationSearchResponseFromJSON = ClientPlatformInformationSearchResponseFromJSON;
exports.ClientPlatformInformationSearchResponseFromJSONTyped = ClientPlatformInformationSearchResponseFromJSONTyped;
exports.ClientPlatformInformationSearchResponseToJSON = ClientPlatformInformationSearchResponseToJSON;
exports.ClientPlatformInformationSearchResponseToJSONTyped = ClientPlatformInformationSearchResponseToJSONTyped;
const TransactionClientPlatformInformation_1 = require("./TransactionClientPlatformInformation");
/**
* Check if a given object implements the ClientPlatformInformationSearchResponse interface.
*/
function instanceOfClientPlatformInformationSearchResponse(value) {
return true;
}
function ClientPlatformInformationSearchResponseFromJSON(json) {
return ClientPlatformInformationSearchResponseFromJSONTyped(json, false);
}
function ClientPlatformInformationSearchResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(TransactionClientPlatformInformation_1.TransactionClientPlatformInformationFromJSON)),
'offset': json['offset'] == null ? undefined : json['offset'],
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function ClientPlatformInformationSearchResponseToJSON(json) {
return ClientPlatformInformationSearchResponseToJSONTyped(json, false);
}
function ClientPlatformInformationSearchResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}