/* 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 UserUpdateDTOSc
 */
export interface UserUpdateDTOSc {
    /**
     * 
     * @type {string}
     * @memberof UserUpdateDTOSc
     */
    name?: string;
}

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

    return isInstance;
}

export function UserUpdateDTOScFromJSON(json: any): UserUpdateDTOSc {
    return UserUpdateDTOScFromJSONTyped(json, false);
}

export function UserUpdateDTOScFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserUpdateDTOSc {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'name': !exists(json, 'Name') ? undefined : json['Name'],
    };
}

export function UserUpdateDTOScToJSON(value?: UserUpdateDTOSc | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'Name': value.name,
    };
}

