byteplus-python-sdk-v2 3.0.60__py2.py3-none-any.whl → 3.0.61__py2.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.
- {byteplus_python_sdk_v2-3.0.60.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/METADATA +1 -1
- {byteplus_python_sdk_v2-3.0.60.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/RECORD +22 -18
- byteplussdkcore/api_client.py +1 -1
- byteplussdkcore/configuration.py +1 -1
- byteplussdkcr/__init__.py +4 -0
- byteplussdkcr/api/cr_api.py +194 -0
- byteplussdkcr/models/__init__.py +4 -0
- byteplussdkcr/models/create_namespace_request.py +55 -3
- byteplussdkcr/models/create_registry_response.py +29 -1
- byteplussdkcr/models/filter_for_list_registries_input.py +27 -1
- byteplussdkcr/models/get_authorization_token_request.py +27 -1
- byteplussdkcr/models/proxy_cache_for_list_registries_output.py +81 -3
- byteplussdkcr/models/update_public_endpoint_request.py +27 -1
- byteplussdkcr/models/update_registry_request.py +176 -0
- byteplussdkcr/models/update_registry_response.py +95 -0
- byteplussdkcr/models/update_tag_description_request.py +244 -0
- byteplussdkcr/models/update_tag_description_response.py +95 -0
- byteplussdkcr/models/vpc_for_update_vpc_endpoint_input.py +27 -1
- {byteplus_python_sdk_v2-3.0.60.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/WHEEL +0 -0
- {byteplus_python_sdk_v2-3.0.60.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.60.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/licenses/NOTICE.md +0 -0
- {byteplus_python_sdk_v2-3.0.60.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
byteplus_python_sdk_v2-3.0.
|
|
2
|
-
byteplus_python_sdk_v2-3.0.
|
|
1
|
+
byteplus_python_sdk_v2-3.0.61.dist-info/licenses/LICENSE.txt,sha256=jG2zQEdRNt88EgHUWPpXVWmOrOduUQRx7MnYV9YIPaw,11359
|
|
2
|
+
byteplus_python_sdk_v2-3.0.61.dist-info/licenses/NOTICE.md,sha256=vSw_bTkZl1MYBrGol3tpO6B6OLLFRpaw0z5cun0_0QE,85
|
|
3
3
|
byteplussdkaidap/__init__.py,sha256=06Wyzte6jJxPoP6bTDNWeYvmRVXZrwCa_S8rx7BaDAo,36880
|
|
4
4
|
byteplussdkaidap/api/__init__.py,sha256=qPeKZgTERNgtyK6CyW8T-Gl5WdCSta6BJgxISzqyYGk,139
|
|
5
5
|
byteplussdkaidap/api/aidap_api.py,sha256=LNdYWt9Uup6uBWWaHn48dEkfsLJ3pTzZ8wYa2ece-Ro,355451
|
|
@@ -2405,8 +2405,8 @@ byteplussdkcloudmonitor/models/update_silence_policy_response.py,sha256=3PZTcDF2
|
|
|
2405
2405
|
byteplussdkcloudmonitor/models/update_webhook_request.py,sha256=UuA9Ua57eLThwa7cVq5xPegHf-e3W2aGti5CLTBYf1U,7041
|
|
2406
2406
|
byteplussdkcloudmonitor/models/update_webhook_response.py,sha256=Icjg1daq1uG0V3l7R_QVPkHvLCe1uXU1OphnDhoZ91A,3424
|
|
2407
2407
|
byteplussdkcore/__init__.py,sha256=QD2qSwKMsMeYxsEQIdWce5ekPilRexqkWCP_q3YOqvo,308
|
|
2408
|
-
byteplussdkcore/api_client.py,sha256=
|
|
2409
|
-
byteplussdkcore/configuration.py,sha256=
|
|
2408
|
+
byteplussdkcore/api_client.py,sha256=wraoU4sNk3RiUepH6swOVLmrjM8bxyfHRniE0uKsEqE,28550
|
|
2409
|
+
byteplussdkcore/configuration.py,sha256=ap4FREpWWSd_c0gLw3adds84PyzTVRvtohALTRNuSTU,15244
|
|
2410
2410
|
byteplussdkcore/endpoint.py,sha256=L5Dw0-Cia9ezYxGJFgZ9td-mCM4AqSIZv67ll1sSzMY,1630
|
|
2411
2411
|
byteplussdkcore/flatten.py,sha256=g3r61JS_AO7WV6ClRDkXgtnVXcw3c7tbZjeLAJxkSLc,3811
|
|
2412
2412
|
byteplussdkcore/metadata.py,sha256=Km5jOllvPViXn0rdx604nIq0OF1RBF3Q2x-xA2cDXc8,4518
|
|
@@ -2497,18 +2497,18 @@ byteplussdkcpaas/models/template_list_for_get_template_v2_output.py,sha256=ZpStS
|
|
|
2497
2497
|
byteplussdkcpaas/models/template_status_for_list_template_v2_output.py,sha256=Vua0Ml3L_5BqPJaO8AUPqwzq19qYPNxXLNmw2JDhrdE,7763
|
|
2498
2498
|
byteplussdkcpaas/models/variables_dto_list_for_create_template_v2_input.py,sha256=gGi7lW95rG-rJcmlKVS7w2xgiOJ4YOhZhRZCQcTXgSk,8129
|
|
2499
2499
|
byteplussdkcpaas/models/variables_dto_list_for_get_template_v2_output.py,sha256=zxSEw0OTrsZFwX1vh1tM-HZFGyfn4pbjpRa79W4xNYU,8071
|
|
2500
|
-
byteplussdkcr/__init__.py,sha256=
|
|
2500
|
+
byteplussdkcr/__init__.py,sha256=ea2RWXqOB5vBumhzrDqsZ-3FnYYodUKZlVogntLjhng,8264
|
|
2501
2501
|
byteplussdkcr/api/__init__.py,sha256=NQOCaOocCMSTrd8HhxZ-xu4zeY4t8d8jNRS8wu5-b7w,130
|
|
2502
|
-
byteplussdkcr/api/cr_api.py,sha256=
|
|
2503
|
-
byteplussdkcr/models/__init__.py,sha256=
|
|
2502
|
+
byteplussdkcr/api/cr_api.py,sha256=yo5DeTaW-mpUsRFfnMCjPVbcqCgnuhjC7lqri5xuRmw,115661
|
|
2503
|
+
byteplussdkcr/models/__init__.py,sha256=n6z5yFVfdG18pQgNq-ZpfEwEkfBeD49E96eIOzd7qcY,8190
|
|
2504
2504
|
byteplussdkcr/models/acl_policy_for_get_public_endpoint_output.py,sha256=Z7rQA5TarItALRwtWYv5bCkIXI7mC8idhXOrWxTBX5Q,4351
|
|
2505
2505
|
byteplussdkcr/models/chart_attribute_for_list_tags_output.py,sha256=JZcaZ7U_UMf_sXBo78dvmsXwcNgsXjgp4UOtNl4wo5w,4991
|
|
2506
2506
|
byteplussdkcr/models/create_endpoint_acl_policies_request.py,sha256=CfM25oqpsxpcJs4RZBaUmxXK_Bf8IGeZ2vg8J4AuitQ,6507
|
|
2507
2507
|
byteplussdkcr/models/create_endpoint_acl_policies_response.py,sha256=kloHeHx8g-YOW7srKRLZFd9VulCsHL5M3atRomnhvOg,2843
|
|
2508
|
-
byteplussdkcr/models/create_namespace_request.py,sha256=
|
|
2508
|
+
byteplussdkcr/models/create_namespace_request.py,sha256=1HSVUIcMSsEjTk1g8VZFJFWXLHQqQax23Gse5MhqD4E,8609
|
|
2509
2509
|
byteplussdkcr/models/create_namespace_response.py,sha256=4vCICF8BIvW97K7xtycoAaVR6KtPXuTChx_OWA7JKcE,2793
|
|
2510
2510
|
byteplussdkcr/models/create_registry_request.py,sha256=Cx5NN126mCkpI0nUXNY-d1tf7Equn7aqgodu7Twyjo8,6484
|
|
2511
|
-
byteplussdkcr/models/create_registry_response.py,sha256=
|
|
2511
|
+
byteplussdkcr/models/create_registry_response.py,sha256=PAxV6MCJCru6M2z9YKx5hFL6QlgFyQDh90S3_0wh-WI,3405
|
|
2512
2512
|
byteplussdkcr/models/create_repository_request.py,sha256=qZ-89AJMg-JBDlnMuk0X-X6JL0WOq6zZy6bne6Qk-ss,8520
|
|
2513
2513
|
byteplussdkcr/models/create_repository_response.py,sha256=qVlrTsCpsxl2xr2ks6w0TC-ResJREYjwLXd6D-V6XFo,2798
|
|
2514
2514
|
byteplussdkcr/models/create_robot_account_request.py,sha256=yuXnaoNPUDIilBx7jTTg0qA_qyNh-Rvx-YF_MeVKXh4,8175
|
|
@@ -2528,11 +2528,11 @@ byteplussdkcr/models/delete_tags_response.py,sha256=ipF7p_YQBgR0gMOv7jP4dvJ1itD4
|
|
|
2528
2528
|
byteplussdkcr/models/failure_for_delete_tags_output.py,sha256=rI2aABClDZPkBsfL7Z9bGBOhjdkAgWNuek7rj871LOw,4114
|
|
2529
2529
|
byteplussdkcr/models/filter_for_get_vpc_endpoint_input.py,sha256=Ki9-168bqplOccyx4qZiP4Zfjd1nci578SJe08aEE_A,3557
|
|
2530
2530
|
byteplussdkcr/models/filter_for_list_namespaces_input.py,sha256=PQA5-uEz91RtITdqB71BqtVfpS2kYbh3nrALPDL8Qa0,4999
|
|
2531
|
-
byteplussdkcr/models/filter_for_list_registries_input.py,sha256=
|
|
2531
|
+
byteplussdkcr/models/filter_for_list_registries_input.py,sha256=Jc0ou7GhKPK7gaMurQtQaY652JVVW5_rHqIGASCa8oo,6671
|
|
2532
2532
|
byteplussdkcr/models/filter_for_list_repositories_input.py,sha256=j32CXWL3gLsgPiuSZJte78JlEzm-FYpnsXY_7A9nSUw,5148
|
|
2533
2533
|
byteplussdkcr/models/filter_for_list_robot_accounts_input.py,sha256=wEZWgJXn-8KahtJjtiN3OrJA6VOgsJMTX0PhPgsq380,5171
|
|
2534
2534
|
byteplussdkcr/models/filter_for_list_tags_input.py,sha256=46-fdkbkgR63vJ0ZbFqU6rphKT3HXP9nIpG7XHItUog,4098
|
|
2535
|
-
byteplussdkcr/models/get_authorization_token_request.py,sha256=
|
|
2535
|
+
byteplussdkcr/models/get_authorization_token_request.py,sha256=LQwo3My5Qjkru65fusyLp2_8CgtgIyohiSsAFVJfJj4,4912
|
|
2536
2536
|
byteplussdkcr/models/get_authorization_token_response.py,sha256=Ypinb4w4UAgeMonK2TWH0ORgqy5HLP7J0KkC4ZX0YGQ,4997
|
|
2537
2537
|
byteplussdkcr/models/get_public_endpoint_request.py,sha256=Uzf_lc0L277nlQVN9E17vmMghIj0YxJW2-iXFtLyC7M,4116
|
|
2538
2538
|
byteplussdkcr/models/get_public_endpoint_response.py,sha256=huPTkU6uTmbSMmODWe2tS6jmBIL94QmGh4-tP1Kvus8,5775
|
|
@@ -2562,7 +2562,7 @@ byteplussdkcr/models/list_tags_response.py,sha256=p3YXsNdqMti2N5FQw6t7h_qsssiE_C
|
|
|
2562
2562
|
byteplussdkcr/models/permission_for_create_robot_account_input.py,sha256=TE-O00rshrU4m9T5ymrTiOVhUmqO5UfOSlaOk8WO0CI,4362
|
|
2563
2563
|
byteplussdkcr/models/permission_for_list_robot_accounts_output.py,sha256=lMcETV-nl86ec1IU43NqC68cYbPt8MpI_Qz_0dpaUF0,4362
|
|
2564
2564
|
byteplussdkcr/models/permission_for_update_robot_account_input.py,sha256=5LNtQXoB5K1gTa5N6WO4KrdMvrEHK_fb20DU-LM4QLA,4362
|
|
2565
|
-
byteplussdkcr/models/proxy_cache_for_list_registries_output.py,sha256=
|
|
2565
|
+
byteplussdkcr/models/proxy_cache_for_list_registries_output.py,sha256=ePk_RRlAr6cQ56FzuWKjGZWddp_efpADq_pc9bu0LGQ,5868
|
|
2566
2566
|
byteplussdkcr/models/resource_tag_filter_for_list_registries_input.py,sha256=7Q--Dzx8_-4yI1nnUO5jeFMFmlTFYqF6IsK74QZGx9E,4281
|
|
2567
2567
|
byteplussdkcr/models/resource_tag_for_create_registry_input.py,sha256=SIdHp0IJmMHXwUd29UBZ0S7XlcagsM-pPIU-EjJ1PZs,4165
|
|
2568
2568
|
byteplussdkcr/models/resource_tag_for_list_registries_output.py,sha256=jbbTAZk0kIn5OZOJXHx8dsK9sas2vNFnDs7UJKfr3JY,4178
|
|
@@ -2573,18 +2573,22 @@ byteplussdkcr/models/start_registry_response.py,sha256=4ld4ISPEOPMMPt4ilTkCw0GFb
|
|
|
2573
2573
|
byteplussdkcr/models/status_for_list_registries_input.py,sha256=A0hMutkF3CQgWx6U92wyFStXqgYbApfLIK8D5-An52Y,4220
|
|
2574
2574
|
byteplussdkcr/models/status_for_list_registries_output.py,sha256=6glXDd-_mzD6-4pZd_IShwUYw5QbYXI9h-BTod17Ew8,4271
|
|
2575
2575
|
byteplussdkcr/models/success_for_delete_tags_output.py,sha256=jHAmi_0TCP8Gbca8sQrCWdCJvBb7tkLavINoY96LM8o,3441
|
|
2576
|
-
byteplussdkcr/models/update_public_endpoint_request.py,sha256=
|
|
2576
|
+
byteplussdkcr/models/update_public_endpoint_request.py,sha256=cg-X5JkArrgVl18WOQH4s5bLIEfWuhkOEuCHp0pEwsA,5639
|
|
2577
2577
|
byteplussdkcr/models/update_public_endpoint_response.py,sha256=UBjl5XvUutAUbEVA-qKmfB11igpYIeepdDeZ7GHPYM0,2818
|
|
2578
|
+
byteplussdkcr/models/update_registry_request.py,sha256=DuV1Didp7sUDsdPM2L6PhbmCpYvtBxs4VroJx5xCou4,5352
|
|
2579
|
+
byteplussdkcr/models/update_registry_response.py,sha256=RXMFhtao3Z2S-FqEgSfzPsfgxia6oHj3xIRQyNPpR5Q,2788
|
|
2578
2580
|
byteplussdkcr/models/update_repository_request.py,sha256=wghFC1pL9QQwyyO7Ifx8aac46izmQ67pVOBdNhoV0gM,8520
|
|
2579
2581
|
byteplussdkcr/models/update_repository_response.py,sha256=so0INXkNH4QcZvGv-lXPCYV0UYe-JAunH220QiVH3FM,2798
|
|
2580
2582
|
byteplussdkcr/models/update_robot_account_password_request.py,sha256=qbLc-6gJ0XdCvl7b5BcfwQDPWV3kZKKv5Dpzy1-vdNc,6649
|
|
2581
2583
|
byteplussdkcr/models/update_robot_account_password_response.py,sha256=1ahv2yu9FTLj3HByUKfryoMenNhoOKO-XqwRdoqZu1I,4338
|
|
2582
2584
|
byteplussdkcr/models/update_robot_account_request.py,sha256=8oe2rGvCbpDKVsGtrUCQi6HuU59vMWoXpHK-Z3jo92Y,8044
|
|
2583
2585
|
byteplussdkcr/models/update_robot_account_response.py,sha256=E08U0ZHGWdwv29TN1Ioa8d7GRxfJ6Giifs7bYMUcQJo,2808
|
|
2586
|
+
byteplussdkcr/models/update_tag_description_request.py,sha256=h8rRWKPlXlJ-ttYq5IfpMlXVpIqTuHh-MdcUCtIyVSU,8074
|
|
2587
|
+
byteplussdkcr/models/update_tag_description_response.py,sha256=C0AfaKNJrMyOUHRzQ2_nmlCPC8jAMOBmxlAQfGPraOE,2818
|
|
2584
2588
|
byteplussdkcr/models/update_vpc_endpoint_request.py,sha256=Lh-zYoXDpsHuI0lo9eKEMe1LQKzsLdfCxaW1zs8AHdY,4834
|
|
2585
2589
|
byteplussdkcr/models/update_vpc_endpoint_response.py,sha256=1ZcmIoodP7q-G4ClFboeQ3MIl-_Qfv0AOTBsIf645Yk,2803
|
|
2586
2590
|
byteplussdkcr/models/vpc_for_get_vpc_endpoint_output.py,sha256=JMRDJUXU5M4WyUjzWA3kdLLG9E4HKNtOxssK97hRyXU,7675
|
|
2587
|
-
byteplussdkcr/models/vpc_for_update_vpc_endpoint_input.py,sha256=
|
|
2591
|
+
byteplussdkcr/models/vpc_for_update_vpc_endpoint_input.py,sha256=_XqacePebDEToaYW_JRHzZclB9TKP46nE6wSRbEU0bI,6708
|
|
2588
2592
|
byteplussdkdirectconnect/__init__.py,sha256=PQQ21gWz5NjAuE6WOHuAUcg_BbbTk4UkwVa2T-jmcPc,17166
|
|
2589
2593
|
byteplussdkdirectconnect/api/__init__.py,sha256=b7gibsTcDQJHVD6d114EPa7CjAF8DUL3viYOMVrxBJ4,163
|
|
2590
2594
|
byteplussdkdirectconnect/api/directconnect_api.py,sha256=TvQBfzxAbfH44WvQzoy3kFIzkulaa8pMIa5ADW8gCQE,190339
|
|
@@ -11218,7 +11222,7 @@ byteplussdkvs20260714/models/create_voice_task_response.py,sha256=OXVaSMuIQeR-3K
|
|
|
11218
11222
|
byteplussdkvs20260714/models/data_for_create_voice_task_output.py,sha256=3AHvvVdW-XqrWaemto4rTkAGH7xC5LIECPM31j_v5D0,3526
|
|
11219
11223
|
byteplussdkvs20260714/models/number_info_list_for_create_voice_task_input.py,sha256=nRyRZ8MvLxJpdNNV3htDSWDkcwDR6fskvq0cT5z5Cuw,4503
|
|
11220
11224
|
byteplussdkvs20260714/models/voice_content_for_create_voice_task_input.py,sha256=x8z0fVEr0Uay3FuhGGJm5vrLdFMT5Qr2srJDUA3C_jA,8119
|
|
11221
|
-
byteplus_python_sdk_v2-3.0.
|
|
11222
|
-
byteplus_python_sdk_v2-3.0.
|
|
11223
|
-
byteplus_python_sdk_v2-3.0.
|
|
11224
|
-
byteplus_python_sdk_v2-3.0.
|
|
11225
|
+
byteplus_python_sdk_v2-3.0.61.dist-info/METADATA,sha256=ur_BD2lPT_gNvE_DNqwZyk5YDR71M_92ALx9mdwt7MY,4951
|
|
11226
|
+
byteplus_python_sdk_v2-3.0.61.dist-info/WHEEL,sha256=4YBfCYNH4wlLpv3pzq1hbEuIlXA4WJabKLFurZ7eTL0,109
|
|
11227
|
+
byteplus_python_sdk_v2-3.0.61.dist-info/top_level.txt,sha256=xDhgkWGyCNthTrm3Pt-fXxaRHTPxKUjjwJHXvRJDbic,1180
|
|
11228
|
+
byteplus_python_sdk_v2-3.0.61.dist-info/RECORD,,
|
byteplussdkcore/api_client.py
CHANGED
|
@@ -69,7 +69,7 @@ class ApiClient(object):
|
|
|
69
69
|
self.default_headers[header_name] = header_value
|
|
70
70
|
self.cookie = cookie
|
|
71
71
|
# Set default User-Agent.
|
|
72
|
-
self.user_agent = 'byteplus-python-sdk-v2/3.0.
|
|
72
|
+
self.user_agent = 'byteplus-python-sdk-v2/3.0.61'
|
|
73
73
|
self.client_side_validation = configuration.client_side_validation
|
|
74
74
|
|
|
75
75
|
self.interceptor_chain = InterceptorChain()
|
byteplussdkcore/configuration.py
CHANGED
|
@@ -302,7 +302,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
302
302
|
"OS: {env}\n" \
|
|
303
303
|
"Python Version: {pyversion}\n" \
|
|
304
304
|
"Version of the API: 0.1.0\n" \
|
|
305
|
-
"SDK Package Version: 3.0.
|
|
305
|
+
"SDK Package Version: 3.0.61".\
|
|
306
306
|
format(env=sys.platform, pyversion=sys.version)
|
|
307
307
|
|
|
308
308
|
@property
|
byteplussdkcr/__init__.py
CHANGED
|
@@ -93,12 +93,16 @@ from byteplussdkcr.models.status_for_list_registries_output import StatusForList
|
|
|
93
93
|
from byteplussdkcr.models.success_for_delete_tags_output import SuccessForDeleteTagsOutput
|
|
94
94
|
from byteplussdkcr.models.update_public_endpoint_request import UpdatePublicEndpointRequest
|
|
95
95
|
from byteplussdkcr.models.update_public_endpoint_response import UpdatePublicEndpointResponse
|
|
96
|
+
from byteplussdkcr.models.update_registry_request import UpdateRegistryRequest
|
|
97
|
+
from byteplussdkcr.models.update_registry_response import UpdateRegistryResponse
|
|
96
98
|
from byteplussdkcr.models.update_repository_request import UpdateRepositoryRequest
|
|
97
99
|
from byteplussdkcr.models.update_repository_response import UpdateRepositoryResponse
|
|
98
100
|
from byteplussdkcr.models.update_robot_account_password_request import UpdateRobotAccountPasswordRequest
|
|
99
101
|
from byteplussdkcr.models.update_robot_account_password_response import UpdateRobotAccountPasswordResponse
|
|
100
102
|
from byteplussdkcr.models.update_robot_account_request import UpdateRobotAccountRequest
|
|
101
103
|
from byteplussdkcr.models.update_robot_account_response import UpdateRobotAccountResponse
|
|
104
|
+
from byteplussdkcr.models.update_tag_description_request import UpdateTagDescriptionRequest
|
|
105
|
+
from byteplussdkcr.models.update_tag_description_response import UpdateTagDescriptionResponse
|
|
102
106
|
from byteplussdkcr.models.update_vpc_endpoint_request import UpdateVpcEndpointRequest
|
|
103
107
|
from byteplussdkcr.models.update_vpc_endpoint_response import UpdateVpcEndpointResponse
|
|
104
108
|
from byteplussdkcr.models.vpc_for_get_vpc_endpoint_output import VpcForGetVpcEndpointOutput
|
byteplussdkcr/api/cr_api.py
CHANGED
|
@@ -2361,6 +2361,103 @@ class CRApi(object):
|
|
|
2361
2361
|
_request_timeout=params.get('_request_timeout'),
|
|
2362
2362
|
collection_formats=collection_formats)
|
|
2363
2363
|
|
|
2364
|
+
def update_registry(self, body, **kwargs): # noqa: E501
|
|
2365
|
+
"""update_registry # noqa: E501
|
|
2366
|
+
|
|
2367
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2368
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2369
|
+
>>> thread = api.update_registry(body, async_req=True)
|
|
2370
|
+
>>> result = thread.get()
|
|
2371
|
+
|
|
2372
|
+
:param async_req bool
|
|
2373
|
+
:param UpdateRegistryRequest body: (required)
|
|
2374
|
+
:return: UpdateRegistryResponse
|
|
2375
|
+
If the method is called asynchronously,
|
|
2376
|
+
returns the request thread.
|
|
2377
|
+
"""
|
|
2378
|
+
kwargs['_return_http_data_only'] = True
|
|
2379
|
+
if kwargs.get('async_req'):
|
|
2380
|
+
return self.update_registry_with_http_info(body, **kwargs) # noqa: E501
|
|
2381
|
+
else:
|
|
2382
|
+
(data) = self.update_registry_with_http_info(body, **kwargs) # noqa: E501
|
|
2383
|
+
return data
|
|
2384
|
+
|
|
2385
|
+
def update_registry_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2386
|
+
"""update_registry # noqa: E501
|
|
2387
|
+
|
|
2388
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2389
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2390
|
+
>>> thread = api.update_registry_with_http_info(body, async_req=True)
|
|
2391
|
+
>>> result = thread.get()
|
|
2392
|
+
|
|
2393
|
+
:param async_req bool
|
|
2394
|
+
:param UpdateRegistryRequest body: (required)
|
|
2395
|
+
:return: UpdateRegistryResponse
|
|
2396
|
+
If the method is called asynchronously,
|
|
2397
|
+
returns the request thread.
|
|
2398
|
+
"""
|
|
2399
|
+
|
|
2400
|
+
all_params = ['body'] # noqa: E501
|
|
2401
|
+
all_params.append('async_req')
|
|
2402
|
+
all_params.append('_return_http_data_only')
|
|
2403
|
+
all_params.append('_preload_content')
|
|
2404
|
+
all_params.append('_request_timeout')
|
|
2405
|
+
|
|
2406
|
+
params = locals()
|
|
2407
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2408
|
+
if key not in all_params:
|
|
2409
|
+
raise TypeError(
|
|
2410
|
+
"Got an unexpected keyword argument '%s'"
|
|
2411
|
+
" to method update_registry" % key
|
|
2412
|
+
)
|
|
2413
|
+
params[key] = val
|
|
2414
|
+
del params['kwargs']
|
|
2415
|
+
# verify the required parameter 'body' is set
|
|
2416
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2417
|
+
params['body'] is None): # noqa: E501
|
|
2418
|
+
raise ValueError("Missing the required parameter `body` when calling `update_registry`") # noqa: E501
|
|
2419
|
+
|
|
2420
|
+
collection_formats = {}
|
|
2421
|
+
|
|
2422
|
+
path_params = {}
|
|
2423
|
+
|
|
2424
|
+
query_params = []
|
|
2425
|
+
|
|
2426
|
+
header_params = {}
|
|
2427
|
+
|
|
2428
|
+
form_params = []
|
|
2429
|
+
local_var_files = {}
|
|
2430
|
+
|
|
2431
|
+
body_params = None
|
|
2432
|
+
if 'body' in params:
|
|
2433
|
+
body_params = params['body']
|
|
2434
|
+
# HTTP header `Accept`
|
|
2435
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2436
|
+
['application/json']) # noqa: E501
|
|
2437
|
+
|
|
2438
|
+
# HTTP header `Content-Type`
|
|
2439
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2440
|
+
['application/json']) # noqa: E501
|
|
2441
|
+
|
|
2442
|
+
# Authentication setting
|
|
2443
|
+
auth_settings = ['byteplusSign'] # noqa: E501
|
|
2444
|
+
|
|
2445
|
+
return self.api_client.call_api(
|
|
2446
|
+
'/UpdateRegistry/2022-05-12/cr/post/application_json/', 'POST',
|
|
2447
|
+
path_params,
|
|
2448
|
+
query_params,
|
|
2449
|
+
header_params,
|
|
2450
|
+
body=body_params,
|
|
2451
|
+
post_params=form_params,
|
|
2452
|
+
files=local_var_files,
|
|
2453
|
+
response_type='UpdateRegistryResponse', # noqa: E501
|
|
2454
|
+
auth_settings=auth_settings,
|
|
2455
|
+
async_req=params.get('async_req'),
|
|
2456
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2457
|
+
_preload_content=params.get('_preload_content', True),
|
|
2458
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2459
|
+
collection_formats=collection_formats)
|
|
2460
|
+
|
|
2364
2461
|
def update_repository(self, body, **kwargs): # noqa: E501
|
|
2365
2462
|
"""update_repository # noqa: E501
|
|
2366
2463
|
|
|
@@ -2652,6 +2749,103 @@ class CRApi(object):
|
|
|
2652
2749
|
_request_timeout=params.get('_request_timeout'),
|
|
2653
2750
|
collection_formats=collection_formats)
|
|
2654
2751
|
|
|
2752
|
+
def update_tag_description(self, body, **kwargs): # noqa: E501
|
|
2753
|
+
"""update_tag_description # noqa: E501
|
|
2754
|
+
|
|
2755
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2756
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2757
|
+
>>> thread = api.update_tag_description(body, async_req=True)
|
|
2758
|
+
>>> result = thread.get()
|
|
2759
|
+
|
|
2760
|
+
:param async_req bool
|
|
2761
|
+
:param UpdateTagDescriptionRequest body: (required)
|
|
2762
|
+
:return: UpdateTagDescriptionResponse
|
|
2763
|
+
If the method is called asynchronously,
|
|
2764
|
+
returns the request thread.
|
|
2765
|
+
"""
|
|
2766
|
+
kwargs['_return_http_data_only'] = True
|
|
2767
|
+
if kwargs.get('async_req'):
|
|
2768
|
+
return self.update_tag_description_with_http_info(body, **kwargs) # noqa: E501
|
|
2769
|
+
else:
|
|
2770
|
+
(data) = self.update_tag_description_with_http_info(body, **kwargs) # noqa: E501
|
|
2771
|
+
return data
|
|
2772
|
+
|
|
2773
|
+
def update_tag_description_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2774
|
+
"""update_tag_description # noqa: E501
|
|
2775
|
+
|
|
2776
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2777
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2778
|
+
>>> thread = api.update_tag_description_with_http_info(body, async_req=True)
|
|
2779
|
+
>>> result = thread.get()
|
|
2780
|
+
|
|
2781
|
+
:param async_req bool
|
|
2782
|
+
:param UpdateTagDescriptionRequest body: (required)
|
|
2783
|
+
:return: UpdateTagDescriptionResponse
|
|
2784
|
+
If the method is called asynchronously,
|
|
2785
|
+
returns the request thread.
|
|
2786
|
+
"""
|
|
2787
|
+
|
|
2788
|
+
all_params = ['body'] # noqa: E501
|
|
2789
|
+
all_params.append('async_req')
|
|
2790
|
+
all_params.append('_return_http_data_only')
|
|
2791
|
+
all_params.append('_preload_content')
|
|
2792
|
+
all_params.append('_request_timeout')
|
|
2793
|
+
|
|
2794
|
+
params = locals()
|
|
2795
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2796
|
+
if key not in all_params:
|
|
2797
|
+
raise TypeError(
|
|
2798
|
+
"Got an unexpected keyword argument '%s'"
|
|
2799
|
+
" to method update_tag_description" % key
|
|
2800
|
+
)
|
|
2801
|
+
params[key] = val
|
|
2802
|
+
del params['kwargs']
|
|
2803
|
+
# verify the required parameter 'body' is set
|
|
2804
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2805
|
+
params['body'] is None): # noqa: E501
|
|
2806
|
+
raise ValueError("Missing the required parameter `body` when calling `update_tag_description`") # noqa: E501
|
|
2807
|
+
|
|
2808
|
+
collection_formats = {}
|
|
2809
|
+
|
|
2810
|
+
path_params = {}
|
|
2811
|
+
|
|
2812
|
+
query_params = []
|
|
2813
|
+
|
|
2814
|
+
header_params = {}
|
|
2815
|
+
|
|
2816
|
+
form_params = []
|
|
2817
|
+
local_var_files = {}
|
|
2818
|
+
|
|
2819
|
+
body_params = None
|
|
2820
|
+
if 'body' in params:
|
|
2821
|
+
body_params = params['body']
|
|
2822
|
+
# HTTP header `Accept`
|
|
2823
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2824
|
+
['application/json']) # noqa: E501
|
|
2825
|
+
|
|
2826
|
+
# HTTP header `Content-Type`
|
|
2827
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2828
|
+
['application/json']) # noqa: E501
|
|
2829
|
+
|
|
2830
|
+
# Authentication setting
|
|
2831
|
+
auth_settings = ['byteplusSign'] # noqa: E501
|
|
2832
|
+
|
|
2833
|
+
return self.api_client.call_api(
|
|
2834
|
+
'/UpdateTagDescription/2022-05-12/cr/post/application_json/', 'POST',
|
|
2835
|
+
path_params,
|
|
2836
|
+
query_params,
|
|
2837
|
+
header_params,
|
|
2838
|
+
body=body_params,
|
|
2839
|
+
post_params=form_params,
|
|
2840
|
+
files=local_var_files,
|
|
2841
|
+
response_type='UpdateTagDescriptionResponse', # noqa: E501
|
|
2842
|
+
auth_settings=auth_settings,
|
|
2843
|
+
async_req=params.get('async_req'),
|
|
2844
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2845
|
+
_preload_content=params.get('_preload_content', True),
|
|
2846
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2847
|
+
collection_formats=collection_formats)
|
|
2848
|
+
|
|
2655
2849
|
def update_vpc_endpoint(self, body, **kwargs): # noqa: E501
|
|
2656
2850
|
"""update_vpc_endpoint # noqa: E501
|
|
2657
2851
|
|
byteplussdkcr/models/__init__.py
CHANGED
|
@@ -89,12 +89,16 @@ from byteplussdkcr.models.status_for_list_registries_output import StatusForList
|
|
|
89
89
|
from byteplussdkcr.models.success_for_delete_tags_output import SuccessForDeleteTagsOutput
|
|
90
90
|
from byteplussdkcr.models.update_public_endpoint_request import UpdatePublicEndpointRequest
|
|
91
91
|
from byteplussdkcr.models.update_public_endpoint_response import UpdatePublicEndpointResponse
|
|
92
|
+
from byteplussdkcr.models.update_registry_request import UpdateRegistryRequest
|
|
93
|
+
from byteplussdkcr.models.update_registry_response import UpdateRegistryResponse
|
|
92
94
|
from byteplussdkcr.models.update_repository_request import UpdateRepositoryRequest
|
|
93
95
|
from byteplussdkcr.models.update_repository_response import UpdateRepositoryResponse
|
|
94
96
|
from byteplussdkcr.models.update_robot_account_password_request import UpdateRobotAccountPasswordRequest
|
|
95
97
|
from byteplussdkcr.models.update_robot_account_password_response import UpdateRobotAccountPasswordResponse
|
|
96
98
|
from byteplussdkcr.models.update_robot_account_request import UpdateRobotAccountRequest
|
|
97
99
|
from byteplussdkcr.models.update_robot_account_response import UpdateRobotAccountResponse
|
|
100
|
+
from byteplussdkcr.models.update_tag_description_request import UpdateTagDescriptionRequest
|
|
101
|
+
from byteplussdkcr.models.update_tag_description_response import UpdateTagDescriptionResponse
|
|
98
102
|
from byteplussdkcr.models.update_vpc_endpoint_request import UpdateVpcEndpointRequest
|
|
99
103
|
from byteplussdkcr.models.update_vpc_endpoint_response import UpdateVpcEndpointResponse
|
|
100
104
|
from byteplussdkcr.models.vpc_for_get_vpc_endpoint_output import VpcForGetVpcEndpointOutput
|
|
@@ -33,37 +33,68 @@ class CreateNamespaceRequest(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
+
'auto_create_repository_disabled': 'bool',
|
|
36
37
|
'client_token': 'str',
|
|
37
38
|
'name': 'str',
|
|
38
39
|
'project': 'str',
|
|
39
|
-
'registry': 'str'
|
|
40
|
+
'registry': 'str',
|
|
41
|
+
'repository_default_access_level': 'str'
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
attribute_map = {
|
|
45
|
+
'auto_create_repository_disabled': 'AutoCreateRepositoryDisabled',
|
|
43
46
|
'client_token': 'ClientToken',
|
|
44
47
|
'name': 'Name',
|
|
45
48
|
'project': 'Project',
|
|
46
|
-
'registry': 'Registry'
|
|
49
|
+
'registry': 'Registry',
|
|
50
|
+
'repository_default_access_level': 'RepositoryDefaultAccessLevel'
|
|
47
51
|
}
|
|
48
52
|
|
|
49
|
-
def __init__(self, client_token=None, name=None, project=None, registry=None, _configuration=None): # noqa: E501
|
|
53
|
+
def __init__(self, auto_create_repository_disabled=None, client_token=None, name=None, project=None, registry=None, repository_default_access_level=None, _configuration=None): # noqa: E501
|
|
50
54
|
"""CreateNamespaceRequest - a model defined in Swagger""" # noqa: E501
|
|
51
55
|
if _configuration is None:
|
|
52
56
|
_configuration = Configuration()
|
|
53
57
|
self._configuration = _configuration
|
|
54
58
|
|
|
59
|
+
self._auto_create_repository_disabled = None
|
|
55
60
|
self._client_token = None
|
|
56
61
|
self._name = None
|
|
57
62
|
self._project = None
|
|
58
63
|
self._registry = None
|
|
64
|
+
self._repository_default_access_level = None
|
|
59
65
|
self.discriminator = None
|
|
60
66
|
|
|
67
|
+
if auto_create_repository_disabled is not None:
|
|
68
|
+
self.auto_create_repository_disabled = auto_create_repository_disabled
|
|
61
69
|
if client_token is not None:
|
|
62
70
|
self.client_token = client_token
|
|
63
71
|
self.name = name
|
|
64
72
|
if project is not None:
|
|
65
73
|
self.project = project
|
|
66
74
|
self.registry = registry
|
|
75
|
+
if repository_default_access_level is not None:
|
|
76
|
+
self.repository_default_access_level = repository_default_access_level
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def auto_create_repository_disabled(self):
|
|
80
|
+
"""Gets the auto_create_repository_disabled of this CreateNamespaceRequest. # noqa: E501
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
:return: The auto_create_repository_disabled of this CreateNamespaceRequest. # noqa: E501
|
|
84
|
+
:rtype: bool
|
|
85
|
+
"""
|
|
86
|
+
return self._auto_create_repository_disabled
|
|
87
|
+
|
|
88
|
+
@auto_create_repository_disabled.setter
|
|
89
|
+
def auto_create_repository_disabled(self, auto_create_repository_disabled):
|
|
90
|
+
"""Sets the auto_create_repository_disabled of this CreateNamespaceRequest.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:param auto_create_repository_disabled: The auto_create_repository_disabled of this CreateNamespaceRequest. # noqa: E501
|
|
94
|
+
:type: bool
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
self._auto_create_repository_disabled = auto_create_repository_disabled
|
|
67
98
|
|
|
68
99
|
@property
|
|
69
100
|
def client_token(self):
|
|
@@ -159,6 +190,27 @@ class CreateNamespaceRequest(object):
|
|
|
159
190
|
|
|
160
191
|
self._registry = registry
|
|
161
192
|
|
|
193
|
+
@property
|
|
194
|
+
def repository_default_access_level(self):
|
|
195
|
+
"""Gets the repository_default_access_level of this CreateNamespaceRequest. # noqa: E501
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
:return: The repository_default_access_level of this CreateNamespaceRequest. # noqa: E501
|
|
199
|
+
:rtype: str
|
|
200
|
+
"""
|
|
201
|
+
return self._repository_default_access_level
|
|
202
|
+
|
|
203
|
+
@repository_default_access_level.setter
|
|
204
|
+
def repository_default_access_level(self, repository_default_access_level):
|
|
205
|
+
"""Sets the repository_default_access_level of this CreateNamespaceRequest.
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
:param repository_default_access_level: The repository_default_access_level of this CreateNamespaceRequest. # noqa: E501
|
|
209
|
+
:type: str
|
|
210
|
+
"""
|
|
211
|
+
|
|
212
|
+
self._repository_default_access_level = repository_default_access_level
|
|
213
|
+
|
|
162
214
|
def to_dict(self):
|
|
163
215
|
"""Returns the model properties as a dict"""
|
|
164
216
|
result = {}
|
|
@@ -33,18 +33,46 @@ class CreateRegistryResponse(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
+
'name': 'str'
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
attribute_map = {
|
|
40
|
+
'name': 'Name'
|
|
39
41
|
}
|
|
40
42
|
|
|
41
|
-
def __init__(self, _configuration=None): # noqa: E501
|
|
43
|
+
def __init__(self, name=None, _configuration=None): # noqa: E501
|
|
42
44
|
"""CreateRegistryResponse - a model defined in Swagger""" # noqa: E501
|
|
43
45
|
if _configuration is None:
|
|
44
46
|
_configuration = Configuration()
|
|
45
47
|
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._name = None
|
|
46
50
|
self.discriminator = None
|
|
47
51
|
|
|
52
|
+
if name is not None:
|
|
53
|
+
self.name = name
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def name(self):
|
|
57
|
+
"""Gets the name of this CreateRegistryResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The name of this CreateRegistryResponse. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
|
+
"""
|
|
63
|
+
return self._name
|
|
64
|
+
|
|
65
|
+
@name.setter
|
|
66
|
+
def name(self, name):
|
|
67
|
+
"""Sets the name of this CreateRegistryResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param name: The name of this CreateRegistryResponse. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._name = name
|
|
75
|
+
|
|
48
76
|
def to_dict(self):
|
|
49
77
|
"""Returns the model properties as a dict"""
|
|
50
78
|
result = {}
|
|
@@ -35,6 +35,7 @@ class FilterForListRegistriesInput(object):
|
|
|
35
35
|
swagger_types = {
|
|
36
36
|
'names': 'list[str]',
|
|
37
37
|
'projects': 'list[str]',
|
|
38
|
+
'proxy_cache_enabled': 'bool',
|
|
38
39
|
'statuses': 'list[StatusForListRegistriesInput]',
|
|
39
40
|
'types': 'list[str]'
|
|
40
41
|
}
|
|
@@ -42,11 +43,12 @@ class FilterForListRegistriesInput(object):
|
|
|
42
43
|
attribute_map = {
|
|
43
44
|
'names': 'Names',
|
|
44
45
|
'projects': 'Projects',
|
|
46
|
+
'proxy_cache_enabled': 'ProxyCacheEnabled',
|
|
45
47
|
'statuses': 'Statuses',
|
|
46
48
|
'types': 'Types'
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
def __init__(self, names=None, projects=None, statuses=None, types=None, _configuration=None): # noqa: E501
|
|
51
|
+
def __init__(self, names=None, projects=None, proxy_cache_enabled=None, statuses=None, types=None, _configuration=None): # noqa: E501
|
|
50
52
|
"""FilterForListRegistriesInput - a model defined in Swagger""" # noqa: E501
|
|
51
53
|
if _configuration is None:
|
|
52
54
|
_configuration = Configuration()
|
|
@@ -54,6 +56,7 @@ class FilterForListRegistriesInput(object):
|
|
|
54
56
|
|
|
55
57
|
self._names = None
|
|
56
58
|
self._projects = None
|
|
59
|
+
self._proxy_cache_enabled = None
|
|
57
60
|
self._statuses = None
|
|
58
61
|
self._types = None
|
|
59
62
|
self.discriminator = None
|
|
@@ -62,6 +65,8 @@ class FilterForListRegistriesInput(object):
|
|
|
62
65
|
self.names = names
|
|
63
66
|
if projects is not None:
|
|
64
67
|
self.projects = projects
|
|
68
|
+
if proxy_cache_enabled is not None:
|
|
69
|
+
self.proxy_cache_enabled = proxy_cache_enabled
|
|
65
70
|
if statuses is not None:
|
|
66
71
|
self.statuses = statuses
|
|
67
72
|
if types is not None:
|
|
@@ -109,6 +114,27 @@ class FilterForListRegistriesInput(object):
|
|
|
109
114
|
|
|
110
115
|
self._projects = projects
|
|
111
116
|
|
|
117
|
+
@property
|
|
118
|
+
def proxy_cache_enabled(self):
|
|
119
|
+
"""Gets the proxy_cache_enabled of this FilterForListRegistriesInput. # noqa: E501
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:return: The proxy_cache_enabled of this FilterForListRegistriesInput. # noqa: E501
|
|
123
|
+
:rtype: bool
|
|
124
|
+
"""
|
|
125
|
+
return self._proxy_cache_enabled
|
|
126
|
+
|
|
127
|
+
@proxy_cache_enabled.setter
|
|
128
|
+
def proxy_cache_enabled(self, proxy_cache_enabled):
|
|
129
|
+
"""Sets the proxy_cache_enabled of this FilterForListRegistriesInput.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:param proxy_cache_enabled: The proxy_cache_enabled of this FilterForListRegistriesInput. # noqa: E501
|
|
133
|
+
:type: bool
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
self._proxy_cache_enabled = proxy_cache_enabled
|
|
137
|
+
|
|
112
138
|
@property
|
|
113
139
|
def statuses(self):
|
|
114
140
|
"""Gets the statuses of this FilterForListRegistriesInput. # noqa: E501
|
|
@@ -33,24 +33,50 @@ class GetAuthorizationTokenRequest(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
+
'expires_at': 'int',
|
|
36
37
|
'registry': 'str'
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
attribute_map = {
|
|
41
|
+
'expires_at': 'ExpiresAt',
|
|
40
42
|
'registry': 'Registry'
|
|
41
43
|
}
|
|
42
44
|
|
|
43
|
-
def __init__(self, registry=None, _configuration=None): # noqa: E501
|
|
45
|
+
def __init__(self, expires_at=None, registry=None, _configuration=None): # noqa: E501
|
|
44
46
|
"""GetAuthorizationTokenRequest - a model defined in Swagger""" # noqa: E501
|
|
45
47
|
if _configuration is None:
|
|
46
48
|
_configuration = Configuration()
|
|
47
49
|
self._configuration = _configuration
|
|
48
50
|
|
|
51
|
+
self._expires_at = None
|
|
49
52
|
self._registry = None
|
|
50
53
|
self.discriminator = None
|
|
51
54
|
|
|
55
|
+
if expires_at is not None:
|
|
56
|
+
self.expires_at = expires_at
|
|
52
57
|
self.registry = registry
|
|
53
58
|
|
|
59
|
+
@property
|
|
60
|
+
def expires_at(self):
|
|
61
|
+
"""Gets the expires_at of this GetAuthorizationTokenRequest. # noqa: E501
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
:return: The expires_at of this GetAuthorizationTokenRequest. # noqa: E501
|
|
65
|
+
:rtype: int
|
|
66
|
+
"""
|
|
67
|
+
return self._expires_at
|
|
68
|
+
|
|
69
|
+
@expires_at.setter
|
|
70
|
+
def expires_at(self, expires_at):
|
|
71
|
+
"""Sets the expires_at of this GetAuthorizationTokenRequest.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:param expires_at: The expires_at of this GetAuthorizationTokenRequest. # noqa: E501
|
|
75
|
+
:type: int
|
|
76
|
+
"""
|
|
77
|
+
|
|
78
|
+
self._expires_at = expires_at
|
|
79
|
+
|
|
54
80
|
@property
|
|
55
81
|
def registry(self):
|
|
56
82
|
"""Gets the registry of this GetAuthorizationTokenRequest. # noqa: E501
|