Skip to content

DataQueryKind🔗

Definition🔗

class DataQueryKind implements \JsonSerializable
{
    public string $kind;

    public string $group;

    public string $version;

    /**
     * New type for datasource reference
     * Not creating a new type until we figure out how to handle DS refs for group by, adhoc, and every place that uses DataSourceRef in TS.
     */
    public ?\Grafana\Foundation\Dashboardv2beta1\Dashboardv2beta1DataQueryKindDatasource $datasource;

    /**
     * @var mixed|null
     */
    public $spec;

}

Methods🔗

jsonSerialize🔗

Returns the data representing this object, preparing it for JSON serialization with json_encode().

jsonSerialize()

See also🔗