UNPKG

wallee

Version:
30 lines (29 loc) 1.18 kB
import { SubscriptionProductVersionRetirementFromJSON, } from './SubscriptionProductVersionRetirement'; /** * Check if a given object implements the ProductVersionRetirementListResponse interface. */ export function instanceOfProductVersionRetirementListResponse(value) { return true; } export function ProductVersionRetirementListResponseFromJSON(json) { return ProductVersionRetirementListResponseFromJSONTyped(json, false); } export function ProductVersionRetirementListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(SubscriptionProductVersionRetirementFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function ProductVersionRetirementListResponseToJSON(json) { return ProductVersionRetirementListResponseToJSONTyped(json, false); } export function ProductVersionRetirementListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }