wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.53 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfApplicationUserListResponse = instanceOfApplicationUserListResponse;
exports.ApplicationUserListResponseFromJSON = ApplicationUserListResponseFromJSON;
exports.ApplicationUserListResponseFromJSONTyped = ApplicationUserListResponseFromJSONTyped;
exports.ApplicationUserListResponseToJSON = ApplicationUserListResponseToJSON;
exports.ApplicationUserListResponseToJSONTyped = ApplicationUserListResponseToJSONTyped;
const ApplicationUser_1 = require("./ApplicationUser");
/**
* Check if a given object implements the ApplicationUserListResponse interface.
*/
function instanceOfApplicationUserListResponse(value) {
return true;
}
function ApplicationUserListResponseFromJSON(json) {
return ApplicationUserListResponseFromJSONTyped(json, false);
}
function ApplicationUserListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(ApplicationUser_1.ApplicationUserFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function ApplicationUserListResponseToJSON(json) {
return ApplicationUserListResponseToJSONTyped(json, false);
}
function ApplicationUserListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}