def get_domains(self):
<EOL>if self._domains is None:<EOL><INDENT>self._domains = self._get_elements('<STR_LIT>', Domain)<EOL><DEDENT>return self._domains<EOL>
Retrieves available domains.

        Returns:
            :py:obj:`list` of :py:class:`~.rest_primitives.Domain`: List of available domains