/* tslint:disable */
/* eslint-disable */
/**
 * chomestatus API
 * The API for chromestatus.com. chromestatus.com is the official tool used for tracking feature launches in Blink (the browser engine that powers Chrome and many other web browsers). This tool guides feature owners through our launch process and serves as a primary source for developer information that then ripples throughout the web developer ecosystem. More details at: https://github.com/GoogleChrome/chromium-dashboard
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface ReleaseNotesL10nItem
 */
export interface ReleaseNotesL10nItem {
    /**
     * 
     * @type {number}
     * @memberof ReleaseNotesL10nItem
     */
    id?: number;
    /**
     * 
     * @type {string}
     * @memberof ReleaseNotesL10nItem
     */
    name?: string;
    /**
     * 
     * @type {string}
     * @memberof ReleaseNotesL10nItem
     */
    summary?: string;
    /**
     * 
     * @type {Array<object>}
     * @memberof ReleaseNotesL10nItem
     */
    stages?: Array<object>;
}

/**
 * Check if a given object implements the ReleaseNotesL10nItem interface.
 */
export function instanceOfReleaseNotesL10nItem(value: object): value is ReleaseNotesL10nItem {
    return true;
}

export function ReleaseNotesL10nItemFromJSON(json: any): ReleaseNotesL10nItem {
    return ReleaseNotesL10nItemFromJSONTyped(json, false);
}

export function ReleaseNotesL10nItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseNotesL10nItem {
    if (json == null) {
        return json;
    }
    return {
        
        'id': json['id'] == null ? undefined : json['id'],
        'name': json['name'] == null ? undefined : json['name'],
        'summary': json['summary'] == null ? undefined : json['summary'],
        'stages': json['stages'] == null ? undefined : json['stages'],
    };
}

export function ReleaseNotesL10nItemToJSON(value?: ReleaseNotesL10nItem | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'id': value['id'],
        'name': value['name'],
        'summary': value['summary'],
        'stages': value['stages'],
    };
}

