• File: ProgressNotificationParams.php
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/elementor/vendor/wordpress/php-mcp-schema/src/Record/ProgressNotificationParams.php
  • Date Modified: 11/05/2026 9:17 AM
  • File size: 1.36 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

/**
 * This file is generated. Do not edit it directly.
 */

declare(strict_types=1);

namespace WP\McpSchema\Record;

final class ProgressNotificationParams extends \WP\McpSchema\Record
{
    public const DEFINITION = 'ProgressNotificationParams';

    /**
     * @return \WP\McpSchema\Record\NotificationMetaObject|\stdClass|null
     */
    public function getMeta()
    {
        /** @var \WP\McpSchema\Record\NotificationMetaObject|\stdClass|null $value */
        $value = $this->declaredValue('_meta');

        return $value;
    }

    /**
     * @return null|string
     */
    public function getMessage(): ?string
    {
        /** @var null|string $value */
        $value = $this->declaredValue('message');

        return $value;
    }

    /**
     * @return float|int
     */
    public function getProgress()
    {
        /** @var float|int $value */
        $value = $this->declaredValue('progress');

        return $value;
    }

    /**
     * @return float|int|string
     */
    public function getProgressToken()
    {
        /** @var float|int|string $value */
        $value = $this->declaredValue('progressToken');

        return $value;
    }

    /**
     * @return float|int|null
     */
    public function getTotal()
    {
        /** @var float|int|null $value */
        $value = $this->declaredValue('total');

        return $value;
    }
}