/* 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.
 */
/**
 * Check if a given object implements the Portal interface.
 */
export function instanceOfPortal(value) {
    return true;
}
export function PortalFromJSON(json) {
    return PortalFromJSONTyped(json, false);
}
export function PortalFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'name': json['name'] == null ? undefined : json['name'],
        'url': json['url'] == null ? undefined : json['url'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
    };
}
export function PortalToJSON(json) {
    return PortalToJSONTyped(json, false);
}
export function PortalToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'etag': value['etag'],
        'name': value['name'],
        'url': value['url'],
        'createdBy': value['createdBy'],
        'createdOn': value['createdOn'],
        'modifiedBy': value['modifiedBy'],
        'modifiedOn': value['modifiedOn'],
    };
}
//# sourceMappingURL=Portal.js.map