PATH:
home
/
lab2454c
/
.trash
/
core
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
Autopilot
/
V1
/
Assistant
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Autopilot\V1\Assistant; use Twilio\Options; use Twilio\Values; /** * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. */ abstract class ModelBuildOptions { /** * @param string $statusCallback The URL we should call using a POST method to * send status information to your application * @param string $uniqueName An application-defined string that uniquely * identifies the new resource * @return CreateModelBuildOptions Options builder */ public static function create(string $statusCallback = Values::NONE, string $uniqueName = Values::NONE): CreateModelBuildOptions { return new CreateModelBuildOptions($statusCallback, $uniqueName); } /** * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @return UpdateModelBuildOptions Options builder */ public static function update(string $uniqueName = Values::NONE): UpdateModelBuildOptions { return new UpdateModelBuildOptions($uniqueName); } } class CreateModelBuildOptions extends Options { /** * @param string $statusCallback The URL we should call using a POST method to * send status information to your application * @param string $uniqueName An application-defined string that uniquely * identifies the new resource */ public function __construct(string $statusCallback = Values::NONE, string $uniqueName = Values::NONE) { $this->options['statusCallback'] = $statusCallback; $this->options['uniqueName'] = $uniqueName; } /** * The URL we should call using a POST method to send status information to your application. * * @param string $statusCallback The URL we should call using a POST method to * send status information to your application * @return $this Fluent Builder */ public function setStatusCallback(string $statusCallback): self { $this->options['statusCallback'] = $statusCallback; return $this; } /** * An application-defined string that uniquely identifies the new resource. This value must be a unique string of no more than 64 characters. It can be used as an alternative to the `sid` in the URL path to address the resource. * * @param string $uniqueName An application-defined string that uniquely * identifies the new resource * @return $this Fluent Builder */ public function setUniqueName(string $uniqueName): self { $this->options['uniqueName'] = $uniqueName; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString(): string { $options = \http_build_query(Values::of($this->options), '', ' '); return '[Twilio.Autopilot.V1.CreateModelBuildOptions ' . $options . ']'; } } class UpdateModelBuildOptions extends Options { /** * @param string $uniqueName An application-defined string that uniquely * identifies the resource */ public function __construct(string $uniqueName = Values::NONE) { $this->options['uniqueName'] = $uniqueName; } /** * An application-defined string that uniquely identifies the resource. This value must be a unique string of no more than 64 characters. It can be used as an alternative to the `sid` in the URL path to address the resource. * * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @return $this Fluent Builder */ public function setUniqueName(string $uniqueName): self { $this->options['uniqueName'] = $uniqueName; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString(): string { $options = \http_build_query(Values::of($this->options), '', ' '); return '[Twilio.Autopilot.V1.UpdateModelBuildOptions ' . $options . ']'; } }
[-] TaskContext.php
[edit]
[-] QueryList.php
[edit]
[-] QueryPage.php
[edit]
[-] WebhookInstance.php
[edit]
[-] DefaultsList.php
[edit]
[-] DialogueList.php
[edit]
[-] StyleSheetPage.php
[edit]
[-] QueryContext.php
[edit]
[+]
..
[-] FieldTypeOptions.php
[edit]
[-] DefaultsContext.php
[edit]
[-] FieldTypeContext.php
[edit]
[-] TaskInstance.php
[edit]
[-] QueryOptions.php
[edit]
[-] WebhookPage.php
[edit]
[-] WebhookContext.php
[edit]
[-] StyleSheetContext.php
[edit]
[-] DialogueContext.php
[edit]
[-] FieldTypePage.php
[edit]
[-] ModelBuildPage.php
[edit]
[-] TaskOptions.php
[edit]
[-] StyleSheetList.php
[edit]
[-] QueryInstance.php
[edit]
[+]
Task
[+]
FieldType
[-] ModelBuildList.php
[edit]
[-] DialoguePage.php
[edit]
[-] FieldTypeList.php
[edit]
[-] ModelBuildInstance.php
[edit]
[-] TaskList.php
[edit]
[-] WebhookOptions.php
[edit]
[-] FieldTypeInstance.php
[edit]
[-] WebhookList.php
[edit]
[-] DefaultsPage.php
[edit]
[-] TaskPage.php
[edit]
[-] DefaultsOptions.php
[edit]
[-] ModelBuildContext.php
[edit]
[-] DefaultsInstance.php
[edit]
[-] StyleSheetOptions.php
[edit]
[-] ModelBuildOptions.php
[edit]
[-] DialogueInstance.php
[edit]
[-] StyleSheetInstance.php
[edit]