/* 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 EnvironmentDescriptor interface.
 */
export function instanceOfEnvironmentDescriptor(value) {
    return true;
}
export function EnvironmentDescriptorFromJSON(json) {
    return EnvironmentDescriptorFromJSONTyped(json, false);
}
export function EnvironmentDescriptorFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'type': json['type'] == null ? undefined : json['type'],
        'name': json['name'] == null ? undefined : json['name'],
        'quantifier': json['quantifier'] == null ? undefined : json['quantifier'],
    };
}
export function EnvironmentDescriptorToJSON(json) {
    return EnvironmentDescriptorToJSONTyped(json, false);
}
export function EnvironmentDescriptorToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'type': value['type'],
        'name': value['name'],
        'quantifier': value['quantifier'],
    };
}
//# sourceMappingURL=EnvironmentDescriptor.js.map