code: def query(cls, automation=None, offset=None, limit=None, api=None):
          
          automation_id = Transform.to_automation(automation)
  
          api = api or cls._API
          return super(AutomationMember, cls)._query(
              url=cls._URL['query'].format(automation_id=automation_id),
              automation_id=automation_id,
              offset=offset,
              limit=limit,
              api=api,
          )
docs: Query (List) apps.
          :param automation: Automation id.
          :param offset: Pagination offset.
          :param limit: Pagination limit.
          :param api: Api instance.
          :return: collection object