private static function _batchResponseHelper(
        &$json, \stdClass &$fields, Api\MtBatchSmsResult &$object
    ) {
        $object->setBatchId($fields->id);
        $object->setRecipients($fields->to);
        $object->setSender($fields->from);
        $object->setCanceled($fields->canceled);

        if (isset($fields->delivery_report)) {
            $object->setDeliveryReport($fields->delivery_report);
        }

        if (isset($fields->send_at)) {
            $object->setSendAt(
                Deserialize::_dateTime($json, $fields->send_at)
            );
        }

        if (isset($fields->expire_at)) {
            $object->setExpireAt(
                Deserialize::_dateTime($json, $fields->expire_at)
            );
        }

        if (isset($fields->created_at)) {
            $object->setCreatedAt(
                Deserialize::_dateTime($json, $fields->created_at)
            );
        }

        if (isset($fields->modified_at)) {
            $object->setModifiedAt(
                Deserialize::_dateTime($json, $fields->modified_at)
            );
        }

        if (isset($fields->callback_url)) {
            $object->setCallbackUrl($fields->callback_url);
        }
    }