/* 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';
/**
 * Globally unique identifier for the RSS item
 * @export
 * @interface Guid
 */
export interface Guid {
    /**
     * 
     * @type {string}
     * @memberof Guid
     */
    guid?: string;
}

export function GuidFromJSON(json: any): Guid {
    return GuidFromJSONTyped(json, false);
}

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

export function GuidToJSON(value?: Guid | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'guid': value.guid,
    };
}

