code: def get_host(self):
          
          host = self.get_as_nullable_string("host")
          host = host if host != None else self.get_as_nullable_string("ip")
          return host
docs: Gets the host name or IP address.
  
          :return: the host name or IP address.