huaweicloudsdktics 3.1.160__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of huaweicloudsdktics might be problematic. Click here for more details.

Files changed (78) hide show
  1. huaweicloudsdktics/__init__.py +0 -0
  2. huaweicloudsdktics/v1/__init__.py +74 -0
  3. huaweicloudsdktics/v1/model/__init__.py +71 -0
  4. huaweicloudsdktics/v1/model/agent_list_vo.py +521 -0
  5. huaweicloudsdktics/v1/model/deploy_vo.py +228 -0
  6. huaweicloudsdktics/v1/model/fl_job_list_vo.py +457 -0
  7. huaweicloudsdktics/v1/model/job_report_base_info_vo.py +256 -0
  8. huaweicloudsdktics/v1/model/job_report_env_vo.py +231 -0
  9. huaweicloudsdktics/v1/model/job_report_output_vo.py +173 -0
  10. huaweicloudsdktics/v1/model/job_report_partner_vo.py +231 -0
  11. huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +260 -0
  12. huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +318 -0
  13. huaweicloudsdktics/v1/model/league_update_vo.py +173 -0
  14. huaweicloudsdktics/v1/model/list_agents_request.py +200 -0
  15. huaweicloudsdktics/v1/model/list_agents_response.py +145 -0
  16. huaweicloudsdktics/v1/model/list_audit_info_request.py +170 -0
  17. huaweicloudsdktics/v1/model/list_audit_info_response.py +145 -0
  18. huaweicloudsdktics/v1/model/list_fl_job_request.py +170 -0
  19. huaweicloudsdktics/v1/model/list_fl_job_response.py +145 -0
  20. huaweicloudsdktics/v1/model/list_instance_history_request.py +199 -0
  21. huaweicloudsdktics/v1/model/list_instance_history_response.py +145 -0
  22. huaweicloudsdktics/v1/model/list_league_datasets_request.py +228 -0
  23. huaweicloudsdktics/v1/model/list_league_datasets_response.py +145 -0
  24. huaweicloudsdktics/v1/model/list_leagues_request.py +170 -0
  25. huaweicloudsdktics/v1/model/list_leagues_response.py +145 -0
  26. huaweicloudsdktics/v1/model/list_nodes_request.py +170 -0
  27. huaweicloudsdktics/v1/model/list_nodes_response.py +145 -0
  28. huaweicloudsdktics/v1/model/list_notices_request.py +142 -0
  29. huaweicloudsdktics/v1/model/list_notices_response.py +145 -0
  30. huaweicloudsdktics/v1/model/list_partners_request.py +170 -0
  31. huaweicloudsdktics/v1/model/list_partners_response.py +145 -0
  32. huaweicloudsdktics/v1/model/list_sql_job_request.py +170 -0
  33. huaweicloudsdktics/v1/model/list_sql_job_response.py +145 -0
  34. huaweicloudsdktics/v1/model/partner_data_vo.py +289 -0
  35. huaweicloudsdktics/v1/model/processor_vo.py +374 -0
  36. huaweicloudsdktics/v1/model/round_deploy_vo.py +144 -0
  37. huaweicloudsdktics/v1/model/show_agent_detail_request.py +114 -0
  38. huaweicloudsdktics/v1/model/show_agent_detail_response.py +212 -0
  39. huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +172 -0
  40. huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +112 -0
  41. huaweicloudsdktics/v1/model/show_instance_report_request.py +142 -0
  42. huaweicloudsdktics/v1/model/show_instance_report_response.py +220 -0
  43. huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +170 -0
  44. huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +112 -0
  45. huaweicloudsdktics/v1/model/show_job_statistics_request.py +172 -0
  46. huaweicloudsdktics/v1/model/show_job_statistics_response.py +232 -0
  47. huaweicloudsdktics/v1/model/show_league_request.py +114 -0
  48. huaweicloudsdktics/v1/model/show_league_response.py +725 -0
  49. huaweicloudsdktics/v1/model/show_overview_request.py +84 -0
  50. huaweicloudsdktics/v1/model/show_overview_response.py +203 -0
  51. huaweicloudsdktics/v1/model/show_partner_statistics_request.py +172 -0
  52. huaweicloudsdktics/v1/model/show_partner_statistics_response.py +112 -0
  53. huaweicloudsdktics/v1/model/stage_vo.py +201 -0
  54. huaweicloudsdktics/v1/model/tics_agent_deploy.py +724 -0
  55. huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +289 -0
  56. huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +463 -0
  57. huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +202 -0
  58. huaweicloudsdktics/v1/model/tics_agent_node_info.py +492 -0
  59. huaweicloudsdktics/v1/model/tics_approve_log_vo.py +484 -0
  60. huaweicloudsdktics/v1/model/tics_dataset_column.py +405 -0
  61. huaweicloudsdktics/v1/model/tics_job_instance_vo.py +401 -0
  62. huaweicloudsdktics/v1/model/tics_league_audit_log.py +376 -0
  63. huaweicloudsdktics/v1/model/tics_league_list_vo.py +543 -0
  64. huaweicloudsdktics/v1/model/tics_league_notice_vo.py +430 -0
  65. huaweicloudsdktics/v1/model/tics_league_partner_vo.py +202 -0
  66. huaweicloudsdktics/v1/model/tics_sql_job_vo.py +483 -0
  67. huaweicloudsdktics/v1/model/tics_trust_info_vo.py +347 -0
  68. huaweicloudsdktics/v1/model/update_league_request.py +139 -0
  69. huaweicloudsdktics/v1/model/update_league_response.py +112 -0
  70. huaweicloudsdktics/v1/region/__init__.py +0 -0
  71. huaweicloudsdktics/v1/region/tics_region.py +34 -0
  72. huaweicloudsdktics/v1/tics_async_client.py +1382 -0
  73. huaweicloudsdktics/v1/tics_client.py +1379 -0
  74. huaweicloudsdktics-3.1.160.dist-info/LICENSE +13 -0
  75. huaweicloudsdktics-3.1.160.dist-info/METADATA +26 -0
  76. huaweicloudsdktics-3.1.160.dist-info/RECORD +78 -0
  77. huaweicloudsdktics-3.1.160.dist-info/WHEEL +5 -0
  78. huaweicloudsdktics-3.1.160.dist-info/top_level.txt +1 -0
