code: def _get_url(ssl, url, port, path):
      '''
      Returns the URL of the endpoint
      '''
      if ssl:
          return 'https://{0}:{1}/management/domain/{2}'.format(url, port, path)
      else:
          return 'http://{0}:{1}/management/domain/{2}'.format(url, port, pathf _get_url(ssl, url, port, path):
      '''
      Returns the URL of the endpoint
      '''
      if ssl:
          return 'https://{0}:{1}/management/domain/{2}'.format(url, port, path)
      else:
          return 'http://{0}:{1}/management/domain/{2}'.format(url, port, path)
docs: Returns the URL of the endpoint