/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.5.0-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * Notification test serializer
 * @export
 * @interface NotificationTransportTest
 */
export interface NotificationTransportTest {
    /**
     *
     * @type {Array<string>}
     * @memberof NotificationTransportTest
     */
    messages: Array<string>;
}

/**
 * Check if a given object implements the NotificationTransportTest interface.
 */
export function instanceOfNotificationTransportTest(
    value: object,
): value is NotificationTransportTest {
    if (!("messages" in value) || value["messages"] === undefined) return false;
    return true;
}

export function NotificationTransportTestFromJSON(json: any): NotificationTransportTest {
    return NotificationTransportTestFromJSONTyped(json, false);
}

export function NotificationTransportTestFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): NotificationTransportTest {
    if (json == null) {
        return json;
    }
    return {
        messages: json["messages"],
    };
}

export function NotificationTransportTestToJSON(json: any): NotificationTransportTest {
    return NotificationTransportTestToJSONTyped(json, false);
}

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

    return {
        messages: value["messages"],
    };
}
