huaweicloudsdkram 3.1.173__py3-none-any.whl → 3.1.174__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.
- huaweicloudsdkram/v1/model/accept_resource_share_invitation_request.py +1 -8
- huaweicloudsdkram/v1/model/accept_resource_share_invitation_response.py +5 -9
- huaweicloudsdkram/v1/model/associate_permission_req_body.py +1 -8
- huaweicloudsdkram/v1/model/associate_resource_share_permission_request.py +1 -8
- huaweicloudsdkram/v1/model/associate_resource_share_permission_response.py +5 -9
- huaweicloudsdkram/v1/model/associate_resource_share_request.py +1 -8
- huaweicloudsdkram/v1/model/associate_resource_share_response.py +5 -9
- huaweicloudsdkram/v1/model/associated_permission.py +1 -8
- huaweicloudsdkram/v1/model/batch_create_resource_share_tags_request.py +1 -8
- huaweicloudsdkram/v1/model/batch_create_resource_share_tags_response.py +5 -9
- huaweicloudsdkram/v1/model/batch_delete_resource_share_tags_request.py +1 -8
- huaweicloudsdkram/v1/model/batch_delete_resource_share_tags_response.py +5 -9
- huaweicloudsdkram/v1/model/create_resource_share_req_body.py +1 -8
- huaweicloudsdkram/v1/model/create_resource_share_request.py +1 -8
- huaweicloudsdkram/v1/model/create_resource_share_response.py +5 -9
- huaweicloudsdkram/v1/model/delete_resource_share_request.py +1 -8
- huaweicloudsdkram/v1/model/delete_resource_share_response.py +5 -9
- huaweicloudsdkram/v1/model/disable_organization_share_request.py +1 -8
- huaweicloudsdkram/v1/model/disable_organization_share_response.py +5 -9
- huaweicloudsdkram/v1/model/disassociate_permission_req_body.py +1 -8
- huaweicloudsdkram/v1/model/disassociate_resource_share_permission_request.py +1 -8
- huaweicloudsdkram/v1/model/disassociate_resource_share_permission_response.py +5 -9
- huaweicloudsdkram/v1/model/disassociate_resource_share_request.py +1 -8
- huaweicloudsdkram/v1/model/disassociate_resource_share_response.py +5 -9
- huaweicloudsdkram/v1/model/distinct_shared_principal.py +1 -8
- huaweicloudsdkram/v1/model/distinct_shared_resource.py +1 -8
- huaweicloudsdkram/v1/model/enable_organization_share_request.py +1 -8
- huaweicloudsdkram/v1/model/enable_organization_share_response.py +5 -9
- huaweicloudsdkram/v1/model/list_permission_versions_request.py +1 -8
- huaweicloudsdkram/v1/model/list_permission_versions_response.py +5 -9
- huaweicloudsdkram/v1/model/list_permissions_request.py +1 -8
- huaweicloudsdkram/v1/model/list_permissions_response.py +5 -9
- huaweicloudsdkram/v1/model/list_quota_request.py +1 -8
- huaweicloudsdkram/v1/model/list_quota_response.py +5 -9
- huaweicloudsdkram/v1/model/list_resource_share_permissions_request.py +1 -8
- huaweicloudsdkram/v1/model/list_resource_share_permissions_response.py +5 -9
- huaweicloudsdkram/v1/model/list_resource_share_tags_request.py +1 -8
- huaweicloudsdkram/v1/model/list_resource_share_tags_response.py +5 -9
- huaweicloudsdkram/v1/model/list_resource_shares_by_tags_request.py +1 -8
- huaweicloudsdkram/v1/model/list_resource_shares_by_tags_response.py +5 -9
- huaweicloudsdkram/v1/model/list_resource_types_request.py +1 -8
- huaweicloudsdkram/v1/model/list_resource_types_response.py +5 -9
- huaweicloudsdkram/v1/model/match.py +1 -8
- huaweicloudsdkram/v1/model/page_info.py +1 -8
- huaweicloudsdkram/v1/model/page_info_marker_by_key.py +1 -8
- huaweicloudsdkram/v1/model/permission.py +1 -8
- huaweicloudsdkram/v1/model/permission_summary.py +1 -8
- huaweicloudsdkram/v1/model/quota_resources_dto.py +1 -8
- huaweicloudsdkram/v1/model/quotas.py +1 -8
- huaweicloudsdkram/v1/model/reject_resource_share_invitation_request.py +1 -8
- huaweicloudsdkram/v1/model/reject_resource_share_invitation_response.py +5 -9
- huaweicloudsdkram/v1/model/resource_dto.py +1 -8
- huaweicloudsdkram/v1/model/resource_share.py +1 -8
- huaweicloudsdkram/v1/model/resource_share_association.py +1 -8
- huaweicloudsdkram/v1/model/resource_share_association_req_body.py +1 -8
- huaweicloudsdkram/v1/model/resource_share_invitation.py +1 -8
- huaweicloudsdkram/v1/model/resource_shares_by_tags_req_body.py +1 -8
- huaweicloudsdkram/v1/model/resource_types_summary.py +1 -8
- huaweicloudsdkram/v1/model/search_distinct_principals_request.py +1 -8
- huaweicloudsdkram/v1/model/search_distinct_principals_response.py +5 -9
- huaweicloudsdkram/v1/model/search_distinct_shared_principals_req_body.py +1 -8
- huaweicloudsdkram/v1/model/search_distinct_shared_resources_req_body.py +1 -8
- huaweicloudsdkram/v1/model/search_distinct_shared_resources_request.py +1 -8
- huaweicloudsdkram/v1/model/search_distinct_shared_resources_response.py +5 -9
- huaweicloudsdkram/v1/model/search_resource_share_associations_req_body.py +1 -8
- huaweicloudsdkram/v1/model/search_resource_share_associations_request.py +1 -8
- huaweicloudsdkram/v1/model/search_resource_share_associations_response.py +5 -9
- huaweicloudsdkram/v1/model/search_resource_share_count_by_tags_request.py +1 -8
- huaweicloudsdkram/v1/model/search_resource_share_count_by_tags_response.py +5 -9
- huaweicloudsdkram/v1/model/search_resource_share_invitation_req_body.py +1 -8
- huaweicloudsdkram/v1/model/search_resource_share_invitation_request.py +1 -8
- huaweicloudsdkram/v1/model/search_resource_share_invitation_response.py +5 -9
- huaweicloudsdkram/v1/model/search_resource_shares_req_body.py +1 -8
- huaweicloudsdkram/v1/model/search_resource_shares_request.py +1 -8
- huaweicloudsdkram/v1/model/search_resource_shares_response.py +5 -9
- huaweicloudsdkram/v1/model/search_shared_principals_req_body.py +1 -8
- huaweicloudsdkram/v1/model/search_shared_principals_request.py +1 -8
- huaweicloudsdkram/v1/model/search_shared_principals_response.py +5 -9
- huaweicloudsdkram/v1/model/search_shared_resources_req_body.py +1 -8
- huaweicloudsdkram/v1/model/search_shared_resources_request.py +1 -8
- huaweicloudsdkram/v1/model/search_shared_resources_response.py +5 -9
- huaweicloudsdkram/v1/model/shared_principal.py +1 -8
- huaweicloudsdkram/v1/model/shared_resource.py +1 -8
- huaweicloudsdkram/v1/model/show_organization_share_request.py +1 -8
- huaweicloudsdkram/v1/model/show_organization_share_response.py +5 -9
- huaweicloudsdkram/v1/model/show_permission_request.py +1 -8
- huaweicloudsdkram/v1/model/show_permission_response.py +5 -9
- huaweicloudsdkram/v1/model/tag.py +1 -8
- huaweicloudsdkram/v1/model/tag_dto.py +1 -8
- huaweicloudsdkram/v1/model/tag_filter.py +1 -8
- huaweicloudsdkram/v1/model/tag_resource_req_body.py +1 -8
- huaweicloudsdkram/v1/model/untag.py +1 -8
- huaweicloudsdkram/v1/model/untag_resource_req_body.py +1 -8
- huaweicloudsdkram/v1/model/update_resource_share_req_body.py +1 -8
- huaweicloudsdkram/v1/model/update_resource_share_request.py +1 -8
- huaweicloudsdkram/v1/model/update_resource_share_response.py +5 -9
- huaweicloudsdkram/v1/ram_async_client.py +1 -1
- huaweicloudsdkram/v1/ram_client.py +1 -1
- {huaweicloudsdkram-3.1.173.dist-info → huaweicloudsdkram-3.1.174.dist-info}/METADATA +2 -2
- huaweicloudsdkram-3.1.174.dist-info/RECORD +107 -0
- huaweicloudsdkram-3.1.173.dist-info/RECORD +0 -107
- {huaweicloudsdkram-3.1.173.dist-info → huaweicloudsdkram-3.1.174.dist-info}/WHEEL +0 -0
- {huaweicloudsdkram-3.1.173.dist-info → huaweicloudsdkram-3.1.174.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -93,10 +91,9 @@ class AcceptResourceShareInvitationRequest:
|
|
|
93
91
|
self._resource_share_invitation_id = resource_share_invitation_id
|
|
94
92
|
|
|
95
93
|
def to_dict(self):
|
|
96
|
-
"""Returns the model properties as a dict"""
|
|
97
94
|
result = {}
|
|
98
95
|
|
|
99
|
-
for attr, _ in
|
|
96
|
+
for attr, _ in self.openapi_types.items():
|
|
100
97
|
value = getattr(self, attr)
|
|
101
98
|
if isinstance(value, list):
|
|
102
99
|
result[attr] = list(map(
|
|
@@ -122,10 +119,6 @@ class AcceptResourceShareInvitationRequest:
|
|
|
122
119
|
def to_str(self):
|
|
123
120
|
"""Returns the string representation of the model"""
|
|
124
121
|
import simplejson as json
|
|
125
|
-
if six.PY2:
|
|
126
|
-
import sys
|
|
127
|
-
reload(sys)
|
|
128
|
-
sys.setdefaultencoding("utf-8")
|
|
129
122
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
130
123
|
|
|
131
124
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
4
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
5
|
|
|
@@ -34,7 +32,7 @@ class AcceptResourceShareInvitationResponse(SdkResponse):
|
|
|
34
32
|
:type resource_share_invitation: :class:`huaweicloudsdkram.v1.ResourceShareInvitation`
|
|
35
33
|
"""
|
|
36
34
|
|
|
37
|
-
super(
|
|
35
|
+
super().__init__()
|
|
38
36
|
|
|
39
37
|
self._resource_share_invitation = None
|
|
40
38
|
self.discriminator = None
|
|
@@ -61,10 +59,12 @@ class AcceptResourceShareInvitationResponse(SdkResponse):
|
|
|
61
59
|
self._resource_share_invitation = resource_share_invitation
|
|
62
60
|
|
|
63
61
|
def to_dict(self):
|
|
64
|
-
|
|
62
|
+
import warnings
|
|
63
|
+
warnings.warn("AcceptResourceShareInvitationResponse.to_dict() is deprecated and no longer maintained, "
|
|
64
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
65
65
|
result = {}
|
|
66
66
|
|
|
67
|
-
for attr, _ in
|
|
67
|
+
for attr, _ in self.openapi_types.items():
|
|
68
68
|
value = getattr(self, attr)
|
|
69
69
|
if isinstance(value, list):
|
|
70
70
|
result[attr] = list(map(
|
|
@@ -90,10 +90,6 @@ class AcceptResourceShareInvitationResponse(SdkResponse):
|
|
|
90
90
|
def to_str(self):
|
|
91
91
|
"""Returns the string representation of the model"""
|
|
92
92
|
import simplejson as json
|
|
93
|
-
if six.PY2:
|
|
94
|
-
import sys
|
|
95
|
-
reload(sys)
|
|
96
|
-
sys.setdefaultencoding("utf-8")
|
|
97
93
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
98
94
|
|
|
99
95
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -92,10 +90,9 @@ class AssociatePermissionReqBody:
|
|
|
92
90
|
self._permission_id = permission_id
|
|
93
91
|
|
|
94
92
|
def to_dict(self):
|
|
95
|
-
"""Returns the model properties as a dict"""
|
|
96
93
|
result = {}
|
|
97
94
|
|
|
98
|
-
for attr, _ in
|
|
95
|
+
for attr, _ in self.openapi_types.items():
|
|
99
96
|
value = getattr(self, attr)
|
|
100
97
|
if isinstance(value, list):
|
|
101
98
|
result[attr] = list(map(
|
|
@@ -121,10 +118,6 @@ class AssociatePermissionReqBody:
|
|
|
121
118
|
def to_str(self):
|
|
122
119
|
"""Returns the string representation of the model"""
|
|
123
120
|
import simplejson as json
|
|
124
|
-
if six.PY2:
|
|
125
|
-
import sys
|
|
126
|
-
reload(sys)
|
|
127
|
-
sys.setdefaultencoding("utf-8")
|
|
128
121
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
129
122
|
|
|
130
123
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -118,10 +116,9 @@ class AssociateResourceSharePermissionRequest:
|
|
|
118
116
|
self._body = body
|
|
119
117
|
|
|
120
118
|
def to_dict(self):
|
|
121
|
-
"""Returns the model properties as a dict"""
|
|
122
119
|
result = {}
|
|
123
120
|
|
|
124
|
-
for attr, _ in
|
|
121
|
+
for attr, _ in self.openapi_types.items():
|
|
125
122
|
value = getattr(self, attr)
|
|
126
123
|
if isinstance(value, list):
|
|
127
124
|
result[attr] = list(map(
|
|
@@ -147,10 +144,6 @@ class AssociateResourceSharePermissionRequest:
|
|
|
147
144
|
def to_str(self):
|
|
148
145
|
"""Returns the string representation of the model"""
|
|
149
146
|
import simplejson as json
|
|
150
|
-
if six.PY2:
|
|
151
|
-
import sys
|
|
152
|
-
reload(sys)
|
|
153
|
-
sys.setdefaultencoding("utf-8")
|
|
154
147
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
155
148
|
|
|
156
149
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
4
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
5
|
|
|
@@ -30,14 +28,16 @@ class AssociateResourceSharePermissionResponse(SdkResponse):
|
|
|
30
28
|
|
|
31
29
|
"""
|
|
32
30
|
|
|
33
|
-
super(
|
|
31
|
+
super().__init__()
|
|
34
32
|
self.discriminator = None
|
|
35
33
|
|
|
36
34
|
def to_dict(self):
|
|
37
|
-
|
|
35
|
+
import warnings
|
|
36
|
+
warnings.warn("AssociateResourceSharePermissionResponse.to_dict() is deprecated and no longer maintained, "
|
|
37
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
38
38
|
result = {}
|
|
39
39
|
|
|
40
|
-
for attr, _ in
|
|
40
|
+
for attr, _ in self.openapi_types.items():
|
|
41
41
|
value = getattr(self, attr)
|
|
42
42
|
if isinstance(value, list):
|
|
43
43
|
result[attr] = list(map(
|
|
@@ -63,10 +63,6 @@ class AssociateResourceSharePermissionResponse(SdkResponse):
|
|
|
63
63
|
def to_str(self):
|
|
64
64
|
"""Returns the string representation of the model"""
|
|
65
65
|
import simplejson as json
|
|
66
|
-
if six.PY2:
|
|
67
|
-
import sys
|
|
68
|
-
reload(sys)
|
|
69
|
-
sys.setdefaultencoding("utf-8")
|
|
70
66
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
71
67
|
|
|
72
68
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -118,10 +116,9 @@ class AssociateResourceShareRequest:
|
|
|
118
116
|
self._body = body
|
|
119
117
|
|
|
120
118
|
def to_dict(self):
|
|
121
|
-
"""Returns the model properties as a dict"""
|
|
122
119
|
result = {}
|
|
123
120
|
|
|
124
|
-
for attr, _ in
|
|
121
|
+
for attr, _ in self.openapi_types.items():
|
|
125
122
|
value = getattr(self, attr)
|
|
126
123
|
if isinstance(value, list):
|
|
127
124
|
result[attr] = list(map(
|
|
@@ -147,10 +144,6 @@ class AssociateResourceShareRequest:
|
|
|
147
144
|
def to_str(self):
|
|
148
145
|
"""Returns the string representation of the model"""
|
|
149
146
|
import simplejson as json
|
|
150
|
-
if six.PY2:
|
|
151
|
-
import sys
|
|
152
|
-
reload(sys)
|
|
153
|
-
sys.setdefaultencoding("utf-8")
|
|
154
147
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
155
148
|
|
|
156
149
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
4
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
5
|
|
|
@@ -34,7 +32,7 @@ class AssociateResourceShareResponse(SdkResponse):
|
|
|
34
32
|
:type resource_share_associations: list[:class:`huaweicloudsdkram.v1.ResourceShareAssociation`]
|
|
35
33
|
"""
|
|
36
34
|
|
|
37
|
-
super(
|
|
35
|
+
super().__init__()
|
|
38
36
|
|
|
39
37
|
self._resource_share_associations = None
|
|
40
38
|
self.discriminator = None
|
|
@@ -61,10 +59,12 @@ class AssociateResourceShareResponse(SdkResponse):
|
|
|
61
59
|
self._resource_share_associations = resource_share_associations
|
|
62
60
|
|
|
63
61
|
def to_dict(self):
|
|
64
|
-
|
|
62
|
+
import warnings
|
|
63
|
+
warnings.warn("AssociateResourceShareResponse.to_dict() is deprecated and no longer maintained, "
|
|
64
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
65
65
|
result = {}
|
|
66
66
|
|
|
67
|
-
for attr, _ in
|
|
67
|
+
for attr, _ in self.openapi_types.items():
|
|
68
68
|
value = getattr(self, attr)
|
|
69
69
|
if isinstance(value, list):
|
|
70
70
|
result[attr] = list(map(
|
|
@@ -90,10 +90,6 @@ class AssociateResourceShareResponse(SdkResponse):
|
|
|
90
90
|
def to_str(self):
|
|
91
91
|
"""Returns the string representation of the model"""
|
|
92
92
|
import simplejson as json
|
|
93
|
-
if six.PY2:
|
|
94
|
-
import sys
|
|
95
|
-
reload(sys)
|
|
96
|
-
sys.setdefaultencoding("utf-8")
|
|
97
93
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
98
94
|
|
|
99
95
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -209,10 +207,9 @@ class AssociatedPermission:
|
|
|
209
207
|
self._updated_at = updated_at
|
|
210
208
|
|
|
211
209
|
def to_dict(self):
|
|
212
|
-
"""Returns the model properties as a dict"""
|
|
213
210
|
result = {}
|
|
214
211
|
|
|
215
|
-
for attr, _ in
|
|
212
|
+
for attr, _ in self.openapi_types.items():
|
|
216
213
|
value = getattr(self, attr)
|
|
217
214
|
if isinstance(value, list):
|
|
218
215
|
result[attr] = list(map(
|
|
@@ -238,10 +235,6 @@ class AssociatedPermission:
|
|
|
238
235
|
def to_str(self):
|
|
239
236
|
"""Returns the string representation of the model"""
|
|
240
237
|
import simplejson as json
|
|
241
|
-
if six.PY2:
|
|
242
|
-
import sys
|
|
243
|
-
reload(sys)
|
|
244
|
-
sys.setdefaultencoding("utf-8")
|
|
245
238
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
246
239
|
|
|
247
240
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -118,10 +116,9 @@ class BatchCreateResourceShareTagsRequest:
|
|
|
118
116
|
self._body = body
|
|
119
117
|
|
|
120
118
|
def to_dict(self):
|
|
121
|
-
"""Returns the model properties as a dict"""
|
|
122
119
|
result = {}
|
|
123
120
|
|
|
124
|
-
for attr, _ in
|
|
121
|
+
for attr, _ in self.openapi_types.items():
|
|
125
122
|
value = getattr(self, attr)
|
|
126
123
|
if isinstance(value, list):
|
|
127
124
|
result[attr] = list(map(
|
|
@@ -147,10 +144,6 @@ class BatchCreateResourceShareTagsRequest:
|
|
|
147
144
|
def to_str(self):
|
|
148
145
|
"""Returns the string representation of the model"""
|
|
149
146
|
import simplejson as json
|
|
150
|
-
if six.PY2:
|
|
151
|
-
import sys
|
|
152
|
-
reload(sys)
|
|
153
|
-
sys.setdefaultencoding("utf-8")
|
|
154
147
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
155
148
|
|
|
156
149
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
4
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
5
|
|
|
@@ -30,14 +28,16 @@ class BatchCreateResourceShareTagsResponse(SdkResponse):
|
|
|
30
28
|
|
|
31
29
|
"""
|
|
32
30
|
|
|
33
|
-
super(
|
|
31
|
+
super().__init__()
|
|
34
32
|
self.discriminator = None
|
|
35
33
|
|
|
36
34
|
def to_dict(self):
|
|
37
|
-
|
|
35
|
+
import warnings
|
|
36
|
+
warnings.warn("BatchCreateResourceShareTagsResponse.to_dict() is deprecated and no longer maintained, "
|
|
37
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
38
38
|
result = {}
|
|
39
39
|
|
|
40
|
-
for attr, _ in
|
|
40
|
+
for attr, _ in self.openapi_types.items():
|
|
41
41
|
value = getattr(self, attr)
|
|
42
42
|
if isinstance(value, list):
|
|
43
43
|
result[attr] = list(map(
|
|
@@ -63,10 +63,6 @@ class BatchCreateResourceShareTagsResponse(SdkResponse):
|
|
|
63
63
|
def to_str(self):
|
|
64
64
|
"""Returns the string representation of the model"""
|
|
65
65
|
import simplejson as json
|
|
66
|
-
if six.PY2:
|
|
67
|
-
import sys
|
|
68
|
-
reload(sys)
|
|
69
|
-
sys.setdefaultencoding("utf-8")
|
|
70
66
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
71
67
|
|
|
72
68
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -118,10 +116,9 @@ class BatchDeleteResourceShareTagsRequest:
|
|
|
118
116
|
self._body = body
|
|
119
117
|
|
|
120
118
|
def to_dict(self):
|
|
121
|
-
"""Returns the model properties as a dict"""
|
|
122
119
|
result = {}
|
|
123
120
|
|
|
124
|
-
for attr, _ in
|
|
121
|
+
for attr, _ in self.openapi_types.items():
|
|
125
122
|
value = getattr(self, attr)
|
|
126
123
|
if isinstance(value, list):
|
|
127
124
|
result[attr] = list(map(
|
|
@@ -147,10 +144,6 @@ class BatchDeleteResourceShareTagsRequest:
|
|
|
147
144
|
def to_str(self):
|
|
148
145
|
"""Returns the string representation of the model"""
|
|
149
146
|
import simplejson as json
|
|
150
|
-
if six.PY2:
|
|
151
|
-
import sys
|
|
152
|
-
reload(sys)
|
|
153
|
-
sys.setdefaultencoding("utf-8")
|
|
154
147
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
155
148
|
|
|
156
149
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
4
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
5
|
|
|
@@ -30,14 +28,16 @@ class BatchDeleteResourceShareTagsResponse(SdkResponse):
|
|
|
30
28
|
|
|
31
29
|
"""
|
|
32
30
|
|
|
33
|
-
super(
|
|
31
|
+
super().__init__()
|
|
34
32
|
self.discriminator = None
|
|
35
33
|
|
|
36
34
|
def to_dict(self):
|
|
37
|
-
|
|
35
|
+
import warnings
|
|
36
|
+
warnings.warn("BatchDeleteResourceShareTagsResponse.to_dict() is deprecated and no longer maintained, "
|
|
37
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
38
38
|
result = {}
|
|
39
39
|
|
|
40
|
-
for attr, _ in
|
|
40
|
+
for attr, _ in self.openapi_types.items():
|
|
41
41
|
value = getattr(self, attr)
|
|
42
42
|
if isinstance(value, list):
|
|
43
43
|
result[attr] = list(map(
|
|
@@ -63,10 +63,6 @@ class BatchDeleteResourceShareTagsResponse(SdkResponse):
|
|
|
63
63
|
def to_str(self):
|
|
64
64
|
"""Returns the string representation of the model"""
|
|
65
65
|
import simplejson as json
|
|
66
|
-
if six.PY2:
|
|
67
|
-
import sys
|
|
68
|
-
reload(sys)
|
|
69
|
-
sys.setdefaultencoding("utf-8")
|
|
70
66
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
71
67
|
|
|
72
68
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -237,10 +235,9 @@ class CreateResourceShareReqBody:
|
|
|
237
235
|
self._tags = tags
|
|
238
236
|
|
|
239
237
|
def to_dict(self):
|
|
240
|
-
"""Returns the model properties as a dict"""
|
|
241
238
|
result = {}
|
|
242
239
|
|
|
243
|
-
for attr, _ in
|
|
240
|
+
for attr, _ in self.openapi_types.items():
|
|
244
241
|
value = getattr(self, attr)
|
|
245
242
|
if isinstance(value, list):
|
|
246
243
|
result[attr] = list(map(
|
|
@@ -266,10 +263,6 @@ class CreateResourceShareReqBody:
|
|
|
266
263
|
def to_str(self):
|
|
267
264
|
"""Returns the string representation of the model"""
|
|
268
265
|
import simplejson as json
|
|
269
|
-
if six.PY2:
|
|
270
|
-
import sys
|
|
271
|
-
reload(sys)
|
|
272
|
-
sys.setdefaultencoding("utf-8")
|
|
273
266
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
274
267
|
|
|
275
268
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -90,10 +88,9 @@ class CreateResourceShareRequest:
|
|
|
90
88
|
self._body = body
|
|
91
89
|
|
|
92
90
|
def to_dict(self):
|
|
93
|
-
"""Returns the model properties as a dict"""
|
|
94
91
|
result = {}
|
|
95
92
|
|
|
96
|
-
for attr, _ in
|
|
93
|
+
for attr, _ in self.openapi_types.items():
|
|
97
94
|
value = getattr(self, attr)
|
|
98
95
|
if isinstance(value, list):
|
|
99
96
|
result[attr] = list(map(
|
|
@@ -119,10 +116,6 @@ class CreateResourceShareRequest:
|
|
|
119
116
|
def to_str(self):
|
|
120
117
|
"""Returns the string representation of the model"""
|
|
121
118
|
import simplejson as json
|
|
122
|
-
if six.PY2:
|
|
123
|
-
import sys
|
|
124
|
-
reload(sys)
|
|
125
|
-
sys.setdefaultencoding("utf-8")
|
|
126
119
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
127
120
|
|
|
128
121
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
4
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
5
|
|
|
@@ -34,7 +32,7 @@ class CreateResourceShareResponse(SdkResponse):
|
|
|
34
32
|
:type resource_share: :class:`huaweicloudsdkram.v1.ResourceShare`
|
|
35
33
|
"""
|
|
36
34
|
|
|
37
|
-
super(
|
|
35
|
+
super().__init__()
|
|
38
36
|
|
|
39
37
|
self._resource_share = None
|
|
40
38
|
self.discriminator = None
|
|
@@ -61,10 +59,12 @@ class CreateResourceShareResponse(SdkResponse):
|
|
|
61
59
|
self._resource_share = resource_share
|
|
62
60
|
|
|
63
61
|
def to_dict(self):
|
|
64
|
-
|
|
62
|
+
import warnings
|
|
63
|
+
warnings.warn("CreateResourceShareResponse.to_dict() is deprecated and no longer maintained, "
|
|
64
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
65
65
|
result = {}
|
|
66
66
|
|
|
67
|
-
for attr, _ in
|
|
67
|
+
for attr, _ in self.openapi_types.items():
|
|
68
68
|
value = getattr(self, attr)
|
|
69
69
|
if isinstance(value, list):
|
|
70
70
|
result[attr] = list(map(
|
|
@@ -90,10 +90,6 @@ class CreateResourceShareResponse(SdkResponse):
|
|
|
90
90
|
def to_str(self):
|
|
91
91
|
"""Returns the string representation of the model"""
|
|
92
92
|
import simplejson as json
|
|
93
|
-
if six.PY2:
|
|
94
|
-
import sys
|
|
95
|
-
reload(sys)
|
|
96
|
-
sys.setdefaultencoding("utf-8")
|
|
97
93
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
98
94
|
|
|
99
95
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -93,10 +91,9 @@ class DeleteResourceShareRequest:
|
|
|
93
91
|
self._resource_share_id = resource_share_id
|
|
94
92
|
|
|
95
93
|
def to_dict(self):
|
|
96
|
-
"""Returns the model properties as a dict"""
|
|
97
94
|
result = {}
|
|
98
95
|
|
|
99
|
-
for attr, _ in
|
|
96
|
+
for attr, _ in self.openapi_types.items():
|
|
100
97
|
value = getattr(self, attr)
|
|
101
98
|
if isinstance(value, list):
|
|
102
99
|
result[attr] = list(map(
|
|
@@ -122,10 +119,6 @@ class DeleteResourceShareRequest:
|
|
|
122
119
|
def to_str(self):
|
|
123
120
|
"""Returns the string representation of the model"""
|
|
124
121
|
import simplejson as json
|
|
125
|
-
if six.PY2:
|
|
126
|
-
import sys
|
|
127
|
-
reload(sys)
|
|
128
|
-
sys.setdefaultencoding("utf-8")
|
|
129
122
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
130
123
|
|
|
131
124
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
4
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
5
|
|
|
@@ -30,14 +28,16 @@ class DeleteResourceShareResponse(SdkResponse):
|
|
|
30
28
|
|
|
31
29
|
"""
|
|
32
30
|
|
|
33
|
-
super(
|
|
31
|
+
super().__init__()
|
|
34
32
|
self.discriminator = None
|
|
35
33
|
|
|
36
34
|
def to_dict(self):
|
|
37
|
-
|
|
35
|
+
import warnings
|
|
36
|
+
warnings.warn("DeleteResourceShareResponse.to_dict() is deprecated and no longer maintained, "
|
|
37
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
38
38
|
result = {}
|
|
39
39
|
|
|
40
|
-
for attr, _ in
|
|
40
|
+
for attr, _ in self.openapi_types.items():
|
|
41
41
|
value = getattr(self, attr)
|
|
42
42
|
if isinstance(value, list):
|
|
43
43
|
result[attr] = list(map(
|
|
@@ -63,10 +63,6 @@ class DeleteResourceShareResponse(SdkResponse):
|
|
|
63
63
|
def to_str(self):
|
|
64
64
|
"""Returns the string representation of the model"""
|
|
65
65
|
import simplejson as json
|
|
66
|
-
if six.PY2:
|
|
67
|
-
import sys
|
|
68
|
-
reload(sys)
|
|
69
|
-
sys.setdefaultencoding("utf-8")
|
|
70
66
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
71
67
|
|
|
72
68
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
4
|
|
|
7
5
|
|
|
@@ -65,10 +63,9 @@ class DisableOrganizationShareRequest:
|
|
|
65
63
|
self._x_security_token = x_security_token
|
|
66
64
|
|
|
67
65
|
def to_dict(self):
|
|
68
|
-
"""Returns the model properties as a dict"""
|
|
69
66
|
result = {}
|
|
70
67
|
|
|
71
|
-
for attr, _ in
|
|
68
|
+
for attr, _ in self.openapi_types.items():
|
|
72
69
|
value = getattr(self, attr)
|
|
73
70
|
if isinstance(value, list):
|
|
74
71
|
result[attr] = list(map(
|
|
@@ -94,10 +91,6 @@ class DisableOrganizationShareRequest:
|
|
|
94
91
|
def to_str(self):
|
|
95
92
|
"""Returns the string representation of the model"""
|
|
96
93
|
import simplejson as json
|
|
97
|
-
if six.PY2:
|
|
98
|
-
import sys
|
|
99
|
-
reload(sys)
|
|
100
|
-
sys.setdefaultencoding("utf-8")
|
|
101
94
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
102
95
|
|
|
103
96
|
def __repr__(self):
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import six
|
|
4
|
-
|
|
5
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
4
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
5
|
|
|
@@ -30,14 +28,16 @@ class DisableOrganizationShareResponse(SdkResponse):
|
|
|
30
28
|
|
|
31
29
|
"""
|
|
32
30
|
|
|
33
|
-
super(
|
|
31
|
+
super().__init__()
|
|
34
32
|
self.discriminator = None
|
|
35
33
|
|
|
36
34
|
def to_dict(self):
|
|
37
|
-
|
|
35
|
+
import warnings
|
|
36
|
+
warnings.warn("DisableOrganizationShareResponse.to_dict() is deprecated and no longer maintained, "
|
|
37
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
38
38
|
result = {}
|
|
39
39
|
|
|
40
|
-
for attr, _ in
|
|
40
|
+
for attr, _ in self.openapi_types.items():
|
|
41
41
|
value = getattr(self, attr)
|
|
42
42
|
if isinstance(value, list):
|
|
43
43
|
result[attr] = list(map(
|
|
@@ -63,10 +63,6 @@ class DisableOrganizationShareResponse(SdkResponse):
|
|
|
63
63
|
def to_str(self):
|
|
64
64
|
"""Returns the string representation of the model"""
|
|
65
65
|
import simplejson as json
|
|
66
|
-
if six.PY2:
|
|
67
|
-
import sys
|
|
68
|
-
reload(sys)
|
|
69
|
-
sys.setdefaultencoding("utf-8")
|
|
70
66
|
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
71
67
|
|
|
72
68
|
def __repr__(self):
|