PATH:
home
/
lab2454c
/
.trash
/
core
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
IpMessaging
/
V1
/
Service
/
Channel
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\IpMessaging\V1\Service\Channel; use Twilio\Options; use Twilio\Values; abstract class MessageOptions { /** * @param string $from The from * @param string $attributes The attributes * @return CreateMessageOptions Options builder */ public static function create(string $from = Values::NONE, string $attributes = Values::NONE): CreateMessageOptions { return new CreateMessageOptions($from, $attributes); } /** * @param string $order The order * @return ReadMessageOptions Options builder */ public static function read(string $order = Values::NONE): ReadMessageOptions { return new ReadMessageOptions($order); } /** * @param string $body The body * @param string $attributes The attributes * @return UpdateMessageOptions Options builder */ public static function update(string $body = Values::NONE, string $attributes = Values::NONE): UpdateMessageOptions { return new UpdateMessageOptions($body, $attributes); } } class CreateMessageOptions extends Options { /** * @param string $from The from * @param string $attributes The attributes */ public function __construct(string $from = Values::NONE, string $attributes = Values::NONE) { $this->options['from'] = $from; $this->options['attributes'] = $attributes; } /** * The from * * @param string $from The from * @return $this Fluent Builder */ public function setFrom(string $from): self { $this->options['from'] = $from; return $this; } /** * The attributes * * @param string $attributes The attributes * @return $this Fluent Builder */ public function setAttributes(string $attributes): self { $this->options['attributes'] = $attributes; 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.IpMessaging.V1.CreateMessageOptions ' . $options . ']'; } } class ReadMessageOptions extends Options { /** * @param string $order The order */ public function __construct(string $order = Values::NONE) { $this->options['order'] = $order; } /** * The order * * @param string $order The order * @return $this Fluent Builder */ public function setOrder(string $order): self { $this->options['order'] = $order; 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.IpMessaging.V1.ReadMessageOptions ' . $options . ']'; } } class UpdateMessageOptions extends Options { /** * @param string $body The body * @param string $attributes The attributes */ public function __construct(string $body = Values::NONE, string $attributes = Values::NONE) { $this->options['body'] = $body; $this->options['attributes'] = $attributes; } /** * The body * * @param string $body The body * @return $this Fluent Builder */ public function setBody(string $body): self { $this->options['body'] = $body; return $this; } /** * The attributes * * @param string $attributes The attributes * @return $this Fluent Builder */ public function setAttributes(string $attributes): self { $this->options['attributes'] = $attributes; 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.IpMessaging.V1.UpdateMessageOptions ' . $options . ']'; } }
[-] MemberOptions.php
[edit]
[-] MessagePage.php
[edit]
[-] MessageOptions.php
[edit]
[-] MessageContext.php
[edit]
[-] InviteOptions.php
[edit]
[-] MemberInstance.php
[edit]
[-] MessageInstance.php
[edit]
[+]
..
[-] MemberContext.php
[edit]
[-] InvitePage.php
[edit]
[-] MemberList.php
[edit]
[-] MemberPage.php
[edit]
[-] InviteInstance.php
[edit]
[-] MessageList.php
[edit]
[-] InviteContext.php
[edit]
[-] InviteList.php
[edit]