def get_runs(self, package=None, status=None, name=None,
                 created_by=None, created_from=None, created_to=None,
                 order_by=None, order=None, offset=None, limit=None, api=None):
        """
        Query automation runs that belong to this automation
        :param package: Package id
        :param status: Run status
        :param name: Automation run name
        :param created_by: Username of member that created the run
        :param created_from: Date the run was created after
        :param created_to: Date the run was created before
        :param order_by: Property by which to order results
        :param order: Ascending or Descending ("asc" or "desc")
        :param offset: Pagination offset.
        :param limit: Pagination limit.
        :param api: sevenbridges Api instance
        :return: AutomationRun collection
        """
        api = api or self._API
        return AutomationRun.query(
            automation=self.id, package=package, status=status, name=name,
            created_by=created_by, created_from=created_from,
            created_to=created_to, order_by=order_by, order=order,
            offset=offset, limit=limit, api=api
        )
def get_runs ( self , package = None , status = None , name = None , created_by = None , created_from = None , created_to = None , order_by = None , order = None , offset = None , limit = None , api = None ) : api = api or self . _API return AutomationRun . query ( automation = self . id , package = package , status = status , name = name , created_by = created_by , created_from = created_from , created_to = created_to , order_by = order_by , order = order , offset = offset , limit = limit , api = api )
Query automation runs that belong to this automation
        :param package: Package id
        :param status: Run status
        :param name: Automation run name
        :param created_by: Username of member that created the run
        :param created_from: Date the run was created after
        :param created_to: Date the run was created before
        :param order_by: Property by which to order results
        :param order: Ascending or Descending ("asc" or "desc")
        :param offset: Pagination offset.
        :param limit: Pagination limit.
        :param api: sevenbridges Api instance
        :return: AutomationRun collection