def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], app_id: Optional[str] = None) -> None:
        """
        Instantiates a new ApplicationsWithAppIdRequestBuilder and sets the default values.
        param app_id: Alternate key of application
        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['appId'] = app_id
        super().__init__(request_adapter, "{+baseurl}/applications(appId='{appId}'){?%24expand,%24select}", path_parameters)

        Instantiates a new ApplicationsWithAppIdRequestBuilder and sets the default values.
        param app_id: Alternate key of application
        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/applications_with_app_id/applications_with_app_id_request_builder.py