66 lines
1.6 KiB
TypeScript
66 lines
1.6 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 JoinGroupRequestDto.
|
||
|
* @export
|
||
|
* @interface SyncPlayJoinGroupRequest
|
||
|
*/
|
||
|
export interface SyncPlayJoinGroupRequest {
|
||
|
/**
|
||
|
* Gets or sets the group identifier.
|
||
|
* @type {string}
|
||
|
* @memberof SyncPlayJoinGroupRequest
|
||
|
*/
|
||
|
groupId?: string;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Check if a given object implements the SyncPlayJoinGroupRequest interface.
|
||
|
*/
|
||
|
export function instanceOfSyncPlayJoinGroupRequest(value: object): boolean {
|
||
|
let isInstance = true;
|
||
|
|
||
|
return isInstance;
|
||
|
}
|
||
|
|
||
|
export function SyncPlayJoinGroupRequestFromJSON(json: any): SyncPlayJoinGroupRequest {
|
||
|
return SyncPlayJoinGroupRequestFromJSONTyped(json, false);
|
||
|
}
|
||
|
|
||
|
export function SyncPlayJoinGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncPlayJoinGroupRequest {
|
||
|
if ((json === undefined) || (json === null)) {
|
||
|
return json;
|
||
|
}
|
||
|
return {
|
||
|
|
||
|
'groupId': !exists(json, 'GroupId') ? undefined : json['GroupId'],
|
||
|
};
|
||
|
}
|
||
|
|
||
|
export function SyncPlayJoinGroupRequestToJSON(value?: SyncPlayJoinGroupRequest | null): any {
|
||
|
if (value === undefined) {
|
||
|
return undefined;
|
||
|
}
|
||
|
if (value === null) {
|
||
|
return null;
|
||
|
}
|
||
|
return {
|
||
|
|
||
|
'GroupId': value.groupId,
|
||
|
};
|
||
|
}
|
||
|
|