src/Resource/WebhookList.php
protected function populate(stdClass $response)
    {
        $webhookList = clone $this;
        $webhookList->data = new stdClass();

        $webhookList->data->webhooks = $response->webhooks;

        return $webhookList;
    }
protected function populate(stdClass $response)
    {
        $webhookList = clone $this;
        $webhookList->data = new stdClass();

        $webhookList->data->webhooks = $response->webhooks;

        return $webhookList;
    }
protected function populate ( stdClass $ response ) { $ webhookList = clone $ this ; $ webhookList -> data = new stdClass ( ) ; $ webhookList -> data -> webhooks = $ response -> webhooks ; return $ webhookList ; }
Mount structure of Webhook List.

@param \stdClass $response

@return \Moip\Resource\WebhookList Webhook List
Mount structure of Webhook List .