/* tslint:disable */
/* eslint-disable */
/**
 * Tuix Services
 * Tuix Services API
 *
 * 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 { exists, mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface UserEnrollDTO
 */
export interface UserEnrollDTO {
    /**
     * 
     * @type {string}
     * @memberof UserEnrollDTO
     */
    createdAt?: string;
    /**
     * 
     * @type {string}
     * @memberof UserEnrollDTO
     */
    id?: string;
    /**
     * 
     * @type {string}
     * @memberof UserEnrollDTO
     */
    updatedAt?: string;
}

/**
 * Check if a given object implements the UserEnrollDTO interface.
 */
export function instanceOfUserEnrollDTO(value: object): boolean {
    let isInstance = true;

    return isInstance;
}

export function UserEnrollDTOFromJSON(json: any): UserEnrollDTO {
    return UserEnrollDTOFromJSONTyped(json, false);
}

export function UserEnrollDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserEnrollDTO {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'createdAt': !exists(json, 'createdAt') ? undefined : json['createdAt'],
        'id': !exists(json, 'id') ? undefined : json['id'],
        'updatedAt': !exists(json, 'updatedAt') ? undefined : json['updatedAt'],
    };
}

export function UserEnrollDTOToJSON(value?: UserEnrollDTO | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'createdAt': value.createdAt,
        'id': value.id,
        'updatedAt': value.updatedAt,
    };
}

