@property<EOL><INDENT>def ips(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>v4pub = []<EOL>for c in result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>i = IPAddress(self._client, c['<STR_LIT:address>'], c)<EOL>v4pub.append(i)<EOL><DEDENT>v4pri = []<EOL>for c in result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>i = IPAddress(self._client, c['<STR_LIT:address>'], c)<EOL>v4pri.append(i)<EOL><DEDENT>shared_ips = []<EOL>for c in result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>i = IPAddress(self._client, c['<STR_LIT:address>'], c)<EOL>shared_ips.append(i)<EOL><DEDENT>slaac = IPAddress(self._client, result['<STR_LIT>']['<STR_LIT>']['<STR_LIT:address>'],<EOL>result['<STR_LIT>']['<STR_LIT>'])<EOL>link_local = IPAddress(self._client, result['<STR_LIT>']['<STR_LIT>']['<STR_LIT:address>'],<EOL>result['<STR_LIT>']['<STR_LIT>'])<EOL>pools = []<EOL>for p in result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>pools.append(IPv6Pool(self._client, p['<STR_LIT>']))<EOL><DEDENT>ips = MappedObject(**{<EOL>"<STR_LIT>": {<EOL>"<STR_LIT>": v4pub,<EOL>"<STR_LIT>": v4pri,<EOL>"<STR_LIT>": shared_ips,<EOL>},<EOL>"<STR_LIT>": {<EOL>"<STR_LIT>": slaac,<EOL>"<STR_LIT>": link_local,<EOL>"<STR_LIT>": pools,<EOL>},<EOL>})<EOL>self._set('<STR_LIT>', ips)<EOL><DEDENT>return self._ips<EOL>
The ips related collection is not normalized like the others, so we have to
make an ad-hoc object to return for its response