UNPKG

wallee

Version:
30 lines (29 loc) 1 kB
import { StaticValueFromJSON, } from './StaticValue'; /** * Check if a given object implements the StaticValueListResponse interface. */ export function instanceOfStaticValueListResponse(value) { return true; } export function StaticValueListResponseFromJSON(json) { return StaticValueListResponseFromJSONTyped(json, false); } export function StaticValueListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(StaticValueFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function StaticValueListResponseToJSON(json) { return StaticValueListResponseToJSONTyped(json, false); } export function StaticValueListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }