huaweicloudsdkdwr 3.1.181__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.
- huaweicloudsdkdwr/__init__.py +0 -0
- huaweicloudsdkdwr/v1/__init__.py +97 -0
- huaweicloudsdkdwr/v1/dwr_async_client.py +1584 -0
- huaweicloudsdkdwr/v1/dwr_client.py +1581 -0
- huaweicloudsdkdwr/v1/model/__init__.py +94 -0
- huaweicloudsdkdwr/v1/model/build_progress.py +224 -0
- huaweicloudsdkdwr/v1/model/charge_info.py +223 -0
- huaweicloudsdkdwr/v1/model/collection_base_info.py +135 -0
- huaweicloudsdkdwr/v1/model/create_collection_body.py +274 -0
- huaweicloudsdkdwr/v1/model/create_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/create_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/create_index_body.py +159 -0
- huaweicloudsdkdwr/v1/model/create_index_request.py +104 -0
- huaweicloudsdkdwr/v1/model/create_index_response.py +141 -0
- huaweicloudsdkdwr/v1/model/create_store_body.py +241 -0
- huaweicloudsdkdwr/v1/model/create_store_data.py +328 -0
- huaweicloudsdkdwr/v1/model/create_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/create_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/decribe_collection_data.py +337 -0
- huaweicloudsdkdwr/v1/model/delete_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/delete_entities_body.py +163 -0
- huaweicloudsdkdwr/v1/model/delete_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_entities_response.py +141 -0
- huaweicloudsdkdwr/v1/model/delete_index_body.py +163 -0
- huaweicloudsdkdwr/v1/model/delete_index_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_index_response.py +141 -0
- huaweicloudsdkdwr/v1/model/delete_store_data.py +107 -0
- huaweicloudsdkdwr/v1/model/delete_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_collection_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_index_body.py +163 -0
- huaweicloudsdkdwr/v1/model/describe_index_data.py +159 -0
- huaweicloudsdkdwr/v1/model/describe_index_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_index_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_job_body.py +107 -0
- huaweicloudsdkdwr/v1/model/describe_job_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_job_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/entities_data.py +107 -0
- huaweicloudsdkdwr/v1/model/field.py +222 -0
- huaweicloudsdkdwr/v1/model/field_data.py +278 -0
- huaweicloudsdkdwr/v1/model/flavor.py +135 -0
- huaweicloudsdkdwr/v1/model/get_index_progress_body.py +163 -0
- huaweicloudsdkdwr/v1/model/get_progress_data.py +160 -0
- huaweicloudsdkdwr/v1/model/get_progress_request.py +104 -0
- huaweicloudsdkdwr/v1/model/get_progress_response.py +166 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_body.py +275 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_request.py +104 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_response.py +166 -0
- huaweicloudsdkdwr/v1/model/index_desc.py +191 -0
- huaweicloudsdkdwr/v1/model/index_params.py +164 -0
- huaweicloudsdkdwr/v1/model/insert_entities_body.py +163 -0
- huaweicloudsdkdwr/v1/model/insert_entities_data.py +136 -0
- huaweicloudsdkdwr/v1/model/insert_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/insert_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/model/job_data.py +309 -0
- huaweicloudsdkdwr/v1/model/list_collection_data.py +136 -0
- huaweicloudsdkdwr/v1/model/list_collection_details.py +253 -0
- huaweicloudsdkdwr/v1/model/list_collections_body.py +136 -0
- huaweicloudsdkdwr/v1/model/list_collections_request.py +104 -0
- huaweicloudsdkdwr/v1/model/list_collections_response.py +166 -0
- huaweicloudsdkdwr/v1/model/list_jobs_data.py +108 -0
- huaweicloudsdkdwr/v1/model/list_jobs_request.py +224 -0
- huaweicloudsdkdwr/v1/model/list_jobs_response.py +166 -0
- huaweicloudsdkdwr/v1/model/list_store_data.py +107 -0
- huaweicloudsdkdwr/v1/model/list_stores_request.py +77 -0
- huaweicloudsdkdwr/v1/model/list_stores_response.py +166 -0
- huaweicloudsdkdwr/v1/model/load_collection_body.py +135 -0
- huaweicloudsdkdwr/v1/model/load_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/load_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/primary_field.py +135 -0
- huaweicloudsdkdwr/v1/model/query_entities_body.py +250 -0
- huaweicloudsdkdwr/v1/model/query_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/query_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/model/release_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/release_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/rerank.py +136 -0
- huaweicloudsdkdwr/v1/model/scale_store_body.py +135 -0
- huaweicloudsdkdwr/v1/model/scale_store_data.py +220 -0
- huaweicloudsdkdwr/v1/model/scale_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/scale_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/search_entities_body.py +336 -0
- huaweicloudsdkdwr/v1/model/search_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/search_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/model/store_data.py +357 -0
- huaweicloudsdkdwr/v1/model/store_info.py +107 -0
- huaweicloudsdkdwr/v1/model/sub_search.py +251 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_body.py +163 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_data.py +135 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/region/__init__.py +0 -0
- huaweicloudsdkdwr/v1/region/dwr_region.py +43 -0
- huaweicloudsdkdwr/v3/__init__.py +76 -0
- huaweicloudsdkdwr/v3/dwr_async_client.py +1622 -0
- huaweicloudsdkdwr/v3/dwr_client.py +1619 -0
- huaweicloudsdkdwr/v3/model/__init__.py +73 -0
- huaweicloudsdkdwr/v3/model/accept_service_contract_request.py +107 -0
- huaweicloudsdkdwr/v3/model/accept_service_contract_response.py +133 -0
- huaweicloudsdkdwr/v3/model/action.py +420 -0
- huaweicloudsdkdwr/v3/model/action_result.py +221 -0
- huaweicloudsdkdwr/v3/model/action_template_item.py +137 -0
- huaweicloudsdkdwr/v3/model/async_invoke_api_start_workflow_request.py +132 -0
- huaweicloudsdkdwr/v3/model/async_invoke_api_start_workflow_response.py +270 -0
- huaweicloudsdkdwr/v3/model/check_workflow_authentication_request.py +77 -0
- huaweicloudsdkdwr/v3/model/check_workflow_authentication_response.py +473 -0
- huaweicloudsdkdwr/v3/model/create_my_action_template_request.py +132 -0
- huaweicloudsdkdwr/v3/model/create_my_action_template_response.py +415 -0
- huaweicloudsdkdwr/v3/model/create_workflow_authentication_request.py +77 -0
- huaweicloudsdkdwr/v3/model/create_workflow_authentication_response.py +133 -0
- huaweicloudsdkdwr/v3/model/create_workflow_request.py +132 -0
- huaweicloudsdkdwr/v3/model/create_workflow_request_body.py +274 -0
- huaweicloudsdkdwr/v3/model/create_workflow_response.py +270 -0
- huaweicloudsdkdwr/v3/model/delete_my_action_template_request.py +107 -0
- huaweicloudsdkdwr/v3/model/delete_my_action_template_response.py +133 -0
- huaweicloudsdkdwr/v3/model/delete_workflow_request.py +107 -0
- huaweicloudsdkdwr/v3/model/delete_workflow_response.py +133 -0
- huaweicloudsdkdwr/v3/model/execute_workflow_body.py +160 -0
- huaweicloudsdkdwr/v3/model/execution.py +282 -0
- huaweicloudsdkdwr/v3/model/express_config.py +137 -0
- huaweicloudsdkdwr/v3/model/func_vpc.py +253 -0
- huaweicloudsdkdwr/v3/model/graph_item.py +195 -0
- huaweicloudsdkdwr/v3/model/input.py +367 -0
- huaweicloudsdkdwr/v3/model/input_para_type.py +77 -0
- huaweicloudsdkdwr/v3/model/input_para_value_type.py +77 -0
- huaweicloudsdkdwr/v3/model/list_my_action_template_request.py +224 -0
- huaweicloudsdkdwr/v3/model/list_my_action_template_response.py +299 -0
- huaweicloudsdkdwr/v3/model/list_system_templates_request.py +195 -0
- huaweicloudsdkdwr/v3/model/list_system_templates_response.py +328 -0
- huaweicloudsdkdwr/v3/model/list_workflow_instance_request.py +252 -0
- huaweicloudsdkdwr/v3/model/list_workflow_instance_response.py +299 -0
- huaweicloudsdkdwr/v3/model/list_workflows_request.py +166 -0
- huaweicloudsdkdwr/v3/model/list_workflows_response.py +299 -0
- huaweicloudsdkdwr/v3/model/node_execution.py +282 -0
- huaweicloudsdkdwr/v3/model/policy.py +137 -0
- huaweicloudsdkdwr/v3/model/provided_action.py +561 -0
- huaweicloudsdkdwr/v3/model/public_template_item.py +282 -0
- huaweicloudsdkdwr/v3/model/public_template_register_type.py +77 -0
- huaweicloudsdkdwr/v3/model/restore_workflow_execution_request.py +135 -0
- huaweicloudsdkdwr/v3/model/restore_workflow_execution_response.py +270 -0
- huaweicloudsdkdwr/v3/model/show_public_action_list_request.py +195 -0
- huaweicloudsdkdwr/v3/model/show_public_action_list_response.py +328 -0
- huaweicloudsdkdwr/v3/model/show_public_template_info_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_public_template_info_response.py +208 -0
- huaweicloudsdkdwr/v3/model/show_service_contract_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_service_contract_response.py +241 -0
- huaweicloudsdkdwr/v3/model/show_system_template_detail_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_system_template_detail_response.py +208 -0
- huaweicloudsdkdwr/v3/model/show_third_template_info_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_third_template_info_response.py +208 -0
- huaweicloudsdkdwr/v3/model/show_workflow_info_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_workflow_info_response.py +328 -0
- huaweicloudsdkdwr/v3/model/show_workflow_instance_request.py +135 -0
- huaweicloudsdkdwr/v3/model/show_workflow_instance_response.py +531 -0
- huaweicloudsdkdwr/v3/model/state.py +338 -0
- huaweicloudsdkdwr/v3/model/statement.py +137 -0
- huaweicloudsdkdwr/v3/model/third_action_template_item.py +282 -0
- huaweicloudsdkdwr/v3/model/third_template_request_body.py +423 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_request.py +132 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_response.py +270 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_to_deprecated_request.py +107 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_to_deprecated_response.py +133 -0
- huaweicloudsdkdwr/v3/model/update_workflow_body.py +108 -0
- huaweicloudsdkdwr/v3/model/update_workflow_request.py +132 -0
- huaweicloudsdkdwr/v3/model/update_workflow_response.py +270 -0
- huaweicloudsdkdwr/v3/region/__init__.py +0 -0
- huaweicloudsdkdwr/v3/region/dwr_region.py +43 -0
- huaweicloudsdkdwr-3.1.181.dist-info/METADATA +25 -0
- huaweicloudsdkdwr-3.1.181.dist-info/RECORD +174 -0
- huaweicloudsdkdwr-3.1.181.dist-info/WHEEL +4 -0
- huaweicloudsdkdwr-3.1.181.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class CheckWorkflowAuthenticationResponse(SdkResponse):
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
Attributes:
|
|
11
|
+
openapi_types (dict): The key is attribute name
|
|
12
|
+
and the value is attribute type.
|
|
13
|
+
attribute_map (dict): The key is attribute name
|
|
14
|
+
and the value is json key in definition.
|
|
15
|
+
"""
|
|
16
|
+
sensitive_list = []
|
|
17
|
+
|
|
18
|
+
openapi_types = {
|
|
19
|
+
'create_time': 'str',
|
|
20
|
+
'last_modify_time': 'str',
|
|
21
|
+
'agency_id': 'str',
|
|
22
|
+
'agency_name': 'str',
|
|
23
|
+
'agency_duration': 'str',
|
|
24
|
+
'trust_domain_name': 'str',
|
|
25
|
+
'role_id': 'str',
|
|
26
|
+
'role_dependent_by_function': 'str',
|
|
27
|
+
'role_remark_name': 'str',
|
|
28
|
+
'role_remark_type': 'str',
|
|
29
|
+
'x_request_id': 'str',
|
|
30
|
+
'connection': 'str',
|
|
31
|
+
'content_length': 'str',
|
|
32
|
+
'date': 'str'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
attribute_map = {
|
|
36
|
+
'create_time': 'create_time',
|
|
37
|
+
'last_modify_time': 'last_modify_time',
|
|
38
|
+
'agency_id': 'agency_id',
|
|
39
|
+
'agency_name': 'agency_name',
|
|
40
|
+
'agency_duration': 'agency_duration',
|
|
41
|
+
'trust_domain_name': 'trust_domain_name',
|
|
42
|
+
'role_id': 'role_id',
|
|
43
|
+
'role_dependent_by_function': 'role_dependent_by_function',
|
|
44
|
+
'role_remark_name': 'role_remark_name',
|
|
45
|
+
'role_remark_type': 'role_remark_type',
|
|
46
|
+
'x_request_id': 'x-request-id',
|
|
47
|
+
'connection': 'Connection',
|
|
48
|
+
'content_length': 'Content-Length',
|
|
49
|
+
'date': 'Date'
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
def __init__(self, create_time=None, last_modify_time=None, agency_id=None, agency_name=None, agency_duration=None, trust_domain_name=None, role_id=None, role_dependent_by_function=None, role_remark_name=None, role_remark_type=None, x_request_id=None, connection=None, content_length=None, date=None):
|
|
53
|
+
r"""CheckWorkflowAuthenticationResponse
|
|
54
|
+
|
|
55
|
+
The model defined in huaweicloud sdk
|
|
56
|
+
|
|
57
|
+
:param create_time: 创建时间。
|
|
58
|
+
:type create_time: str
|
|
59
|
+
:param last_modify_time: 最近修改时间。
|
|
60
|
+
:type last_modify_time: str
|
|
61
|
+
:param agency_id: 委托方帐号ID。
|
|
62
|
+
:type agency_id: str
|
|
63
|
+
:param agency_name: 委托名。
|
|
64
|
+
:type agency_name: str
|
|
65
|
+
:param agency_duration: 委托的期限。取值为\"FOREVER\"或“null”表示委托的期限为永久,取值为\"ONEDAY\"表示委托的期限为一天。
|
|
66
|
+
:type agency_duration: str
|
|
67
|
+
:param trust_domain_name: 被委托方帐号名。
|
|
68
|
+
:type trust_domain_name: str
|
|
69
|
+
:param role_id: 权限ID。
|
|
70
|
+
:type role_id: str
|
|
71
|
+
:param role_dependent_by_function: 权限使用的依赖函数。
|
|
72
|
+
:type role_dependent_by_function: str
|
|
73
|
+
:param role_remark_name: 权限备注名。
|
|
74
|
+
:type role_remark_name: str
|
|
75
|
+
:param role_remark_type: 权限的备注模式: AX表示在domain层显示。 XA表示在project层显示。 AA表示在domain和project层均显示。 XX表示在domain和project层均不显示。 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)
|
|
76
|
+
:type role_remark_type: str
|
|
77
|
+
:param x_request_id:
|
|
78
|
+
:type x_request_id: str
|
|
79
|
+
:param connection:
|
|
80
|
+
:type connection: str
|
|
81
|
+
:param content_length:
|
|
82
|
+
:type content_length: str
|
|
83
|
+
:param date:
|
|
84
|
+
:type date: str
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
super().__init__()
|
|
88
|
+
|
|
89
|
+
self._create_time = None
|
|
90
|
+
self._last_modify_time = None
|
|
91
|
+
self._agency_id = None
|
|
92
|
+
self._agency_name = None
|
|
93
|
+
self._agency_duration = None
|
|
94
|
+
self._trust_domain_name = None
|
|
95
|
+
self._role_id = None
|
|
96
|
+
self._role_dependent_by_function = None
|
|
97
|
+
self._role_remark_name = None
|
|
98
|
+
self._role_remark_type = None
|
|
99
|
+
self._x_request_id = None
|
|
100
|
+
self._connection = None
|
|
101
|
+
self._content_length = None
|
|
102
|
+
self._date = None
|
|
103
|
+
self.discriminator = None
|
|
104
|
+
|
|
105
|
+
if create_time is not None:
|
|
106
|
+
self.create_time = create_time
|
|
107
|
+
if last_modify_time is not None:
|
|
108
|
+
self.last_modify_time = last_modify_time
|
|
109
|
+
if agency_id is not None:
|
|
110
|
+
self.agency_id = agency_id
|
|
111
|
+
if agency_name is not None:
|
|
112
|
+
self.agency_name = agency_name
|
|
113
|
+
if agency_duration is not None:
|
|
114
|
+
self.agency_duration = agency_duration
|
|
115
|
+
if trust_domain_name is not None:
|
|
116
|
+
self.trust_domain_name = trust_domain_name
|
|
117
|
+
if role_id is not None:
|
|
118
|
+
self.role_id = role_id
|
|
119
|
+
if role_dependent_by_function is not None:
|
|
120
|
+
self.role_dependent_by_function = role_dependent_by_function
|
|
121
|
+
if role_remark_name is not None:
|
|
122
|
+
self.role_remark_name = role_remark_name
|
|
123
|
+
if role_remark_type is not None:
|
|
124
|
+
self.role_remark_type = role_remark_type
|
|
125
|
+
if x_request_id is not None:
|
|
126
|
+
self.x_request_id = x_request_id
|
|
127
|
+
if connection is not None:
|
|
128
|
+
self.connection = connection
|
|
129
|
+
if content_length is not None:
|
|
130
|
+
self.content_length = content_length
|
|
131
|
+
if date is not None:
|
|
132
|
+
self.date = date
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def create_time(self):
|
|
136
|
+
r"""Gets the create_time of this CheckWorkflowAuthenticationResponse.
|
|
137
|
+
|
|
138
|
+
创建时间。
|
|
139
|
+
|
|
140
|
+
:return: The create_time of this CheckWorkflowAuthenticationResponse.
|
|
141
|
+
:rtype: str
|
|
142
|
+
"""
|
|
143
|
+
return self._create_time
|
|
144
|
+
|
|
145
|
+
@create_time.setter
|
|
146
|
+
def create_time(self, create_time):
|
|
147
|
+
r"""Sets the create_time of this CheckWorkflowAuthenticationResponse.
|
|
148
|
+
|
|
149
|
+
创建时间。
|
|
150
|
+
|
|
151
|
+
:param create_time: The create_time of this CheckWorkflowAuthenticationResponse.
|
|
152
|
+
:type create_time: str
|
|
153
|
+
"""
|
|
154
|
+
self._create_time = create_time
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
def last_modify_time(self):
|
|
158
|
+
r"""Gets the last_modify_time of this CheckWorkflowAuthenticationResponse.
|
|
159
|
+
|
|
160
|
+
最近修改时间。
|
|
161
|
+
|
|
162
|
+
:return: The last_modify_time of this CheckWorkflowAuthenticationResponse.
|
|
163
|
+
:rtype: str
|
|
164
|
+
"""
|
|
165
|
+
return self._last_modify_time
|
|
166
|
+
|
|
167
|
+
@last_modify_time.setter
|
|
168
|
+
def last_modify_time(self, last_modify_time):
|
|
169
|
+
r"""Sets the last_modify_time of this CheckWorkflowAuthenticationResponse.
|
|
170
|
+
|
|
171
|
+
最近修改时间。
|
|
172
|
+
|
|
173
|
+
:param last_modify_time: The last_modify_time of this CheckWorkflowAuthenticationResponse.
|
|
174
|
+
:type last_modify_time: str
|
|
175
|
+
"""
|
|
176
|
+
self._last_modify_time = last_modify_time
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
def agency_id(self):
|
|
180
|
+
r"""Gets the agency_id of this CheckWorkflowAuthenticationResponse.
|
|
181
|
+
|
|
182
|
+
委托方帐号ID。
|
|
183
|
+
|
|
184
|
+
:return: The agency_id of this CheckWorkflowAuthenticationResponse.
|
|
185
|
+
:rtype: str
|
|
186
|
+
"""
|
|
187
|
+
return self._agency_id
|
|
188
|
+
|
|
189
|
+
@agency_id.setter
|
|
190
|
+
def agency_id(self, agency_id):
|
|
191
|
+
r"""Sets the agency_id of this CheckWorkflowAuthenticationResponse.
|
|
192
|
+
|
|
193
|
+
委托方帐号ID。
|
|
194
|
+
|
|
195
|
+
:param agency_id: The agency_id of this CheckWorkflowAuthenticationResponse.
|
|
196
|
+
:type agency_id: str
|
|
197
|
+
"""
|
|
198
|
+
self._agency_id = agency_id
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
def agency_name(self):
|
|
202
|
+
r"""Gets the agency_name of this CheckWorkflowAuthenticationResponse.
|
|
203
|
+
|
|
204
|
+
委托名。
|
|
205
|
+
|
|
206
|
+
:return: The agency_name of this CheckWorkflowAuthenticationResponse.
|
|
207
|
+
:rtype: str
|
|
208
|
+
"""
|
|
209
|
+
return self._agency_name
|
|
210
|
+
|
|
211
|
+
@agency_name.setter
|
|
212
|
+
def agency_name(self, agency_name):
|
|
213
|
+
r"""Sets the agency_name of this CheckWorkflowAuthenticationResponse.
|
|
214
|
+
|
|
215
|
+
委托名。
|
|
216
|
+
|
|
217
|
+
:param agency_name: The agency_name of this CheckWorkflowAuthenticationResponse.
|
|
218
|
+
:type agency_name: str
|
|
219
|
+
"""
|
|
220
|
+
self._agency_name = agency_name
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
def agency_duration(self):
|
|
224
|
+
r"""Gets the agency_duration of this CheckWorkflowAuthenticationResponse.
|
|
225
|
+
|
|
226
|
+
委托的期限。取值为\"FOREVER\"或“null”表示委托的期限为永久,取值为\"ONEDAY\"表示委托的期限为一天。
|
|
227
|
+
|
|
228
|
+
:return: The agency_duration of this CheckWorkflowAuthenticationResponse.
|
|
229
|
+
:rtype: str
|
|
230
|
+
"""
|
|
231
|
+
return self._agency_duration
|
|
232
|
+
|
|
233
|
+
@agency_duration.setter
|
|
234
|
+
def agency_duration(self, agency_duration):
|
|
235
|
+
r"""Sets the agency_duration of this CheckWorkflowAuthenticationResponse.
|
|
236
|
+
|
|
237
|
+
委托的期限。取值为\"FOREVER\"或“null”表示委托的期限为永久,取值为\"ONEDAY\"表示委托的期限为一天。
|
|
238
|
+
|
|
239
|
+
:param agency_duration: The agency_duration of this CheckWorkflowAuthenticationResponse.
|
|
240
|
+
:type agency_duration: str
|
|
241
|
+
"""
|
|
242
|
+
self._agency_duration = agency_duration
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
def trust_domain_name(self):
|
|
246
|
+
r"""Gets the trust_domain_name of this CheckWorkflowAuthenticationResponse.
|
|
247
|
+
|
|
248
|
+
被委托方帐号名。
|
|
249
|
+
|
|
250
|
+
:return: The trust_domain_name of this CheckWorkflowAuthenticationResponse.
|
|
251
|
+
:rtype: str
|
|
252
|
+
"""
|
|
253
|
+
return self._trust_domain_name
|
|
254
|
+
|
|
255
|
+
@trust_domain_name.setter
|
|
256
|
+
def trust_domain_name(self, trust_domain_name):
|
|
257
|
+
r"""Sets the trust_domain_name of this CheckWorkflowAuthenticationResponse.
|
|
258
|
+
|
|
259
|
+
被委托方帐号名。
|
|
260
|
+
|
|
261
|
+
:param trust_domain_name: The trust_domain_name of this CheckWorkflowAuthenticationResponse.
|
|
262
|
+
:type trust_domain_name: str
|
|
263
|
+
"""
|
|
264
|
+
self._trust_domain_name = trust_domain_name
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
def role_id(self):
|
|
268
|
+
r"""Gets the role_id of this CheckWorkflowAuthenticationResponse.
|
|
269
|
+
|
|
270
|
+
权限ID。
|
|
271
|
+
|
|
272
|
+
:return: The role_id of this CheckWorkflowAuthenticationResponse.
|
|
273
|
+
:rtype: str
|
|
274
|
+
"""
|
|
275
|
+
return self._role_id
|
|
276
|
+
|
|
277
|
+
@role_id.setter
|
|
278
|
+
def role_id(self, role_id):
|
|
279
|
+
r"""Sets the role_id of this CheckWorkflowAuthenticationResponse.
|
|
280
|
+
|
|
281
|
+
权限ID。
|
|
282
|
+
|
|
283
|
+
:param role_id: The role_id of this CheckWorkflowAuthenticationResponse.
|
|
284
|
+
:type role_id: str
|
|
285
|
+
"""
|
|
286
|
+
self._role_id = role_id
|
|
287
|
+
|
|
288
|
+
@property
|
|
289
|
+
def role_dependent_by_function(self):
|
|
290
|
+
r"""Gets the role_dependent_by_function of this CheckWorkflowAuthenticationResponse.
|
|
291
|
+
|
|
292
|
+
权限使用的依赖函数。
|
|
293
|
+
|
|
294
|
+
:return: The role_dependent_by_function of this CheckWorkflowAuthenticationResponse.
|
|
295
|
+
:rtype: str
|
|
296
|
+
"""
|
|
297
|
+
return self._role_dependent_by_function
|
|
298
|
+
|
|
299
|
+
@role_dependent_by_function.setter
|
|
300
|
+
def role_dependent_by_function(self, role_dependent_by_function):
|
|
301
|
+
r"""Sets the role_dependent_by_function of this CheckWorkflowAuthenticationResponse.
|
|
302
|
+
|
|
303
|
+
权限使用的依赖函数。
|
|
304
|
+
|
|
305
|
+
:param role_dependent_by_function: The role_dependent_by_function of this CheckWorkflowAuthenticationResponse.
|
|
306
|
+
:type role_dependent_by_function: str
|
|
307
|
+
"""
|
|
308
|
+
self._role_dependent_by_function = role_dependent_by_function
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
def role_remark_name(self):
|
|
312
|
+
r"""Gets the role_remark_name of this CheckWorkflowAuthenticationResponse.
|
|
313
|
+
|
|
314
|
+
权限备注名。
|
|
315
|
+
|
|
316
|
+
:return: The role_remark_name of this CheckWorkflowAuthenticationResponse.
|
|
317
|
+
:rtype: str
|
|
318
|
+
"""
|
|
319
|
+
return self._role_remark_name
|
|
320
|
+
|
|
321
|
+
@role_remark_name.setter
|
|
322
|
+
def role_remark_name(self, role_remark_name):
|
|
323
|
+
r"""Sets the role_remark_name of this CheckWorkflowAuthenticationResponse.
|
|
324
|
+
|
|
325
|
+
权限备注名。
|
|
326
|
+
|
|
327
|
+
:param role_remark_name: The role_remark_name of this CheckWorkflowAuthenticationResponse.
|
|
328
|
+
:type role_remark_name: str
|
|
329
|
+
"""
|
|
330
|
+
self._role_remark_name = role_remark_name
|
|
331
|
+
|
|
332
|
+
@property
|
|
333
|
+
def role_remark_type(self):
|
|
334
|
+
r"""Gets the role_remark_type of this CheckWorkflowAuthenticationResponse.
|
|
335
|
+
|
|
336
|
+
权限的备注模式: AX表示在domain层显示。 XA表示在project层显示。 AA表示在domain和project层均显示。 XX表示在domain和project层均不显示。 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)
|
|
337
|
+
|
|
338
|
+
:return: The role_remark_type of this CheckWorkflowAuthenticationResponse.
|
|
339
|
+
:rtype: str
|
|
340
|
+
"""
|
|
341
|
+
return self._role_remark_type
|
|
342
|
+
|
|
343
|
+
@role_remark_type.setter
|
|
344
|
+
def role_remark_type(self, role_remark_type):
|
|
345
|
+
r"""Sets the role_remark_type of this CheckWorkflowAuthenticationResponse.
|
|
346
|
+
|
|
347
|
+
权限的备注模式: AX表示在domain层显示。 XA表示在project层显示。 AA表示在domain和project层均显示。 XX表示在domain和project层均不显示。 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)
|
|
348
|
+
|
|
349
|
+
:param role_remark_type: The role_remark_type of this CheckWorkflowAuthenticationResponse.
|
|
350
|
+
:type role_remark_type: str
|
|
351
|
+
"""
|
|
352
|
+
self._role_remark_type = role_remark_type
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
def x_request_id(self):
|
|
356
|
+
r"""Gets the x_request_id of this CheckWorkflowAuthenticationResponse.
|
|
357
|
+
|
|
358
|
+
:return: The x_request_id of this CheckWorkflowAuthenticationResponse.
|
|
359
|
+
:rtype: str
|
|
360
|
+
"""
|
|
361
|
+
return self._x_request_id
|
|
362
|
+
|
|
363
|
+
@x_request_id.setter
|
|
364
|
+
def x_request_id(self, x_request_id):
|
|
365
|
+
r"""Sets the x_request_id of this CheckWorkflowAuthenticationResponse.
|
|
366
|
+
|
|
367
|
+
:param x_request_id: The x_request_id of this CheckWorkflowAuthenticationResponse.
|
|
368
|
+
:type x_request_id: str
|
|
369
|
+
"""
|
|
370
|
+
self._x_request_id = x_request_id
|
|
371
|
+
|
|
372
|
+
@property
|
|
373
|
+
def connection(self):
|
|
374
|
+
r"""Gets the connection of this CheckWorkflowAuthenticationResponse.
|
|
375
|
+
|
|
376
|
+
:return: The connection of this CheckWorkflowAuthenticationResponse.
|
|
377
|
+
:rtype: str
|
|
378
|
+
"""
|
|
379
|
+
return self._connection
|
|
380
|
+
|
|
381
|
+
@connection.setter
|
|
382
|
+
def connection(self, connection):
|
|
383
|
+
r"""Sets the connection of this CheckWorkflowAuthenticationResponse.
|
|
384
|
+
|
|
385
|
+
:param connection: The connection of this CheckWorkflowAuthenticationResponse.
|
|
386
|
+
:type connection: str
|
|
387
|
+
"""
|
|
388
|
+
self._connection = connection
|
|
389
|
+
|
|
390
|
+
@property
|
|
391
|
+
def content_length(self):
|
|
392
|
+
r"""Gets the content_length of this CheckWorkflowAuthenticationResponse.
|
|
393
|
+
|
|
394
|
+
:return: The content_length of this CheckWorkflowAuthenticationResponse.
|
|
395
|
+
:rtype: str
|
|
396
|
+
"""
|
|
397
|
+
return self._content_length
|
|
398
|
+
|
|
399
|
+
@content_length.setter
|
|
400
|
+
def content_length(self, content_length):
|
|
401
|
+
r"""Sets the content_length of this CheckWorkflowAuthenticationResponse.
|
|
402
|
+
|
|
403
|
+
:param content_length: The content_length of this CheckWorkflowAuthenticationResponse.
|
|
404
|
+
:type content_length: str
|
|
405
|
+
"""
|
|
406
|
+
self._content_length = content_length
|
|
407
|
+
|
|
408
|
+
@property
|
|
409
|
+
def date(self):
|
|
410
|
+
r"""Gets the date of this CheckWorkflowAuthenticationResponse.
|
|
411
|
+
|
|
412
|
+
:return: The date of this CheckWorkflowAuthenticationResponse.
|
|
413
|
+
:rtype: str
|
|
414
|
+
"""
|
|
415
|
+
return self._date
|
|
416
|
+
|
|
417
|
+
@date.setter
|
|
418
|
+
def date(self, date):
|
|
419
|
+
r"""Sets the date of this CheckWorkflowAuthenticationResponse.
|
|
420
|
+
|
|
421
|
+
:param date: The date of this CheckWorkflowAuthenticationResponse.
|
|
422
|
+
:type date: str
|
|
423
|
+
"""
|
|
424
|
+
self._date = date
|
|
425
|
+
|
|
426
|
+
def to_dict(self):
|
|
427
|
+
import warnings
|
|
428
|
+
warnings.warn("CheckWorkflowAuthenticationResponse.to_dict() is deprecated and no longer maintained, "
|
|
429
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
430
|
+
result = {}
|
|
431
|
+
|
|
432
|
+
for attr, _ in self.openapi_types.items():
|
|
433
|
+
value = getattr(self, attr)
|
|
434
|
+
if isinstance(value, list):
|
|
435
|
+
result[attr] = list(map(
|
|
436
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
437
|
+
value
|
|
438
|
+
))
|
|
439
|
+
elif hasattr(value, "to_dict"):
|
|
440
|
+
result[attr] = value.to_dict()
|
|
441
|
+
elif isinstance(value, dict):
|
|
442
|
+
result[attr] = dict(map(
|
|
443
|
+
lambda item: (item[0], item[1].to_dict())
|
|
444
|
+
if hasattr(item[1], "to_dict") else item,
|
|
445
|
+
value.items()
|
|
446
|
+
))
|
|
447
|
+
else:
|
|
448
|
+
if attr in self.sensitive_list:
|
|
449
|
+
result[attr] = "****"
|
|
450
|
+
else:
|
|
451
|
+
result[attr] = value
|
|
452
|
+
|
|
453
|
+
return result
|
|
454
|
+
|
|
455
|
+
def to_str(self):
|
|
456
|
+
"""Returns the string representation of the model"""
|
|
457
|
+
import simplejson as json
|
|
458
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
459
|
+
|
|
460
|
+
def __repr__(self):
|
|
461
|
+
"""For `print`"""
|
|
462
|
+
return self.to_str()
|
|
463
|
+
|
|
464
|
+
def __eq__(self, other):
|
|
465
|
+
"""Returns true if both objects are equal"""
|
|
466
|
+
if not isinstance(other, CheckWorkflowAuthenticationResponse):
|
|
467
|
+
return False
|
|
468
|
+
|
|
469
|
+
return self.__dict__ == other.__dict__
|
|
470
|
+
|
|
471
|
+
def __ne__(self, other):
|
|
472
|
+
"""Returns true if both objects are not equal"""
|
|
473
|
+
return not self == other
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CreateMyActionTemplateRequest:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'template_name': 'str',
|
|
19
|
+
'body': 'ThirdTemplateRequestBody'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'template_name': 'template_name',
|
|
24
|
+
'body': 'body'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, template_name=None, body=None):
|
|
28
|
+
r"""CreateMyActionTemplateRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param template_name: 算子名称,名称必须以以third开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符,且不能重名。
|
|
33
|
+
:type template_name: str
|
|
34
|
+
:param body: Body of the CreateMyActionTemplateRequest
|
|
35
|
+
:type body: :class:`huaweicloudsdkdwr.v3.ThirdTemplateRequestBody`
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._template_name = None
|
|
41
|
+
self._body = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
self.template_name = template_name
|
|
45
|
+
if body is not None:
|
|
46
|
+
self.body = body
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def template_name(self):
|
|
50
|
+
r"""Gets the template_name of this CreateMyActionTemplateRequest.
|
|
51
|
+
|
|
52
|
+
算子名称,名称必须以以third开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符,且不能重名。
|
|
53
|
+
|
|
54
|
+
:return: The template_name of this CreateMyActionTemplateRequest.
|
|
55
|
+
:rtype: str
|
|
56
|
+
"""
|
|
57
|
+
return self._template_name
|
|
58
|
+
|
|
59
|
+
@template_name.setter
|
|
60
|
+
def template_name(self, template_name):
|
|
61
|
+
r"""Sets the template_name of this CreateMyActionTemplateRequest.
|
|
62
|
+
|
|
63
|
+
算子名称,名称必须以以third开头,只能由字母、数字、下划线和中划线组成,长度小于等于64个字符,且不能重名。
|
|
64
|
+
|
|
65
|
+
:param template_name: The template_name of this CreateMyActionTemplateRequest.
|
|
66
|
+
:type template_name: str
|
|
67
|
+
"""
|
|
68
|
+
self._template_name = template_name
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def body(self):
|
|
72
|
+
r"""Gets the body of this CreateMyActionTemplateRequest.
|
|
73
|
+
|
|
74
|
+
:return: The body of this CreateMyActionTemplateRequest.
|
|
75
|
+
:rtype: :class:`huaweicloudsdkdwr.v3.ThirdTemplateRequestBody`
|
|
76
|
+
"""
|
|
77
|
+
return self._body
|
|
78
|
+
|
|
79
|
+
@body.setter
|
|
80
|
+
def body(self, body):
|
|
81
|
+
r"""Sets the body of this CreateMyActionTemplateRequest.
|
|
82
|
+
|
|
83
|
+
:param body: The body of this CreateMyActionTemplateRequest.
|
|
84
|
+
:type body: :class:`huaweicloudsdkdwr.v3.ThirdTemplateRequestBody`
|
|
85
|
+
"""
|
|
86
|
+
self._body = body
|
|
87
|
+
|
|
88
|
+
def to_dict(self):
|
|
89
|
+
result = {}
|
|
90
|
+
|
|
91
|
+
for attr, _ in self.openapi_types.items():
|
|
92
|
+
value = getattr(self, attr)
|
|
93
|
+
if isinstance(value, list):
|
|
94
|
+
result[attr] = list(map(
|
|
95
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
96
|
+
value
|
|
97
|
+
))
|
|
98
|
+
elif hasattr(value, "to_dict"):
|
|
99
|
+
result[attr] = value.to_dict()
|
|
100
|
+
elif isinstance(value, dict):
|
|
101
|
+
result[attr] = dict(map(
|
|
102
|
+
lambda item: (item[0], item[1].to_dict())
|
|
103
|
+
if hasattr(item[1], "to_dict") else item,
|
|
104
|
+
value.items()
|
|
105
|
+
))
|
|
106
|
+
else:
|
|
107
|
+
if attr in self.sensitive_list:
|
|
108
|
+
result[attr] = "****"
|
|
109
|
+
else:
|
|
110
|
+
result[attr] = value
|
|
111
|
+
|
|
112
|
+
return result
|
|
113
|
+
|
|
114
|
+
def to_str(self):
|
|
115
|
+
"""Returns the string representation of the model"""
|
|
116
|
+
import simplejson as json
|
|
117
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
118
|
+
|
|
119
|
+
def __repr__(self):
|
|
120
|
+
"""For `print`"""
|
|
121
|
+
return self.to_str()
|
|
122
|
+
|
|
123
|
+
def __eq__(self, other):
|
|
124
|
+
"""Returns true if both objects are equal"""
|
|
125
|
+
if not isinstance(other, CreateMyActionTemplateRequest):
|
|
126
|
+
return False
|
|
127
|
+
|
|
128
|
+
return self.__dict__ == other.__dict__
|
|
129
|
+
|
|
130
|
+
def __ne__(self, other):
|
|
131
|
+
"""Returns true if both objects are not equal"""
|
|
132
|
+
return not self == other
|