# Path: tenable_io/api/base.py
# class BaseApi(object):
# 
#     def __init__(self, client):
#         self._client = client
# 
# class BaseRequest(object):
# 
#     def as_payload(self, filter_=None):
#         return payload_filter(self.__dict__, filter_)
# 
# Path: tenable_io/api/models.py
# class BulkOpTask(BaseModel):
# 
#     STATUS_NEW = u'NEW'
#     STATUS_RUNNING = u'RUNNING'
#     STATUS_COMPLETED = u'COMPLETED'
#     STATUS_FAILED = u'FAILED'
# 
#     def __init__(
#             self,
#             task_id=None,
#             container_uuid=None,
#             status=None,
#             message=None,
#             start_time=None,
#             end_time=None,
#             last_update_time=None,
#             total_work_units=None,
#             total_work_units_completed=None,
#             completion_percentage=None
#     ):
#         self.task_id = task_id
#         self.container_uuid = container_uuid
#         self.status = status
#         self.message = message
#         self.start_time = start_time
#         self.end_time = end_time
#         self.last_update_time = last_update_time
#         self.total_work_units = total_work_units
#         self.total_work_units_completed = total_work_units_completed
#         self.completion_percentage = completion_percentage


from tenable_io.api.base import BaseApi, BaseRequest
from tenable_io.api.models import BulkOpTask


class BulkOpAddAgentRequest(BaseRequest):

    def __init__(
            self,
            items=None
    ):
        """Request for BulkOperationsApi.bulk_add_agent.

        :param items: list of agent ids or uuids to add to the group.
        :type items: list[int].
        """
        self.items = items


class BulkOpRemoveAgentRequest(BaseRequest):

    def __init__(
            self,
            items=None
    ):
        """Request for BulkOperationsApi.bulk_remove_agent.

        :param items: list of agent ids or uuids to add to the group.
        :type items: list[int].
        """
        self.items = items



# Path: tenable_io/api/base.py
# class BaseApi(object):
# 
#     def __init__(self, client):
#         self._client = client
# 
# class BaseRequest(object):
# 
#     def as_payload(self, filter_=None):
#         return payload_filter(self.__dict__, filter_)
# 
# Path: tenable_io/api/models.py
# class BulkOpTask(BaseModel):
# 
#     STATUS_NEW = u'NEW'
#     STATUS_RUNNING = u'RUNNING'
#     STATUS_COMPLETED = u'COMPLETED'
#     STATUS_FAILED = u'FAILED'
# 
#     def __init__(
#             self,
#             task_id=None,
#             container_uuid=None,
#             status=None,
#             message=None,
#             start_time=None,
#             end_time=None,
#             last_update_time=None,
#             total_work_units=None,
#             total_work_units_completed=None,
#             completion_percentage=None
#     ):
#         self.task_id = task_id
#         self.container_uuid = container_uuid
#         self.status = status
#         self.message = message
#         self.start_time = start_time
#         self.end_time = end_time
#         self.last_update_time = last_update_time
#         self.total_work_units = total_work_units
#         self.total_work_units_completed = total_work_units_completed
#         self.completion_percentage = completion_percentage


# Path: tenable_io/api/bulk_operations.py
from tenable_io.api.base import BaseApi, BaseRequest
from tenable_io.api.models import BulkOpTask



class BulkOpAddAgentRequest(BaseRequest):

    def __init__(
            self,
            items=None
    ):
        """Request for BulkOperationsApi.bulk_add_agent.

        :param items: list of agent ids or uuids to add to the group.
        :type items: list[int].
        """
        self.items = items


class BulkOpRemoveAgentRequest(BaseRequest):

    def __init__(
            self,
            items=None
    ):
        """Request for BulkOperationsApi.bulk_remove_agent.

        :param items: list of agent ids or uuids to add to the group.
        :type items: list[int].
        """
        self.items = items



class BulkOpUnlinkAgentRequest(BaseRequest):