wallee
Version:
TypeScript/JavaScript client for wallee
38 lines (37 loc) • 1.73 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfSubscriptionComponentConfiguration = instanceOfSubscriptionComponentConfiguration;
exports.SubscriptionComponentConfigurationFromJSON = SubscriptionComponentConfigurationFromJSON;
exports.SubscriptionComponentConfigurationFromJSONTyped = SubscriptionComponentConfigurationFromJSONTyped;
exports.SubscriptionComponentConfigurationToJSON = SubscriptionComponentConfigurationToJSON;
exports.SubscriptionComponentConfigurationToJSONTyped = SubscriptionComponentConfigurationToJSONTyped;
/**
* Check if a given object implements the SubscriptionComponentConfiguration interface.
*/
function instanceOfSubscriptionComponentConfiguration(value) {
return true;
}
function SubscriptionComponentConfigurationFromJSON(json) {
return SubscriptionComponentConfigurationFromJSONTyped(json, false);
}
function SubscriptionComponentConfigurationFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'linkedSpaceId': json['linkedSpaceId'] == null ? undefined : json['linkedSpaceId'],
'component': json['component'] == null ? undefined : json['component'],
'quantity': json['quantity'] == null ? undefined : json['quantity'],
'id': json['id'] == null ? undefined : json['id'],
'version': json['version'] == null ? undefined : json['version'],
};
}
function SubscriptionComponentConfigurationToJSON(json) {
return SubscriptionComponentConfigurationToJSONTyped(json, false);
}
function SubscriptionComponentConfigurationToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}