facebook-nodejs-business-sdk
Version:
SDK for the Facebook Ads API in Javascript and Node.js
40 lines (37 loc) • 1.1 kB
JavaScript
/**
* Copyright (c) 2017-present, Facebook, Inc.
* 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';
/**
* CopyrightReferenceContainer
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class CopyrightReferenceContainer extends AbstractCrudObject {
static get Fields () {
return Object.freeze({
content_type: 'content_type',
copyright_creation_time: 'copyright_creation_time',
download_hd_url: 'download_hd_url',
duration_in_sec: 'duration_in_sec',
fingerprint_validity: 'fingerprint_validity',
id: 'id',
metadata: 'metadata',
published_time: 'published_time',
thumbnail_url: 'thumbnail_url',
title: 'title',
universal_content_id: 'universal_content_id'
});
}
get (fields, params): CopyrightReferenceContainer {
return this.read(
fields,
params
);
}
}