Access the payloads

@return \Twilio\Rest\Api\V2010\Account\Recording\AddOnResult\PayloadList
483915
protected function getPayloads() {
        if (!$this->_payloads) {
            $this->_payloads = new PayloadList(
                $this->version,
                $this->solution['accountSid'],
                $this->solution['referenceSid'],
                $this->solution['sid']
            );
        }

        return $this->_payloads;
    }
249918
function payload()
    {
        if ( $this->IsFault )
        {
            $payload = xmlrpc_encode( array(
                "faultCode" => $this->FaultCode,
                "faultString" => $this->FaultString ) );
            return str_replace( array( '<fault>', '</fault>' ), array( '<methodResponse><fault>', '</fault></methodResponse>' ), $payload );
        }
        else
        {
            $payload = xmlrpc_encode( $this->Value );
            /// @todo verify if user gave us back an array with faultString / faultCode members,
            ///       as we will be sending back junk in that case...
            return str_replace( array( '<params>', '</params>' ), array( '<methodResponse><params>', '</params></methodResponse>' ), $payload );
        }
    }
101298
public function getList()
    {
        $objects = $this->manager->findAll();
        $this->addPaginationData($objects);
        $objects = $objects->getItems();
        if (empty($objects)) {
            $this->addInfoMessage(self::INFO_NO_ENTRIES_FOUND);
        }
        return $objects;
    }
828249
private function getChannelList()
    {
        if (empty($this->channelList)) {
            $response = $this->makeRequest('GET', 'get_rubric_object_list.json', []);
            $this->channelList = $this->deserialize($response->getBody()->getContents(), ChannelList::class);
        }

        return $this->channelList;
    }
569092
public function getList()
    {
        $routeMatch = $this->getEvent()->getRouteMatch();
        $mode = $this->params('mode', false);
        $type = $this->params('type', false);
        $endpoint = $this->params('endpoint', false);
        $annee = $this->params('annee', 0);
        $processHandler = $this->getProcessStateHandler();
        $executions = $processHandler->getProcessExecutions($mode, $type, $endpoint, $annee);
        if ($executions instanceof \Doctrine\ORM\PersistentCollection)
            $executions = $executions->toArray();
        usort($executions, function (Execution $a, Execution $b)
        {
            return intval($a->getId()) < intval($b->getId());
        });
        $response = $this->getResponse();
        $response->getHeaders()->addHeaderLine('Content-Type', 'application/json');
        $serializer = $this->getSerializer();
        $processJson = $serializer->serialize($executions, 'json');
        $response->setContent($processJson);
        return $response;
    }
770530
protected function payload()
    {
        $buffer = "";

        # Payload
        $buffer .= $this->message;
        Debug::Log(Debug::DEBUG, 'Message PUBLISH: Message='.$this->message);

        return  $buffer;
    }
302770
public function getList()
    {
        $routeMatch = $this->getEvent()->getRouteMatch();
        
        $selectedProcess = $this->params()->fromQuery('process', array());
        if (empty($selectedProcess))
            $selectedProcess = array();
        $selectedLevels = $this->params()->fromQuery('levels', array());
        if (empty($selectedLevels))
            $selectedLevels = array();
        $alerts = $this->getAlertDataHandler()->getAlertsForProcess($selectedProcess, $selectedLevels);
        $response = $this->getResponse();
        $response->getHeaders()->addHeaderLine('Content-Type', 'application/json');
        $serializer = $this->getSerializer();
        $alertssJson = $serializer->serialize($alerts, 'json');
        $response->setContent($alertssJson);
        return $response;
    }
124285
protected function getPayloadOffset()
    {
        if (!isset($this->offset_payload)) {
            $offset = $this->getMaskOffset();
            $offset += $this->getMaskSize();

            $this->offset_payload = $offset;
        }
        return $this->offset_payload;
    }
237393
protected function _getData()
    {
        $data = array();

        if (isset($this->_query)) {
            $data = $this->getRepository()->fetch($this->_query, AnDomain::FETCH_ENTITY_LIST);
        }

        return $data;
    }
704084
public function getList()
    {
        $list = new \BearFramework\DataList();
        foreach ($this->data as $cookie) {
            $list[] = clone($cookie);
        }
        return $list;
    }
1040163
public function getPayload()
    {
        // APNS base payload structure
        $payload = array(
            'aps' => array(),
        );

        // Build notification
        if ($this->getPayloadAlertKeyValue()) {
            $payload['aps']['alert'] = $this->getPayloadAlertKeyValue();
        }

        // Build extra content
        if (!is_null($this->getBadge())) {
            $payload['aps']['badge'] = $this->getBadge();
        }
        if ($this->getSound() !== self::DEFAULT_SOUND) {
            $payload['aps']['sound'] = $this->getSound();
        }
        if (!is_null($this->getContentAvailable())) {
            $payload['aps']['content-available'] = $this->getContentAvailable();
        }
        if ($this->getCategory()) {
            $payload['aps']['category'] = $this->getCategory();
        }
        if ($this->getData()) {
            $payload['data'] = $this->getData();
        }

        // Return payload
        return $payload;
    }
214335
function payload()
    {
        if ( $this->IsFault )
        {
            return json_encode( array(
                'content' => null,
                'error_text' => $this->FaultString() ) );
        }
        else
        {
            return json_encode( array(
                'content' => $this->Value,
                'error_text' => null ) );
        }
    }
995623
public function getList()
    {
        $routeMatch = $this->getEvent()->getRouteMatch();
        
        $type = $this->params('type', false);
        
        $alerts = $this->getAlertDataHandler()->getAlertsStructure($type);
        $response = $this->getResponse();
        $response->getHeaders()->addHeaderLine('Content-Type', 'application/json');
        $serializer = $this->getSerializer();
        $alertssJson = $serializer->serialize($alerts, 'json');
        $response->setContent($alertssJson);
        return $response;
    }
778306
public function getAccessTokenData()
    {
        if ($this->isOauth1()) {
            return array(
                'access_token'        => $this->_access_token,
                'access_token_secret' => $this->_access_token_secret,
                'expires'             => $this->_expires,
            );
        }

        return array(
            'access_token'  => $this->_access_token,
            'expires'       => $this->_expires,
            'token_type'    => $this->_token_type,
            'refresh_token' => $this->_refresh_token
        );
    }
72443
public function toArray()
    {
        if (! isset($this->payload['title'])) {
            throw CouldNotCreateCard::titleNotProvided();
        }

        if (count($this->buttons) > 0) {
            $this->payload['buttons'] = $this->buttons;
        }

        return $this->payload;
    }
1295441
public function serializedList()
    {
        if ($this->isSingleStory()) {
            return $this->singleStory()->getId();
        }

        $basrec = [];
        foreach ($this as $record) {
            $basrec[] = $record->get_serialize_key();
        }

        return implode(';', $basrec);
    }
32670
public function getPayload()
    {
        $payload = $this->payload;

        // The "message" property is deprecated and replaced by "error_description"
        // TODO: remove "message" property
        if (isset($payload['error_description']) && !isset($payload['message'])) {
            $payload['message'] = $payload['error_description'];
        }

        return $payload;
    }