async def get(self,request_configuration: Optional[RequestConfiguration[SegmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[Segment]:
        """
        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[Segment]
        """
        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 import Segment

        return await self.request_adapter.send_async(request_info, Segment, 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[Segment]
        
msgraph/generated/communications/call_records/item/sessions/item/segments/item/segment_item_request_builder.py