RequiredOption::__construct( WordPressAiClientProvidersModelsEnumsOptionEnum $name, mixed $value )

In this article

Constructor.

Parameters

$nameWordPressAiClientProvidersModelsEnumsOptionEnumrequired
The option name.
$valuemixedrequired
The value that the model must support for this option.

Source

public function __construct(OptionEnum $name, $value)
{
    $this->name = $name;
    $this->value = $value;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.