def _init_api(self): """ Initializes all api. """ self.agent_exclusions_api = AgentExclusionsApi(self) self.agent_config_api = AgentConfigApi(self) self.agent_groups_api = AgentGroupsApi(self) self.agents_api = AgentsApi(self) self.assets_api = AssetsApi(self) self.bulk_operations_api = BulkOperationsApi(self) self.editor_api = EditorApi(self) self.exclusions_api = ExclusionApi(self) self.file_api = FileApi(self) self.filters_api = FiltersApi(self) self.folders_api = FoldersApi(self) self.groups_api = GroupsApi(self) self.import_api = ImportApi(self) self.plugins_api = PluginsApi(self) self.policies_api = PoliciesApi(self) self.scans_api = ScansApi(self) self.scanners_api = ScannersApi(self) self.sc_containers_api = ScContainersApi(self) self.sc_policy_api = ScPolicyApi(self) self.sc_reports_api = ScReportsApi(self) self.sc_test_jobs_api = ScTestJobsApi(self) self.server_api = ServerApi(self) self.session_api = SessionApi(self) self.target_groups_api = TargetGroupsApi(self) self.users_api = UsersApi(self) self.workbenches_api = WorkbenchesApi(self)
def _ini_api(self): """ Initialize all api. """ self.editor_api = EditorApi(self) self.exclusions_api = ExclusionApi(self) self.file_api = FileApi(self) self.folders_api = FoldersApi(self) self.groups_api = GroupsApi(self) self.plugins_api = PluginsApi(self) self.policies_api = PoliciesApi(self) self.scans_api = ScansApi(self) self.scanners_api = ScannersApi(self) self.server_api = ServerApi(self) self.session_api = SessionApi(self) self.target_groups_api = TargetGroupsApi(self) self.users_api = UsersApi(self) self.workbenches_api = WorkbenchApi(self)