/* 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 CreateOrUpdatePortalRequest interface.
 */
export function instanceOfCreateOrUpdatePortalRequest(value) {
    return true;
}
export function CreateOrUpdatePortalRequestFromJSON(json) {
    return CreateOrUpdatePortalRequestFromJSONTyped(json, false);
}
export function CreateOrUpdatePortalRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'url': json['url'] == null ? undefined : json['url'],
    };
}
export function CreateOrUpdatePortalRequestToJSON(json) {
    return CreateOrUpdatePortalRequestToJSONTyped(json, false);
}
export function CreateOrUpdatePortalRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'url': value['url'],
    };
}
//# sourceMappingURL=CreateOrUpdatePortalRequest.js.map