File without changes
@@ -0,0 +1,74 @@
1
+ # coding: utf-8
2
+
3
+ from __future__ import absolute_import
4
+
5
+ from huaweicloudsdktics.v1.tics_client import TicsClient
6
+ from huaweicloudsdktics.v1.tics_async_client import TicsAsyncClient
7
+
8
+ from huaweicloudsdktics.v1.model.agent_list_vo import AgentListVo
9
+ from huaweicloudsdktics.v1.model.deploy_vo import DeployVo
10
+ from huaweicloudsdktics.v1.model.fl_job_list_vo import FlJobListVo
11
+ from huaweicloudsdktics.v1.model.job_report_base_info_vo import JobReportBaseInfoVo
12
+ from huaweicloudsdktics.v1.model.job_report_env_vo import JobReportEnvVo
13
+ from huaweicloudsdktics.v1.model.job_report_output_vo import JobReportOutputVo
14
+ from huaweicloudsdktics.v1.model.job_report_partner_vo import JobReportPartnerVo
15
+ from huaweicloudsdktics.v1.model.league_dataset_statistics_vo import LeagueDatasetStatisticsVo
16
+ from huaweicloudsdktics.v1.model.league_partner_statistics_vo import LeaguePartnerStatisticsVo
17
+ from huaweicloudsdktics.v1.model.league_update_vo import LeagueUpdateVo
18
+ from huaweicloudsdktics.v1.model.list_agents_request import ListAgentsRequest
19
+ from huaweicloudsdktics.v1.model.list_agents_response import ListAgentsResponse
20
+ from huaweicloudsdktics.v1.model.list_audit_info_request import ListAuditInfoRequest
21
+ from huaweicloudsdktics.v1.model.list_audit_info_response import ListAuditInfoResponse
22
+ from huaweicloudsdktics.v1.model.list_fl_job_request import ListFlJobRequest
23
+ from huaweicloudsdktics.v1.model.list_fl_job_response import ListFlJobResponse
24
+ from huaweicloudsdktics.v1.model.list_instance_history_request import ListInstanceHistoryRequest
25
+ from huaweicloudsdktics.v1.model.list_instance_history_response import ListInstanceHistoryResponse
26
+ from huaweicloudsdktics.v1.model.list_league_datasets_request import ListLeagueDatasetsRequest
27
+ from huaweicloudsdktics.v1.model.list_league_datasets_response import ListLeagueDatasetsResponse
28
+ from huaweicloudsdktics.v1.model.list_leagues_request import ListLeaguesRequest
29
+ from huaweicloudsdktics.v1.model.list_leagues_response import ListLeaguesResponse
30
+ from huaweicloudsdktics.v1.model.list_nodes_request import ListNodesRequest
31
+ from huaweicloudsdktics.v1.model.list_nodes_response import ListNodesResponse
32
+ from huaweicloudsdktics.v1.model.list_notices_request import ListNoticesRequest
33
+ from huaweicloudsdktics.v1.model.list_notices_response import ListNoticesResponse
34
+ from huaweicloudsdktics.v1.model.list_partners_request import ListPartnersRequest
35
+ from huaweicloudsdktics.v1.model.list_partners_response import ListPartnersResponse
36
+ from huaweicloudsdktics.v1.model.list_sql_job_request import ListSqlJobRequest
37
+ from huaweicloudsdktics.v1.model.list_sql_job_response import ListSqlJobResponse
38
+ from huaweicloudsdktics.v1.model.partner_data_vo import PartnerDataVo
39
+ from huaweicloudsdktics.v1.model.processor_vo import ProcessorVo
40
+ from huaweicloudsdktics.v1.model.round_deploy_vo import RoundDeployVo
41
+ from huaweicloudsdktics.v1.model.show_agent_detail_request import ShowAgentDetailRequest
42
+ from huaweicloudsdktics.v1.model.show_agent_detail_response import ShowAgentDetailResponse
43
+ from huaweicloudsdktics.v1.model.show_dataset_statistics_request import ShowDatasetStatisticsRequest
44
+ from huaweicloudsdktics.v1.model.show_dataset_statistics_response import ShowDatasetStatisticsResponse
45
+ from huaweicloudsdktics.v1.model.show_instance_report_request import ShowInstanceReportRequest
46
+ from huaweicloudsdktics.v1.model.show_instance_report_response import ShowInstanceReportResponse
47
+ from huaweicloudsdktics.v1.model.show_job_instance_dag_request import ShowJobInstanceDagRequest
48
+ from huaweicloudsdktics.v1.model.show_job_instance_dag_response import ShowJobInstanceDagResponse
49
+ from huaweicloudsdktics.v1.model.show_job_statistics_request import ShowJobStatisticsRequest
50
+ from huaweicloudsdktics.v1.model.show_job_statistics_response import ShowJobStatisticsResponse
51
+ from huaweicloudsdktics.v1.model.show_league_request import ShowLeagueRequest
52
+ from huaweicloudsdktics.v1.model.show_league_response import ShowLeagueResponse
53
+ from huaweicloudsdktics.v1.model.show_overview_request import ShowOverviewRequest
54
+ from huaweicloudsdktics.v1.model.show_overview_response import ShowOverviewResponse
55
+ from huaweicloudsdktics.v1.model.show_partner_statistics_request import ShowPartnerStatisticsRequest
56
+ from huaweicloudsdktics.v1.model.show_partner_statistics_response import ShowPartnerStatisticsResponse
57
+ from huaweicloudsdktics.v1.model.stage_vo import StageVo
58
+ from huaweicloudsdktics.v1.model.tics_agent_deploy import TicsAgentDeploy
59
+ from huaweicloudsdktics.v1.model.tics_agent_deploy_bcs import TicsAgentDeployBcs
60
+ from huaweicloudsdktics.v1.model.tics_agent_deploy_detail import TicsAgentDeployDetail
61
+ from huaweicloudsdktics.v1.model.tics_agent_nat_common_info import TicsAgentNatCommonInfo
62
+ from huaweicloudsdktics.v1.model.tics_agent_node_info import TicsAgentNodeInfo
63
+ from huaweicloudsdktics.v1.model.tics_approve_log_vo import TicsApproveLogVo
64
+ from huaweicloudsdktics.v1.model.tics_dataset_column import TicsDatasetColumn
65
+ from huaweicloudsdktics.v1.model.tics_job_instance_vo import TicsJobInstanceVo
66
+ from huaweicloudsdktics.v1.model.tics_league_audit_log import TicsLeagueAuditLog
67
+ from huaweicloudsdktics.v1.model.tics_league_list_vo import TicsLeagueListVo
68
+ from huaweicloudsdktics.v1.model.tics_league_notice_vo import TicsLeagueNoticeVo
69
+ from huaweicloudsdktics.v1.model.tics_league_partner_vo import TicsLeaguePartnerVo
70
+ from huaweicloudsdktics.v1.model.tics_sql_job_vo import TicsSqlJobVo
71
+ from huaweicloudsdktics.v1.model.tics_trust_info_vo import TicsTrustInfoVo
72
+ from huaweicloudsdktics.v1.model.update_league_request import UpdateLeagueRequest
73
+ from huaweicloudsdktics.v1.model.update_league_response import UpdateLeagueResponse
74
+
@@ -0,0 +1,71 @@
1
+ # coding: utf-8
2
+
3
+ from __future__ import absolute_import
4
+
5
+ # import models into model package
6
+ from huaweicloudsdktics.v1.model.agent_list_vo import AgentListVo
7
+ from huaweicloudsdktics.v1.model.deploy_vo import DeployVo
8
+ from huaweicloudsdktics.v1.model.fl_job_list_vo import FlJobListVo
9
+ from huaweicloudsdktics.v1.model.job_report_base_info_vo import JobReportBaseInfoVo
10
+ from huaweicloudsdktics.v1.model.job_report_env_vo import JobReportEnvVo
11
+ from huaweicloudsdktics.v1.model.job_report_output_vo import JobReportOutputVo
12
+ from huaweicloudsdktics.v1.model.job_report_partner_vo import JobReportPartnerVo
13
+ from huaweicloudsdktics.v1.model.league_dataset_statistics_vo import LeagueDatasetStatisticsVo
14
+ from huaweicloudsdktics.v1.model.league_partner_statistics_vo import LeaguePartnerStatisticsVo
15
+ from huaweicloudsdktics.v1.model.league_update_vo import LeagueUpdateVo
16
+ from huaweicloudsdktics.v1.model.list_agents_request import ListAgentsRequest
17
+ from huaweicloudsdktics.v1.model.list_agents_response import ListAgentsResponse
18
+ from huaweicloudsdktics.v1.model.list_audit_info_request import ListAuditInfoRequest
19
+ from huaweicloudsdktics.v1.model.list_audit_info_response import ListAuditInfoResponse
20
+ from huaweicloudsdktics.v1.model.list_fl_job_request import ListFlJobRequest
21
+ from huaweicloudsdktics.v1.model.list_fl_job_response import ListFlJobResponse
22
+ from huaweicloudsdktics.v1.model.list_instance_history_request import ListInstanceHistoryRequest
23
+ from huaweicloudsdktics.v1.model.list_instance_history_response import ListInstanceHistoryResponse
24
+ from huaweicloudsdktics.v1.model.list_league_datasets_request import ListLeagueDatasetsRequest
25
+ from huaweicloudsdktics.v1.model.list_league_datasets_response import ListLeagueDatasetsResponse
26
+ from huaweicloudsdktics.v1.model.list_leagues_request import ListLeaguesRequest
27
+ from huaweicloudsdktics.v1.model.list_leagues_response import ListLeaguesResponse
28
+ from huaweicloudsdktics.v1.model.list_nodes_request import ListNodesRequest
29
+ from huaweicloudsdktics.v1.model.list_nodes_response import ListNodesResponse
30
+ from huaweicloudsdktics.v1.model.list_notices_request import ListNoticesRequest
31
+ from huaweicloudsdktics.v1.model.list_notices_response import ListNoticesResponse
32
+ from huaweicloudsdktics.v1.model.list_partners_request import ListPartnersRequest
33
+ from huaweicloudsdktics.v1.model.list_partners_response import ListPartnersResponse
34
+ from huaweicloudsdktics.v1.model.list_sql_job_request import ListSqlJobRequest
35
+ from huaweicloudsdktics.v1.model.list_sql_job_response import ListSqlJobResponse
36
+ from huaweicloudsdktics.v1.model.partner_data_vo import PartnerDataVo
37
+ from huaweicloudsdktics.v1.model.processor_vo import ProcessorVo
38
+ from huaweicloudsdktics.v1.model.round_deploy_vo import RoundDeployVo
39
+ from huaweicloudsdktics.v1.model.show_agent_detail_request import ShowAgentDetailRequest
40
+ from huaweicloudsdktics.v1.model.show_agent_detail_response import ShowAgentDetailResponse
41
+ from huaweicloudsdktics.v1.model.show_dataset_statistics_request import ShowDatasetStatisticsRequest
42
+ from huaweicloudsdktics.v1.model.show_dataset_statistics_response import ShowDatasetStatisticsResponse
43
+ from huaweicloudsdktics.v1.model.show_instance_report_request import ShowInstanceReportRequest
44
+ from huaweicloudsdktics.v1.model.show_instance_report_response import ShowInstanceReportResponse
45
+ from huaweicloudsdktics.v1.model.show_job_instance_dag_request import ShowJobInstanceDagRequest
46
+ from huaweicloudsdktics.v1.model.show_job_instance_dag_response import ShowJobInstanceDagResponse
47
+ from huaweicloudsdktics.v1.model.show_job_statistics_request import ShowJobStatisticsRequest
48
+ from huaweicloudsdktics.v1.model.show_job_statistics_response import ShowJobStatisticsResponse
49
+ from huaweicloudsdktics.v1.model.show_league_request import ShowLeagueRequest
50
+ from huaweicloudsdktics.v1.model.show_league_response import ShowLeagueResponse
51
+ from huaweicloudsdktics.v1.model.show_overview_request import ShowOverviewRequest
52
+ from huaweicloudsdktics.v1.model.show_overview_response import ShowOverviewResponse
53
+ from huaweicloudsdktics.v1.model.show_partner_statistics_request import ShowPartnerStatisticsRequest
54
+ from huaweicloudsdktics.v1.model.show_partner_statistics_response import ShowPartnerStatisticsResponse
55
+ from huaweicloudsdktics.v1.model.stage_vo import StageVo
56
+ from huaweicloudsdktics.v1.model.tics_agent_deploy import TicsAgentDeploy
57
+ from huaweicloudsdktics.v1.model.tics_agent_deploy_bcs import TicsAgentDeployBcs
58
+ from huaweicloudsdktics.v1.model.tics_agent_deploy_detail import TicsAgentDeployDetail
59
+ from huaweicloudsdktics.v1.model.tics_agent_nat_common_info import TicsAgentNatCommonInfo
60
+ from huaweicloudsdktics.v1.model.tics_agent_node_info import TicsAgentNodeInfo
61
+ from huaweicloudsdktics.v1.model.tics_approve_log_vo import TicsApproveLogVo
62
+ from huaweicloudsdktics.v1.model.tics_dataset_column import TicsDatasetColumn
63
+ from huaweicloudsdktics.v1.model.tics_job_instance_vo import TicsJobInstanceVo
64
+ from huaweicloudsdktics.v1.model.tics_league_audit_log import TicsLeagueAuditLog
65
+ from huaweicloudsdktics.v1.model.tics_league_list_vo import TicsLeagueListVo
66
+ from huaweicloudsdktics.v1.model.tics_league_notice_vo import TicsLeagueNoticeVo
67
+ from huaweicloudsdktics.v1.model.tics_league_partner_vo import TicsLeaguePartnerVo
68
+ from huaweicloudsdktics.v1.model.tics_sql_job_vo import TicsSqlJobVo
69
+ from huaweicloudsdktics.v1.model.tics_trust_info_vo import TicsTrustInfoVo
70
+ from huaweicloudsdktics.v1.model.update_league_request import UpdateLeagueRequest
71
+ from huaweicloudsdktics.v1.model.update_league_response import UpdateLeagueResponse
@@ -0,0 +1,521 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class AgentListVo:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'agent_id': 'str',
21
+ 'agent_name': 'str',
22
+ 'create_time': 'datetime',
23
+ 'creator_domain_id': 'str',
24
+ 'creator_user_name': 'str',
25
+ 'deploy_status': 'str',
26
+ 'deploy_type': 'str',
27
+ 'deployment_event_information': 'str',
28
+ 'enable_delete': 'bool',
29
+ 'enable_upgrade': 'bool',
30
+ 'image_version': 'str',
31
+ 'is_high_avail': 'bool',
32
+ 'league_id': 'str',
33
+ 'league_name': 'str',
34
+ 'league_version': 'str'
35
+ }
36
+
37
+ attribute_map = {
38
+ 'agent_id': 'agent_id',
39
+ 'agent_name': 'agent_name',
40
+ 'create_time': 'create_time',
41
+ 'creator_domain_id': 'creator_domain_id',
42
+ 'creator_user_name': 'creator_user_name',
43
+ 'deploy_status': 'deploy_status',
44
+ 'deploy_type': 'deploy_type',
45
+ 'deployment_event_information': 'deployment_event_information',
46
+ 'enable_delete': 'enable_delete',
47
+ 'enable_upgrade': 'enable_upgrade',
48
+ 'image_version': 'image_version',
49
+ 'is_high_avail': 'is_high_avail',
50
+ 'league_id': 'league_id',
51
+ 'league_name': 'league_name',
52
+ 'league_version': 'league_version'
53
+ }
54
+
55
+ def __init__(self, agent_id=None, agent_name=None, create_time=None, creator_domain_id=None, creator_user_name=None, deploy_status=None, deploy_type=None, deployment_event_information=None, enable_delete=None, enable_upgrade=None, image_version=None, is_high_avail=None, league_id=None, league_name=None, league_version=None):
56
+ r"""AgentListVo
57
+
58
+ The model defined in huaweicloud sdk
59
+
60
+ :param agent_id: 可信节点id
61
+ :type agent_id: str
62
+ :param agent_name: 可信节点名称
63
+ :type agent_name: str
64
+ :param create_time: 创建时间
65
+ :type create_time: datetime
66
+ :param creator_domain_id: 创建者租户id
67
+ :type creator_domain_id: str
68
+ :param creator_user_name: 创建者名称
69
+ :type creator_user_name: str
70
+ :param deploy_status: 部署状态 ABNORMAL.正常,RESTARTING.重启中,RESTART_FAILED.重启失败,ROLLBACKING.回滚中,STARTING.启动中,DEPLOYING.创建中,DEPLOY_FAILED.创建失败,DEPLOY_SUCCESS.创建成功,RUNNING.运行中,DELETING.删除中,DELETE_FAILED.删除失败,DELETE_SUCCESS.删除成功,UPGRADING.升级中,UPGRADE_FAILED.升级失败,ROLLBACK.回退中,ROLLBACK_FAILED.回退失败,SUCCESS.成功,FAILED.失败,TO_START.待开始,IN_PROGRESS.进行中
71
+ :type deploy_status: str
72
+ :param deploy_type: 部署类型 CCE,IEF,EXTERNAL
73
+ :type deploy_type: str
74
+ :param deployment_event_information: 部署事件状态
75
+ :type deployment_event_information: str
76
+ :param enable_delete: 是否可删除
77
+ :type enable_delete: bool
78
+ :param enable_upgrade: 是否可升级
79
+ :type enable_upgrade: bool
80
+ :param image_version: 节点镜像版本
81
+ :type image_version: str
82
+ :param is_high_avail: 节点是否高可用
83
+ :type is_high_avail: bool
84
+ :param league_id: 联盟ID
85
+ :type league_id: str
86
+ :param league_name: 联盟名称
87
+ :type league_name: str
88
+ :param league_version: 联盟版本
89
+ :type league_version: str
90
+ """
91
+
92
+
93
+
94
+ self._agent_id = None
95
+ self._agent_name = None
96
+ self._create_time = None
97
+ self._creator_domain_id = None
98
+ self._creator_user_name = None
99
+ self._deploy_status = None
100
+ self._deploy_type = None
101
+ self._deployment_event_information = None
102
+ self._enable_delete = None
103
+ self._enable_upgrade = None
104
+ self._image_version = None
105
+ self._is_high_avail = None
106
+ self._league_id = None
107
+ self._league_name = None
108
+ self._league_version = None
109
+ self.discriminator = None
110
+
111
+ if agent_id is not None:
112
+ self.agent_id = agent_id
113
+ if agent_name is not None:
114
+ self.agent_name = agent_name
115
+ if create_time is not None:
116
+ self.create_time = create_time
117
+ if creator_domain_id is not None:
118
+ self.creator_domain_id = creator_domain_id
119
+ if creator_user_name is not None:
120
+ self.creator_user_name = creator_user_name
121
+ if deploy_status is not None:
122
+ self.deploy_status = deploy_status
123
+ if deploy_type is not None:
124
+ self.deploy_type = deploy_type
125
+ if deployment_event_information is not None:
126
+ self.deployment_event_information = deployment_event_information
127
+ if enable_delete is not None:
128
+ self.enable_delete = enable_delete
129
+ if enable_upgrade is not None:
130
+ self.enable_upgrade = enable_upgrade
131
+ if image_version is not None:
132
+ self.image_version = image_version
133
+ if is_high_avail is not None:
134
+ self.is_high_avail = is_high_avail
135
+ if league_id is not None:
136
+ self.league_id = league_id
137
+ if league_name is not None:
138
+ self.league_name = league_name
139
+ if league_version is not None:
140
+ self.league_version = league_version
141
+
142
+ @property
143
+ def agent_id(self):
144
+ r"""Gets the agent_id of this AgentListVo.
145
+
146
+ 可信节点id
147
+
148
+ :return: The agent_id of this AgentListVo.
149
+ :rtype: str
150
+ """
151
+ return self._agent_id
152
+
153
+ @agent_id.setter
154
+ def agent_id(self, agent_id):
155
+ r"""Sets the agent_id of this AgentListVo.
156
+
157
+ 可信节点id
158
+
159
+ :param agent_id: The agent_id of this AgentListVo.
160
+ :type agent_id: str
161
+ """
162
+ self._agent_id = agent_id
163
+
164
+ @property
165
+ def agent_name(self):
166
+ r"""Gets the agent_name of this AgentListVo.
167
+
168
+ 可信节点名称
169
+
170
+ :return: The agent_name of this AgentListVo.
171
+ :rtype: str
172
+ """
173
+ return self._agent_name
174
+
175
+ @agent_name.setter
176
+ def agent_name(self, agent_name):
177
+ r"""Sets the agent_name of this AgentListVo.
178
+
179
+ 可信节点名称
180
+
181
+ :param agent_name: The agent_name of this AgentListVo.
182
+ :type agent_name: str
183
+ """
184
+ self._agent_name = agent_name
185
+
186
+ @property
187
+ def create_time(self):
188
+ r"""Gets the create_time of this AgentListVo.
189
+
190
+ 创建时间
191
+
192
+ :return: The create_time of this AgentListVo.
193
+ :rtype: datetime
194
+ """
195
+ return self._create_time
196
+
197
+ @create_time.setter
198
+ def create_time(self, create_time):
199
+ r"""Sets the create_time of this AgentListVo.
200
+
201
+ 创建时间
202
+
203
+ :param create_time: The create_time of this AgentListVo.
204
+ :type create_time: datetime
205
+ """
206
+ self._create_time = create_time
207
+
208
+ @property
209
+ def creator_domain_id(self):
210
+ r"""Gets the creator_domain_id of this AgentListVo.
211
+
212
+ 创建者租户id
213
+
214
+ :return: The creator_domain_id of this AgentListVo.
215
+ :rtype: str
216
+ """
217
+ return self._creator_domain_id
218
+
219
+ @creator_domain_id.setter
220
+ def creator_domain_id(self, creator_domain_id):
221
+ r"""Sets the creator_domain_id of this AgentListVo.
222
+
223
+ 创建者租户id
224
+
225
+ :param creator_domain_id: The creator_domain_id of this AgentListVo.
226
+ :type creator_domain_id: str
227
+ """
228
+ self._creator_domain_id = creator_domain_id
229
+
230
+ @property
231
+ def creator_user_name(self):
232
+ r"""Gets the creator_user_name of this AgentListVo.
233
+
234
+ 创建者名称
235
+
236
+ :return: The creator_user_name of this AgentListVo.
237
+ :rtype: str
238
+ """
239
+ return self._creator_user_name
240
+
241
+ @creator_user_name.setter
242
+ def creator_user_name(self, creator_user_name):
243
+ r"""Sets the creator_user_name of this AgentListVo.
244
+
245
+ 创建者名称
246
+
247
+ :param creator_user_name: The creator_user_name of this AgentListVo.
248
+ :type creator_user_name: str
249
+ """
250
+ self._creator_user_name = creator_user_name
251
+
252
+ @property
253
+ def deploy_status(self):
254
+ r"""Gets the deploy_status of this AgentListVo.
255
+
256
+ 部署状态 ABNORMAL.正常,RESTARTING.重启中,RESTART_FAILED.重启失败,ROLLBACKING.回滚中,STARTING.启动中,DEPLOYING.创建中,DEPLOY_FAILED.创建失败,DEPLOY_SUCCESS.创建成功,RUNNING.运行中,DELETING.删除中,DELETE_FAILED.删除失败,DELETE_SUCCESS.删除成功,UPGRADING.升级中,UPGRADE_FAILED.升级失败,ROLLBACK.回退中,ROLLBACK_FAILED.回退失败,SUCCESS.成功,FAILED.失败,TO_START.待开始,IN_PROGRESS.进行中
257
+
258
+ :return: The deploy_status of this AgentListVo.
259
+ :rtype: str
260
+ """
261
+ return self._deploy_status
262
+
263
+ @deploy_status.setter
264
+ def deploy_status(self, deploy_status):
265
+ r"""Sets the deploy_status of this AgentListVo.
266
+
267
+ 部署状态 ABNORMAL.正常,RESTARTING.重启中,RESTART_FAILED.重启失败,ROLLBACKING.回滚中,STARTING.启动中,DEPLOYING.创建中,DEPLOY_FAILED.创建失败,DEPLOY_SUCCESS.创建成功,RUNNING.运行中,DELETING.删除中,DELETE_FAILED.删除失败,DELETE_SUCCESS.删除成功,UPGRADING.升级中,UPGRADE_FAILED.升级失败,ROLLBACK.回退中,ROLLBACK_FAILED.回退失败,SUCCESS.成功,FAILED.失败,TO_START.待开始,IN_PROGRESS.进行中
268
+
269
+ :param deploy_status: The deploy_status of this AgentListVo.
270
+ :type deploy_status: str
271
+ """
272
+ self._deploy_status = deploy_status
273
+
274
+ @property
275
+ def deploy_type(self):
276
+ r"""Gets the deploy_type of this AgentListVo.
277
+
278
+ 部署类型 CCE,IEF,EXTERNAL
279
+
280
+ :return: The deploy_type of this AgentListVo.
281
+ :rtype: str
282
+ """
283
+ return self._deploy_type
284
+
285
+ @deploy_type.setter
286
+ def deploy_type(self, deploy_type):
287
+ r"""Sets the deploy_type of this AgentListVo.
288
+
289
+ 部署类型 CCE,IEF,EXTERNAL
290
+
291
+ :param deploy_type: The deploy_type of this AgentListVo.
292
+ :type deploy_type: str
293
+ """
294
+ self._deploy_type = deploy_type
295
+
296
+ @property
297
+ def deployment_event_information(self):
298
+ r"""Gets the deployment_event_information of this AgentListVo.
299
+
300
+ 部署事件状态
301
+
302
+ :return: The deployment_event_information of this AgentListVo.
303
+ :rtype: str
304
+ """
305
+ return self._deployment_event_information
306
+
307
+ @deployment_event_information.setter
308
+ def deployment_event_information(self, deployment_event_information):
309
+ r"""Sets the deployment_event_information of this AgentListVo.
310
+
311
+ 部署事件状态
312
+
313
+ :param deployment_event_information: The deployment_event_information of this AgentListVo.
314
+ :type deployment_event_information: str
315
+ """
316
+ self._deployment_event_information = deployment_event_information
317
+
318
+ @property
319
+ def enable_delete(self):
320
+ r"""Gets the enable_delete of this AgentListVo.
321
+
322
+ 是否可删除
323
+
324
+ :return: The enable_delete of this AgentListVo.
325
+ :rtype: bool
326
+ """
327
+ return self._enable_delete
328
+
329
+ @enable_delete.setter
330
+ def enable_delete(self, enable_delete):
331
+ r"""Sets the enable_delete of this AgentListVo.
332
+
333
+ 是否可删除
334
+
335
+ :param enable_delete: The enable_delete of this AgentListVo.
336
+ :type enable_delete: bool
337
+ """
338
+ self._enable_delete = enable_delete
339
+
340
+ @property
341
+ def enable_upgrade(self):
342
+ r"""Gets the enable_upgrade of this AgentListVo.
343
+
344
+ 是否可升级
345
+
346
+ :return: The enable_upgrade of this AgentListVo.
347
+ :rtype: bool
348
+ """
349
+ return self._enable_upgrade
350
+
351
+ @enable_upgrade.setter
352
+ def enable_upgrade(self, enable_upgrade):
353
+ r"""Sets the enable_upgrade of this AgentListVo.
354
+
355
+ 是否可升级
356
+
357
+ :param enable_upgrade: The enable_upgrade of this AgentListVo.
358
+ :type enable_upgrade: bool
359
+ """
360
+ self._enable_upgrade = enable_upgrade
361
+
362
+ @property
363
+ def image_version(self):
364
+ r"""Gets the image_version of this AgentListVo.
365
+
366
+ 节点镜像版本
367
+
368
+ :return: The image_version of this AgentListVo.
369
+ :rtype: str
370
+ """
371
+ return self._image_version
372
+
373
+ @image_version.setter
374
+ def image_version(self, image_version):
375
+ r"""Sets the image_version of this AgentListVo.
376
+
377
+ 节点镜像版本
378
+
379
+ :param image_version: The image_version of this AgentListVo.
380
+ :type image_version: str
381
+ """
382
+ self._image_version = image_version
383
+
384
+ @property
385
+ def is_high_avail(self):
386
+ r"""Gets the is_high_avail of this AgentListVo.
387
+
388
+ 节点是否高可用
389
+
390
+ :return: The is_high_avail of this AgentListVo.
391
+ :rtype: bool
392
+ """
393
+ return self._is_high_avail
394
+
395
+ @is_high_avail.setter
396
+ def is_high_avail(self, is_high_avail):
397
+ r"""Sets the is_high_avail of this AgentListVo.
398
+
399
+ 节点是否高可用
400
+
401
+ :param is_high_avail: The is_high_avail of this AgentListVo.
402
+ :type is_high_avail: bool
403
+ """
404
+ self._is_high_avail = is_high_avail
405
+
406
+ @property
407
+ def league_id(self):
408
+ r"""Gets the league_id of this AgentListVo.
409
+
410
+ 联盟ID
411
+
412
+ :return: The league_id of this AgentListVo.
413
+ :rtype: str
414
+ """
415
+ return self._league_id
416
+
417
+ @league_id.setter
418
+ def league_id(self, league_id):
419
+ r"""Sets the league_id of this AgentListVo.
420
+
421
+ 联盟ID
422
+
423
+ :param league_id: The league_id of this AgentListVo.
424
+ :type league_id: str
425
+ """
426
+ self._league_id = league_id
427
+
428
+ @property
429
+ def league_name(self):
430
+ r"""Gets the league_name of this AgentListVo.
431
+
432
+ 联盟名称
433
+
434
+ :return: The league_name of this AgentListVo.
435
+ :rtype: str
436
+ """
437
+ return self._league_name
438
+
439
+ @league_name.setter
440
+ def league_name(self, league_name):
441
+ r"""Sets the league_name of this AgentListVo.
442
+
443
+ 联盟名称
444
+
445
+ :param league_name: The league_name of this AgentListVo.
446
+ :type league_name: str
447
+ """
448
+ self._league_name = league_name
449
+
450
+ @property
451
+ def league_version(self):
452
+ r"""Gets the league_version of this AgentListVo.
453
+
454
+ 联盟版本
455
+
456
+ :return: The league_version of this AgentListVo.
457
+ :rtype: str
458
+ """
459
+ return self._league_version
460
+
461
+ @league_version.setter
462
+ def league_version(self, league_version):
463
+ r"""Sets the league_version of this AgentListVo.
464
+
465
+ 联盟版本
466
+
467
+ :param league_version: The league_version of this AgentListVo.
468
+ :type league_version: str
469
+ """
470
+ self._league_version = league_version
471
+
472
+ def to_dict(self):
473
+ """Returns the model properties as a dict"""
474
+ result = {}
475
+
476
+ for attr, _ in six.iteritems(self.openapi_types):
477
+ value = getattr(self, attr)
478
+ if isinstance(value, list):
479
+ result[attr] = list(map(
480
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
481
+ value
482
+ ))
483
+ elif hasattr(value, "to_dict"):
484
+ result[attr] = value.to_dict()
485
+ elif isinstance(value, dict):
486
+ result[attr] = dict(map(
487
+ lambda item: (item[0], item[1].to_dict())
488
+ if hasattr(item[1], "to_dict") else item,
489
+ value.items()
490
+ ))
491
+ else:
492
+ if attr in self.sensitive_list:
493
+ result[attr] = "****"
494
+ else:
495
+ result[attr] = value
496
+
497
+ return result
498
+
499
+ def to_str(self):
500
+ """Returns the string representation of the model"""
501
+ import simplejson as json
502
+ if six.PY2:
503
+ import sys
504
+ reload(sys)
505
+ sys.setdefaultencoding("utf-8")
506
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
507
+
508
+ def __repr__(self):
509
+ """For `print`"""
510
+ return self.to_str()
511
+
512
+ def __eq__(self, other):
513
+ """Returns true if both objects are equal"""
514
+ if not isinstance(other, AgentListVo):
515
+ return False
516
+
517
+ return self.__dict__ == other.__dict__
518
+
519
+ def __ne__(self, other):
520
+ """Returns true if both objects are not equal"""
521
+ return not self == other