66 lines
1.7 KiB
TypeScript
66 lines
1.7 KiB
TypeScript
/* 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 SyncPlayCreateGroupRequest
|
|
*/
|
|
export interface SyncPlayCreateGroupRequest {
|
|
/**
|
|
* Gets or sets the group name.
|
|
* @type {string}
|
|
* @memberof SyncPlayCreateGroupRequest
|
|
*/
|
|
groupName?: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the SyncPlayCreateGroupRequest interface.
|
|
*/
|
|
export function instanceOfSyncPlayCreateGroupRequest(value: object): boolean {
|
|
let isInstance = true;
|
|
|
|
return isInstance;
|
|
}
|
|
|
|
export function SyncPlayCreateGroupRequestFromJSON(json: any): SyncPlayCreateGroupRequest {
|
|
return SyncPlayCreateGroupRequestFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function SyncPlayCreateGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncPlayCreateGroupRequest {
|
|
if ((json === undefined) || (json === null)) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'groupName': !exists(json, 'GroupName') ? undefined : json['GroupName'],
|
|
};
|
|
}
|
|
|
|
export function SyncPlayCreateGroupRequestToJSON(value?: SyncPlayCreateGroupRequest | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'GroupName': value.groupName,
|
|
};
|
|
}
|
|
|