PATH:
home
/
lab2454c
/
.trash
/
core
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
Conversations
/
V1
/
Service
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Conversations\V1\Service; use Twilio\Options; use Twilio\Values; abstract class BindingOptions { /** * @param string[] $bindingType The push technology used by the Binding * resources to read. * @param string[] $identity The identity of Conversation User associated with * this binding. * @return ReadBindingOptions Options builder */ public static function read(array $bindingType = Values::ARRAY_NONE, array $identity = Values::ARRAY_NONE): ReadBindingOptions { return new ReadBindingOptions($bindingType, $identity); } } class ReadBindingOptions extends Options { /** * @param string[] $bindingType The push technology used by the Binding * resources to read. * @param string[] $identity The identity of Conversation User associated with * this binding. */ public function __construct(array $bindingType = Values::ARRAY_NONE, array $identity = Values::ARRAY_NONE) { $this->options['bindingType'] = $bindingType; $this->options['identity'] = $identity; } /** * The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. * * @param string[] $bindingType The push technology used by the Binding * resources to read. * @return $this Fluent Builder */ public function setBindingType(array $bindingType): self { $this->options['bindingType'] = $bindingType; return $this; } /** * The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details. * * @param string[] $identity The identity of Conversation User associated with * this binding. * @return $this Fluent Builder */ public function setIdentity(array $identity): self { $this->options['identity'] = $identity; 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.Conversations.V1.ReadBindingOptions ' . $options . ']'; } }
[-] ConfigurationList.php
[edit]
[-] BindingOptions.php
[edit]
[-] ParticipantConversationPage.php
[edit]
[-] ConversationList.php
[edit]
[-] BindingInstance.php
[edit]
[+]
..
[-] ConfigurationContext.php
[edit]
[-] RoleList.php
[edit]
[+]
Configuration
[-] ConversationInstance.php
[edit]
[-] BindingPage.php
[edit]
[-] UserPage.php
[edit]
[+]
Conversation
[-] ConfigurationInstance.php
[edit]
[-] RoleInstance.php
[edit]
[-] BindingList.php
[edit]
[-] ParticipantConversationList.php
[edit]
[-] ConversationContext.php
[edit]
[-] ParticipantConversationInstance.php
[edit]
[-] UserList.php
[edit]
[-] UserInstance.php
[edit]
[-] ConfigurationPage.php
[edit]
[-] ConfigurationOptions.php
[edit]
[-] ConversationPage.php
[edit]
[-] ParticipantConversationOptions.php
[edit]
[-] RolePage.php
[edit]
[+]
User
[-] UserOptions.php
[edit]
[-] RoleContext.php
[edit]
[-] ConversationOptions.php
[edit]
[-] UserContext.php
[edit]
[-] BindingContext.php
[edit]