@property<EOL><INDENT>def available_backups(self):<DEDENT>
if not hasattr(self, '<STR_LIT>'):<EOL><INDENT>result = self._client.get("<STR_LIT>".format(Instance.api_endpoint), model=self)<EOL>if not '<STR_LIT>' in result:<EOL><INDENT>raise UnexpectedResponseError('<STR_LIT>', json=result)<EOL><DEDENT>automatic = []<EOL>for a in result['<STR_LIT>']:<EOL><INDENT>cur = Backup(self._client, a['<STR_LIT:id>'], self.id, a)<EOL>automatic.append(cur)<EOL><DEDENT>snap = None<EOL>if result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>snap = Backup(self._client, result['<STR_LIT>']['<STR_LIT>']['<STR_LIT:id>'], self.id,<EOL>result['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>psnap = None<EOL>if result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>psnap = Backup(self._client, result['<STR_LIT>']['<STR_LIT>']['<STR_LIT:id>'], self.id,<EOL>result['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>self._set('<STR_LIT>', MappedObject(**{<EOL>"<STR_LIT>": automatic,<EOL>"<STR_LIT>": {<EOL>"<STR_LIT>": snap,<EOL>"<STR_LIT>": psnap,<EOL>}<EOL>}))<EOL><DEDENT>return self._avail_backups<EOL>
The backups response contains what backups are available to be restored.