streaming-availability
Version:
Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 60 countries!
44 lines (43 loc) • 1.45 kB
TypeScript
/**
* Streaming Availability API
* Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 60 countries!
*
* The version of the OpenAPI document: 4.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Genres are used to categorize shows.
* Each genre object contains the id and name of the genre.
* When fetching genres via [/genres](#get-all-genres) endpoint, you can pass the output_language parameter
* to get the genre names in one of the supported languages.
*
* You can use genre ids to filter shows in the search endpoints.
*
* @export
* @interface Genre
*/
export interface Genre {
/**
* Id of a genre.
* @type {string}
* @memberof Genre
*/
id: string;
/**
* Name of the genre
* @type {string}
* @memberof Genre
*/
name: string;
}
/**
* Check if a given object implements the Genre interface.
*/
export declare function instanceOfGenre(value: object): boolean;
export declare function GenreFromJSON(json: any): Genre;
export declare function GenreFromJSONTyped(json: any, ignoreDiscriminator: boolean): Genre;
export declare function GenreToJSON(value?: Genre | null): any;