async def get(self,request_configuration: Optional[RequestConfiguration[HostsRequestBuilderGetQueryParameters]] = None) -> Optional[HostCollectionResponse]:
        """
        Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types:
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[HostCollectionResponse]
        """
        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.security.host_collection_response import HostCollectionResponse

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

        Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types:
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[HostCollectionResponse]
        
msgraph/generated/security/threat_intelligence/hosts/hosts_request_builder.py