def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], list_id: Optional[str] = None) -> None:
        """
        Instantiates a new GetApplicableContentTypesForListWithListIdRequestBuilder and sets the default values.
        param list_id: Usage: listId='{listId}'
        param path_parameters: The raw url or the url-template parameters for the request.
        param request_adapter: The request adapter to use to execute the requests.
        Returns: None
        """
        if isinstance(path_parameters, dict):
            path_parameters['listId'] = list_id
        super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getApplicableContentTypesForList(listId='{listId}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)

        Instantiates a new GetApplicableContentTypesForListWithListIdRequestBuilder and sets the default values.
        param list_id: Usage: listId='{listId}'
        param path_parameters: The raw url or the url-template parameters for the request.
        param request_adapter: The request adapter to use to execute the requests.
        Returns: None
        
msgraph/generated/groups/item/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_request_builder.py