WordPress\AiClient\Providers\Models\DTO

ModelMetadata::getIdpublicWP 0.1.0

Gets the model's unique identifier.

Method of the class: ModelMetadata{}

No Hooks.

Returns

String. The model ID.

Usage

$ModelMetadata = new ModelMetadata();
$ModelMetadata->getId(): string;

Changelog

Since 0.1.0 Introduced.

ModelMetadata::getId() code WP 7.0

public function getId(): string
{
    return $this->id;
}