public static function byName(
        Client $client,
        string $name
    ): self {
        $tags = self::byNames(
            $client,
            [$name],
            self::ORDER_NAME,
            //            null,
            false
        );

        if (count($tags) === 0) {
            throw new TagNotFoundException(sprintf(
                'Tag with name %s not found',
                $name
            ));
        }

        return $tags[0];
    }