config = $config ?: new Configuration(); } /** * Add metadata field * Add a new custom metadata field to be indexed for the account. */ public function add($body = []) { return $this->config->post('/metadata/add', $body); } /** * Delete metadata field * Delete an existing custom metadata field. Deletion isn't instataneous, and /metadata/list will continue to return the field until the asynchronous deletion process is complete. */ public function delete($body = []) { return $this->config->post('/metadata/delete', $body); } /** * List metadata fields * Get the list of custom metadata fields indexed for the account. */ public function list($body = []) { return $this->config->post('/metadata/list', $body); } /** * Update metadata field * Update an existing custom metadata field. */ public function update($body = []) { return $this->config->post('/metadata/update', $body); } }