::
        
            GET /:login/machines/:id/snapshots
        
        :rtype: :py:class:`list` of :py:class:`smartdc.machine.Snapshot`
        
        Lists all snapshots for the Machine.

def snapshots(self):
        """
        ::
        
            GET /:login/machines/:id/snapshots
        
        :rtype: :py:class:`list` of :py:class:`smartdc.machine.Snapshot`
        
        Lists all snapshots for the Machine.
        """
        j, _ = self.datacenter.request('GET', self.path + '/snapshots')
        return [Snapshot(machine=self, data=s) for s in j]