<?php

/**
 * This class has been generated by dagger-php-sdk. DO NOT EDIT.
 */

declare(strict_types=1);

namespace Dagger;

/**
 * The client generated for the module.
 */
class ModuleConfigClient extends Client\AbstractObject implements Client\IdAble
{
    /**
     * The directory the client is generated in.
     */
    public function directory(): string
    {
        $leafQueryBuilder = new \Dagger\Client\QueryBuilder('directory');
        return (string)$this->queryLeaf($leafQueryBuilder, 'directory');
    }

    /**
     * The generator to use
     */
    public function generator(): string
    {
        $leafQueryBuilder = new \Dagger\Client\QueryBuilder('generator');
        return (string)$this->queryLeaf($leafQueryBuilder, 'generator');
    }

    /**
     * A unique identifier for this ModuleConfigClient.
     */
    public function id(): ModuleConfigClientId
    {
        $leafQueryBuilder = new \Dagger\Client\QueryBuilder('id');
        return new \Dagger\ModuleConfigClientId((string)$this->queryLeaf($leafQueryBuilder, 'id'));
    }
}
