PATH:
home
/
lab2454c
/
.trash
/
core
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
Api
/
V2010
/
Account
/
Call
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Api\V2010\Account\Call; use Twilio\Options; use Twilio\Values; abstract class FeedbackSummaryOptions { /** * @param bool $includeSubaccounts `true` includes feedback from the specified * account and its subaccounts * @param string $statusCallback The URL that we will request when the feedback * summary is complete * @param string $statusCallbackMethod The HTTP method we use to make requests * to the StatusCallback URL * @return CreateFeedbackSummaryOptions Options builder */ public static function create(bool $includeSubaccounts = Values::NONE, string $statusCallback = Values::NONE, string $statusCallbackMethod = Values::NONE): CreateFeedbackSummaryOptions { return new CreateFeedbackSummaryOptions($includeSubaccounts, $statusCallback, $statusCallbackMethod); } } class CreateFeedbackSummaryOptions extends Options { /** * @param bool $includeSubaccounts `true` includes feedback from the specified * account and its subaccounts * @param string $statusCallback The URL that we will request when the feedback * summary is complete * @param string $statusCallbackMethod The HTTP method we use to make requests * to the StatusCallback URL */ public function __construct(bool $includeSubaccounts = Values::NONE, string $statusCallback = Values::NONE, string $statusCallbackMethod = Values::NONE) { $this->options['includeSubaccounts'] = $includeSubaccounts; $this->options['statusCallback'] = $statusCallback; $this->options['statusCallbackMethod'] = $statusCallbackMethod; } /** * Whether to also include Feedback resources from all subaccounts. `true` includes feedback from all subaccounts and `false`, the default, includes feedback from only the specified account. * * @param bool $includeSubaccounts `true` includes feedback from the specified * account and its subaccounts * @return $this Fluent Builder */ public function setIncludeSubaccounts(bool $includeSubaccounts): self { $this->options['includeSubaccounts'] = $includeSubaccounts; return $this; } /** * The URL that we will request when the feedback summary is complete. * * @param string $statusCallback The URL that we will request when the feedback * summary is complete * @return $this Fluent Builder */ public function setStatusCallback(string $statusCallback): self { $this->options['statusCallback'] = $statusCallback; return $this; } /** * The HTTP method (`GET` or `POST`) we use to make the request to the `StatusCallback` URL. * * @param string $statusCallbackMethod The HTTP method we use to make requests * to the StatusCallback URL * @return $this Fluent Builder */ public function setStatusCallbackMethod(string $statusCallbackMethod): self { $this->options['statusCallbackMethod'] = $statusCallbackMethod; 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.Api.V2010.CreateFeedbackSummaryOptions ' . $options . ']'; } }
[-] FeedbackSummaryList.php
[edit]
[-] EventPage.php
[edit]
[+]
..
[-] RecordingInstance.php
[edit]
[-] RecordingList.php
[edit]
[-] FeedbackInstance.php
[edit]
[-] FeedbackSummaryPage.php
[edit]
[-] FeedbackOptions.php
[edit]
[-] NotificationContext.php
[edit]
[-] NotificationPage.php
[edit]
[-] RecordingPage.php
[edit]
[-] FeedbackSummaryInstance.php
[edit]
[-] FeedbackContext.php
[edit]
[-] FeedbackSummaryContext.php
[edit]
[-] RecordingOptions.php
[edit]
[-] PaymentPage.php
[edit]
[-] RecordingContext.php
[edit]
[-] FeedbackPage.php
[edit]
[-] NotificationOptions.php
[edit]
[-] NotificationList.php
[edit]
[-] PaymentInstance.php
[edit]
[-] PaymentContext.php
[edit]
[-] PaymentOptions.php
[edit]
[-] EventInstance.php
[edit]
[-] FeedbackSummaryOptions.php
[edit]
[-] PaymentList.php
[edit]
[-] EventList.php
[edit]
[-] NotificationInstance.php
[edit]
[-] FeedbackList.php
[edit]