'List all the volume transfers created.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/block-storage/v2/#list-volume-transfers
https://developer.openstack.org/api-ref/block-storage/v2/#list-volume-transfers-with-details'

def list_volume_transfers(self, detail=False, **params):

    url = 'os-volume-transfer'
    if detail:
        url += '/detail'
    if params:
        url += ('?%s' % urllib.urlencode(params))
    (resp, body) = self.get(url)
    body = json.loads(body)
    self.expected_success(200, resp.status)
    return rest_client.ResponseBody(resp, body)
