def by_directory_role_template_id(self,directory_role_template_id: str) -> DirectoryRoleTemplateItemRequestBuilder:
        """
        Provides operations to manage the collection of directoryRoleTemplate entities.
        param directory_role_template_id: The unique identifier of directoryRoleTemplate
        Returns: DirectoryRoleTemplateItemRequestBuilder
        """
        if directory_role_template_id is None:
            raise TypeError("directory_role_template_id cannot be null.")
        from .item.directory_role_template_item_request_builder import DirectoryRoleTemplateItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["directoryRoleTemplate%2Did"] = directory_role_template_id
        return DirectoryRoleTemplateItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the collection of directoryRoleTemplate entities.
        param directory_role_template_id: The unique identifier of directoryRoleTemplate
        Returns: DirectoryRoleTemplateItemRequestBuilder
        
msgraph/generated/directory_role_templates/directory_role_templates_request_builder.py