/* tslint:disable */
/* eslint-disable */
/**
 * Jellyfin API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 10.8.9
 * 
 *
 * 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';
/**
 * Class NewGroupRequestDto.
 * @export
 * @interface NewGroupRequestDto
 */
export interface NewGroupRequestDto {
    /**
     * Gets or sets the group name.
     * @type {string}
     * @memberof NewGroupRequestDto
     */
    groupName?: string;
}

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

    return isInstance;
}

export function NewGroupRequestDtoFromJSON(json: any): NewGroupRequestDto {
    return NewGroupRequestDtoFromJSONTyped(json, false);
}

export function NewGroupRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): NewGroupRequestDto {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'groupName': !exists(json, 'GroupName') ? undefined : json['GroupName'],
    };
}

export function NewGroupRequestDtoToJSON(value?: NewGroupRequestDto | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'GroupName': value.groupName,
    };
}

