def get_report_firmware_updates(self, month=None, file_path=None):
        """Downloads a report of the firmware updates

        :param str file_path: [optional] location to store output file
        :param month: [default: utcnow] month as datetime instance, or string in YYYY-MM format
        :type month: str or datetime
        :return: The report structure
        :rtype: dict
        """
        api = self._get_api(billing.DefaultApi)
        month = self._month_converter(month)

        response = api.get_billing_report_firmware_updates(month=month)
        download_url = response.url
        file_path = self._filepath_converter(file_path, response.filename)
        if file_path:
            urllib.request.urlretrieve(download_url, file_path)
        return response
def get_report_firmware_updates ( self , month = None , file_path = None ) : api = self . _get_api ( billing . DefaultApi ) month = self . _month_converter ( month ) response = api . get_billing_report_firmware_updates ( month = month ) download_url = response . url file_path = self . _filepath_converter ( file_path , response . filename ) if file_path : urllib . request . urlretrieve ( download_url , file_path ) return response
Downloads a report of the firmware updates

        :param str file_path: [optional] location to store output file
        :param month: [default: utcnow] month as datetime instance, or string in YYYY-MM format
        :type month: str or datetime
        :return: The report structure
        :rtype: dict