UNPKG

facebook-nodejs-business-sdk

Version:
37 lines (34 loc) 887 B
/** * 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'; /** * AdAccountSpendLimit * @extends AbstractCrudObject * @see {@link https://developers.facebook.com/docs/marketing-api/} */ export default class AdAccountSpendLimit extends AbstractCrudObject { static get Fields () { return Object.freeze({ amount_spent: 'amount_spent', group_id: 'group_id', limit_id: 'limit_id', limit_value: 'limit_value', time_created: 'time_created', time_start: 'time_start', time_stop: 'time_stop', id: 'id' }); } get (fields, params): AdAccountSpendLimit { return this.read( fields, params ); } }