huaweicloudsdkram 3.1.52__py2.py3-none-any.whl → 3.1.53__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdkram/v1/__init__.py +0 -8
- huaweicloudsdkram/v1/model/__init__.py +0 -8
- huaweicloudsdkram/v1/ram_async_client.py +0 -114
- huaweicloudsdkram/v1/ram_client.py +0 -112
- {huaweicloudsdkram-3.1.52.dist-info → huaweicloudsdkram-3.1.53.dist-info}/METADATA +2 -2
- {huaweicloudsdkram-3.1.52.dist-info → huaweicloudsdkram-3.1.53.dist-info}/RECORD +9 -17
- {huaweicloudsdkram-3.1.52.dist-info → huaweicloudsdkram-3.1.53.dist-info}/WHEEL +1 -1
- huaweicloudsdkram/v1/model/distinct_shared_principal.py +0 -144
- huaweicloudsdkram/v1/model/distinct_shared_resource.py +0 -173
- huaweicloudsdkram/v1/model/search_distinct_principals_request.py +0 -111
- huaweicloudsdkram/v1/model/search_distinct_principals_response.py +0 -141
- huaweicloudsdkram/v1/model/search_distinct_shared_principals_req_body.py +0 -230
- huaweicloudsdkram/v1/model/search_distinct_shared_resources_req_body.py +0 -317
- huaweicloudsdkram/v1/model/search_distinct_shared_resources_request.py +0 -111
- huaweicloudsdkram/v1/model/search_distinct_shared_resources_response.py +0 -141
- {huaweicloudsdkram-3.1.52.dist-info → huaweicloudsdkram-3.1.53.dist-info}/LICENSE +0 -0
- {huaweicloudsdkram-3.1.52.dist-info → huaweicloudsdkram-3.1.53.dist-info}/top_level.txt +0 -0
huaweicloudsdkram/v1/__init__.py
CHANGED
@@ -29,8 +29,6 @@ from huaweicloudsdkram.v1.model.disassociate_resource_share_permission_request i
|
|
29
29
|
from huaweicloudsdkram.v1.model.disassociate_resource_share_permission_response import DisassociateResourceSharePermissionResponse
|
30
30
|
from huaweicloudsdkram.v1.model.disassociate_resource_share_request import DisassociateResourceShareRequest
|
31
31
|
from huaweicloudsdkram.v1.model.disassociate_resource_share_response import DisassociateResourceShareResponse
|
32
|
-
from huaweicloudsdkram.v1.model.distinct_shared_principal import DistinctSharedPrincipal
|
33
|
-
from huaweicloudsdkram.v1.model.distinct_shared_resource import DistinctSharedResource
|
34
32
|
from huaweicloudsdkram.v1.model.enable_organization_share_request import EnableOrganizationShareRequest
|
35
33
|
from huaweicloudsdkram.v1.model.enable_organization_share_response import EnableOrganizationShareResponse
|
36
34
|
from huaweicloudsdkram.v1.model.list_permissions_request import ListPermissionsRequest
|
@@ -58,12 +56,6 @@ from huaweicloudsdkram.v1.model.resource_share_association import ResourceShareA
|
|
58
56
|
from huaweicloudsdkram.v1.model.resource_share_association_req_body import ResourceShareAssociationReqBody
|
59
57
|
from huaweicloudsdkram.v1.model.resource_share_invitation import ResourceShareInvitation
|
60
58
|
from huaweicloudsdkram.v1.model.resource_shares_by_tags_req_body import ResourceSharesByTagsReqBody
|
61
|
-
from huaweicloudsdkram.v1.model.search_distinct_principals_request import SearchDistinctPrincipalsRequest
|
62
|
-
from huaweicloudsdkram.v1.model.search_distinct_principals_response import SearchDistinctPrincipalsResponse
|
63
|
-
from huaweicloudsdkram.v1.model.search_distinct_shared_principals_req_body import SearchDistinctSharedPrincipalsReqBody
|
64
|
-
from huaweicloudsdkram.v1.model.search_distinct_shared_resources_req_body import SearchDistinctSharedResourcesReqBody
|
65
|
-
from huaweicloudsdkram.v1.model.search_distinct_shared_resources_request import SearchDistinctSharedResourcesRequest
|
66
|
-
from huaweicloudsdkram.v1.model.search_distinct_shared_resources_response import SearchDistinctSharedResourcesResponse
|
67
59
|
from huaweicloudsdkram.v1.model.search_resource_share_associations_req_body import SearchResourceShareAssociationsReqBody
|
68
60
|
from huaweicloudsdkram.v1.model.search_resource_share_associations_request import SearchResourceShareAssociationsRequest
|
69
61
|
from huaweicloudsdkram.v1.model.search_resource_share_associations_response import SearchResourceShareAssociationsResponse
|
@@ -27,8 +27,6 @@ from huaweicloudsdkram.v1.model.disassociate_resource_share_permission_request i
|
|
27
27
|
from huaweicloudsdkram.v1.model.disassociate_resource_share_permission_response import DisassociateResourceSharePermissionResponse
|
28
28
|
from huaweicloudsdkram.v1.model.disassociate_resource_share_request import DisassociateResourceShareRequest
|
29
29
|
from huaweicloudsdkram.v1.model.disassociate_resource_share_response import DisassociateResourceShareResponse
|
30
|
-
from huaweicloudsdkram.v1.model.distinct_shared_principal import DistinctSharedPrincipal
|
31
|
-
from huaweicloudsdkram.v1.model.distinct_shared_resource import DistinctSharedResource
|
32
30
|
from huaweicloudsdkram.v1.model.enable_organization_share_request import EnableOrganizationShareRequest
|
33
31
|
from huaweicloudsdkram.v1.model.enable_organization_share_response import EnableOrganizationShareResponse
|
34
32
|
from huaweicloudsdkram.v1.model.list_permissions_request import ListPermissionsRequest
|
@@ -56,12 +54,6 @@ from huaweicloudsdkram.v1.model.resource_share_association import ResourceShareA
|
|
56
54
|
from huaweicloudsdkram.v1.model.resource_share_association_req_body import ResourceShareAssociationReqBody
|
57
55
|
from huaweicloudsdkram.v1.model.resource_share_invitation import ResourceShareInvitation
|
58
56
|
from huaweicloudsdkram.v1.model.resource_shares_by_tags_req_body import ResourceSharesByTagsReqBody
|
59
|
-
from huaweicloudsdkram.v1.model.search_distinct_principals_request import SearchDistinctPrincipalsRequest
|
60
|
-
from huaweicloudsdkram.v1.model.search_distinct_principals_response import SearchDistinctPrincipalsResponse
|
61
|
-
from huaweicloudsdkram.v1.model.search_distinct_shared_principals_req_body import SearchDistinctSharedPrincipalsReqBody
|
62
|
-
from huaweicloudsdkram.v1.model.search_distinct_shared_resources_req_body import SearchDistinctSharedResourcesReqBody
|
63
|
-
from huaweicloudsdkram.v1.model.search_distinct_shared_resources_request import SearchDistinctSharedResourcesRequest
|
64
|
-
from huaweicloudsdkram.v1.model.search_distinct_shared_resources_response import SearchDistinctSharedResourcesResponse
|
65
57
|
from huaweicloudsdkram.v1.model.search_resource_share_associations_req_body import SearchResourceShareAssociationsReqBody
|
66
58
|
from huaweicloudsdkram.v1.model.search_resource_share_associations_request import SearchResourceShareAssociationsRequest
|
67
59
|
from huaweicloudsdkram.v1.model.search_resource_share_associations_response import SearchResourceShareAssociationsResponse
|
@@ -488,63 +488,6 @@ class RamAsyncClient(Client):
|
|
488
488
|
collection_formats=collection_formats,
|
489
489
|
request_type=request.__class__.__name__)
|
490
490
|
|
491
|
-
def search_distinct_principals_async(self, request):
|
492
|
-
"""检索去重的共享的角色
|
493
|
-
|
494
|
-
检索您正在共享资源的不同角色或被共享资源给您的不同角色。
|
495
|
-
|
496
|
-
Please refer to HUAWEI cloud API Explorer for details.
|
497
|
-
|
498
|
-
|
499
|
-
:param request: Request instance for SearchDistinctPrincipals
|
500
|
-
:type request: :class:`huaweicloudsdkram.v1.SearchDistinctPrincipalsRequest`
|
501
|
-
:rtype: :class:`huaweicloudsdkram.v1.SearchDistinctPrincipalsResponse`
|
502
|
-
"""
|
503
|
-
return self._search_distinct_principals_with_http_info(request)
|
504
|
-
|
505
|
-
def _search_distinct_principals_with_http_info(self, request):
|
506
|
-
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
507
|
-
|
508
|
-
cname = None
|
509
|
-
|
510
|
-
collection_formats = {}
|
511
|
-
|
512
|
-
path_params = {}
|
513
|
-
|
514
|
-
query_params = []
|
515
|
-
|
516
|
-
header_params = {}
|
517
|
-
|
518
|
-
form_params = {}
|
519
|
-
|
520
|
-
body_params = None
|
521
|
-
if 'body' in local_var_params:
|
522
|
-
body_params = local_var_params['body']
|
523
|
-
if isinstance(request, SdkStreamRequest):
|
524
|
-
body_params = request.get_file_stream()
|
525
|
-
|
526
|
-
response_headers = []
|
527
|
-
|
528
|
-
header_params['Content-Type'] = http_utils.select_header_content_type(
|
529
|
-
['application/json'])
|
530
|
-
|
531
|
-
auth_settings = ['AccessKeyAuth']
|
532
|
-
|
533
|
-
return self.call_api(
|
534
|
-
resource_path='/v1/shared-principals/search-distinct-principal',
|
535
|
-
method='POST',
|
536
|
-
path_params=path_params,
|
537
|
-
query_params=query_params,
|
538
|
-
header_params=header_params,
|
539
|
-
body=body_params,
|
540
|
-
post_params=form_params,
|
541
|
-
cname=cname,
|
542
|
-
response_type='SearchDistinctPrincipalsResponse',
|
543
|
-
response_headers=response_headers,
|
544
|
-
auth_settings=auth_settings,
|
545
|
-
collection_formats=collection_formats,
|
546
|
-
request_type=request.__class__.__name__)
|
547
|
-
|
548
491
|
def search_shared_principals_async(self, request):
|
549
492
|
"""检索资源使用者
|
550
493
|
|
@@ -657,63 +600,6 @@ class RamAsyncClient(Client):
|
|
657
600
|
collection_formats=collection_formats,
|
658
601
|
request_type=request.__class__.__name__)
|
659
602
|
|
660
|
-
def search_distinct_shared_resources_async(self, request):
|
661
|
-
"""检索去重的共享的资源
|
662
|
-
|
663
|
-
检索您添加到资源共享或被共享给您的不同资源。
|
664
|
-
|
665
|
-
Please refer to HUAWEI cloud API Explorer for details.
|
666
|
-
|
667
|
-
|
668
|
-
:param request: Request instance for SearchDistinctSharedResources
|
669
|
-
:type request: :class:`huaweicloudsdkram.v1.SearchDistinctSharedResourcesRequest`
|
670
|
-
:rtype: :class:`huaweicloudsdkram.v1.SearchDistinctSharedResourcesResponse`
|
671
|
-
"""
|
672
|
-
return self._search_distinct_shared_resources_with_http_info(request)
|
673
|
-
|
674
|
-
def _search_distinct_shared_resources_with_http_info(self, request):
|
675
|
-
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
676
|
-
|
677
|
-
cname = None
|
678
|
-
|
679
|
-
collection_formats = {}
|
680
|
-
|
681
|
-
path_params = {}
|
682
|
-
|
683
|
-
query_params = []
|
684
|
-
|
685
|
-
header_params = {}
|
686
|
-
|
687
|
-
form_params = {}
|
688
|
-
|
689
|
-
body_params = None
|
690
|
-
if 'body' in local_var_params:
|
691
|
-
body_params = local_var_params['body']
|
692
|
-
if isinstance(request, SdkStreamRequest):
|
693
|
-
body_params = request.get_file_stream()
|
694
|
-
|
695
|
-
response_headers = []
|
696
|
-
|
697
|
-
header_params['Content-Type'] = http_utils.select_header_content_type(
|
698
|
-
['application/json'])
|
699
|
-
|
700
|
-
auth_settings = ['AccessKeyAuth']
|
701
|
-
|
702
|
-
return self.call_api(
|
703
|
-
resource_path='/v1/shared-resources/search-distinct-resource',
|
704
|
-
method='POST',
|
705
|
-
path_params=path_params,
|
706
|
-
query_params=query_params,
|
707
|
-
header_params=header_params,
|
708
|
-
body=body_params,
|
709
|
-
post_params=form_params,
|
710
|
-
cname=cname,
|
711
|
-
response_type='SearchDistinctSharedResourcesResponse',
|
712
|
-
response_headers=response_headers,
|
713
|
-
auth_settings=auth_settings,
|
714
|
-
collection_formats=collection_formats,
|
715
|
-
request_type=request.__class__.__name__)
|
716
|
-
|
717
603
|
def search_shared_resources_async(self, request):
|
718
604
|
"""检索共享的资源
|
719
605
|
|
@@ -480,62 +480,6 @@ class RamClient(Client):
|
|
480
480
|
collection_formats=collection_formats,
|
481
481
|
request_type=request.__class__.__name__)
|
482
482
|
|
483
|
-
def search_distinct_principals(self, request):
|
484
|
-
"""检索去重的共享的角色
|
485
|
-
|
486
|
-
检索您正在共享资源的不同角色或被共享资源给您的不同角色。
|
487
|
-
|
488
|
-
Please refer to HUAWEI cloud API Explorer for details.
|
489
|
-
|
490
|
-
:param request: Request instance for SearchDistinctPrincipals
|
491
|
-
:type request: :class:`huaweicloudsdkram.v1.SearchDistinctPrincipalsRequest`
|
492
|
-
:rtype: :class:`huaweicloudsdkram.v1.SearchDistinctPrincipalsResponse`
|
493
|
-
"""
|
494
|
-
return self._search_distinct_principals_with_http_info(request)
|
495
|
-
|
496
|
-
def _search_distinct_principals_with_http_info(self, request):
|
497
|
-
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
498
|
-
|
499
|
-
cname = None
|
500
|
-
|
501
|
-
collection_formats = {}
|
502
|
-
|
503
|
-
path_params = {}
|
504
|
-
|
505
|
-
query_params = []
|
506
|
-
|
507
|
-
header_params = {}
|
508
|
-
|
509
|
-
form_params = {}
|
510
|
-
|
511
|
-
body_params = None
|
512
|
-
if 'body' in local_var_params:
|
513
|
-
body_params = local_var_params['body']
|
514
|
-
if isinstance(request, SdkStreamRequest):
|
515
|
-
body_params = request.get_file_stream()
|
516
|
-
|
517
|
-
response_headers = []
|
518
|
-
|
519
|
-
header_params['Content-Type'] = http_utils.select_header_content_type(
|
520
|
-
['application/json'])
|
521
|
-
|
522
|
-
auth_settings = ['AccessKeyAuth']
|
523
|
-
|
524
|
-
return self.call_api(
|
525
|
-
resource_path='/v1/shared-principals/search-distinct-principal',
|
526
|
-
method='POST',
|
527
|
-
path_params=path_params,
|
528
|
-
query_params=query_params,
|
529
|
-
header_params=header_params,
|
530
|
-
body=body_params,
|
531
|
-
post_params=form_params,
|
532
|
-
cname=cname,
|
533
|
-
response_type='SearchDistinctPrincipalsResponse',
|
534
|
-
response_headers=response_headers,
|
535
|
-
auth_settings=auth_settings,
|
536
|
-
collection_formats=collection_formats,
|
537
|
-
request_type=request.__class__.__name__)
|
538
|
-
|
539
483
|
def search_shared_principals(self, request):
|
540
484
|
"""检索资源使用者
|
541
485
|
|
@@ -646,62 +590,6 @@ class RamClient(Client):
|
|
646
590
|
collection_formats=collection_formats,
|
647
591
|
request_type=request.__class__.__name__)
|
648
592
|
|
649
|
-
def search_distinct_shared_resources(self, request):
|
650
|
-
"""检索去重的共享的资源
|
651
|
-
|
652
|
-
检索您添加到资源共享或被共享给您的不同资源。
|
653
|
-
|
654
|
-
Please refer to HUAWEI cloud API Explorer for details.
|
655
|
-
|
656
|
-
:param request: Request instance for SearchDistinctSharedResources
|
657
|
-
:type request: :class:`huaweicloudsdkram.v1.SearchDistinctSharedResourcesRequest`
|
658
|
-
:rtype: :class:`huaweicloudsdkram.v1.SearchDistinctSharedResourcesResponse`
|
659
|
-
"""
|
660
|
-
return self._search_distinct_shared_resources_with_http_info(request)
|
661
|
-
|
662
|
-
def _search_distinct_shared_resources_with_http_info(self, request):
|
663
|
-
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
664
|
-
|
665
|
-
cname = None
|
666
|
-
|
667
|
-
collection_formats = {}
|
668
|
-
|
669
|
-
path_params = {}
|
670
|
-
|
671
|
-
query_params = []
|
672
|
-
|
673
|
-
header_params = {}
|
674
|
-
|
675
|
-
form_params = {}
|
676
|
-
|
677
|
-
body_params = None
|
678
|
-
if 'body' in local_var_params:
|
679
|
-
body_params = local_var_params['body']
|
680
|
-
if isinstance(request, SdkStreamRequest):
|
681
|
-
body_params = request.get_file_stream()
|
682
|
-
|
683
|
-
response_headers = []
|
684
|
-
|
685
|
-
header_params['Content-Type'] = http_utils.select_header_content_type(
|
686
|
-
['application/json'])
|
687
|
-
|
688
|
-
auth_settings = ['AccessKeyAuth']
|
689
|
-
|
690
|
-
return self.call_api(
|
691
|
-
resource_path='/v1/shared-resources/search-distinct-resource',
|
692
|
-
method='POST',
|
693
|
-
path_params=path_params,
|
694
|
-
query_params=query_params,
|
695
|
-
header_params=header_params,
|
696
|
-
body=body_params,
|
697
|
-
post_params=form_params,
|
698
|
-
cname=cname,
|
699
|
-
response_type='SearchDistinctSharedResourcesResponse',
|
700
|
-
response_headers=response_headers,
|
701
|
-
auth_settings=auth_settings,
|
702
|
-
collection_formats=collection_formats,
|
703
|
-
request_type=request.__class__.__name__)
|
704
|
-
|
705
593
|
def search_shared_resources(self, request):
|
706
594
|
"""检索共享的资源
|
707
595
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkram
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.53
|
4
4
|
Summary: RAM
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist: huaweicloudsdkcore
|
25
|
+
Requires-Dist: huaweicloudsdkcore >=3.1.53
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
@@ -1,8 +1,8 @@
|
|
1
1
|
huaweicloudsdkram/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
huaweicloudsdkram/v1/__init__.py,sha256=
|
3
|
-
huaweicloudsdkram/v1/ram_async_client.py,sha256=
|
4
|
-
huaweicloudsdkram/v1/ram_client.py,sha256=
|
5
|
-
huaweicloudsdkram/v1/model/__init__.py,sha256=
|
2
|
+
huaweicloudsdkram/v1/__init__.py,sha256=9Dg6XjcJjUNKji96-5z9DlSvbdGlvodzBlR08baOUlY,8255
|
3
|
+
huaweicloudsdkram/v1/ram_async_client.py,sha256=ufhQtlGyg6GMHTsU-GatrVRugGPvN7JJprkBB81RSzM,54528
|
4
|
+
huaweicloudsdkram/v1/ram_client.py,sha256=F4M4OnQmGQ8ZeUl4dLn7_enAem6esZIUKNjv6Wh33vU,54299
|
5
|
+
huaweicloudsdkram/v1/model/__init__.py,sha256=L9XSd67dlIsmqbFvjcfANAhE1h-7M5pdv_3Da1sXs1c,8169
|
6
6
|
huaweicloudsdkram/v1/model/accept_resource_share_invitation_request.py,sha256=-SFAdnoDaC4jkY7xmgIZdoFr1_7IaAVkVzsMW1M2l7k,3638
|
7
7
|
huaweicloudsdkram/v1/model/accept_resource_share_invitation_response.py,sha256=2bvCo-FaP-LzfSs9eHuHDaK1G9A_FxMX7gI_WkNslzc,3835
|
8
8
|
huaweicloudsdkram/v1/model/associate_permission_req_body.py,sha256=U4RMrEtij14efrQvYBADXct6zQyEMsFMVV__SCxXHqA,5481
|
@@ -27,8 +27,6 @@ huaweicloudsdkram/v1/model/disassociate_resource_share_permission_request.py,sha
|
|
27
27
|
huaweicloudsdkram/v1/model/disassociate_resource_share_permission_response.py,sha256=6_y9WBYhlMX9tgKoCm2RSELrLG74V8KMvAXKwyyG_YM,2523
|
28
28
|
huaweicloudsdkram/v1/model/disassociate_resource_share_request.py,sha256=6FBMw8_6DYHWNDP7oNN6vQD4NarU8Yf4m0DZlsLi2Wg,4277
|
29
29
|
huaweicloudsdkram/v1/model/disassociate_resource_share_response.py,sha256=Ljdu7q_9M4boHFkSSZwbsk4uMp5D2Htx-qy4ULcYKys,3877
|
30
|
-
huaweicloudsdkram/v1/model/distinct_shared_principal.py,sha256=FV2b7mR_W6oSSTyDYkNqyBEPVG8WDqABZRzjDzleCkw,4063
|
31
|
-
huaweicloudsdkram/v1/model/distinct_shared_resource.py,sha256=teFnOF-Iny8Kw10WX__1IvRTglegCmXNIUyEMqZyPJc,5090
|
32
30
|
huaweicloudsdkram/v1/model/enable_organization_share_request.py,sha256=BMq_5F5W2qyQd3kG7UJ1UmMH5kJ3ArMBtFuJ22NcSkw,2348
|
33
31
|
huaweicloudsdkram/v1/model/enable_organization_share_response.py,sha256=qTrJaMvK0FkKcUaObMG4vpN0uarc5TQucLvcu7be_ks,2475
|
34
32
|
huaweicloudsdkram/v1/model/list_permissions_request.py,sha256=X6CB-YfIMh-Vt78iNSE5wylHfANVHwQ65XIngIstN8A,4727
|
@@ -56,12 +54,6 @@ huaweicloudsdkram/v1/model/resource_share_association.py,sha256=0Ua34bCixsGZ5jYb
|
|
56
54
|
huaweicloudsdkram/v1/model/resource_share_association_req_body.py,sha256=uBJplOyFxgOtMHmd-nYrr-vTJIYUm6wmOl1C7pdn_tQ,4570
|
57
55
|
huaweicloudsdkram/v1/model/resource_share_invitation.py,sha256=Ieyb4JMXcMQ6X_o-ZOC9xwe5qi0uzXF_tC5nIGxeZrw,10467
|
58
56
|
huaweicloudsdkram/v1/model/resource_shares_by_tags_req_body.py,sha256=kiX5PLlZ0rn80JCJu3BxfecqvDKgJHkfmTuYcG78Izs,6398
|
59
|
-
huaweicloudsdkram/v1/model/search_distinct_principals_request.py,sha256=xcM95pFkrRDbV4ndBIaCBFESvegRkmsEf0tYamWsssM,3279
|
60
|
-
huaweicloudsdkram/v1/model/search_distinct_principals_response.py,sha256=j6dHEahh2qoUrgZfYqpemZhgCdcSa_dbR0kXfRDMNHU,4840
|
61
|
-
huaweicloudsdkram/v1/model/search_distinct_shared_principals_req_body.py,sha256=qsqLVohN0SzXtXb98FMuzYJ7MIUpxV0feWwHypRcpgg,6972
|
62
|
-
huaweicloudsdkram/v1/model/search_distinct_shared_resources_req_body.py,sha256=18uEAZM74tpLZb4Hkdj_pYvtjuZVPukYxEND611ghZs,9748
|
63
|
-
huaweicloudsdkram/v1/model/search_distinct_shared_resources_request.py,sha256=c2rVIHiLwHobNMHyPZ2z8UjlhgydwRBqvgsEKrXO6LM,3315
|
64
|
-
huaweicloudsdkram/v1/model/search_distinct_shared_resources_response.py,sha256=ePz5EMkk6zHNQeYv9ct6nmKkAGyqmZJ2-lyIZD3gpBY,4873
|
65
57
|
huaweicloudsdkram/v1/model/search_resource_share_associations_req_body.py,sha256=-asCYRz6mASYkJYn7-tV4MsEg27bGE42NPa1d5wEaDk,10250
|
66
58
|
huaweicloudsdkram/v1/model/search_resource_share_associations_request.py,sha256=T6Nu0KkipU9drRaPlbzssYeTXC2ZSGtJNqxVLFLuCUc,3339
|
67
59
|
huaweicloudsdkram/v1/model/search_resource_share_associations_response.py,sha256=H5_UxfwVB1HC42rF7p0MvHlpeEcrDymO37TzVxKbIsk,4951
|
@@ -96,8 +88,8 @@ huaweicloudsdkram/v1/model/update_resource_share_request.py,sha256=Yl5i9XjjJxSk5
|
|
96
88
|
huaweicloudsdkram/v1/model/update_resource_share_response.py,sha256=nAUh0Dk82OLqRC1UfzBaMy8orLYFre0dSuaqLDHjELQ,3462
|
97
89
|
huaweicloudsdkram/v1/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
98
90
|
huaweicloudsdkram/v1/region/ram_region.py,sha256=wObKQRCuaB5o-opmIcXDRq0QeGsVXuYTIg4iJDEIRHM,891
|
99
|
-
huaweicloudsdkram-3.1.
|
100
|
-
huaweicloudsdkram-3.1.
|
101
|
-
huaweicloudsdkram-3.1.
|
102
|
-
huaweicloudsdkram-3.1.
|
103
|
-
huaweicloudsdkram-3.1.
|
91
|
+
huaweicloudsdkram-3.1.53.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
92
|
+
huaweicloudsdkram-3.1.53.dist-info/METADATA,sha256=WdUWPo1OLPIc59vAIocPZFFKBvn0FVdqh9xTWl-T4nU,1134
|
93
|
+
huaweicloudsdkram-3.1.53.dist-info/WHEEL,sha256=m9WAupmBd2JGDsXWQGJgMGXIWbQY3F5c2xBJbBhq0nY,110
|
94
|
+
huaweicloudsdkram-3.1.53.dist-info/top_level.txt,sha256=2c3QxK2-mN-BqBO1Vm8bciMkiHVK7M6eBaGHq1JaNIs,18
|
95
|
+
huaweicloudsdkram-3.1.53.dist-info/RECORD,,
|
@@ -1,144 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
import six
|
4
|
-
|
5
|
-
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
-
|
7
|
-
|
8
|
-
class DistinctSharedPrincipal:
|
9
|
-
|
10
|
-
"""
|
11
|
-
Attributes:
|
12
|
-
openapi_types (dict): The key is attribute name
|
13
|
-
and the value is attribute type.
|
14
|
-
attribute_map (dict): The key is attribute name
|
15
|
-
and the value is json key in definition.
|
16
|
-
"""
|
17
|
-
sensitive_list = []
|
18
|
-
|
19
|
-
openapi_types = {
|
20
|
-
'id': 'str',
|
21
|
-
'updated_at': 'datetime'
|
22
|
-
}
|
23
|
-
|
24
|
-
attribute_map = {
|
25
|
-
'id': 'id',
|
26
|
-
'updated_at': 'updated_at'
|
27
|
-
}
|
28
|
-
|
29
|
-
def __init__(self, id=None, updated_at=None):
|
30
|
-
"""DistinctSharedPrincipal
|
31
|
-
|
32
|
-
The model defined in huaweicloud sdk
|
33
|
-
|
34
|
-
:param id: 资源共享实例的创建者或使用者的帐号ID或URN。
|
35
|
-
:type id: str
|
36
|
-
:param updated_at: 最后一次更新资源共享实例的时间。
|
37
|
-
:type updated_at: datetime
|
38
|
-
"""
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
self._id = None
|
43
|
-
self._updated_at = None
|
44
|
-
self.discriminator = None
|
45
|
-
|
46
|
-
if id is not None:
|
47
|
-
self.id = id
|
48
|
-
if updated_at is not None:
|
49
|
-
self.updated_at = updated_at
|
50
|
-
|
51
|
-
@property
|
52
|
-
def id(self):
|
53
|
-
"""Gets the id of this DistinctSharedPrincipal.
|
54
|
-
|
55
|
-
资源共享实例的创建者或使用者的帐号ID或URN。
|
56
|
-
|
57
|
-
:return: The id of this DistinctSharedPrincipal.
|
58
|
-
:rtype: str
|
59
|
-
"""
|
60
|
-
return self._id
|
61
|
-
|
62
|
-
@id.setter
|
63
|
-
def id(self, id):
|
64
|
-
"""Sets the id of this DistinctSharedPrincipal.
|
65
|
-
|
66
|
-
资源共享实例的创建者或使用者的帐号ID或URN。
|
67
|
-
|
68
|
-
:param id: The id of this DistinctSharedPrincipal.
|
69
|
-
:type id: str
|
70
|
-
"""
|
71
|
-
self._id = id
|
72
|
-
|
73
|
-
@property
|
74
|
-
def updated_at(self):
|
75
|
-
"""Gets the updated_at of this DistinctSharedPrincipal.
|
76
|
-
|
77
|
-
最后一次更新资源共享实例的时间。
|
78
|
-
|
79
|
-
:return: The updated_at of this DistinctSharedPrincipal.
|
80
|
-
:rtype: datetime
|
81
|
-
"""
|
82
|
-
return self._updated_at
|
83
|
-
|
84
|
-
@updated_at.setter
|
85
|
-
def updated_at(self, updated_at):
|
86
|
-
"""Sets the updated_at of this DistinctSharedPrincipal.
|
87
|
-
|
88
|
-
最后一次更新资源共享实例的时间。
|
89
|
-
|
90
|
-
:param updated_at: The updated_at of this DistinctSharedPrincipal.
|
91
|
-
:type updated_at: datetime
|
92
|
-
"""
|
93
|
-
self._updated_at = updated_at
|
94
|
-
|
95
|
-
def to_dict(self):
|
96
|
-
"""Returns the model properties as a dict"""
|
97
|
-
result = {}
|
98
|
-
|
99
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
-
value = getattr(self, attr)
|
101
|
-
if isinstance(value, list):
|
102
|
-
result[attr] = list(map(
|
103
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
-
value
|
105
|
-
))
|
106
|
-
elif hasattr(value, "to_dict"):
|
107
|
-
result[attr] = value.to_dict()
|
108
|
-
elif isinstance(value, dict):
|
109
|
-
result[attr] = dict(map(
|
110
|
-
lambda item: (item[0], item[1].to_dict())
|
111
|
-
if hasattr(item[1], "to_dict") else item,
|
112
|
-
value.items()
|
113
|
-
))
|
114
|
-
else:
|
115
|
-
if attr in self.sensitive_list:
|
116
|
-
result[attr] = "****"
|
117
|
-
else:
|
118
|
-
result[attr] = value
|
119
|
-
|
120
|
-
return result
|
121
|
-
|
122
|
-
def to_str(self):
|
123
|
-
"""Returns the string representation of the model"""
|
124
|
-
import simplejson as json
|
125
|
-
if six.PY2:
|
126
|
-
import sys
|
127
|
-
reload(sys)
|
128
|
-
sys.setdefaultencoding("utf-8")
|
129
|
-
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
-
|
131
|
-
def __repr__(self):
|
132
|
-
"""For `print`"""
|
133
|
-
return self.to_str()
|
134
|
-
|
135
|
-
def __eq__(self, other):
|
136
|
-
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other, DistinctSharedPrincipal):
|
138
|
-
return False
|
139
|
-
|
140
|
-
return self.__dict__ == other.__dict__
|
141
|
-
|
142
|
-
def __ne__(self, other):
|
143
|
-
"""Returns true if both objects are not equal"""
|
144
|
-
return not self == other
|