/* tslint:disable */
/* eslint-disable */
/**
 * AskNews API
 * AskNews API [![status](https://status.asknews.app/api/badge/2/status?style=for-the-badge)](https://status.asknews.app/status/prod)
 *
 * The version of the OpenAPI document: 0.24.66
 * Contact: contact@emergentmethods.ai
 *
 * 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 Assets1
 */
export interface Assets1 {
    /**
     * 
     * @type {Array<string>}
     * @memberof Assets1
     */
    images?: Array<string> | null;
    /**
     * 
     * @type {Array<string>}
     * @memberof Assets1
     */
    videos?: Array<string> | null;
}

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

export function Assets1FromJSON(json: any): Assets1 {
    return Assets1FromJSONTyped(json, false);
}

export function Assets1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Assets1 {
    if (json == null) {
        return json;
    }
    return {
        
        'images': json['images'] == null ? undefined : json['images'],
        'videos': json['videos'] == null ? undefined : json['videos'],
    };
}

export function Assets1ToJSON(json: any): Assets1 {
    return Assets1ToJSONTyped(json, false);
}

export function Assets1ToJSONTyped(value?: Assets1 | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'images': value['images'],
        'videos': value['videos'],
    };
}

