UNPKG

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!

40 lines (39 loc) 1.45 kB
/** * 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. */ /** * A language and optionally an associated region. * @export * @interface Locale */ export interface Locale { /** * [ISO 639-2](https://en.wikipedia.org/wiki/ISO_639-2) code of the associated language with the locale. * @type {string} * @memberof Locale */ language: string; /** * [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) code of the country, * or [UN M49](https://en.wikipedia.org/wiki/UN_M49) code of the area associated with the locale. * * @type {string} * @memberof Locale */ region?: string; } /** * Check if a given object implements the Locale interface. */ export declare function instanceOfLocale(value: object): boolean; export declare function LocaleFromJSON(json: any): Locale; export declare function LocaleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Locale; export declare function LocaleToJSON(value?: Locale | null): any;