/** * @api.video/nodejs-client * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated. * Do not edit the class manually. */ export default class ObjectSerializer { static findCorrectType(data: any, expectedType: string): string; static serialize(data: any, type: string, format: string, defaultValue?: any): any; static deserialize(data: any, type: string, format: string): any; /** * Normalize media type * * We currently do not handle any media types attributes, i.e. anything * after a semicolon. All content is assumed to be UTF-8 compatible. */ static normalizeMediaType(mediaType: string | undefined): string | undefined; /** * From a list of possible media types, choose the one we can handle best. * * The order of the given media types does not have any impact on the choice * made. */ static getPreferredMediaType(mediaTypes: Array): string; /** * Convert data to a string according the given media type */ static stringify(data: any, mediaType: string): string; /** * Parse data from a string according to the given media type */ static parse(rawData: string, mediaType: string | undefined): any; }