UNPKG

facebook-nodejs-business-sdk

Version:

SDK for the Facebook Marketing API in Javascript and Node.js

45 lines (39 loc) 1.18 kB
/* * 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'; /** * MusicWorkCopyright * @extends AbstractCrudObject * @see {@link https://developers.facebook.com/docs/marketing-api/} */ export default class MusicWorkCopyright extends AbstractCrudObject { static get Fields (): Object { return Object.freeze({ available_ui_actions: 'available_ui_actions', claim_status: 'claim_status', creation_time: 'creation_time', displayed_fb_matches_count: 'displayed_fb_matches_count', displayed_ig_matches_count: 'displayed_ig_matches_count', displayed_matches_count: 'displayed_matches_count', id: 'id', match_rule: 'match_rule', status: 'status', tags: 'tags', update_time: 'update_time', }); } get (fields: Array<string>, params: Object = {}): MusicWorkCopyright { // $FlowFixMe : Support Generic Types return this.read( fields, params ); } }