in src/FacebookAds/Object/Page.php [3523:3604]
public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
$this->assureId();
$param_types = array(
'about' => 'string',
'accept_crossposting_handshake' => 'list<map>',
'allow_spherical_photo' => 'bool',
'attire' => 'attire_enum',
'begin_crossposting_handshake' => 'list<map>',
'bio' => 'string',
'category_list' => 'list<string>',
'company_overview' => 'string',
'contact_address' => 'Object',
'cover' => 'string',
'culinary_team' => 'string',
'delivery_and_pickup_option_info' => 'list<string>',
'description' => 'string',
'differently_open_offerings' => 'map',
'directed_by' => 'string',
'displayed_message_response_time' => 'string',
'emails' => 'list<string>',
'focus_x' => 'float',
'focus_y' => 'float',
'food_styles' => 'list<food_styles_enum>',
'general_info' => 'string',
'general_manager' => 'string',
'genre' => 'string',
'hours' => 'map',
'ignore_coordinate_warnings' => 'bool',
'impressum' => 'string',
'instant_articles_submit_for_review' => 'bool',
'is_always_open' => 'bool',
'is_permanently_closed' => 'bool',
'is_published' => 'bool',
'is_webhooks_subscribed' => 'bool',
'location' => 'Object',
'menu' => 'string',
'mission' => 'string',
'no_feed_story' => 'bool',
'no_notification' => 'bool',
'offset_x' => 'int',
'offset_y' => 'int',
'parking' => 'map',
'payment_options' => 'map',
'phone' => 'string',
'pickup_options' => 'list<pickup_options_enum>',
'plot_outline' => 'string',
'price_range' => 'string',
'public_transit' => 'string',
'restaurant_services' => 'map',
'restaurant_specialties' => 'map',
'scrape' => 'bool',
'service_details' => 'string',
'spherical_metadata' => 'map',
'start_info' => 'Object',
'store_location_descriptor' => 'string',
'temporary_status' => 'temporary_status_enum',
'website' => 'string',
'zoom_scale_x' => 'float',
'zoom_scale_y' => 'float',
);
$enums = array(
'attire_enum' => PageAttireValues::getInstance()->getValues(),
'food_styles_enum' => PageFoodStylesValues::getInstance()->getValues(),
'pickup_options_enum' => PagePickupOptionsValues::getInstance()->getValues(),
'temporary_status_enum' => PageTemporaryStatusValues::getInstance()->getValues(),
);
$request = new ApiRequest(
$this->api,
$this->data['id'],
RequestInterface::METHOD_POST,
'/',
new Page(),
'NODE',
Page::getFieldsEnum()->getValues(),
new TypeChecker($param_types, $enums)
);
$request->addParams($params);
$request->addFields($fields);
return $pending ? $request : $request->execute();
}