huaweicloudsdksfsturbo 3.1.130__py2.py3-none-any.whl → 3.1.131__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.
- huaweicloudsdksfsturbo/v1/__init__.py +1 -0
- huaweicloudsdksfsturbo/v1/model/__init__.py +1 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_resource.py +202 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +59 -1
- {huaweicloudsdksfsturbo-3.1.130.dist-info → huaweicloudsdksfsturbo-3.1.131.dist-info}/METADATA +2 -2
- {huaweicloudsdksfsturbo-3.1.130.dist-info → huaweicloudsdksfsturbo-3.1.131.dist-info}/RECORD +9 -8
- {huaweicloudsdksfsturbo-3.1.130.dist-info → huaweicloudsdksfsturbo-3.1.131.dist-info}/LICENSE +0 -0
- {huaweicloudsdksfsturbo-3.1.130.dist-info → huaweicloudsdksfsturbo-3.1.131.dist-info}/WHEEL +0 -0
- {huaweicloudsdksfsturbo-3.1.130.dist-info → huaweicloudsdksfsturbo-3.1.131.dist-info}/top_level.txt +0 -0
@@ -88,6 +88,7 @@ from huaweicloudsdksfsturbo.v1.model.list_shared_tags_request import ListSharedT
|
|
88
88
|
from huaweicloudsdksfsturbo.v1.model.list_shared_tags_response import ListSharedTagsResponse
|
89
89
|
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_request import ListSharesByTagRequest
|
90
90
|
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_request_body import ListSharesByTagRequestBody
|
91
|
+
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_resource import ListSharesByTagResource
|
91
92
|
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_response import ListSharesByTagResponse
|
92
93
|
from huaweicloudsdksfsturbo.v1.model.list_shares_request import ListSharesRequest
|
93
94
|
from huaweicloudsdksfsturbo.v1.model.list_shares_response import ListSharesResponse
|
@@ -86,6 +86,7 @@ from huaweicloudsdksfsturbo.v1.model.list_shared_tags_request import ListSharedT
|
|
86
86
|
from huaweicloudsdksfsturbo.v1.model.list_shared_tags_response import ListSharedTagsResponse
|
87
87
|
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_request import ListSharesByTagRequest
|
88
88
|
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_request_body import ListSharesByTagRequestBody
|
89
|
+
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_resource import ListSharesByTagResource
|
89
90
|
from huaweicloudsdksfsturbo.v1.model.list_shares_by_tag_response import ListSharesByTagResponse
|
90
91
|
from huaweicloudsdksfsturbo.v1.model.list_shares_request import ListSharesRequest
|
91
92
|
from huaweicloudsdksfsturbo.v1.model.list_shares_response import ListSharesResponse
|
@@ -0,0 +1,202 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListSharesByTagResource:
|
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
|
+
'resource_id': 'str',
|
21
|
+
'resource_name': 'str',
|
22
|
+
'resource_detail': 'str',
|
23
|
+
'tags': 'list[ResourceTag]'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'resource_id': 'resource_id',
|
28
|
+
'resource_name': 'resource_name',
|
29
|
+
'resource_detail': 'resource_detail',
|
30
|
+
'tags': 'tags'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, resource_id=None, resource_name=None, resource_detail=None, tags=None):
|
34
|
+
"""ListSharesByTagResource
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param resource_id: 资源ID
|
39
|
+
:type resource_id: str
|
40
|
+
:param resource_name: 资源名称
|
41
|
+
:type resource_name: str
|
42
|
+
:param resource_detail: 资源详情
|
43
|
+
:type resource_detail: str
|
44
|
+
:param tags: 资源的标签列表
|
45
|
+
:type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._resource_id = None
|
51
|
+
self._resource_name = None
|
52
|
+
self._resource_detail = None
|
53
|
+
self._tags = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
if resource_id is not None:
|
57
|
+
self.resource_id = resource_id
|
58
|
+
if resource_name is not None:
|
59
|
+
self.resource_name = resource_name
|
60
|
+
if resource_detail is not None:
|
61
|
+
self.resource_detail = resource_detail
|
62
|
+
if tags is not None:
|
63
|
+
self.tags = tags
|
64
|
+
|
65
|
+
@property
|
66
|
+
def resource_id(self):
|
67
|
+
"""Gets the resource_id of this ListSharesByTagResource.
|
68
|
+
|
69
|
+
资源ID
|
70
|
+
|
71
|
+
:return: The resource_id of this ListSharesByTagResource.
|
72
|
+
:rtype: str
|
73
|
+
"""
|
74
|
+
return self._resource_id
|
75
|
+
|
76
|
+
@resource_id.setter
|
77
|
+
def resource_id(self, resource_id):
|
78
|
+
"""Sets the resource_id of this ListSharesByTagResource.
|
79
|
+
|
80
|
+
资源ID
|
81
|
+
|
82
|
+
:param resource_id: The resource_id of this ListSharesByTagResource.
|
83
|
+
:type resource_id: str
|
84
|
+
"""
|
85
|
+
self._resource_id = resource_id
|
86
|
+
|
87
|
+
@property
|
88
|
+
def resource_name(self):
|
89
|
+
"""Gets the resource_name of this ListSharesByTagResource.
|
90
|
+
|
91
|
+
资源名称
|
92
|
+
|
93
|
+
:return: The resource_name of this ListSharesByTagResource.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._resource_name
|
97
|
+
|
98
|
+
@resource_name.setter
|
99
|
+
def resource_name(self, resource_name):
|
100
|
+
"""Sets the resource_name of this ListSharesByTagResource.
|
101
|
+
|
102
|
+
资源名称
|
103
|
+
|
104
|
+
:param resource_name: The resource_name of this ListSharesByTagResource.
|
105
|
+
:type resource_name: str
|
106
|
+
"""
|
107
|
+
self._resource_name = resource_name
|
108
|
+
|
109
|
+
@property
|
110
|
+
def resource_detail(self):
|
111
|
+
"""Gets the resource_detail of this ListSharesByTagResource.
|
112
|
+
|
113
|
+
资源详情
|
114
|
+
|
115
|
+
:return: The resource_detail of this ListSharesByTagResource.
|
116
|
+
:rtype: str
|
117
|
+
"""
|
118
|
+
return self._resource_detail
|
119
|
+
|
120
|
+
@resource_detail.setter
|
121
|
+
def resource_detail(self, resource_detail):
|
122
|
+
"""Sets the resource_detail of this ListSharesByTagResource.
|
123
|
+
|
124
|
+
资源详情
|
125
|
+
|
126
|
+
:param resource_detail: The resource_detail of this ListSharesByTagResource.
|
127
|
+
:type resource_detail: str
|
128
|
+
"""
|
129
|
+
self._resource_detail = resource_detail
|
130
|
+
|
131
|
+
@property
|
132
|
+
def tags(self):
|
133
|
+
"""Gets the tags of this ListSharesByTagResource.
|
134
|
+
|
135
|
+
资源的标签列表
|
136
|
+
|
137
|
+
:return: The tags of this ListSharesByTagResource.
|
138
|
+
:rtype: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
|
139
|
+
"""
|
140
|
+
return self._tags
|
141
|
+
|
142
|
+
@tags.setter
|
143
|
+
def tags(self, tags):
|
144
|
+
"""Sets the tags of this ListSharesByTagResource.
|
145
|
+
|
146
|
+
资源的标签列表
|
147
|
+
|
148
|
+
:param tags: The tags of this ListSharesByTagResource.
|
149
|
+
:type tags: list[:class:`huaweicloudsdksfsturbo.v1.ResourceTag`]
|
150
|
+
"""
|
151
|
+
self._tags = tags
|
152
|
+
|
153
|
+
def to_dict(self):
|
154
|
+
"""Returns the model properties as a dict"""
|
155
|
+
result = {}
|
156
|
+
|
157
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
158
|
+
value = getattr(self, attr)
|
159
|
+
if isinstance(value, list):
|
160
|
+
result[attr] = list(map(
|
161
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
162
|
+
value
|
163
|
+
))
|
164
|
+
elif hasattr(value, "to_dict"):
|
165
|
+
result[attr] = value.to_dict()
|
166
|
+
elif isinstance(value, dict):
|
167
|
+
result[attr] = dict(map(
|
168
|
+
lambda item: (item[0], item[1].to_dict())
|
169
|
+
if hasattr(item[1], "to_dict") else item,
|
170
|
+
value.items()
|
171
|
+
))
|
172
|
+
else:
|
173
|
+
if attr in self.sensitive_list:
|
174
|
+
result[attr] = "****"
|
175
|
+
else:
|
176
|
+
result[attr] = value
|
177
|
+
|
178
|
+
return result
|
179
|
+
|
180
|
+
def to_str(self):
|
181
|
+
"""Returns the string representation of the model"""
|
182
|
+
import simplejson as json
|
183
|
+
if six.PY2:
|
184
|
+
import sys
|
185
|
+
reload(sys)
|
186
|
+
sys.setdefaultencoding("utf-8")
|
187
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
188
|
+
|
189
|
+
def __repr__(self):
|
190
|
+
"""For `print`"""
|
191
|
+
return self.to_str()
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
"""Returns true if both objects are equal"""
|
195
|
+
if not isinstance(other, ListSharesByTagResource):
|
196
|
+
return False
|
197
|
+
|
198
|
+
return self.__dict__ == other.__dict__
|
199
|
+
|
200
|
+
def __ne__(self, other):
|
201
|
+
"""Returns true if both objects are not equal"""
|
202
|
+
return not self == other
|
@@ -18,30 +18,88 @@ class ListSharesByTagResponse(SdkResponse):
|
|
18
18
|
sensitive_list = []
|
19
19
|
|
20
20
|
openapi_types = {
|
21
|
+
'resources': 'list[ListSharesByTagResource]',
|
22
|
+
'total_count': 'int',
|
21
23
|
'x_request_id': 'str'
|
22
24
|
}
|
23
25
|
|
24
26
|
attribute_map = {
|
27
|
+
'resources': 'resources',
|
28
|
+
'total_count': 'total_count',
|
25
29
|
'x_request_id': 'X-request-id'
|
26
30
|
}
|
27
31
|
|
28
|
-
def __init__(self, x_request_id=None):
|
32
|
+
def __init__(self, resources=None, total_count=None, x_request_id=None):
|
29
33
|
"""ListSharesByTagResponse
|
30
34
|
|
31
35
|
The model defined in huaweicloud sdk
|
32
36
|
|
37
|
+
:param resources: 通过标签查询文件系统的资源列表
|
38
|
+
:type resources: list[:class:`huaweicloudsdksfsturbo.v1.ListSharesByTagResource`]
|
39
|
+
:param total_count: 设置返回的文件系统的偏移量
|
40
|
+
:type total_count: int
|
33
41
|
:param x_request_id:
|
34
42
|
:type x_request_id: str
|
35
43
|
"""
|
36
44
|
|
37
45
|
super(ListSharesByTagResponse, self).__init__()
|
38
46
|
|
47
|
+
self._resources = None
|
48
|
+
self._total_count = None
|
39
49
|
self._x_request_id = None
|
40
50
|
self.discriminator = None
|
41
51
|
|
52
|
+
if resources is not None:
|
53
|
+
self.resources = resources
|
54
|
+
if total_count is not None:
|
55
|
+
self.total_count = total_count
|
42
56
|
if x_request_id is not None:
|
43
57
|
self.x_request_id = x_request_id
|
44
58
|
|
59
|
+
@property
|
60
|
+
def resources(self):
|
61
|
+
"""Gets the resources of this ListSharesByTagResponse.
|
62
|
+
|
63
|
+
通过标签查询文件系统的资源列表
|
64
|
+
|
65
|
+
:return: The resources of this ListSharesByTagResponse.
|
66
|
+
:rtype: list[:class:`huaweicloudsdksfsturbo.v1.ListSharesByTagResource`]
|
67
|
+
"""
|
68
|
+
return self._resources
|
69
|
+
|
70
|
+
@resources.setter
|
71
|
+
def resources(self, resources):
|
72
|
+
"""Sets the resources of this ListSharesByTagResponse.
|
73
|
+
|
74
|
+
通过标签查询文件系统的资源列表
|
75
|
+
|
76
|
+
:param resources: The resources of this ListSharesByTagResponse.
|
77
|
+
:type resources: list[:class:`huaweicloudsdksfsturbo.v1.ListSharesByTagResource`]
|
78
|
+
"""
|
79
|
+
self._resources = resources
|
80
|
+
|
81
|
+
@property
|
82
|
+
def total_count(self):
|
83
|
+
"""Gets the total_count of this ListSharesByTagResponse.
|
84
|
+
|
85
|
+
设置返回的文件系统的偏移量
|
86
|
+
|
87
|
+
:return: The total_count of this ListSharesByTagResponse.
|
88
|
+
:rtype: int
|
89
|
+
"""
|
90
|
+
return self._total_count
|
91
|
+
|
92
|
+
@total_count.setter
|
93
|
+
def total_count(self, total_count):
|
94
|
+
"""Sets the total_count of this ListSharesByTagResponse.
|
95
|
+
|
96
|
+
设置返回的文件系统的偏移量
|
97
|
+
|
98
|
+
:param total_count: The total_count of this ListSharesByTagResponse.
|
99
|
+
:type total_count: int
|
100
|
+
"""
|
101
|
+
self._total_count = total_count
|
102
|
+
|
45
103
|
@property
|
46
104
|
def x_request_id(self):
|
47
105
|
"""Gets the x_request_id of this ListSharesByTagResponse.
|
{huaweicloudsdksfsturbo-3.1.130.dist-info → huaweicloudsdksfsturbo-3.1.131.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdksfsturbo
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.131
|
4
4
|
Summary: SFSTurbo
|
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>=3.1.
|
25
|
+
Requires-Dist: huaweicloudsdkcore>=3.1.131
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
{huaweicloudsdksfsturbo-3.1.130.dist-info → huaweicloudsdksfsturbo-3.1.131.dist-info}/RECORD
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
huaweicloudsdksfsturbo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
huaweicloudsdksfsturbo/v1/__init__.py,sha256=
|
2
|
+
huaweicloudsdksfsturbo/v1/__init__.py,sha256=p8RvqhqsoZoX990j5GvvSVuIfSSaEVeQi3q7_IFuGXo,13670
|
3
3
|
huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py,sha256=7osQVIYU69G4q-w52LaEsKoldRJZy76sHGUBArTA3HM,116444
|
4
4
|
huaweicloudsdksfsturbo/v1/sfsturbo_client.py,sha256=2Fgcxa4ko_o4jQJrlZPftAtjR-koE5Blw7EAvy_G6HU,116433
|
5
|
-
huaweicloudsdksfsturbo/v1/model/__init__.py,sha256=
|
5
|
+
huaweicloudsdksfsturbo/v1/model/__init__.py,sha256=QkfGsYnvSJQBGzQ6fAZFulHT0IX_mU0oHSs4L-1IS_I,13554
|
6
6
|
huaweicloudsdksfsturbo/v1/model/action_progress.py,sha256=O8yTtzqDSr9Bm-2tC0LHSYmJFggONk_IqVXEXH0WbEI,3093
|
7
7
|
huaweicloudsdksfsturbo/v1/model/auto_export_policy.py,sha256=PJPVsUyhGMRtyrT-BmgzpFhww5L5B1sPHH6dyNswMME,4759
|
8
8
|
huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request.py,sha256=8YvD2ia0zJsbVJq46nt_pstBLYdCVgi_uV5F-GqF0x4,3948
|
@@ -86,7 +86,8 @@ huaweicloudsdksfsturbo/v1/model/list_shared_tags_request.py,sha256=14QBYCeRa9058
|
|
86
86
|
huaweicloudsdksfsturbo/v1/model/list_shared_tags_response.py,sha256=l_s0Y-jhHuwRefhVjho3No_TnAVzv3HQv4ctkc4yHRg,3265
|
87
87
|
huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request.py,sha256=hwYijWLXYUAS8D3I_lpaaAofBPpinTOZTT2Ttak2Yac,3178
|
88
88
|
huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py,sha256=q760BgAuV-1nOiVnRmdziziZhOI-lANY4LPIU44IMtU,10196
|
89
|
-
huaweicloudsdksfsturbo/v1/model/
|
89
|
+
huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_resource.py,sha256=GhS6osXRWdI7R8cKFt56t_AB7-csbpbmaiP5Rxa49Zw,5856
|
90
|
+
huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py,sha256=ps1Z10X_AJlQT4JpkBad0-hNrsdrIsqP_sJ2-gChjkU,5285
|
90
91
|
huaweicloudsdksfsturbo/v1/model/list_shares_request.py,sha256=nfJwROzsMYBDM4dEPDCmrFUPsUm4d4WbCfMjuSGn2QM,3960
|
91
92
|
huaweicloudsdksfsturbo/v1/model/list_shares_response.py,sha256=MIqqHEP3a0amnRPDZgmwRyMqhGTF-UOqarZwTaAjyY8,4097
|
92
93
|
huaweicloudsdksfsturbo/v1/model/metadata.py,sha256=IRvQx9JpvlXSSfBFbljWJ9FEeqQrVd3C5nGtOdw787Q,9904
|
@@ -151,8 +152,8 @@ huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py,sha256=Bln3F-2mScnPq
|
|
151
152
|
huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py,sha256=tmVGPM30gKJAMZfkGXsUTlitsLh70tVDIY88cga_yLE,7010
|
152
153
|
huaweicloudsdksfsturbo/v1/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
153
154
|
huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py,sha256=_rqD4_l3GdVA7pd-NAuYv_lbzcsf41cCfWxtML9kzXk,5179
|
154
|
-
huaweicloudsdksfsturbo-3.1.
|
155
|
-
huaweicloudsdksfsturbo-3.1.
|
156
|
-
huaweicloudsdksfsturbo-3.1.
|
157
|
-
huaweicloudsdksfsturbo-3.1.
|
158
|
-
huaweicloudsdksfsturbo-3.1.
|
155
|
+
huaweicloudsdksfsturbo-3.1.131.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
156
|
+
huaweicloudsdksfsturbo-3.1.131.dist-info/METADATA,sha256=8qlLO3qz9MmhQfFLDBns2D79kO10t6jpp3Jc_8DYSaw,1150
|
157
|
+
huaweicloudsdksfsturbo-3.1.131.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
|
158
|
+
huaweicloudsdksfsturbo-3.1.131.dist-info/top_level.txt,sha256=8GAVlCHW8DnAPnVGsU7Q686X2E_ol-IuktY2dbI03gQ,23
|
159
|
+
huaweicloudsdksfsturbo-3.1.131.dist-info/RECORD,,
|
{huaweicloudsdksfsturbo-3.1.130.dist-info → huaweicloudsdksfsturbo-3.1.131.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|
{huaweicloudsdksfsturbo-3.1.130.dist-info → huaweicloudsdksfsturbo-3.1.131.dist-info}/top_level.txt
RENAMED
File without changes
|