facebook-nodejs-business-sdk
Version:
SDK for the Facebook Marketing API in Javascript and Node.js
42 lines (36 loc) • 1.02 kB
JavaScript
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import {AbstractCrudObject} from './../abstract-crud-object';
/**
* LiveVideoInputStream
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class LiveVideoInputStream extends AbstractCrudObject {
static get Fields (): Object {
return Object.freeze({
dash_ingest_url: 'dash_ingest_url',
dash_preview_url: 'dash_preview_url',
id: 'id',
is_master: 'is_master',
secure_stream_url: 'secure_stream_url',
stream_health: 'stream_health',
stream_id: 'stream_id',
stream_url: 'stream_url',
});
}
get (fields: Array<string>, params: Object = {}): LiveVideoInputStream {
// $FlowFixMe : Support Generic Types
return this.read(
fields,
params
);
}
}