UNPKG

wallee

Version:
37 lines (36 loc) 1.62 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfSubscriptionVersionListResponse = instanceOfSubscriptionVersionListResponse; exports.SubscriptionVersionListResponseFromJSON = SubscriptionVersionListResponseFromJSON; exports.SubscriptionVersionListResponseFromJSONTyped = SubscriptionVersionListResponseFromJSONTyped; exports.SubscriptionVersionListResponseToJSON = SubscriptionVersionListResponseToJSON; exports.SubscriptionVersionListResponseToJSONTyped = SubscriptionVersionListResponseToJSONTyped; const SubscriptionVersion_1 = require("./SubscriptionVersion"); /** * Check if a given object implements the SubscriptionVersionListResponse interface. */ function instanceOfSubscriptionVersionListResponse(value) { return true; } function SubscriptionVersionListResponseFromJSON(json) { return SubscriptionVersionListResponseFromJSONTyped(json, false); } function SubscriptionVersionListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(SubscriptionVersion_1.SubscriptionVersionFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function SubscriptionVersionListResponseToJSON(json) { return SubscriptionVersionListResponseToJSONTyped(json, false); } function SubscriptionVersionListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }