<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all_floating_ips(self):
 """ Lists all of the Floating IPs available on the account. """

        if self.api_version == 2:
            json = self.request('/floating_ips')
            return json['floating_ips']
        else:
            raise DoError(v2_api_required_str)