alibabacloud-aliding20230426 2.47.2__py3-none-any.whl → 2.48.0__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.
- alibabacloud_aliding20230426/__init__.py +1 -1
- alibabacloud_aliding20230426/client.py +220 -0
- alibabacloud_aliding20230426/models/__init__.py +26 -0
- alibabacloud_aliding20230426/models/_authorize_skill_request.py +8 -0
- alibabacloud_aliding20230426/models/_authorize_skill_shrink_request.py +8 -0
- alibabacloud_aliding20230426/models/_get_skill_detail_headers.py +83 -0
- alibabacloud_aliding20230426/models/_get_skill_detail_request.py +49 -0
- alibabacloud_aliding20230426/models/_get_skill_detail_response.py +54 -0
- alibabacloud_aliding20230426/models/_get_skill_detail_response_body.py +44 -0
- alibabacloud_aliding20230426/models/_get_skill_detail_shrink_headers.py +43 -0
- alibabacloud_aliding20230426/models/_get_skills_headers.py +83 -0
- alibabacloud_aliding20230426/models/_get_skills_request.py +51 -0
- alibabacloud_aliding20230426/models/_get_skills_response.py +54 -0
- alibabacloud_aliding20230426/models/_get_skills_response_body.py +44 -0
- alibabacloud_aliding20230426/models/_get_skills_shrink_headers.py +43 -0
- alibabacloud_aliding20230426/models/_get_skills_shrink_request.py +49 -0
- {alibabacloud_aliding20230426-2.47.2.dist-info → alibabacloud_aliding20230426-2.48.0.dist-info}/METADATA +1 -1
- {alibabacloud_aliding20230426-2.47.2.dist-info → alibabacloud_aliding20230426-2.48.0.dist-info}/RECORD +21 -10
- {alibabacloud_aliding20230426-2.47.2.dist-info → alibabacloud_aliding20230426-2.48.0.dist-info}/LICENSE +0 -0
- {alibabacloud_aliding20230426-2.47.2.dist-info → alibabacloud_aliding20230426-2.48.0.dist-info}/WHEEL +0 -0
- {alibabacloud_aliding20230426-2.47.2.dist-info → alibabacloud_aliding20230426-2.48.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.
|
|
1
|
+
__version__ = '2.48.0'
|
|
@@ -1571,6 +1571,8 @@ class Client(OpenApiClient):
|
|
|
1571
1571
|
body = {}
|
|
1572
1572
|
if not DaraCore.is_null(request.permission_codes_shrink):
|
|
1573
1573
|
body['PermissionCodes'] = request.permission_codes_shrink
|
|
1574
|
+
if not DaraCore.is_null(request.source_id_of_assistant_id):
|
|
1575
|
+
body['SourceIdOfAssistantId'] = request.source_id_of_assistant_id
|
|
1574
1576
|
real_headers = {}
|
|
1575
1577
|
if not DaraCore.is_null(headers.common_headers):
|
|
1576
1578
|
real_headers = headers.common_headers
|
|
@@ -1614,6 +1616,8 @@ class Client(OpenApiClient):
|
|
|
1614
1616
|
body = {}
|
|
1615
1617
|
if not DaraCore.is_null(request.permission_codes_shrink):
|
|
1616
1618
|
body['PermissionCodes'] = request.permission_codes_shrink
|
|
1619
|
+
if not DaraCore.is_null(request.source_id_of_assistant_id):
|
|
1620
|
+
body['SourceIdOfAssistantId'] = request.source_id_of_assistant_id
|
|
1617
1621
|
real_headers = {}
|
|
1618
1622
|
if not DaraCore.is_null(headers.common_headers):
|
|
1619
1623
|
real_headers = headers.common_headers
|
|
@@ -17017,6 +17021,222 @@ class Client(OpenApiClient):
|
|
|
17017
17021
|
headers = main_models.GetSheetContentJobIdHeaders()
|
|
17018
17022
|
return await self.get_sheet_content_job_id_with_options_async(request, headers, runtime)
|
|
17019
17023
|
|
|
17024
|
+
def get_skill_detail_with_options(
|
|
17025
|
+
self,
|
|
17026
|
+
request: main_models.GetSkillDetailRequest,
|
|
17027
|
+
tmp_header: main_models.GetSkillDetailHeaders,
|
|
17028
|
+
runtime: RuntimeOptions,
|
|
17029
|
+
) -> main_models.GetSkillDetailResponse:
|
|
17030
|
+
request.validate()
|
|
17031
|
+
headers = main_models.GetSkillDetailShrinkHeaders()
|
|
17032
|
+
Utils.convert(tmp_header, headers)
|
|
17033
|
+
if not DaraCore.is_null(tmp_header.account_context):
|
|
17034
|
+
headers.account_context_shrink = Utils.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
17035
|
+
body = {}
|
|
17036
|
+
if not DaraCore.is_null(request.group_id):
|
|
17037
|
+
body['GroupId'] = request.group_id
|
|
17038
|
+
if not DaraCore.is_null(request.skill_id):
|
|
17039
|
+
body['SkillId'] = request.skill_id
|
|
17040
|
+
if not DaraCore.is_null(request.source_id_of_assistant_id):
|
|
17041
|
+
body['SourceIdOfAssistantId'] = request.source_id_of_assistant_id
|
|
17042
|
+
real_headers = {}
|
|
17043
|
+
if not DaraCore.is_null(headers.common_headers):
|
|
17044
|
+
real_headers = headers.common_headers
|
|
17045
|
+
if not DaraCore.is_null(headers.account_context_shrink):
|
|
17046
|
+
real_headers['AccountContext'] = DaraCore.to_json_string(headers.account_context_shrink)
|
|
17047
|
+
req = open_api_util_models.OpenApiRequest(
|
|
17048
|
+
headers = real_headers,
|
|
17049
|
+
body = Utils.parse_to_map(body)
|
|
17050
|
+
)
|
|
17051
|
+
params = open_api_util_models.Params(
|
|
17052
|
+
action = 'GetSkillDetail',
|
|
17053
|
+
version = '2023-04-26',
|
|
17054
|
+
protocol = 'HTTPS',
|
|
17055
|
+
pathname = f'/ai/v1/skill/getSkillDetail',
|
|
17056
|
+
method = 'POST',
|
|
17057
|
+
auth_type = 'AK',
|
|
17058
|
+
style = 'ROA',
|
|
17059
|
+
req_body_type = 'formData',
|
|
17060
|
+
body_type = 'json'
|
|
17061
|
+
)
|
|
17062
|
+
return DaraCore.from_map(
|
|
17063
|
+
main_models.GetSkillDetailResponse(),
|
|
17064
|
+
self.call_api(params, req, runtime)
|
|
17065
|
+
)
|
|
17066
|
+
|
|
17067
|
+
async def get_skill_detail_with_options_async(
|
|
17068
|
+
self,
|
|
17069
|
+
request: main_models.GetSkillDetailRequest,
|
|
17070
|
+
tmp_header: main_models.GetSkillDetailHeaders,
|
|
17071
|
+
runtime: RuntimeOptions,
|
|
17072
|
+
) -> main_models.GetSkillDetailResponse:
|
|
17073
|
+
request.validate()
|
|
17074
|
+
headers = main_models.GetSkillDetailShrinkHeaders()
|
|
17075
|
+
Utils.convert(tmp_header, headers)
|
|
17076
|
+
if not DaraCore.is_null(tmp_header.account_context):
|
|
17077
|
+
headers.account_context_shrink = Utils.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
17078
|
+
body = {}
|
|
17079
|
+
if not DaraCore.is_null(request.group_id):
|
|
17080
|
+
body['GroupId'] = request.group_id
|
|
17081
|
+
if not DaraCore.is_null(request.skill_id):
|
|
17082
|
+
body['SkillId'] = request.skill_id
|
|
17083
|
+
if not DaraCore.is_null(request.source_id_of_assistant_id):
|
|
17084
|
+
body['SourceIdOfAssistantId'] = request.source_id_of_assistant_id
|
|
17085
|
+
real_headers = {}
|
|
17086
|
+
if not DaraCore.is_null(headers.common_headers):
|
|
17087
|
+
real_headers = headers.common_headers
|
|
17088
|
+
if not DaraCore.is_null(headers.account_context_shrink):
|
|
17089
|
+
real_headers['AccountContext'] = DaraCore.to_json_string(headers.account_context_shrink)
|
|
17090
|
+
req = open_api_util_models.OpenApiRequest(
|
|
17091
|
+
headers = real_headers,
|
|
17092
|
+
body = Utils.parse_to_map(body)
|
|
17093
|
+
)
|
|
17094
|
+
params = open_api_util_models.Params(
|
|
17095
|
+
action = 'GetSkillDetail',
|
|
17096
|
+
version = '2023-04-26',
|
|
17097
|
+
protocol = 'HTTPS',
|
|
17098
|
+
pathname = f'/ai/v1/skill/getSkillDetail',
|
|
17099
|
+
method = 'POST',
|
|
17100
|
+
auth_type = 'AK',
|
|
17101
|
+
style = 'ROA',
|
|
17102
|
+
req_body_type = 'formData',
|
|
17103
|
+
body_type = 'json'
|
|
17104
|
+
)
|
|
17105
|
+
return DaraCore.from_map(
|
|
17106
|
+
main_models.GetSkillDetailResponse(),
|
|
17107
|
+
await self.call_api_async(params, req, runtime)
|
|
17108
|
+
)
|
|
17109
|
+
|
|
17110
|
+
def get_skill_detail(
|
|
17111
|
+
self,
|
|
17112
|
+
request: main_models.GetSkillDetailRequest,
|
|
17113
|
+
) -> main_models.GetSkillDetailResponse:
|
|
17114
|
+
runtime = RuntimeOptions()
|
|
17115
|
+
headers = main_models.GetSkillDetailHeaders()
|
|
17116
|
+
return self.get_skill_detail_with_options(request, headers, runtime)
|
|
17117
|
+
|
|
17118
|
+
async def get_skill_detail_async(
|
|
17119
|
+
self,
|
|
17120
|
+
request: main_models.GetSkillDetailRequest,
|
|
17121
|
+
) -> main_models.GetSkillDetailResponse:
|
|
17122
|
+
runtime = RuntimeOptions()
|
|
17123
|
+
headers = main_models.GetSkillDetailHeaders()
|
|
17124
|
+
return await self.get_skill_detail_with_options_async(request, headers, runtime)
|
|
17125
|
+
|
|
17126
|
+
def get_skills_with_options(
|
|
17127
|
+
self,
|
|
17128
|
+
tmp_req: main_models.GetSkillsRequest,
|
|
17129
|
+
tmp_header: main_models.GetSkillsHeaders,
|
|
17130
|
+
runtime: RuntimeOptions,
|
|
17131
|
+
) -> main_models.GetSkillsResponse:
|
|
17132
|
+
tmp_req.validate()
|
|
17133
|
+
request = main_models.GetSkillsShrinkRequest()
|
|
17134
|
+
Utils.convert(tmp_req, request)
|
|
17135
|
+
headers = main_models.GetSkillsShrinkHeaders()
|
|
17136
|
+
Utils.convert(tmp_header, headers)
|
|
17137
|
+
if not DaraCore.is_null(tmp_header.account_context):
|
|
17138
|
+
headers.account_context_shrink = Utils.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
17139
|
+
if not DaraCore.is_null(tmp_req.group_ids):
|
|
17140
|
+
request.group_ids_shrink = Utils.array_to_string_with_specified_style(tmp_req.group_ids, 'GroupIds', 'json')
|
|
17141
|
+
if not DaraCore.is_null(tmp_req.skill_ids):
|
|
17142
|
+
request.skill_ids_shrink = Utils.array_to_string_with_specified_style(tmp_req.skill_ids, 'SkillIds', 'json')
|
|
17143
|
+
body = {}
|
|
17144
|
+
if not DaraCore.is_null(request.group_ids_shrink):
|
|
17145
|
+
body['GroupIds'] = request.group_ids_shrink
|
|
17146
|
+
if not DaraCore.is_null(request.skill_ids_shrink):
|
|
17147
|
+
body['SkillIds'] = request.skill_ids_shrink
|
|
17148
|
+
if not DaraCore.is_null(request.source_id_of_assistant_id):
|
|
17149
|
+
body['SourceIdOfAssistantId'] = request.source_id_of_assistant_id
|
|
17150
|
+
real_headers = {}
|
|
17151
|
+
if not DaraCore.is_null(headers.common_headers):
|
|
17152
|
+
real_headers = headers.common_headers
|
|
17153
|
+
if not DaraCore.is_null(headers.account_context_shrink):
|
|
17154
|
+
real_headers['AccountContext'] = DaraCore.to_json_string(headers.account_context_shrink)
|
|
17155
|
+
req = open_api_util_models.OpenApiRequest(
|
|
17156
|
+
headers = real_headers,
|
|
17157
|
+
body = Utils.parse_to_map(body)
|
|
17158
|
+
)
|
|
17159
|
+
params = open_api_util_models.Params(
|
|
17160
|
+
action = 'GetSkills',
|
|
17161
|
+
version = '2023-04-26',
|
|
17162
|
+
protocol = 'HTTPS',
|
|
17163
|
+
pathname = f'/ai/v1/skill/getSkills',
|
|
17164
|
+
method = 'POST',
|
|
17165
|
+
auth_type = 'AK',
|
|
17166
|
+
style = 'ROA',
|
|
17167
|
+
req_body_type = 'formData',
|
|
17168
|
+
body_type = 'json'
|
|
17169
|
+
)
|
|
17170
|
+
return DaraCore.from_map(
|
|
17171
|
+
main_models.GetSkillsResponse(),
|
|
17172
|
+
self.call_api(params, req, runtime)
|
|
17173
|
+
)
|
|
17174
|
+
|
|
17175
|
+
async def get_skills_with_options_async(
|
|
17176
|
+
self,
|
|
17177
|
+
tmp_req: main_models.GetSkillsRequest,
|
|
17178
|
+
tmp_header: main_models.GetSkillsHeaders,
|
|
17179
|
+
runtime: RuntimeOptions,
|
|
17180
|
+
) -> main_models.GetSkillsResponse:
|
|
17181
|
+
tmp_req.validate()
|
|
17182
|
+
request = main_models.GetSkillsShrinkRequest()
|
|
17183
|
+
Utils.convert(tmp_req, request)
|
|
17184
|
+
headers = main_models.GetSkillsShrinkHeaders()
|
|
17185
|
+
Utils.convert(tmp_header, headers)
|
|
17186
|
+
if not DaraCore.is_null(tmp_header.account_context):
|
|
17187
|
+
headers.account_context_shrink = Utils.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
17188
|
+
if not DaraCore.is_null(tmp_req.group_ids):
|
|
17189
|
+
request.group_ids_shrink = Utils.array_to_string_with_specified_style(tmp_req.group_ids, 'GroupIds', 'json')
|
|
17190
|
+
if not DaraCore.is_null(tmp_req.skill_ids):
|
|
17191
|
+
request.skill_ids_shrink = Utils.array_to_string_with_specified_style(tmp_req.skill_ids, 'SkillIds', 'json')
|
|
17192
|
+
body = {}
|
|
17193
|
+
if not DaraCore.is_null(request.group_ids_shrink):
|
|
17194
|
+
body['GroupIds'] = request.group_ids_shrink
|
|
17195
|
+
if not DaraCore.is_null(request.skill_ids_shrink):
|
|
17196
|
+
body['SkillIds'] = request.skill_ids_shrink
|
|
17197
|
+
if not DaraCore.is_null(request.source_id_of_assistant_id):
|
|
17198
|
+
body['SourceIdOfAssistantId'] = request.source_id_of_assistant_id
|
|
17199
|
+
real_headers = {}
|
|
17200
|
+
if not DaraCore.is_null(headers.common_headers):
|
|
17201
|
+
real_headers = headers.common_headers
|
|
17202
|
+
if not DaraCore.is_null(headers.account_context_shrink):
|
|
17203
|
+
real_headers['AccountContext'] = DaraCore.to_json_string(headers.account_context_shrink)
|
|
17204
|
+
req = open_api_util_models.OpenApiRequest(
|
|
17205
|
+
headers = real_headers,
|
|
17206
|
+
body = Utils.parse_to_map(body)
|
|
17207
|
+
)
|
|
17208
|
+
params = open_api_util_models.Params(
|
|
17209
|
+
action = 'GetSkills',
|
|
17210
|
+
version = '2023-04-26',
|
|
17211
|
+
protocol = 'HTTPS',
|
|
17212
|
+
pathname = f'/ai/v1/skill/getSkills',
|
|
17213
|
+
method = 'POST',
|
|
17214
|
+
auth_type = 'AK',
|
|
17215
|
+
style = 'ROA',
|
|
17216
|
+
req_body_type = 'formData',
|
|
17217
|
+
body_type = 'json'
|
|
17218
|
+
)
|
|
17219
|
+
return DaraCore.from_map(
|
|
17220
|
+
main_models.GetSkillsResponse(),
|
|
17221
|
+
await self.call_api_async(params, req, runtime)
|
|
17222
|
+
)
|
|
17223
|
+
|
|
17224
|
+
def get_skills(
|
|
17225
|
+
self,
|
|
17226
|
+
request: main_models.GetSkillsRequest,
|
|
17227
|
+
) -> main_models.GetSkillsResponse:
|
|
17228
|
+
runtime = RuntimeOptions()
|
|
17229
|
+
headers = main_models.GetSkillsHeaders()
|
|
17230
|
+
return self.get_skills_with_options(request, headers, runtime)
|
|
17231
|
+
|
|
17232
|
+
async def get_skills_async(
|
|
17233
|
+
self,
|
|
17234
|
+
request: main_models.GetSkillsRequest,
|
|
17235
|
+
) -> main_models.GetSkillsResponse:
|
|
17236
|
+
runtime = RuntimeOptions()
|
|
17237
|
+
headers = main_models.GetSkillsHeaders()
|
|
17238
|
+
return await self.get_skills_with_options_async(request, headers, runtime)
|
|
17239
|
+
|
|
17020
17240
|
def get_space_directories_with_options(
|
|
17021
17241
|
self,
|
|
17022
17242
|
tmp_req: main_models.GetSpaceDirectoriesRequest,
|
|
@@ -823,6 +823,17 @@ from ._get_sheet_content_job_id_request import GetSheetContentJobIdRequest
|
|
|
823
823
|
from ._get_sheet_content_job_id_shrink_request import GetSheetContentJobIdShrinkRequest
|
|
824
824
|
from ._get_sheet_content_job_id_response_body import GetSheetContentJobIdResponseBody
|
|
825
825
|
from ._get_sheet_content_job_id_response import GetSheetContentJobIdResponse
|
|
826
|
+
from ._get_skill_detail_headers import GetSkillDetailHeaders
|
|
827
|
+
from ._get_skill_detail_shrink_headers import GetSkillDetailShrinkHeaders
|
|
828
|
+
from ._get_skill_detail_request import GetSkillDetailRequest
|
|
829
|
+
from ._get_skill_detail_response_body import GetSkillDetailResponseBody
|
|
830
|
+
from ._get_skill_detail_response import GetSkillDetailResponse
|
|
831
|
+
from ._get_skills_headers import GetSkillsHeaders
|
|
832
|
+
from ._get_skills_shrink_headers import GetSkillsShrinkHeaders
|
|
833
|
+
from ._get_skills_request import GetSkillsRequest
|
|
834
|
+
from ._get_skills_shrink_request import GetSkillsShrinkRequest
|
|
835
|
+
from ._get_skills_response_body import GetSkillsResponseBody
|
|
836
|
+
from ._get_skills_response import GetSkillsResponse
|
|
826
837
|
from ._get_space_directories_headers import GetSpaceDirectoriesHeaders
|
|
827
838
|
from ._get_space_directories_shrink_headers import GetSpaceDirectoriesShrinkHeaders
|
|
828
839
|
from ._get_space_directories_request import GetSpaceDirectoriesRequest
|
|
@@ -2110,6 +2121,8 @@ from ._get_sheet_headers import GetSheetHeadersAccountContext
|
|
|
2110
2121
|
from ._get_sheet_request import GetSheetRequestTenantContext
|
|
2111
2122
|
from ._get_sheet_content_job_id_headers import GetSheetContentJobIdHeadersAccountContext
|
|
2112
2123
|
from ._get_sheet_content_job_id_request import GetSheetContentJobIdRequestTenantContext
|
|
2124
|
+
from ._get_skill_detail_headers import GetSkillDetailHeadersAccountContext
|
|
2125
|
+
from ._get_skills_headers import GetSkillsHeadersAccountContext
|
|
2113
2126
|
from ._get_space_directories_headers import GetSpaceDirectoriesHeadersAccountContext
|
|
2114
2127
|
from ._get_space_directories_request import GetSpaceDirectoriesRequestTenantContext
|
|
2115
2128
|
from ._get_space_directories_response_body import GetSpaceDirectoriesResponseBodyChildrenCreator
|
|
@@ -3447,6 +3460,17 @@ __all__ = [
|
|
|
3447
3460
|
GetSheetContentJobIdShrinkRequest,
|
|
3448
3461
|
GetSheetContentJobIdResponseBody,
|
|
3449
3462
|
GetSheetContentJobIdResponse,
|
|
3463
|
+
GetSkillDetailHeaders,
|
|
3464
|
+
GetSkillDetailShrinkHeaders,
|
|
3465
|
+
GetSkillDetailRequest,
|
|
3466
|
+
GetSkillDetailResponseBody,
|
|
3467
|
+
GetSkillDetailResponse,
|
|
3468
|
+
GetSkillsHeaders,
|
|
3469
|
+
GetSkillsShrinkHeaders,
|
|
3470
|
+
GetSkillsRequest,
|
|
3471
|
+
GetSkillsShrinkRequest,
|
|
3472
|
+
GetSkillsResponseBody,
|
|
3473
|
+
GetSkillsResponse,
|
|
3450
3474
|
GetSpaceDirectoriesHeaders,
|
|
3451
3475
|
GetSpaceDirectoriesShrinkHeaders,
|
|
3452
3476
|
GetSpaceDirectoriesRequest,
|
|
@@ -4734,6 +4758,8 @@ __all__ = [
|
|
|
4734
4758
|
GetSheetRequestTenantContext,
|
|
4735
4759
|
GetSheetContentJobIdHeadersAccountContext,
|
|
4736
4760
|
GetSheetContentJobIdRequestTenantContext,
|
|
4761
|
+
GetSkillDetailHeadersAccountContext,
|
|
4762
|
+
GetSkillsHeadersAccountContext,
|
|
4737
4763
|
GetSpaceDirectoriesHeadersAccountContext,
|
|
4738
4764
|
GetSpaceDirectoriesRequestTenantContext,
|
|
4739
4765
|
GetSpaceDirectoriesResponseBodyChildrenCreator,
|
|
@@ -10,8 +10,10 @@ class AuthorizeSkillRequest(DaraModel):
|
|
|
10
10
|
def __init__(
|
|
11
11
|
self,
|
|
12
12
|
permission_codes: List[str] = None,
|
|
13
|
+
source_id_of_assistant_id: str = None,
|
|
13
14
|
):
|
|
14
15
|
self.permission_codes = permission_codes
|
|
16
|
+
self.source_id_of_assistant_id = source_id_of_assistant_id
|
|
15
17
|
|
|
16
18
|
def validate(self):
|
|
17
19
|
pass
|
|
@@ -24,6 +26,9 @@ class AuthorizeSkillRequest(DaraModel):
|
|
|
24
26
|
if self.permission_codes is not None:
|
|
25
27
|
result['PermissionCodes'] = self.permission_codes
|
|
26
28
|
|
|
29
|
+
if self.source_id_of_assistant_id is not None:
|
|
30
|
+
result['SourceIdOfAssistantId'] = self.source_id_of_assistant_id
|
|
31
|
+
|
|
27
32
|
return result
|
|
28
33
|
|
|
29
34
|
def from_map(self, m: dict = None):
|
|
@@ -31,5 +36,8 @@ class AuthorizeSkillRequest(DaraModel):
|
|
|
31
36
|
if m.get('PermissionCodes') is not None:
|
|
32
37
|
self.permission_codes = m.get('PermissionCodes')
|
|
33
38
|
|
|
39
|
+
if m.get('SourceIdOfAssistantId') is not None:
|
|
40
|
+
self.source_id_of_assistant_id = m.get('SourceIdOfAssistantId')
|
|
41
|
+
|
|
34
42
|
return self
|
|
35
43
|
|
|
@@ -8,8 +8,10 @@ class AuthorizeSkillShrinkRequest(DaraModel):
|
|
|
8
8
|
def __init__(
|
|
9
9
|
self,
|
|
10
10
|
permission_codes_shrink: str = None,
|
|
11
|
+
source_id_of_assistant_id: str = None,
|
|
11
12
|
):
|
|
12
13
|
self.permission_codes_shrink = permission_codes_shrink
|
|
14
|
+
self.source_id_of_assistant_id = source_id_of_assistant_id
|
|
13
15
|
|
|
14
16
|
def validate(self):
|
|
15
17
|
pass
|
|
@@ -22,6 +24,9 @@ class AuthorizeSkillShrinkRequest(DaraModel):
|
|
|
22
24
|
if self.permission_codes_shrink is not None:
|
|
23
25
|
result['PermissionCodes'] = self.permission_codes_shrink
|
|
24
26
|
|
|
27
|
+
if self.source_id_of_assistant_id is not None:
|
|
28
|
+
result['SourceIdOfAssistantId'] = self.source_id_of_assistant_id
|
|
29
|
+
|
|
25
30
|
return result
|
|
26
31
|
|
|
27
32
|
def from_map(self, m: dict = None):
|
|
@@ -29,5 +34,8 @@ class AuthorizeSkillShrinkRequest(DaraModel):
|
|
|
29
34
|
if m.get('PermissionCodes') is not None:
|
|
30
35
|
self.permission_codes_shrink = m.get('PermissionCodes')
|
|
31
36
|
|
|
37
|
+
if m.get('SourceIdOfAssistantId') is not None:
|
|
38
|
+
self.source_id_of_assistant_id = m.get('SourceIdOfAssistantId')
|
|
39
|
+
|
|
32
40
|
return self
|
|
33
41
|
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_aliding20230426 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetSkillDetailHeaders(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
common_headers: Dict[str, str] = None,
|
|
14
|
+
account_context: main_models.GetSkillDetailHeadersAccountContext = None,
|
|
15
|
+
):
|
|
16
|
+
self.common_headers = common_headers
|
|
17
|
+
self.account_context = account_context
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
if self.account_context:
|
|
21
|
+
self.account_context.validate()
|
|
22
|
+
|
|
23
|
+
def to_map(self):
|
|
24
|
+
result = dict()
|
|
25
|
+
_map = super().to_map()
|
|
26
|
+
if _map is not None:
|
|
27
|
+
result = _map
|
|
28
|
+
if self.common_headers is not None:
|
|
29
|
+
result['commonHeaders'] = self.common_headers
|
|
30
|
+
|
|
31
|
+
if self.account_context is not None:
|
|
32
|
+
result['AccountContext'] = self.account_context.to_map()
|
|
33
|
+
|
|
34
|
+
return result
|
|
35
|
+
|
|
36
|
+
def from_map(self, m: dict = None):
|
|
37
|
+
m = m or dict()
|
|
38
|
+
if m.get('commonHeaders') is not None:
|
|
39
|
+
self.common_headers = m.get('commonHeaders')
|
|
40
|
+
|
|
41
|
+
if m.get('AccountContext') is not None:
|
|
42
|
+
temp_model = main_models.GetSkillDetailHeadersAccountContext()
|
|
43
|
+
self.account_context = temp_model.from_map(m.get('AccountContext'))
|
|
44
|
+
|
|
45
|
+
return self
|
|
46
|
+
|
|
47
|
+
class GetSkillDetailHeadersAccountContext(DaraModel):
|
|
48
|
+
def __init__(
|
|
49
|
+
self,
|
|
50
|
+
sso_ticket: str = None,
|
|
51
|
+
account_id: str = None,
|
|
52
|
+
):
|
|
53
|
+
# Buc SsoTicket
|
|
54
|
+
self.sso_ticket = sso_ticket
|
|
55
|
+
# This parameter is required.
|
|
56
|
+
self.account_id = account_id
|
|
57
|
+
|
|
58
|
+
def validate(self):
|
|
59
|
+
pass
|
|
60
|
+
|
|
61
|
+
def to_map(self):
|
|
62
|
+
result = dict()
|
|
63
|
+
_map = super().to_map()
|
|
64
|
+
if _map is not None:
|
|
65
|
+
result = _map
|
|
66
|
+
if self.sso_ticket is not None:
|
|
67
|
+
result['SsoTicket'] = self.sso_ticket
|
|
68
|
+
|
|
69
|
+
if self.account_id is not None:
|
|
70
|
+
result['accountId'] = self.account_id
|
|
71
|
+
|
|
72
|
+
return result
|
|
73
|
+
|
|
74
|
+
def from_map(self, m: dict = None):
|
|
75
|
+
m = m or dict()
|
|
76
|
+
if m.get('SsoTicket') is not None:
|
|
77
|
+
self.sso_ticket = m.get('SsoTicket')
|
|
78
|
+
|
|
79
|
+
if m.get('accountId') is not None:
|
|
80
|
+
self.account_id = m.get('accountId')
|
|
81
|
+
|
|
82
|
+
return self
|
|
83
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class GetSkillDetailRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
group_id: str = None,
|
|
11
|
+
skill_id: str = None,
|
|
12
|
+
source_id_of_assistant_id: str = None,
|
|
13
|
+
):
|
|
14
|
+
self.group_id = group_id
|
|
15
|
+
self.skill_id = skill_id
|
|
16
|
+
self.source_id_of_assistant_id = source_id_of_assistant_id
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.group_id is not None:
|
|
27
|
+
result['GroupId'] = self.group_id
|
|
28
|
+
|
|
29
|
+
if self.skill_id is not None:
|
|
30
|
+
result['SkillId'] = self.skill_id
|
|
31
|
+
|
|
32
|
+
if self.source_id_of_assistant_id is not None:
|
|
33
|
+
result['SourceIdOfAssistantId'] = self.source_id_of_assistant_id
|
|
34
|
+
|
|
35
|
+
return result
|
|
36
|
+
|
|
37
|
+
def from_map(self, m: dict = None):
|
|
38
|
+
m = m or dict()
|
|
39
|
+
if m.get('GroupId') is not None:
|
|
40
|
+
self.group_id = m.get('GroupId')
|
|
41
|
+
|
|
42
|
+
if m.get('SkillId') is not None:
|
|
43
|
+
self.skill_id = m.get('SkillId')
|
|
44
|
+
|
|
45
|
+
if m.get('SourceIdOfAssistantId') is not None:
|
|
46
|
+
self.source_id_of_assistant_id = m.get('SourceIdOfAssistantId')
|
|
47
|
+
|
|
48
|
+
return self
|
|
49
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_aliding20230426 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetSkillDetailResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.GetSkillDetailResponseBody = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.GetSkillDetailResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
from darabonba.model import DaraModel
|
|
8
|
+
|
|
9
|
+
class GetSkillDetailResponseBody(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
data: Any = None,
|
|
13
|
+
request_id: str = None,
|
|
14
|
+
):
|
|
15
|
+
self.data = data
|
|
16
|
+
# RequestId
|
|
17
|
+
self.request_id = request_id
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
pass
|
|
21
|
+
|
|
22
|
+
def to_map(self):
|
|
23
|
+
result = dict()
|
|
24
|
+
_map = super().to_map()
|
|
25
|
+
if _map is not None:
|
|
26
|
+
result = _map
|
|
27
|
+
if self.data is not None:
|
|
28
|
+
result['Data'] = self.data
|
|
29
|
+
|
|
30
|
+
if self.request_id is not None:
|
|
31
|
+
result['RequestId'] = self.request_id
|
|
32
|
+
|
|
33
|
+
return result
|
|
34
|
+
|
|
35
|
+
def from_map(self, m: dict = None):
|
|
36
|
+
m = m or dict()
|
|
37
|
+
if m.get('Data') is not None:
|
|
38
|
+
self.data = m.get('Data')
|
|
39
|
+
|
|
40
|
+
if m.get('RequestId') is not None:
|
|
41
|
+
self.request_id = m.get('RequestId')
|
|
42
|
+
|
|
43
|
+
return self
|
|
44
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from darabonba.model import DaraModel
|
|
8
|
+
|
|
9
|
+
class GetSkillDetailShrinkHeaders(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
common_headers: Dict[str, str] = None,
|
|
13
|
+
account_context_shrink: str = None,
|
|
14
|
+
):
|
|
15
|
+
self.common_headers = common_headers
|
|
16
|
+
self.account_context_shrink = account_context_shrink
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.common_headers is not None:
|
|
27
|
+
result['commonHeaders'] = self.common_headers
|
|
28
|
+
|
|
29
|
+
if self.account_context_shrink is not None:
|
|
30
|
+
result['AccountContext'] = self.account_context_shrink
|
|
31
|
+
|
|
32
|
+
return result
|
|
33
|
+
|
|
34
|
+
def from_map(self, m: dict = None):
|
|
35
|
+
m = m or dict()
|
|
36
|
+
if m.get('commonHeaders') is not None:
|
|
37
|
+
self.common_headers = m.get('commonHeaders')
|
|
38
|
+
|
|
39
|
+
if m.get('AccountContext') is not None:
|
|
40
|
+
self.account_context_shrink = m.get('AccountContext')
|
|
41
|
+
|
|
42
|
+
return self
|
|
43
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_aliding20230426 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetSkillsHeaders(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
common_headers: Dict[str, str] = None,
|
|
14
|
+
account_context: main_models.GetSkillsHeadersAccountContext = None,
|
|
15
|
+
):
|
|
16
|
+
self.common_headers = common_headers
|
|
17
|
+
self.account_context = account_context
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
if self.account_context:
|
|
21
|
+
self.account_context.validate()
|
|
22
|
+
|
|
23
|
+
def to_map(self):
|
|
24
|
+
result = dict()
|
|
25
|
+
_map = super().to_map()
|
|
26
|
+
if _map is not None:
|
|
27
|
+
result = _map
|
|
28
|
+
if self.common_headers is not None:
|
|
29
|
+
result['commonHeaders'] = self.common_headers
|
|
30
|
+
|
|
31
|
+
if self.account_context is not None:
|
|
32
|
+
result['AccountContext'] = self.account_context.to_map()
|
|
33
|
+
|
|
34
|
+
return result
|
|
35
|
+
|
|
36
|
+
def from_map(self, m: dict = None):
|
|
37
|
+
m = m or dict()
|
|
38
|
+
if m.get('commonHeaders') is not None:
|
|
39
|
+
self.common_headers = m.get('commonHeaders')
|
|
40
|
+
|
|
41
|
+
if m.get('AccountContext') is not None:
|
|
42
|
+
temp_model = main_models.GetSkillsHeadersAccountContext()
|
|
43
|
+
self.account_context = temp_model.from_map(m.get('AccountContext'))
|
|
44
|
+
|
|
45
|
+
return self
|
|
46
|
+
|
|
47
|
+
class GetSkillsHeadersAccountContext(DaraModel):
|
|
48
|
+
def __init__(
|
|
49
|
+
self,
|
|
50
|
+
sso_ticket: str = None,
|
|
51
|
+
account_id: str = None,
|
|
52
|
+
):
|
|
53
|
+
# Buc SsoTicket
|
|
54
|
+
self.sso_ticket = sso_ticket
|
|
55
|
+
# This parameter is required.
|
|
56
|
+
self.account_id = account_id
|
|
57
|
+
|
|
58
|
+
def validate(self):
|
|
59
|
+
pass
|
|
60
|
+
|
|
61
|
+
def to_map(self):
|
|
62
|
+
result = dict()
|
|
63
|
+
_map = super().to_map()
|
|
64
|
+
if _map is not None:
|
|
65
|
+
result = _map
|
|
66
|
+
if self.sso_ticket is not None:
|
|
67
|
+
result['SsoTicket'] = self.sso_ticket
|
|
68
|
+
|
|
69
|
+
if self.account_id is not None:
|
|
70
|
+
result['accountId'] = self.account_id
|
|
71
|
+
|
|
72
|
+
return result
|
|
73
|
+
|
|
74
|
+
def from_map(self, m: dict = None):
|
|
75
|
+
m = m or dict()
|
|
76
|
+
if m.get('SsoTicket') is not None:
|
|
77
|
+
self.sso_ticket = m.get('SsoTicket')
|
|
78
|
+
|
|
79
|
+
if m.get('accountId') is not None:
|
|
80
|
+
self.account_id = m.get('accountId')
|
|
81
|
+
|
|
82
|
+
return self
|
|
83
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from darabonba.model import DaraModel
|
|
8
|
+
|
|
9
|
+
class GetSkillsRequest(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
group_ids: List[str] = None,
|
|
13
|
+
skill_ids: List[str] = None,
|
|
14
|
+
source_id_of_assistant_id: str = None,
|
|
15
|
+
):
|
|
16
|
+
self.group_ids = group_ids
|
|
17
|
+
self.skill_ids = skill_ids
|
|
18
|
+
self.source_id_of_assistant_id = source_id_of_assistant_id
|
|
19
|
+
|
|
20
|
+
def validate(self):
|
|
21
|
+
pass
|
|
22
|
+
|
|
23
|
+
def to_map(self):
|
|
24
|
+
result = dict()
|
|
25
|
+
_map = super().to_map()
|
|
26
|
+
if _map is not None:
|
|
27
|
+
result = _map
|
|
28
|
+
if self.group_ids is not None:
|
|
29
|
+
result['GroupIds'] = self.group_ids
|
|
30
|
+
|
|
31
|
+
if self.skill_ids is not None:
|
|
32
|
+
result['SkillIds'] = self.skill_ids
|
|
33
|
+
|
|
34
|
+
if self.source_id_of_assistant_id is not None:
|
|
35
|
+
result['SourceIdOfAssistantId'] = self.source_id_of_assistant_id
|
|
36
|
+
|
|
37
|
+
return result
|
|
38
|
+
|
|
39
|
+
def from_map(self, m: dict = None):
|
|
40
|
+
m = m or dict()
|
|
41
|
+
if m.get('GroupIds') is not None:
|
|
42
|
+
self.group_ids = m.get('GroupIds')
|
|
43
|
+
|
|
44
|
+
if m.get('SkillIds') is not None:
|
|
45
|
+
self.skill_ids = m.get('SkillIds')
|
|
46
|
+
|
|
47
|
+
if m.get('SourceIdOfAssistantId') is not None:
|
|
48
|
+
self.source_id_of_assistant_id = m.get('SourceIdOfAssistantId')
|
|
49
|
+
|
|
50
|
+
return self
|
|
51
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_aliding20230426 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class GetSkillsResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.GetSkillsResponseBody = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.GetSkillsResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
from darabonba.model import DaraModel
|
|
8
|
+
|
|
9
|
+
class GetSkillsResponseBody(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
data: Any = None,
|
|
13
|
+
request_id: str = None,
|
|
14
|
+
):
|
|
15
|
+
self.data = data
|
|
16
|
+
# RequestId
|
|
17
|
+
self.request_id = request_id
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
pass
|
|
21
|
+
|
|
22
|
+
def to_map(self):
|
|
23
|
+
result = dict()
|
|
24
|
+
_map = super().to_map()
|
|
25
|
+
if _map is not None:
|
|
26
|
+
result = _map
|
|
27
|
+
if self.data is not None:
|
|
28
|
+
result['Data'] = self.data
|
|
29
|
+
|
|
30
|
+
if self.request_id is not None:
|
|
31
|
+
result['RequestId'] = self.request_id
|
|
32
|
+
|
|
33
|
+
return result
|
|
34
|
+
|
|
35
|
+
def from_map(self, m: dict = None):
|
|
36
|
+
m = m or dict()
|
|
37
|
+
if m.get('Data') is not None:
|
|
38
|
+
self.data = m.get('Data')
|
|
39
|
+
|
|
40
|
+
if m.get('RequestId') is not None:
|
|
41
|
+
self.request_id = m.get('RequestId')
|
|
42
|
+
|
|
43
|
+
return self
|
|
44
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from darabonba.model import DaraModel
|
|
8
|
+
|
|
9
|
+
class GetSkillsShrinkHeaders(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
common_headers: Dict[str, str] = None,
|
|
13
|
+
account_context_shrink: str = None,
|
|
14
|
+
):
|
|
15
|
+
self.common_headers = common_headers
|
|
16
|
+
self.account_context_shrink = account_context_shrink
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.common_headers is not None:
|
|
27
|
+
result['commonHeaders'] = self.common_headers
|
|
28
|
+
|
|
29
|
+
if self.account_context_shrink is not None:
|
|
30
|
+
result['AccountContext'] = self.account_context_shrink
|
|
31
|
+
|
|
32
|
+
return result
|
|
33
|
+
|
|
34
|
+
def from_map(self, m: dict = None):
|
|
35
|
+
m = m or dict()
|
|
36
|
+
if m.get('commonHeaders') is not None:
|
|
37
|
+
self.common_headers = m.get('commonHeaders')
|
|
38
|
+
|
|
39
|
+
if m.get('AccountContext') is not None:
|
|
40
|
+
self.account_context_shrink = m.get('AccountContext')
|
|
41
|
+
|
|
42
|
+
return self
|
|
43
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class GetSkillsShrinkRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
group_ids_shrink: str = None,
|
|
11
|
+
skill_ids_shrink: str = None,
|
|
12
|
+
source_id_of_assistant_id: str = None,
|
|
13
|
+
):
|
|
14
|
+
self.group_ids_shrink = group_ids_shrink
|
|
15
|
+
self.skill_ids_shrink = skill_ids_shrink
|
|
16
|
+
self.source_id_of_assistant_id = source_id_of_assistant_id
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.group_ids_shrink is not None:
|
|
27
|
+
result['GroupIds'] = self.group_ids_shrink
|
|
28
|
+
|
|
29
|
+
if self.skill_ids_shrink is not None:
|
|
30
|
+
result['SkillIds'] = self.skill_ids_shrink
|
|
31
|
+
|
|
32
|
+
if self.source_id_of_assistant_id is not None:
|
|
33
|
+
result['SourceIdOfAssistantId'] = self.source_id_of_assistant_id
|
|
34
|
+
|
|
35
|
+
return result
|
|
36
|
+
|
|
37
|
+
def from_map(self, m: dict = None):
|
|
38
|
+
m = m or dict()
|
|
39
|
+
if m.get('GroupIds') is not None:
|
|
40
|
+
self.group_ids_shrink = m.get('GroupIds')
|
|
41
|
+
|
|
42
|
+
if m.get('SkillIds') is not None:
|
|
43
|
+
self.skill_ids_shrink = m.get('SkillIds')
|
|
44
|
+
|
|
45
|
+
if m.get('SourceIdOfAssistantId') is not None:
|
|
46
|
+
self.source_id_of_assistant_id = m.get('SourceIdOfAssistantId')
|
|
47
|
+
|
|
48
|
+
return self
|
|
49
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
alibabacloud_aliding20230426/__init__.py,sha256=
|
|
2
|
-
alibabacloud_aliding20230426/client.py,sha256=
|
|
3
|
-
alibabacloud_aliding20230426/models/__init__.py,sha256=
|
|
1
|
+
alibabacloud_aliding20230426/__init__.py,sha256=3xJISLIpLu_xLduOVDUBDaCuyph_CM8pQJJ3Q6pt4hY,22
|
|
2
|
+
alibabacloud_aliding20230426/client.py,sha256=KNWJ1gDc4jF3FPO2VekQRaoW0U35f9OvsW11SNaYS50,1549321
|
|
3
|
+
alibabacloud_aliding20230426/models/__init__.py,sha256=HHMPsBXL-_mLF0oC3pCfFtU08sgAPkLl0frLb7I6oFQ,311702
|
|
4
4
|
alibabacloud_aliding20230426/models/_add_attendee_headers.py,sha256=2Nep_0c4mWYJGepSXxglYdxwn-bpz-4VUV17LY1sqeI,2065
|
|
5
5
|
alibabacloud_aliding20230426/models/_add_attendee_request.py,sha256=_ez-EEntziX1Guq7wAUVTq1mpW0UnRfutQzpVtI_4Zo,3401
|
|
6
6
|
alibabacloud_aliding20230426/models/_add_attendee_response.py,sha256=hNX1YfqZ8Q4Zl2tL94CCKANRxP8Da0MEemhHs3zLYf8,1469
|
|
@@ -79,11 +79,11 @@ alibabacloud_aliding20230426/models/_assign_ticket_response_body.py,sha256=MLySK
|
|
|
79
79
|
alibabacloud_aliding20230426/models/_assign_ticket_shrink_headers.py,sha256=xIi9wjCAKDcBr2Kj3jsQA5QqMJuXVKdkhVhGr45BxgI,1181
|
|
80
80
|
alibabacloud_aliding20230426/models/_assign_ticket_shrink_request.py,sha256=7NftOkVQvfQcW6d-7TiuvKhoJNimUCwjaetuld-pvFY,2407
|
|
81
81
|
alibabacloud_aliding20230426/models/_authorize_skill_headers.py,sha256=JENshwez7mmq99B-V_CPAPo22zb7Daq0yR6IrD0qpss,2075
|
|
82
|
-
alibabacloud_aliding20230426/models/_authorize_skill_request.py,sha256=
|
|
82
|
+
alibabacloud_aliding20230426/models/_authorize_skill_request.py,sha256=r_7pefEk-7mQTRTDFLnvtzEgI5atTV71RrZD02Kt1Sk,1229
|
|
83
83
|
alibabacloud_aliding20230426/models/_authorize_skill_response.py,sha256=k5GF0imLHyAz5UIEFIPgQjpRXxqDzyCE0jSpkufxk8U,1478
|
|
84
84
|
alibabacloud_aliding20230426/models/_authorize_skill_response_body.py,sha256=W1c5QKAoHdM2ohwG6MOQcwuRWZ-29zxq-E6vIc3ejGM,996
|
|
85
85
|
alibabacloud_aliding20230426/models/_authorize_skill_shrink_headers.py,sha256=QCzOcnbkTsAWLWbAtALtW4U-_0MtaTrJi83WG-QrY3w,1183
|
|
86
|
-
alibabacloud_aliding20230426/models/_authorize_skill_shrink_request.py,sha256=
|
|
86
|
+
alibabacloud_aliding20230426/models/_authorize_skill_shrink_request.py,sha256=GM-3KB49h4gxVvSIHKbJDheiT3uVSdKqppHWK-VF8YQ,1246
|
|
87
87
|
alibabacloud_aliding20230426/models/_batch_get_form_data_by_id_list_headers.py,sha256=NVabITEk0BoD8igIg2xYFImZ11eVKCmpMnm6-DyrtgA,2115
|
|
88
88
|
alibabacloud_aliding20230426/models/_batch_get_form_data_by_id_list_request.py,sha256=z9jQWxdRpBHP45f-xU39CMqSFsACSjitqW1T8By-9Bc,2175
|
|
89
89
|
alibabacloud_aliding20230426/models/_batch_get_form_data_by_id_list_response.py,sha256=9psOigJ_9nR-0OuLxWhfkcsbRigPC4NGdhktRtq78hU,1508
|
|
@@ -822,6 +822,17 @@ alibabacloud_aliding20230426/models/_get_sheet_response.py,sha256=U0XagwrB2xbh5K
|
|
|
822
822
|
alibabacloud_aliding20230426/models/_get_sheet_response_body.py,sha256=T4yl2tKJdHNX81-Otet0pboxspBJZcpVTv9RlHdqoss,2606
|
|
823
823
|
alibabacloud_aliding20230426/models/_get_sheet_shrink_headers.py,sha256=vvpWumYh-WyXuD8G_l8JGHDAJxF4VQHK_B1itP7GENU,1177
|
|
824
824
|
alibabacloud_aliding20230426/models/_get_sheet_shrink_request.py,sha256=xl-WEam4a-P_rO3HtD4ZJ22NiAGMTbV5ob9JGJcBV_8,1416
|
|
825
|
+
alibabacloud_aliding20230426/models/_get_skill_detail_headers.py,sha256=iejBPnf2GGQZGRzp3q2cKIDX3ck-Q4100gbCCxO-aK0,2352
|
|
826
|
+
alibabacloud_aliding20230426/models/_get_skill_detail_request.py,sha256=Fjys6Mz1wdbAX7Bx400sG8lzlorR5GUnWJMsk7byav4,1361
|
|
827
|
+
alibabacloud_aliding20230426/models/_get_skill_detail_response.py,sha256=25cQ-IP-0exKVGxZnBvqV0A8xK7k1im5TW2hap4tHvA,1478
|
|
828
|
+
alibabacloud_aliding20230426/models/_get_skill_detail_response_body.py,sha256=-Hcq1u-4eiEhzrjS6oClbBmVgGB1bfxI7ymBQd3Iuh4,1016
|
|
829
|
+
alibabacloud_aliding20230426/models/_get_skill_detail_shrink_headers.py,sha256=f-UYGT4jSa7lGRvk-iaHt_UBIjq7jmyLWiGDhDVuVJA,1183
|
|
830
|
+
alibabacloud_aliding20230426/models/_get_skills_headers.py,sha256=m0-yNzD77fdswB6oqSles8LhBZes_p2pS8evvbcV_08,2332
|
|
831
|
+
alibabacloud_aliding20230426/models/_get_skills_request.py,sha256=YSt0I7Xvs8LdFWhojLsVOTE6a0dInGzq8UVgh9PwIis,1411
|
|
832
|
+
alibabacloud_aliding20230426/models/_get_skills_response.py,sha256=JB485f3Fytwt9KyGgNZv5EUoEgJE-YHqsiNTMcqCpkM,1463
|
|
833
|
+
alibabacloud_aliding20230426/models/_get_skills_response_body.py,sha256=Z3uWJBtOOowx3Ih7Kxu0AzVG4fHi08lti8qhwEwkdV4,1011
|
|
834
|
+
alibabacloud_aliding20230426/models/_get_skills_shrink_headers.py,sha256=N0K1Q2mnnYX-8oinUP8OiOrJDu4-rIQD1yAp4VVVxNE,1178
|
|
835
|
+
alibabacloud_aliding20230426/models/_get_skills_shrink_request.py,sha256=gTC33QF6JcUQcORo3cbNJIWTNNUDsiTidnPy4cI1a3Q,1464
|
|
825
836
|
alibabacloud_aliding20230426/models/_get_space_directories_headers.py,sha256=di2jhCJqr4vJaRs2bnCZn8pbxiTVshPG4c87SA-McdY,2095
|
|
826
837
|
alibabacloud_aliding20230426/models/_get_space_directories_request.py,sha256=qz_lhJbxaUG3-kh6lwxZvtxHfUchUBKIgRy9uIjESG0,2779
|
|
827
838
|
alibabacloud_aliding20230426/models/_get_space_directories_response.py,sha256=YrY7yofoAKVafTykljp-NoJZC5CgiA8Dy05cn1zReic,1493
|
|
@@ -1574,8 +1585,8 @@ alibabacloud_aliding20230426/models/_wear_org_honor_response.py,sha256=NA11SdSDs
|
|
|
1574
1585
|
alibabacloud_aliding20230426/models/_wear_org_honor_response_body.py,sha256=t7_UeHCO9ntrCa2Co639nVod66_ac8-VE8u7Ar5ZotM,3136
|
|
1575
1586
|
alibabacloud_aliding20230426/models/_wear_org_honor_shrink_headers.py,sha256=nUEMa4IfVyIhsxznv_BKDKhOVCugHpvU3X5kzfc56xE,1181
|
|
1576
1587
|
alibabacloud_aliding20230426/models/_wear_org_honor_shrink_request.py,sha256=gDPOmQxWayWh5ht9nXOLswcU6vci1nLIgdBJnGPdumg,1880
|
|
1577
|
-
alibabacloud_aliding20230426-2.
|
|
1578
|
-
alibabacloud_aliding20230426-2.
|
|
1579
|
-
alibabacloud_aliding20230426-2.
|
|
1580
|
-
alibabacloud_aliding20230426-2.
|
|
1581
|
-
alibabacloud_aliding20230426-2.
|
|
1588
|
+
alibabacloud_aliding20230426-2.48.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
1589
|
+
alibabacloud_aliding20230426-2.48.0.dist-info/METADATA,sha256=i3tMz7AQ_LH5L3sxbibNdymalJsNbfWthmbJqIQqz5o,2318
|
|
1590
|
+
alibabacloud_aliding20230426-2.48.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
1591
|
+
alibabacloud_aliding20230426-2.48.0.dist-info/top_level.txt,sha256=-PldRiL4BaIcC8lMj_rfQts3uDrz2FNYlwzb82aQOAs,29
|
|
1592
|
+
alibabacloud_aliding20230426-2.48.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|