huaweicloudsdkobs 3.1.160__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.
- huaweicloudsdkobs/__init__.py +0 -0
- huaweicloudsdkobs/v1/__init__.py +66 -0
- huaweicloudsdkobs/v1/model/__init__.py +63 -0
- huaweicloudsdkobs/v1/model/access_control_list.py +113 -0
- huaweicloudsdkobs/v1/model/bucket.py +233 -0
- huaweicloudsdkobs/v1/model/buckets.py +117 -0
- huaweicloudsdkobs/v1/model/common_prefixes.py +113 -0
- huaweicloudsdkobs/v1/model/contents.py +287 -0
- huaweicloudsdkobs/v1/model/copy_object_request.py +839 -0
- huaweicloudsdkobs/v1/model/copy_object_response.py +443 -0
- huaweicloudsdkobs/v1/model/create_bucket_request.py +605 -0
- huaweicloudsdkobs/v1/model/create_bucket_request_body.py +117 -0
- huaweicloudsdkobs/v1/model/create_bucket_response.py +239 -0
- huaweicloudsdkobs/v1/model/delete_bucket_customdomain_request.py +173 -0
- huaweicloudsdkobs/v1/model/delete_bucket_customdomain_response.py +239 -0
- huaweicloudsdkobs/v1/model/delete_bucket_request.py +145 -0
- huaweicloudsdkobs/v1/model/delete_bucket_response.py +239 -0
- huaweicloudsdkobs/v1/model/delete_object.py +146 -0
- huaweicloudsdkobs/v1/model/delete_object_request.py +202 -0
- huaweicloudsdkobs/v1/model/delete_object_response.py +289 -0
- huaweicloudsdkobs/v1/model/delete_objects_request.py +226 -0
- huaweicloudsdkobs/v1/model/delete_objects_request_body.py +171 -0
- huaweicloudsdkobs/v1/model/delete_objects_response.py +318 -0
- huaweicloudsdkobs/v1/model/delete_result_deleted.py +204 -0
- huaweicloudsdkobs/v1/model/delete_result_error.py +175 -0
- huaweicloudsdkobs/v1/model/domains.py +173 -0
- huaweicloudsdkobs/v1/model/filter_object.py +113 -0
- huaweicloudsdkobs/v1/model/filter_rule.py +146 -0
- huaweicloudsdkobs/v1/model/function_stage_configuration.py +229 -0
- huaweicloudsdkobs/v1/model/get_bucket_acl_request.py +173 -0
- huaweicloudsdkobs/v1/model/get_bucket_acl_response.py +289 -0
- huaweicloudsdkobs/v1/model/get_bucket_customdomain_request.py +173 -0
- huaweicloudsdkobs/v1/model/get_bucket_customdomain_response.py +264 -0
- huaweicloudsdkobs/v1/model/get_bucket_metadata_request.py +203 -0
- huaweicloudsdkobs/v1/model/get_bucket_metadata_response.py +539 -0
- huaweicloudsdkobs/v1/model/get_bucket_notification_request.py +173 -0
- huaweicloudsdkobs/v1/model/get_bucket_notification_response.py +264 -0
- huaweicloudsdkobs/v1/model/get_object_metadata_request.py +405 -0
- huaweicloudsdkobs/v1/model/get_object_metadata_response.py +689 -0
- huaweicloudsdkobs/v1/model/get_object_request.py +666 -0
- huaweicloudsdkobs/v1/model/get_object_response.py +489 -0
- huaweicloudsdkobs/v1/model/grant.py +171 -0
- huaweicloudsdkobs/v1/model/grantee.py +146 -0
- huaweicloudsdkobs/v1/model/list_buckets_request.py +146 -0
- huaweicloudsdkobs/v1/model/list_buckets_response.py +314 -0
- huaweicloudsdkobs/v1/model/list_objects_request.py +348 -0
- huaweicloudsdkobs/v1/model/list_objects_response.py +546 -0
- huaweicloudsdkobs/v1/model/owner.py +117 -0
- huaweicloudsdkobs/v1/model/put_object_request.py +667 -0
- huaweicloudsdkobs/v1/model/put_object_response.py +389 -0
- huaweicloudsdkobs/v1/model/set_bucket_acl_request.py +227 -0
- huaweicloudsdkobs/v1/model/set_bucket_acl_request_body.py +138 -0
- huaweicloudsdkobs/v1/model/set_bucket_acl_response.py +239 -0
- huaweicloudsdkobs/v1/model/set_bucket_custom_domain_body.py +230 -0
- huaweicloudsdkobs/v1/model/set_bucket_customedomain_request.py +198 -0
- huaweicloudsdkobs/v1/model/set_bucket_customedomain_response.py +239 -0
- huaweicloudsdkobs/v1/model/set_bucket_notification_request.py +198 -0
- huaweicloudsdkobs/v1/model/set_bucket_notification_request_body.py +138 -0
- huaweicloudsdkobs/v1/model/set_bucket_notification_response.py +239 -0
- huaweicloudsdkobs/v1/model/topic_configuration.py +200 -0
- huaweicloudsdkobs/v1/model/topic_configuration_filter.py +113 -0
- huaweicloudsdkobs/v1/obs_async_client.py +1600 -0
- huaweicloudsdkobs/v1/obs_client.py +1597 -0
- huaweicloudsdkobs/v1/obs_credentials.py +69 -0
- huaweicloudsdkobs/v1/obs_signer.py +298 -0
- huaweicloudsdkobs/v1/region/__init__.py +0 -0
- huaweicloudsdkobs/v1/region/obs_region.py +88 -0
- huaweicloudsdkobs-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkobs-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkobs-3.1.160.dist-info/RECORD +72 -0
- huaweicloudsdkobs-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkobs-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,539 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class GetBucketMetadataResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
xml_name = "GetBucketMetadataResponse"
|
19
|
+
|
20
|
+
sensitive_list = []
|
21
|
+
|
22
|
+
openapi_types = {
|
23
|
+
'x_obs_id_2': 'str',
|
24
|
+
'x_obs_request_id': 'str',
|
25
|
+
'x_obs_fs_file_interface': 'str',
|
26
|
+
'x_obs_version': 'str',
|
27
|
+
'access_control_allow_origin': 'str',
|
28
|
+
'access_control_allow_methods': 'str',
|
29
|
+
'x_obs_bucket_location': 'str',
|
30
|
+
'connection': 'str',
|
31
|
+
'x_obs_epid': 'str',
|
32
|
+
'date': 'str',
|
33
|
+
'access_control_allow_headers': 'str',
|
34
|
+
'access_control_expose_headers': 'str',
|
35
|
+
'e_tag': 'str',
|
36
|
+
'x_obs_storage_class': 'str',
|
37
|
+
'x_obs_az_redundancy': 'str',
|
38
|
+
'content_length': 'str',
|
39
|
+
'access_control_max_age': 'int',
|
40
|
+
'x_obs_ies_location': 'str'
|
41
|
+
}
|
42
|
+
|
43
|
+
attribute_map = {
|
44
|
+
'x_obs_id_2': 'x-obs-id-2',
|
45
|
+
'x_obs_request_id': 'x-obs-request-id',
|
46
|
+
'x_obs_fs_file_interface': 'x-obs-fs-file-interface',
|
47
|
+
'x_obs_version': 'x-obs-version',
|
48
|
+
'access_control_allow_origin': 'Access-Control-Allow-Origin',
|
49
|
+
'access_control_allow_methods': 'Access-Control-Allow-Methods',
|
50
|
+
'x_obs_bucket_location': 'x-obs-bucket-location',
|
51
|
+
'connection': 'Connection',
|
52
|
+
'x_obs_epid': 'x-obs-epid',
|
53
|
+
'date': 'Date',
|
54
|
+
'access_control_allow_headers': 'Access-Control-Allow-Headers',
|
55
|
+
'access_control_expose_headers': 'Access-Control-Expose-Headers',
|
56
|
+
'e_tag': 'ETag',
|
57
|
+
'x_obs_storage_class': 'x-obs-storage-class',
|
58
|
+
'x_obs_az_redundancy': 'x-obs-az-redundancy',
|
59
|
+
'content_length': 'Content-Length',
|
60
|
+
'access_control_max_age': 'Access-Control-Max-Age',
|
61
|
+
'x_obs_ies_location': 'x-obs-ies-location'
|
62
|
+
}
|
63
|
+
|
64
|
+
def __init__(self, x_obs_id_2=None, x_obs_request_id=None, x_obs_fs_file_interface=None, x_obs_version=None, access_control_allow_origin=None, access_control_allow_methods=None, x_obs_bucket_location=None, connection=None, x_obs_epid=None, date=None, access_control_allow_headers=None, access_control_expose_headers=None, e_tag=None, x_obs_storage_class=None, x_obs_az_redundancy=None, content_length=None, access_control_max_age=None, x_obs_ies_location=None):
|
65
|
+
r"""GetBucketMetadataResponse
|
66
|
+
|
67
|
+
The model defined in huaweicloud sdk
|
68
|
+
|
69
|
+
:param x_obs_id_2:
|
70
|
+
:type x_obs_id_2: str
|
71
|
+
:param x_obs_request_id:
|
72
|
+
:type x_obs_request_id: str
|
73
|
+
:param x_obs_fs_file_interface:
|
74
|
+
:type x_obs_fs_file_interface: str
|
75
|
+
:param x_obs_version:
|
76
|
+
:type x_obs_version: str
|
77
|
+
:param access_control_allow_origin:
|
78
|
+
:type access_control_allow_origin: str
|
79
|
+
:param access_control_allow_methods:
|
80
|
+
:type access_control_allow_methods: str
|
81
|
+
:param x_obs_bucket_location:
|
82
|
+
:type x_obs_bucket_location: str
|
83
|
+
:param connection:
|
84
|
+
:type connection: str
|
85
|
+
:param x_obs_epid:
|
86
|
+
:type x_obs_epid: str
|
87
|
+
:param date:
|
88
|
+
:type date: str
|
89
|
+
:param access_control_allow_headers:
|
90
|
+
:type access_control_allow_headers: str
|
91
|
+
:param access_control_expose_headers:
|
92
|
+
:type access_control_expose_headers: str
|
93
|
+
:param e_tag:
|
94
|
+
:type e_tag: str
|
95
|
+
:param x_obs_storage_class:
|
96
|
+
:type x_obs_storage_class: str
|
97
|
+
:param x_obs_az_redundancy:
|
98
|
+
:type x_obs_az_redundancy: str
|
99
|
+
:param content_length:
|
100
|
+
:type content_length: str
|
101
|
+
:param access_control_max_age:
|
102
|
+
:type access_control_max_age: int
|
103
|
+
:param x_obs_ies_location:
|
104
|
+
:type x_obs_ies_location: str
|
105
|
+
"""
|
106
|
+
|
107
|
+
super(GetBucketMetadataResponse, self).__init__()
|
108
|
+
|
109
|
+
self._x_obs_id_2 = None
|
110
|
+
self._x_obs_request_id = None
|
111
|
+
self._x_obs_fs_file_interface = None
|
112
|
+
self._x_obs_version = None
|
113
|
+
self._access_control_allow_origin = None
|
114
|
+
self._access_control_allow_methods = None
|
115
|
+
self._x_obs_bucket_location = None
|
116
|
+
self._connection = None
|
117
|
+
self._x_obs_epid = None
|
118
|
+
self._date = None
|
119
|
+
self._access_control_allow_headers = None
|
120
|
+
self._access_control_expose_headers = None
|
121
|
+
self._e_tag = None
|
122
|
+
self._x_obs_storage_class = None
|
123
|
+
self._x_obs_az_redundancy = None
|
124
|
+
self._content_length = None
|
125
|
+
self._access_control_max_age = None
|
126
|
+
self._x_obs_ies_location = None
|
127
|
+
self.discriminator = None
|
128
|
+
|
129
|
+
if x_obs_id_2 is not None:
|
130
|
+
self.x_obs_id_2 = x_obs_id_2
|
131
|
+
if x_obs_request_id is not None:
|
132
|
+
self.x_obs_request_id = x_obs_request_id
|
133
|
+
if x_obs_fs_file_interface is not None:
|
134
|
+
self.x_obs_fs_file_interface = x_obs_fs_file_interface
|
135
|
+
if x_obs_version is not None:
|
136
|
+
self.x_obs_version = x_obs_version
|
137
|
+
if access_control_allow_origin is not None:
|
138
|
+
self.access_control_allow_origin = access_control_allow_origin
|
139
|
+
if access_control_allow_methods is not None:
|
140
|
+
self.access_control_allow_methods = access_control_allow_methods
|
141
|
+
if x_obs_bucket_location is not None:
|
142
|
+
self.x_obs_bucket_location = x_obs_bucket_location
|
143
|
+
if connection is not None:
|
144
|
+
self.connection = connection
|
145
|
+
if x_obs_epid is not None:
|
146
|
+
self.x_obs_epid = x_obs_epid
|
147
|
+
if date is not None:
|
148
|
+
self.date = date
|
149
|
+
if access_control_allow_headers is not None:
|
150
|
+
self.access_control_allow_headers = access_control_allow_headers
|
151
|
+
if access_control_expose_headers is not None:
|
152
|
+
self.access_control_expose_headers = access_control_expose_headers
|
153
|
+
if e_tag is not None:
|
154
|
+
self.e_tag = e_tag
|
155
|
+
if x_obs_storage_class is not None:
|
156
|
+
self.x_obs_storage_class = x_obs_storage_class
|
157
|
+
if x_obs_az_redundancy is not None:
|
158
|
+
self.x_obs_az_redundancy = x_obs_az_redundancy
|
159
|
+
if content_length is not None:
|
160
|
+
self.content_length = content_length
|
161
|
+
if access_control_max_age is not None:
|
162
|
+
self.access_control_max_age = access_control_max_age
|
163
|
+
if x_obs_ies_location is not None:
|
164
|
+
self.x_obs_ies_location = x_obs_ies_location
|
165
|
+
|
166
|
+
@property
|
167
|
+
def x_obs_id_2(self):
|
168
|
+
r"""Gets the x_obs_id_2 of this GetBucketMetadataResponse.
|
169
|
+
|
170
|
+
:return: The x_obs_id_2 of this GetBucketMetadataResponse.
|
171
|
+
:rtype: str
|
172
|
+
"""
|
173
|
+
return self._x_obs_id_2
|
174
|
+
|
175
|
+
@x_obs_id_2.setter
|
176
|
+
def x_obs_id_2(self, x_obs_id_2):
|
177
|
+
r"""Sets the x_obs_id_2 of this GetBucketMetadataResponse.
|
178
|
+
|
179
|
+
:param x_obs_id_2: The x_obs_id_2 of this GetBucketMetadataResponse.
|
180
|
+
:type x_obs_id_2: str
|
181
|
+
"""
|
182
|
+
self._x_obs_id_2 = x_obs_id_2
|
183
|
+
|
184
|
+
@property
|
185
|
+
def x_obs_request_id(self):
|
186
|
+
r"""Gets the x_obs_request_id of this GetBucketMetadataResponse.
|
187
|
+
|
188
|
+
:return: The x_obs_request_id of this GetBucketMetadataResponse.
|
189
|
+
:rtype: str
|
190
|
+
"""
|
191
|
+
return self._x_obs_request_id
|
192
|
+
|
193
|
+
@x_obs_request_id.setter
|
194
|
+
def x_obs_request_id(self, x_obs_request_id):
|
195
|
+
r"""Sets the x_obs_request_id of this GetBucketMetadataResponse.
|
196
|
+
|
197
|
+
:param x_obs_request_id: The x_obs_request_id of this GetBucketMetadataResponse.
|
198
|
+
:type x_obs_request_id: str
|
199
|
+
"""
|
200
|
+
self._x_obs_request_id = x_obs_request_id
|
201
|
+
|
202
|
+
@property
|
203
|
+
def x_obs_fs_file_interface(self):
|
204
|
+
r"""Gets the x_obs_fs_file_interface of this GetBucketMetadataResponse.
|
205
|
+
|
206
|
+
:return: The x_obs_fs_file_interface of this GetBucketMetadataResponse.
|
207
|
+
:rtype: str
|
208
|
+
"""
|
209
|
+
return self._x_obs_fs_file_interface
|
210
|
+
|
211
|
+
@x_obs_fs_file_interface.setter
|
212
|
+
def x_obs_fs_file_interface(self, x_obs_fs_file_interface):
|
213
|
+
r"""Sets the x_obs_fs_file_interface of this GetBucketMetadataResponse.
|
214
|
+
|
215
|
+
:param x_obs_fs_file_interface: The x_obs_fs_file_interface of this GetBucketMetadataResponse.
|
216
|
+
:type x_obs_fs_file_interface: str
|
217
|
+
"""
|
218
|
+
self._x_obs_fs_file_interface = x_obs_fs_file_interface
|
219
|
+
|
220
|
+
@property
|
221
|
+
def x_obs_version(self):
|
222
|
+
r"""Gets the x_obs_version of this GetBucketMetadataResponse.
|
223
|
+
|
224
|
+
:return: The x_obs_version of this GetBucketMetadataResponse.
|
225
|
+
:rtype: str
|
226
|
+
"""
|
227
|
+
return self._x_obs_version
|
228
|
+
|
229
|
+
@x_obs_version.setter
|
230
|
+
def x_obs_version(self, x_obs_version):
|
231
|
+
r"""Sets the x_obs_version of this GetBucketMetadataResponse.
|
232
|
+
|
233
|
+
:param x_obs_version: The x_obs_version of this GetBucketMetadataResponse.
|
234
|
+
:type x_obs_version: str
|
235
|
+
"""
|
236
|
+
self._x_obs_version = x_obs_version
|
237
|
+
|
238
|
+
@property
|
239
|
+
def access_control_allow_origin(self):
|
240
|
+
r"""Gets the access_control_allow_origin of this GetBucketMetadataResponse.
|
241
|
+
|
242
|
+
:return: The access_control_allow_origin of this GetBucketMetadataResponse.
|
243
|
+
:rtype: str
|
244
|
+
"""
|
245
|
+
return self._access_control_allow_origin
|
246
|
+
|
247
|
+
@access_control_allow_origin.setter
|
248
|
+
def access_control_allow_origin(self, access_control_allow_origin):
|
249
|
+
r"""Sets the access_control_allow_origin of this GetBucketMetadataResponse.
|
250
|
+
|
251
|
+
:param access_control_allow_origin: The access_control_allow_origin of this GetBucketMetadataResponse.
|
252
|
+
:type access_control_allow_origin: str
|
253
|
+
"""
|
254
|
+
self._access_control_allow_origin = access_control_allow_origin
|
255
|
+
|
256
|
+
@property
|
257
|
+
def access_control_allow_methods(self):
|
258
|
+
r"""Gets the access_control_allow_methods of this GetBucketMetadataResponse.
|
259
|
+
|
260
|
+
:return: The access_control_allow_methods of this GetBucketMetadataResponse.
|
261
|
+
:rtype: str
|
262
|
+
"""
|
263
|
+
return self._access_control_allow_methods
|
264
|
+
|
265
|
+
@access_control_allow_methods.setter
|
266
|
+
def access_control_allow_methods(self, access_control_allow_methods):
|
267
|
+
r"""Sets the access_control_allow_methods of this GetBucketMetadataResponse.
|
268
|
+
|
269
|
+
:param access_control_allow_methods: The access_control_allow_methods of this GetBucketMetadataResponse.
|
270
|
+
:type access_control_allow_methods: str
|
271
|
+
"""
|
272
|
+
self._access_control_allow_methods = access_control_allow_methods
|
273
|
+
|
274
|
+
@property
|
275
|
+
def x_obs_bucket_location(self):
|
276
|
+
r"""Gets the x_obs_bucket_location of this GetBucketMetadataResponse.
|
277
|
+
|
278
|
+
:return: The x_obs_bucket_location of this GetBucketMetadataResponse.
|
279
|
+
:rtype: str
|
280
|
+
"""
|
281
|
+
return self._x_obs_bucket_location
|
282
|
+
|
283
|
+
@x_obs_bucket_location.setter
|
284
|
+
def x_obs_bucket_location(self, x_obs_bucket_location):
|
285
|
+
r"""Sets the x_obs_bucket_location of this GetBucketMetadataResponse.
|
286
|
+
|
287
|
+
:param x_obs_bucket_location: The x_obs_bucket_location of this GetBucketMetadataResponse.
|
288
|
+
:type x_obs_bucket_location: str
|
289
|
+
"""
|
290
|
+
self._x_obs_bucket_location = x_obs_bucket_location
|
291
|
+
|
292
|
+
@property
|
293
|
+
def connection(self):
|
294
|
+
r"""Gets the connection of this GetBucketMetadataResponse.
|
295
|
+
|
296
|
+
:return: The connection of this GetBucketMetadataResponse.
|
297
|
+
:rtype: str
|
298
|
+
"""
|
299
|
+
return self._connection
|
300
|
+
|
301
|
+
@connection.setter
|
302
|
+
def connection(self, connection):
|
303
|
+
r"""Sets the connection of this GetBucketMetadataResponse.
|
304
|
+
|
305
|
+
:param connection: The connection of this GetBucketMetadataResponse.
|
306
|
+
:type connection: str
|
307
|
+
"""
|
308
|
+
self._connection = connection
|
309
|
+
|
310
|
+
@property
|
311
|
+
def x_obs_epid(self):
|
312
|
+
r"""Gets the x_obs_epid of this GetBucketMetadataResponse.
|
313
|
+
|
314
|
+
:return: The x_obs_epid of this GetBucketMetadataResponse.
|
315
|
+
:rtype: str
|
316
|
+
"""
|
317
|
+
return self._x_obs_epid
|
318
|
+
|
319
|
+
@x_obs_epid.setter
|
320
|
+
def x_obs_epid(self, x_obs_epid):
|
321
|
+
r"""Sets the x_obs_epid of this GetBucketMetadataResponse.
|
322
|
+
|
323
|
+
:param x_obs_epid: The x_obs_epid of this GetBucketMetadataResponse.
|
324
|
+
:type x_obs_epid: str
|
325
|
+
"""
|
326
|
+
self._x_obs_epid = x_obs_epid
|
327
|
+
|
328
|
+
@property
|
329
|
+
def date(self):
|
330
|
+
r"""Gets the date of this GetBucketMetadataResponse.
|
331
|
+
|
332
|
+
:return: The date of this GetBucketMetadataResponse.
|
333
|
+
:rtype: str
|
334
|
+
"""
|
335
|
+
return self._date
|
336
|
+
|
337
|
+
@date.setter
|
338
|
+
def date(self, date):
|
339
|
+
r"""Sets the date of this GetBucketMetadataResponse.
|
340
|
+
|
341
|
+
:param date: The date of this GetBucketMetadataResponse.
|
342
|
+
:type date: str
|
343
|
+
"""
|
344
|
+
self._date = date
|
345
|
+
|
346
|
+
@property
|
347
|
+
def access_control_allow_headers(self):
|
348
|
+
r"""Gets the access_control_allow_headers of this GetBucketMetadataResponse.
|
349
|
+
|
350
|
+
:return: The access_control_allow_headers of this GetBucketMetadataResponse.
|
351
|
+
:rtype: str
|
352
|
+
"""
|
353
|
+
return self._access_control_allow_headers
|
354
|
+
|
355
|
+
@access_control_allow_headers.setter
|
356
|
+
def access_control_allow_headers(self, access_control_allow_headers):
|
357
|
+
r"""Sets the access_control_allow_headers of this GetBucketMetadataResponse.
|
358
|
+
|
359
|
+
:param access_control_allow_headers: The access_control_allow_headers of this GetBucketMetadataResponse.
|
360
|
+
:type access_control_allow_headers: str
|
361
|
+
"""
|
362
|
+
self._access_control_allow_headers = access_control_allow_headers
|
363
|
+
|
364
|
+
@property
|
365
|
+
def access_control_expose_headers(self):
|
366
|
+
r"""Gets the access_control_expose_headers of this GetBucketMetadataResponse.
|
367
|
+
|
368
|
+
:return: The access_control_expose_headers of this GetBucketMetadataResponse.
|
369
|
+
:rtype: str
|
370
|
+
"""
|
371
|
+
return self._access_control_expose_headers
|
372
|
+
|
373
|
+
@access_control_expose_headers.setter
|
374
|
+
def access_control_expose_headers(self, access_control_expose_headers):
|
375
|
+
r"""Sets the access_control_expose_headers of this GetBucketMetadataResponse.
|
376
|
+
|
377
|
+
:param access_control_expose_headers: The access_control_expose_headers of this GetBucketMetadataResponse.
|
378
|
+
:type access_control_expose_headers: str
|
379
|
+
"""
|
380
|
+
self._access_control_expose_headers = access_control_expose_headers
|
381
|
+
|
382
|
+
@property
|
383
|
+
def e_tag(self):
|
384
|
+
r"""Gets the e_tag of this GetBucketMetadataResponse.
|
385
|
+
|
386
|
+
:return: The e_tag of this GetBucketMetadataResponse.
|
387
|
+
:rtype: str
|
388
|
+
"""
|
389
|
+
return self._e_tag
|
390
|
+
|
391
|
+
@e_tag.setter
|
392
|
+
def e_tag(self, e_tag):
|
393
|
+
r"""Sets the e_tag of this GetBucketMetadataResponse.
|
394
|
+
|
395
|
+
:param e_tag: The e_tag of this GetBucketMetadataResponse.
|
396
|
+
:type e_tag: str
|
397
|
+
"""
|
398
|
+
self._e_tag = e_tag
|
399
|
+
|
400
|
+
@property
|
401
|
+
def x_obs_storage_class(self):
|
402
|
+
r"""Gets the x_obs_storage_class of this GetBucketMetadataResponse.
|
403
|
+
|
404
|
+
:return: The x_obs_storage_class of this GetBucketMetadataResponse.
|
405
|
+
:rtype: str
|
406
|
+
"""
|
407
|
+
return self._x_obs_storage_class
|
408
|
+
|
409
|
+
@x_obs_storage_class.setter
|
410
|
+
def x_obs_storage_class(self, x_obs_storage_class):
|
411
|
+
r"""Sets the x_obs_storage_class of this GetBucketMetadataResponse.
|
412
|
+
|
413
|
+
:param x_obs_storage_class: The x_obs_storage_class of this GetBucketMetadataResponse.
|
414
|
+
:type x_obs_storage_class: str
|
415
|
+
"""
|
416
|
+
self._x_obs_storage_class = x_obs_storage_class
|
417
|
+
|
418
|
+
@property
|
419
|
+
def x_obs_az_redundancy(self):
|
420
|
+
r"""Gets the x_obs_az_redundancy of this GetBucketMetadataResponse.
|
421
|
+
|
422
|
+
:return: The x_obs_az_redundancy of this GetBucketMetadataResponse.
|
423
|
+
:rtype: str
|
424
|
+
"""
|
425
|
+
return self._x_obs_az_redundancy
|
426
|
+
|
427
|
+
@x_obs_az_redundancy.setter
|
428
|
+
def x_obs_az_redundancy(self, x_obs_az_redundancy):
|
429
|
+
r"""Sets the x_obs_az_redundancy of this GetBucketMetadataResponse.
|
430
|
+
|
431
|
+
:param x_obs_az_redundancy: The x_obs_az_redundancy of this GetBucketMetadataResponse.
|
432
|
+
:type x_obs_az_redundancy: str
|
433
|
+
"""
|
434
|
+
self._x_obs_az_redundancy = x_obs_az_redundancy
|
435
|
+
|
436
|
+
@property
|
437
|
+
def content_length(self):
|
438
|
+
r"""Gets the content_length of this GetBucketMetadataResponse.
|
439
|
+
|
440
|
+
:return: The content_length of this GetBucketMetadataResponse.
|
441
|
+
:rtype: str
|
442
|
+
"""
|
443
|
+
return self._content_length
|
444
|
+
|
445
|
+
@content_length.setter
|
446
|
+
def content_length(self, content_length):
|
447
|
+
r"""Sets the content_length of this GetBucketMetadataResponse.
|
448
|
+
|
449
|
+
:param content_length: The content_length of this GetBucketMetadataResponse.
|
450
|
+
:type content_length: str
|
451
|
+
"""
|
452
|
+
self._content_length = content_length
|
453
|
+
|
454
|
+
@property
|
455
|
+
def access_control_max_age(self):
|
456
|
+
r"""Gets the access_control_max_age of this GetBucketMetadataResponse.
|
457
|
+
|
458
|
+
:return: The access_control_max_age of this GetBucketMetadataResponse.
|
459
|
+
:rtype: int
|
460
|
+
"""
|
461
|
+
return self._access_control_max_age
|
462
|
+
|
463
|
+
@access_control_max_age.setter
|
464
|
+
def access_control_max_age(self, access_control_max_age):
|
465
|
+
r"""Sets the access_control_max_age of this GetBucketMetadataResponse.
|
466
|
+
|
467
|
+
:param access_control_max_age: The access_control_max_age of this GetBucketMetadataResponse.
|
468
|
+
:type access_control_max_age: int
|
469
|
+
"""
|
470
|
+
self._access_control_max_age = access_control_max_age
|
471
|
+
|
472
|
+
@property
|
473
|
+
def x_obs_ies_location(self):
|
474
|
+
r"""Gets the x_obs_ies_location of this GetBucketMetadataResponse.
|
475
|
+
|
476
|
+
:return: The x_obs_ies_location of this GetBucketMetadataResponse.
|
477
|
+
:rtype: str
|
478
|
+
"""
|
479
|
+
return self._x_obs_ies_location
|
480
|
+
|
481
|
+
@x_obs_ies_location.setter
|
482
|
+
def x_obs_ies_location(self, x_obs_ies_location):
|
483
|
+
r"""Sets the x_obs_ies_location of this GetBucketMetadataResponse.
|
484
|
+
|
485
|
+
:param x_obs_ies_location: The x_obs_ies_location of this GetBucketMetadataResponse.
|
486
|
+
:type x_obs_ies_location: str
|
487
|
+
"""
|
488
|
+
self._x_obs_ies_location = x_obs_ies_location
|
489
|
+
|
490
|
+
def to_dict(self):
|
491
|
+
"""Returns the model properties as a dict"""
|
492
|
+
result = {}
|
493
|
+
|
494
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
495
|
+
value = getattr(self, attr)
|
496
|
+
if isinstance(value, list):
|
497
|
+
result[attr] = list(map(
|
498
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
499
|
+
value
|
500
|
+
))
|
501
|
+
elif hasattr(value, "to_dict"):
|
502
|
+
result[attr] = value.to_dict()
|
503
|
+
elif isinstance(value, dict):
|
504
|
+
result[attr] = dict(map(
|
505
|
+
lambda item: (item[0], item[1].to_dict())
|
506
|
+
if hasattr(item[1], "to_dict") else item,
|
507
|
+
value.items()
|
508
|
+
))
|
509
|
+
else:
|
510
|
+
if attr in self.sensitive_list:
|
511
|
+
result[attr] = "****"
|
512
|
+
else:
|
513
|
+
result[attr] = value
|
514
|
+
|
515
|
+
return result
|
516
|
+
|
517
|
+
def to_str(self):
|
518
|
+
"""Returns the string representation of the model"""
|
519
|
+
import simplejson as json
|
520
|
+
if six.PY2:
|
521
|
+
import sys
|
522
|
+
reload(sys)
|
523
|
+
sys.setdefaultencoding("utf-8")
|
524
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
525
|
+
|
526
|
+
def __repr__(self):
|
527
|
+
"""For `print`"""
|
528
|
+
return self.to_str()
|
529
|
+
|
530
|
+
def __eq__(self, other):
|
531
|
+
"""Returns true if both objects are equal"""
|
532
|
+
if not isinstance(other, GetBucketMetadataResponse):
|
533
|
+
return False
|
534
|
+
|
535
|
+
return self.__dict__ == other.__dict__
|
536
|
+
|
537
|
+
def __ne__(self, other):
|
538
|
+
"""Returns true if both objects are not equal"""
|
539
|
+
return not self == other
|