Twilio\Rest\Taskrouter\V1\Workspace\CreateActivityOptions
Synopsis
class CreateActivityOptions
extends Options
{
- // Inherited members from Options
- protected array $options;
- // methods
- public void __construct()
- public CreateActivityOptions setAvailable()
- public string __toString()
- // Inherited methods from Options
- public void getIterator()
Hierarchy
Extends
Members
protected
- $options
Methods
public
- __construct()
- __toString() — Provide a friendly representation
- setAvailable() — Whether the Worker should be eligible to receive a Task when it occupies the Activity. A value of `true`, `1`, or `yes` specifies the Activity is available. All other values specify that it is not. The value cannot be changed after the Activity is created.