/* tslint:disable */
/* eslint-disable */
/**
 * CWMS Data API
 * CWMS REST API for Data Retrieval
 *
 * The version of the OpenAPI document: 2.4.0-2026.3.16
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { exists, mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface ExpressionRatingAllOf
 */
export interface ExpressionRatingAllOf {
    /**
     * 
     * @type {string}
     * @memberof ExpressionRatingAllOf
     */
    expression?: string;
}

export function ExpressionRatingAllOfFromJSON(json: any): ExpressionRatingAllOf {
    return ExpressionRatingAllOfFromJSONTyped(json, false);
}

export function ExpressionRatingAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpressionRatingAllOf {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'expression': !exists(json, 'expression') ? undefined : json['expression'],
    };
}

export function ExpressionRatingAllOfToJSON(value?: ExpressionRatingAllOf | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'expression': value.expression,
    };
}

