async def get(self,request_configuration: Optional[RequestConfiguration[TargetScheduleRequestBuilderGetQueryParameters]] = None) -> Optional[UnifiedRoleEligibilitySchedule]:
        """
        The schedule for a role eligibility that is referenced through the targetScheduleId property. Supports $expand.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[UnifiedRoleEligibilitySchedule]
        """
        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.unified_role_eligibility_schedule import UnifiedRoleEligibilitySchedule

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

        The schedule for a role eligibility that is referenced through the targetScheduleId property. Supports $expand.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[UnifiedRoleEligibilitySchedule]
        
msgraph/generated/role_management/directory/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py