Twilio\Rest\Sync\V1\Service\UpdateDocumentOptions
Synopsis
class UpdateDocumentOptions
extends Options
{
- // Inherited members from Options
- protected array $options;
- // methods
- public void __construct()
- public UpdateDocumentOptions setData()
- public UpdateDocumentOptions setTtl()
- public UpdateDocumentOptions setIfMatch()
- public string __toString()
- // Inherited methods from Options
- public void getIterator()
Hierarchy
Extends
Members
protected
- $options
Methods
public
- __construct()
- __toString() — Provide a friendly representation
- setData() — A JSON string that represents an arbitrary, schema-less object that the Sync Document stores. Can be up to 16 KiB in length.
- setIfMatch() — The If-Match HTTP request header
- setTtl() — How long, [in seconds](https://www.twilio.com/docs/sync/limits#sync-payload-limits), before the Sync Document expires and is deleted (time-to-live).