async def get(self,request_configuration: Optional[RequestConfiguration[SegmentsRequestBuilderGetQueryParameters]] = None) -> Optional[SegmentCollectionResponse]:
        """
        The list of segments involved in the session. Read-only. Nullable.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[SegmentCollectionResponse]
        """
        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.call_records.segment_collection_response import SegmentCollectionResponse

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

        The list of segments involved in the session. Read-only. Nullable.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[SegmentCollectionResponse]
        
msgraph/generated/communications/call_records/item/sessions/item/segments/segments_request_builder.py