def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], height: Optional[int] = None, width: Optional[int] = None) -> None:
        """
        Instantiates a new ImageWithWidthWithHeightRequestBuilder and sets the default values.
        param height: Usage: height={height}
        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.
        param width: Usage: width={width}
        Returns: None
        """
        if isinstance(path_parameters, dict):
            path_parameters['height'] = height
            path_parameters['width'] = width
        super().__init__(request_adapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/image(width={width},height={height})", path_parameters)

        Instantiates a new ImageWithWidthWithHeightRequestBuilder and sets the default values.
        param height: Usage: height={height}
        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.
        param width: Usage: width={width}
        Returns: None
        
msgraph/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/image_with_width_with_height/image_with_width_with_height_request_builder.py