wallee
Version:
TypeScript/JavaScript client for wallee
30 lines (29 loc) • 1.04 kB
JavaScript
import { ApplicationUserFromJSON, } from './ApplicationUser';
/**
* Check if a given object implements the ApplicationUserListResponse interface.
*/
export function instanceOfApplicationUserListResponse(value) {
return true;
}
export function ApplicationUserListResponseFromJSON(json) {
return ApplicationUserListResponseFromJSONTyped(json, false);
}
export function ApplicationUserListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(ApplicationUserFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
export function ApplicationUserListResponseToJSON(json) {
return ApplicationUserListResponseToJSONTyped(json, false);
}
export function ApplicationUserListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}