UNPKG

wallee

Version:
30 lines (29 loc) 979 B
import { HumanUserFromJSON, } from './HumanUser'; /** * Check if a given object implements the HumanUserListResponse interface. */ export function instanceOfHumanUserListResponse(value) { return true; } export function HumanUserListResponseFromJSON(json) { return HumanUserListResponseFromJSONTyped(json, false); } export function HumanUserListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(HumanUserFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function HumanUserListResponseToJSON(json) { return HumanUserListResponseToJSONTyped(json, false); } export function HumanUserListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }