async def get(self,request_configuration: Optional[RequestConfiguration[DirectoryRoleTemplateItemRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryRoleTemplate]:
        """
        Retrieve the properties and relationships of a directoryroletemplate object.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DirectoryRoleTemplate]
        Find more info here: https://learn.microsoft.com/graph/api/directoryroletemplate-get?view=graph-rest-1.0
        """
        request_info = self.to_get_request_information(
            request_configuration
        )
        from ...models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from ...models.directory_role_template import DirectoryRoleTemplate

        return await self.request_adapter.send_async(request_info, DirectoryRoleTemplate, error_mapping)

        Retrieve the properties and relationships of a directoryroletemplate object.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[DirectoryRoleTemplate]
        Find more info here: https://learn.microsoft.com/graph/api/directoryroletemplate-get?view=graph-rest-1.0
        
msgraph/generated/directory_role_templates/item/directory_role_template_item_request_builder.py