/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { RSSEntryFromJSON, RSSEntryToJSON, } from './RSSEntry';
/**
 * Check if a given object implements the RSSFeed interface.
 */
export function instanceOfRSSFeed(value) {
    return true;
}
export function RSSFeedFromJSON(json) {
    return RSSFeedFromJSONTyped(json, false);
}
export function RSSFeedFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'title': json['title'] == null ? undefined : json['title'],
        'uri': json['uri'] == null ? undefined : json['uri'],
        'author': json['author'] == null ? undefined : json['author'],
        'description': json['description'] == null ? undefined : json['description'],
        'entries': json['entries'] == null ? undefined : (json['entries'].map(RSSEntryFromJSON)),
    };
}
export function RSSFeedToJSON(json) {
    return RSSFeedToJSONTyped(json, false);
}
export function RSSFeedToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'title': value['title'],
        'uri': value['uri'],
        'author': value['author'],
        'description': value['description'],
        'entries': value['entries'] == null ? undefined : (value['entries'].map(RSSEntryToJSON)),
    };
}
//# sourceMappingURL=RSSFeed.js.map