97 lines
2.8 KiB
TypeScript
97 lines
2.8 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';
|
|
import type { BoxSetInfo } from './BoxSetInfo';
|
|
import {
|
|
BoxSetInfoFromJSON,
|
|
BoxSetInfoFromJSONTyped,
|
|
BoxSetInfoToJSON,
|
|
} from './BoxSetInfo';
|
|
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface BoxSetInfoRemoteSearchQuery
|
|
*/
|
|
export interface BoxSetInfoRemoteSearchQuery {
|
|
/**
|
|
*
|
|
* @type {BoxSetInfo}
|
|
* @memberof BoxSetInfoRemoteSearchQuery
|
|
*/
|
|
searchInfo?: BoxSetInfo | null;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof BoxSetInfoRemoteSearchQuery
|
|
*/
|
|
itemId?: string;
|
|
/**
|
|
* Gets or sets the provider name to search within if set.
|
|
* @type {string}
|
|
* @memberof BoxSetInfoRemoteSearchQuery
|
|
*/
|
|
searchProviderName?: string | null;
|
|
/**
|
|
* Gets or sets a value indicating whether disabled providers should be included.
|
|
* @type {boolean}
|
|
* @memberof BoxSetInfoRemoteSearchQuery
|
|
*/
|
|
includeDisabledProviders?: boolean;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the BoxSetInfoRemoteSearchQuery interface.
|
|
*/
|
|
export function instanceOfBoxSetInfoRemoteSearchQuery(value: object): boolean {
|
|
let isInstance = true;
|
|
|
|
return isInstance;
|
|
}
|
|
|
|
export function BoxSetInfoRemoteSearchQueryFromJSON(json: any): BoxSetInfoRemoteSearchQuery {
|
|
return BoxSetInfoRemoteSearchQueryFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function BoxSetInfoRemoteSearchQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): BoxSetInfoRemoteSearchQuery {
|
|
if ((json === undefined) || (json === null)) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'searchInfo': !exists(json, 'SearchInfo') ? undefined : BoxSetInfoFromJSON(json['SearchInfo']),
|
|
'itemId': !exists(json, 'ItemId') ? undefined : json['ItemId'],
|
|
'searchProviderName': !exists(json, 'SearchProviderName') ? undefined : json['SearchProviderName'],
|
|
'includeDisabledProviders': !exists(json, 'IncludeDisabledProviders') ? undefined : json['IncludeDisabledProviders'],
|
|
};
|
|
}
|
|
|
|
export function BoxSetInfoRemoteSearchQueryToJSON(value?: BoxSetInfoRemoteSearchQuery | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'SearchInfo': BoxSetInfoToJSON(value.searchInfo),
|
|
'ItemId': value.itemId,
|
|
'SearchProviderName': value.searchProviderName,
|
|
'IncludeDisabledProviders': value.includeDisabledProviders,
|
|
};
|
|
}
|
|
|