'Return a list of records for the provided zone.
:param zone: Zone to list records for.
:type zone: :class:`Zone`
:return: ``list`` of :class:`Record`'

def list_records(self, zone):

    action = '/v1/Network/DNS/Record/list'
    data = json.dumps({'params': {'zone_id': zone.id}})
    response = self.connection.request(action=action, method='POST', data=data)
    records = self._to_records(response.objects[0], zone=zone)
    return records
