def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ScopedMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
        """
        Retrieve a list of scopedRoleMembership objects for a directory role.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: RequestInformation
        """
        request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
        request_info.configure(request_configuration)
        request_info.headers.try_add("Accept", "application/json")
        return request_info

        Retrieve a list of scopedRoleMembership objects for a directory role.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: RequestInformation
        
msgraph/generated/directory_roles/item/scoped_members/scoped_members_request_builder.py