UNPKG

wallee

Version:
31 lines (30 loc) 1.27 kB
import { TransactionClientPlatformInformationFromJSON, } from './TransactionClientPlatformInformation'; /** * Check if a given object implements the ClientPlatformInformationSearchResponse interface. */ export function instanceOfClientPlatformInformationSearchResponse(value) { return true; } export function ClientPlatformInformationSearchResponseFromJSON(json) { return ClientPlatformInformationSearchResponseFromJSONTyped(json, false); } export function ClientPlatformInformationSearchResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(TransactionClientPlatformInformationFromJSON)), 'offset': json['offset'] == null ? undefined : json['offset'], 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function ClientPlatformInformationSearchResponseToJSON(json) { return ClientPlatformInformationSearchResponseToJSONTyped(json, false); } export function ClientPlatformInformationSearchResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }