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,689 @@
|
|
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 GetObjectMetadataResponse(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 = "GetObjectMetadataResponse"
|
19
|
+
|
20
|
+
sensitive_list = []
|
21
|
+
|
22
|
+
openapi_types = {
|
23
|
+
'x_obs_id_2': 'str',
|
24
|
+
'x_obs_request_id': 'str',
|
25
|
+
'x_obs_hash_crc64ecma': 'str',
|
26
|
+
'access_control_allow_origin': 'str',
|
27
|
+
'x_obs_server_side_encryption': 'str',
|
28
|
+
'x_obs_restore': 'str',
|
29
|
+
'x_obs_object_type': 'str',
|
30
|
+
'x_obs_next_append_position': 'int',
|
31
|
+
'access_control_allow_methods': 'str',
|
32
|
+
'connection': 'str',
|
33
|
+
'x_obs_server_side_encryption_customer_key_md5': 'str',
|
34
|
+
'x_obs_expiration': 'str',
|
35
|
+
'date': 'str',
|
36
|
+
'access_control_allow_headers': 'str',
|
37
|
+
'x_obs_upload_id': 'str',
|
38
|
+
'access_control_expose_headers': 'str',
|
39
|
+
'e_tag': 'str',
|
40
|
+
'x_obs_server_side_encryption_customer_algorithm': 'str',
|
41
|
+
'x_obs_storage_class': 'str',
|
42
|
+
'x_obs_server_side_encryption_kms_key_id': 'str',
|
43
|
+
'content_length': 'str',
|
44
|
+
'access_control_max_age': 'int',
|
45
|
+
'x_obs_website_redirect_location': 'str',
|
46
|
+
'x_obs_version_id': 'str'
|
47
|
+
}
|
48
|
+
|
49
|
+
attribute_map = {
|
50
|
+
'x_obs_id_2': 'x-obs-id-2',
|
51
|
+
'x_obs_request_id': 'x-obs-request-id',
|
52
|
+
'x_obs_hash_crc64ecma': 'x-obs-hash-crc64ecma',
|
53
|
+
'access_control_allow_origin': 'Access-Control-Allow-Origin',
|
54
|
+
'x_obs_server_side_encryption': 'x-obs-server-side-encryption',
|
55
|
+
'x_obs_restore': 'x-obs-restore',
|
56
|
+
'x_obs_object_type': 'x-obs-object-type',
|
57
|
+
'x_obs_next_append_position': 'x-obs-next-append-position',
|
58
|
+
'access_control_allow_methods': 'Access-Control-Allow-Methods',
|
59
|
+
'connection': 'Connection',
|
60
|
+
'x_obs_server_side_encryption_customer_key_md5': 'x-obs-server-side-encryption-customer-key-MD5',
|
61
|
+
'x_obs_expiration': 'x-obs-expiration',
|
62
|
+
'date': 'Date',
|
63
|
+
'access_control_allow_headers': 'Access-Control-Allow-Headers',
|
64
|
+
'x_obs_upload_id': 'x-obs-uploadId',
|
65
|
+
'access_control_expose_headers': 'Access-Control-Expose-Headers',
|
66
|
+
'e_tag': 'ETag',
|
67
|
+
'x_obs_server_side_encryption_customer_algorithm': 'x-obs-server-side-encryption-customer-algorithm',
|
68
|
+
'x_obs_storage_class': 'x-obs-storage-class',
|
69
|
+
'x_obs_server_side_encryption_kms_key_id': 'x-obs-server-side-encryption-kms-key-id',
|
70
|
+
'content_length': 'Content-Length',
|
71
|
+
'access_control_max_age': 'Access-Control-Max-Age',
|
72
|
+
'x_obs_website_redirect_location': 'x-obs-website-redirect-location',
|
73
|
+
'x_obs_version_id': 'x-obs-version-id'
|
74
|
+
}
|
75
|
+
|
76
|
+
def __init__(self, x_obs_id_2=None, x_obs_request_id=None, x_obs_hash_crc64ecma=None, access_control_allow_origin=None, x_obs_server_side_encryption=None, x_obs_restore=None, x_obs_object_type=None, x_obs_next_append_position=None, access_control_allow_methods=None, connection=None, x_obs_server_side_encryption_customer_key_md5=None, x_obs_expiration=None, date=None, access_control_allow_headers=None, x_obs_upload_id=None, access_control_expose_headers=None, e_tag=None, x_obs_server_side_encryption_customer_algorithm=None, x_obs_storage_class=None, x_obs_server_side_encryption_kms_key_id=None, content_length=None, access_control_max_age=None, x_obs_website_redirect_location=None, x_obs_version_id=None):
|
77
|
+
r"""GetObjectMetadataResponse
|
78
|
+
|
79
|
+
The model defined in huaweicloud sdk
|
80
|
+
|
81
|
+
:param x_obs_id_2:
|
82
|
+
:type x_obs_id_2: str
|
83
|
+
:param x_obs_request_id:
|
84
|
+
:type x_obs_request_id: str
|
85
|
+
:param x_obs_hash_crc64ecma:
|
86
|
+
:type x_obs_hash_crc64ecma: str
|
87
|
+
:param access_control_allow_origin:
|
88
|
+
:type access_control_allow_origin: str
|
89
|
+
:param x_obs_server_side_encryption:
|
90
|
+
:type x_obs_server_side_encryption: str
|
91
|
+
:param x_obs_restore:
|
92
|
+
:type x_obs_restore: str
|
93
|
+
:param x_obs_object_type:
|
94
|
+
:type x_obs_object_type: str
|
95
|
+
:param x_obs_next_append_position:
|
96
|
+
:type x_obs_next_append_position: int
|
97
|
+
:param access_control_allow_methods:
|
98
|
+
:type access_control_allow_methods: str
|
99
|
+
:param connection:
|
100
|
+
:type connection: str
|
101
|
+
:param x_obs_server_side_encryption_customer_key_md5:
|
102
|
+
:type x_obs_server_side_encryption_customer_key_md5: str
|
103
|
+
:param x_obs_expiration:
|
104
|
+
:type x_obs_expiration: str
|
105
|
+
:param date:
|
106
|
+
:type date: str
|
107
|
+
:param access_control_allow_headers:
|
108
|
+
:type access_control_allow_headers: str
|
109
|
+
:param x_obs_upload_id:
|
110
|
+
:type x_obs_upload_id: str
|
111
|
+
:param access_control_expose_headers:
|
112
|
+
:type access_control_expose_headers: str
|
113
|
+
:param e_tag:
|
114
|
+
:type e_tag: str
|
115
|
+
:param x_obs_server_side_encryption_customer_algorithm:
|
116
|
+
:type x_obs_server_side_encryption_customer_algorithm: str
|
117
|
+
:param x_obs_storage_class:
|
118
|
+
:type x_obs_storage_class: str
|
119
|
+
:param x_obs_server_side_encryption_kms_key_id:
|
120
|
+
:type x_obs_server_side_encryption_kms_key_id: str
|
121
|
+
:param content_length:
|
122
|
+
:type content_length: str
|
123
|
+
:param access_control_max_age:
|
124
|
+
:type access_control_max_age: int
|
125
|
+
:param x_obs_website_redirect_location:
|
126
|
+
:type x_obs_website_redirect_location: str
|
127
|
+
:param x_obs_version_id:
|
128
|
+
:type x_obs_version_id: str
|
129
|
+
"""
|
130
|
+
|
131
|
+
super(GetObjectMetadataResponse, self).__init__()
|
132
|
+
|
133
|
+
self._x_obs_id_2 = None
|
134
|
+
self._x_obs_request_id = None
|
135
|
+
self._x_obs_hash_crc64ecma = None
|
136
|
+
self._access_control_allow_origin = None
|
137
|
+
self._x_obs_server_side_encryption = None
|
138
|
+
self._x_obs_restore = None
|
139
|
+
self._x_obs_object_type = None
|
140
|
+
self._x_obs_next_append_position = None
|
141
|
+
self._access_control_allow_methods = None
|
142
|
+
self._connection = None
|
143
|
+
self._x_obs_server_side_encryption_customer_key_md5 = None
|
144
|
+
self._x_obs_expiration = None
|
145
|
+
self._date = None
|
146
|
+
self._access_control_allow_headers = None
|
147
|
+
self._x_obs_upload_id = None
|
148
|
+
self._access_control_expose_headers = None
|
149
|
+
self._e_tag = None
|
150
|
+
self._x_obs_server_side_encryption_customer_algorithm = None
|
151
|
+
self._x_obs_storage_class = None
|
152
|
+
self._x_obs_server_side_encryption_kms_key_id = None
|
153
|
+
self._content_length = None
|
154
|
+
self._access_control_max_age = None
|
155
|
+
self._x_obs_website_redirect_location = None
|
156
|
+
self._x_obs_version_id = None
|
157
|
+
self.discriminator = None
|
158
|
+
|
159
|
+
if x_obs_id_2 is not None:
|
160
|
+
self.x_obs_id_2 = x_obs_id_2
|
161
|
+
if x_obs_request_id is not None:
|
162
|
+
self.x_obs_request_id = x_obs_request_id
|
163
|
+
if x_obs_hash_crc64ecma is not None:
|
164
|
+
self.x_obs_hash_crc64ecma = x_obs_hash_crc64ecma
|
165
|
+
if access_control_allow_origin is not None:
|
166
|
+
self.access_control_allow_origin = access_control_allow_origin
|
167
|
+
if x_obs_server_side_encryption is not None:
|
168
|
+
self.x_obs_server_side_encryption = x_obs_server_side_encryption
|
169
|
+
if x_obs_restore is not None:
|
170
|
+
self.x_obs_restore = x_obs_restore
|
171
|
+
if x_obs_object_type is not None:
|
172
|
+
self.x_obs_object_type = x_obs_object_type
|
173
|
+
if x_obs_next_append_position is not None:
|
174
|
+
self.x_obs_next_append_position = x_obs_next_append_position
|
175
|
+
if access_control_allow_methods is not None:
|
176
|
+
self.access_control_allow_methods = access_control_allow_methods
|
177
|
+
if connection is not None:
|
178
|
+
self.connection = connection
|
179
|
+
if x_obs_server_side_encryption_customer_key_md5 is not None:
|
180
|
+
self.x_obs_server_side_encryption_customer_key_md5 = x_obs_server_side_encryption_customer_key_md5
|
181
|
+
if x_obs_expiration is not None:
|
182
|
+
self.x_obs_expiration = x_obs_expiration
|
183
|
+
if date is not None:
|
184
|
+
self.date = date
|
185
|
+
if access_control_allow_headers is not None:
|
186
|
+
self.access_control_allow_headers = access_control_allow_headers
|
187
|
+
if x_obs_upload_id is not None:
|
188
|
+
self.x_obs_upload_id = x_obs_upload_id
|
189
|
+
if access_control_expose_headers is not None:
|
190
|
+
self.access_control_expose_headers = access_control_expose_headers
|
191
|
+
if e_tag is not None:
|
192
|
+
self.e_tag = e_tag
|
193
|
+
if x_obs_server_side_encryption_customer_algorithm is not None:
|
194
|
+
self.x_obs_server_side_encryption_customer_algorithm = x_obs_server_side_encryption_customer_algorithm
|
195
|
+
if x_obs_storage_class is not None:
|
196
|
+
self.x_obs_storage_class = x_obs_storage_class
|
197
|
+
if x_obs_server_side_encryption_kms_key_id is not None:
|
198
|
+
self.x_obs_server_side_encryption_kms_key_id = x_obs_server_side_encryption_kms_key_id
|
199
|
+
if content_length is not None:
|
200
|
+
self.content_length = content_length
|
201
|
+
if access_control_max_age is not None:
|
202
|
+
self.access_control_max_age = access_control_max_age
|
203
|
+
if x_obs_website_redirect_location is not None:
|
204
|
+
self.x_obs_website_redirect_location = x_obs_website_redirect_location
|
205
|
+
if x_obs_version_id is not None:
|
206
|
+
self.x_obs_version_id = x_obs_version_id
|
207
|
+
|
208
|
+
@property
|
209
|
+
def x_obs_id_2(self):
|
210
|
+
r"""Gets the x_obs_id_2 of this GetObjectMetadataResponse.
|
211
|
+
|
212
|
+
:return: The x_obs_id_2 of this GetObjectMetadataResponse.
|
213
|
+
:rtype: str
|
214
|
+
"""
|
215
|
+
return self._x_obs_id_2
|
216
|
+
|
217
|
+
@x_obs_id_2.setter
|
218
|
+
def x_obs_id_2(self, x_obs_id_2):
|
219
|
+
r"""Sets the x_obs_id_2 of this GetObjectMetadataResponse.
|
220
|
+
|
221
|
+
:param x_obs_id_2: The x_obs_id_2 of this GetObjectMetadataResponse.
|
222
|
+
:type x_obs_id_2: str
|
223
|
+
"""
|
224
|
+
self._x_obs_id_2 = x_obs_id_2
|
225
|
+
|
226
|
+
@property
|
227
|
+
def x_obs_request_id(self):
|
228
|
+
r"""Gets the x_obs_request_id of this GetObjectMetadataResponse.
|
229
|
+
|
230
|
+
:return: The x_obs_request_id of this GetObjectMetadataResponse.
|
231
|
+
:rtype: str
|
232
|
+
"""
|
233
|
+
return self._x_obs_request_id
|
234
|
+
|
235
|
+
@x_obs_request_id.setter
|
236
|
+
def x_obs_request_id(self, x_obs_request_id):
|
237
|
+
r"""Sets the x_obs_request_id of this GetObjectMetadataResponse.
|
238
|
+
|
239
|
+
:param x_obs_request_id: The x_obs_request_id of this GetObjectMetadataResponse.
|
240
|
+
:type x_obs_request_id: str
|
241
|
+
"""
|
242
|
+
self._x_obs_request_id = x_obs_request_id
|
243
|
+
|
244
|
+
@property
|
245
|
+
def x_obs_hash_crc64ecma(self):
|
246
|
+
r"""Gets the x_obs_hash_crc64ecma of this GetObjectMetadataResponse.
|
247
|
+
|
248
|
+
:return: The x_obs_hash_crc64ecma of this GetObjectMetadataResponse.
|
249
|
+
:rtype: str
|
250
|
+
"""
|
251
|
+
return self._x_obs_hash_crc64ecma
|
252
|
+
|
253
|
+
@x_obs_hash_crc64ecma.setter
|
254
|
+
def x_obs_hash_crc64ecma(self, x_obs_hash_crc64ecma):
|
255
|
+
r"""Sets the x_obs_hash_crc64ecma of this GetObjectMetadataResponse.
|
256
|
+
|
257
|
+
:param x_obs_hash_crc64ecma: The x_obs_hash_crc64ecma of this GetObjectMetadataResponse.
|
258
|
+
:type x_obs_hash_crc64ecma: str
|
259
|
+
"""
|
260
|
+
self._x_obs_hash_crc64ecma = x_obs_hash_crc64ecma
|
261
|
+
|
262
|
+
@property
|
263
|
+
def access_control_allow_origin(self):
|
264
|
+
r"""Gets the access_control_allow_origin of this GetObjectMetadataResponse.
|
265
|
+
|
266
|
+
:return: The access_control_allow_origin of this GetObjectMetadataResponse.
|
267
|
+
:rtype: str
|
268
|
+
"""
|
269
|
+
return self._access_control_allow_origin
|
270
|
+
|
271
|
+
@access_control_allow_origin.setter
|
272
|
+
def access_control_allow_origin(self, access_control_allow_origin):
|
273
|
+
r"""Sets the access_control_allow_origin of this GetObjectMetadataResponse.
|
274
|
+
|
275
|
+
:param access_control_allow_origin: The access_control_allow_origin of this GetObjectMetadataResponse.
|
276
|
+
:type access_control_allow_origin: str
|
277
|
+
"""
|
278
|
+
self._access_control_allow_origin = access_control_allow_origin
|
279
|
+
|
280
|
+
@property
|
281
|
+
def x_obs_server_side_encryption(self):
|
282
|
+
r"""Gets the x_obs_server_side_encryption of this GetObjectMetadataResponse.
|
283
|
+
|
284
|
+
:return: The x_obs_server_side_encryption of this GetObjectMetadataResponse.
|
285
|
+
:rtype: str
|
286
|
+
"""
|
287
|
+
return self._x_obs_server_side_encryption
|
288
|
+
|
289
|
+
@x_obs_server_side_encryption.setter
|
290
|
+
def x_obs_server_side_encryption(self, x_obs_server_side_encryption):
|
291
|
+
r"""Sets the x_obs_server_side_encryption of this GetObjectMetadataResponse.
|
292
|
+
|
293
|
+
:param x_obs_server_side_encryption: The x_obs_server_side_encryption of this GetObjectMetadataResponse.
|
294
|
+
:type x_obs_server_side_encryption: str
|
295
|
+
"""
|
296
|
+
self._x_obs_server_side_encryption = x_obs_server_side_encryption
|
297
|
+
|
298
|
+
@property
|
299
|
+
def x_obs_restore(self):
|
300
|
+
r"""Gets the x_obs_restore of this GetObjectMetadataResponse.
|
301
|
+
|
302
|
+
:return: The x_obs_restore of this GetObjectMetadataResponse.
|
303
|
+
:rtype: str
|
304
|
+
"""
|
305
|
+
return self._x_obs_restore
|
306
|
+
|
307
|
+
@x_obs_restore.setter
|
308
|
+
def x_obs_restore(self, x_obs_restore):
|
309
|
+
r"""Sets the x_obs_restore of this GetObjectMetadataResponse.
|
310
|
+
|
311
|
+
:param x_obs_restore: The x_obs_restore of this GetObjectMetadataResponse.
|
312
|
+
:type x_obs_restore: str
|
313
|
+
"""
|
314
|
+
self._x_obs_restore = x_obs_restore
|
315
|
+
|
316
|
+
@property
|
317
|
+
def x_obs_object_type(self):
|
318
|
+
r"""Gets the x_obs_object_type of this GetObjectMetadataResponse.
|
319
|
+
|
320
|
+
:return: The x_obs_object_type of this GetObjectMetadataResponse.
|
321
|
+
:rtype: str
|
322
|
+
"""
|
323
|
+
return self._x_obs_object_type
|
324
|
+
|
325
|
+
@x_obs_object_type.setter
|
326
|
+
def x_obs_object_type(self, x_obs_object_type):
|
327
|
+
r"""Sets the x_obs_object_type of this GetObjectMetadataResponse.
|
328
|
+
|
329
|
+
:param x_obs_object_type: The x_obs_object_type of this GetObjectMetadataResponse.
|
330
|
+
:type x_obs_object_type: str
|
331
|
+
"""
|
332
|
+
self._x_obs_object_type = x_obs_object_type
|
333
|
+
|
334
|
+
@property
|
335
|
+
def x_obs_next_append_position(self):
|
336
|
+
r"""Gets the x_obs_next_append_position of this GetObjectMetadataResponse.
|
337
|
+
|
338
|
+
:return: The x_obs_next_append_position of this GetObjectMetadataResponse.
|
339
|
+
:rtype: int
|
340
|
+
"""
|
341
|
+
return self._x_obs_next_append_position
|
342
|
+
|
343
|
+
@x_obs_next_append_position.setter
|
344
|
+
def x_obs_next_append_position(self, x_obs_next_append_position):
|
345
|
+
r"""Sets the x_obs_next_append_position of this GetObjectMetadataResponse.
|
346
|
+
|
347
|
+
:param x_obs_next_append_position: The x_obs_next_append_position of this GetObjectMetadataResponse.
|
348
|
+
:type x_obs_next_append_position: int
|
349
|
+
"""
|
350
|
+
self._x_obs_next_append_position = x_obs_next_append_position
|
351
|
+
|
352
|
+
@property
|
353
|
+
def access_control_allow_methods(self):
|
354
|
+
r"""Gets the access_control_allow_methods of this GetObjectMetadataResponse.
|
355
|
+
|
356
|
+
:return: The access_control_allow_methods of this GetObjectMetadataResponse.
|
357
|
+
:rtype: str
|
358
|
+
"""
|
359
|
+
return self._access_control_allow_methods
|
360
|
+
|
361
|
+
@access_control_allow_methods.setter
|
362
|
+
def access_control_allow_methods(self, access_control_allow_methods):
|
363
|
+
r"""Sets the access_control_allow_methods of this GetObjectMetadataResponse.
|
364
|
+
|
365
|
+
:param access_control_allow_methods: The access_control_allow_methods of this GetObjectMetadataResponse.
|
366
|
+
:type access_control_allow_methods: str
|
367
|
+
"""
|
368
|
+
self._access_control_allow_methods = access_control_allow_methods
|
369
|
+
|
370
|
+
@property
|
371
|
+
def connection(self):
|
372
|
+
r"""Gets the connection of this GetObjectMetadataResponse.
|
373
|
+
|
374
|
+
:return: The connection of this GetObjectMetadataResponse.
|
375
|
+
:rtype: str
|
376
|
+
"""
|
377
|
+
return self._connection
|
378
|
+
|
379
|
+
@connection.setter
|
380
|
+
def connection(self, connection):
|
381
|
+
r"""Sets the connection of this GetObjectMetadataResponse.
|
382
|
+
|
383
|
+
:param connection: The connection of this GetObjectMetadataResponse.
|
384
|
+
:type connection: str
|
385
|
+
"""
|
386
|
+
self._connection = connection
|
387
|
+
|
388
|
+
@property
|
389
|
+
def x_obs_server_side_encryption_customer_key_md5(self):
|
390
|
+
r"""Gets the x_obs_server_side_encryption_customer_key_md5 of this GetObjectMetadataResponse.
|
391
|
+
|
392
|
+
:return: The x_obs_server_side_encryption_customer_key_md5 of this GetObjectMetadataResponse.
|
393
|
+
:rtype: str
|
394
|
+
"""
|
395
|
+
return self._x_obs_server_side_encryption_customer_key_md5
|
396
|
+
|
397
|
+
@x_obs_server_side_encryption_customer_key_md5.setter
|
398
|
+
def x_obs_server_side_encryption_customer_key_md5(self, x_obs_server_side_encryption_customer_key_md5):
|
399
|
+
r"""Sets the x_obs_server_side_encryption_customer_key_md5 of this GetObjectMetadataResponse.
|
400
|
+
|
401
|
+
:param x_obs_server_side_encryption_customer_key_md5: The x_obs_server_side_encryption_customer_key_md5 of this GetObjectMetadataResponse.
|
402
|
+
:type x_obs_server_side_encryption_customer_key_md5: str
|
403
|
+
"""
|
404
|
+
self._x_obs_server_side_encryption_customer_key_md5 = x_obs_server_side_encryption_customer_key_md5
|
405
|
+
|
406
|
+
@property
|
407
|
+
def x_obs_expiration(self):
|
408
|
+
r"""Gets the x_obs_expiration of this GetObjectMetadataResponse.
|
409
|
+
|
410
|
+
:return: The x_obs_expiration of this GetObjectMetadataResponse.
|
411
|
+
:rtype: str
|
412
|
+
"""
|
413
|
+
return self._x_obs_expiration
|
414
|
+
|
415
|
+
@x_obs_expiration.setter
|
416
|
+
def x_obs_expiration(self, x_obs_expiration):
|
417
|
+
r"""Sets the x_obs_expiration of this GetObjectMetadataResponse.
|
418
|
+
|
419
|
+
:param x_obs_expiration: The x_obs_expiration of this GetObjectMetadataResponse.
|
420
|
+
:type x_obs_expiration: str
|
421
|
+
"""
|
422
|
+
self._x_obs_expiration = x_obs_expiration
|
423
|
+
|
424
|
+
@property
|
425
|
+
def date(self):
|
426
|
+
r"""Gets the date of this GetObjectMetadataResponse.
|
427
|
+
|
428
|
+
:return: The date of this GetObjectMetadataResponse.
|
429
|
+
:rtype: str
|
430
|
+
"""
|
431
|
+
return self._date
|
432
|
+
|
433
|
+
@date.setter
|
434
|
+
def date(self, date):
|
435
|
+
r"""Sets the date of this GetObjectMetadataResponse.
|
436
|
+
|
437
|
+
:param date: The date of this GetObjectMetadataResponse.
|
438
|
+
:type date: str
|
439
|
+
"""
|
440
|
+
self._date = date
|
441
|
+
|
442
|
+
@property
|
443
|
+
def access_control_allow_headers(self):
|
444
|
+
r"""Gets the access_control_allow_headers of this GetObjectMetadataResponse.
|
445
|
+
|
446
|
+
:return: The access_control_allow_headers of this GetObjectMetadataResponse.
|
447
|
+
:rtype: str
|
448
|
+
"""
|
449
|
+
return self._access_control_allow_headers
|
450
|
+
|
451
|
+
@access_control_allow_headers.setter
|
452
|
+
def access_control_allow_headers(self, access_control_allow_headers):
|
453
|
+
r"""Sets the access_control_allow_headers of this GetObjectMetadataResponse.
|
454
|
+
|
455
|
+
:param access_control_allow_headers: The access_control_allow_headers of this GetObjectMetadataResponse.
|
456
|
+
:type access_control_allow_headers: str
|
457
|
+
"""
|
458
|
+
self._access_control_allow_headers = access_control_allow_headers
|
459
|
+
|
460
|
+
@property
|
461
|
+
def x_obs_upload_id(self):
|
462
|
+
r"""Gets the x_obs_upload_id of this GetObjectMetadataResponse.
|
463
|
+
|
464
|
+
:return: The x_obs_upload_id of this GetObjectMetadataResponse.
|
465
|
+
:rtype: str
|
466
|
+
"""
|
467
|
+
return self._x_obs_upload_id
|
468
|
+
|
469
|
+
@x_obs_upload_id.setter
|
470
|
+
def x_obs_upload_id(self, x_obs_upload_id):
|
471
|
+
r"""Sets the x_obs_upload_id of this GetObjectMetadataResponse.
|
472
|
+
|
473
|
+
:param x_obs_upload_id: The x_obs_upload_id of this GetObjectMetadataResponse.
|
474
|
+
:type x_obs_upload_id: str
|
475
|
+
"""
|
476
|
+
self._x_obs_upload_id = x_obs_upload_id
|
477
|
+
|
478
|
+
@property
|
479
|
+
def access_control_expose_headers(self):
|
480
|
+
r"""Gets the access_control_expose_headers of this GetObjectMetadataResponse.
|
481
|
+
|
482
|
+
:return: The access_control_expose_headers of this GetObjectMetadataResponse.
|
483
|
+
:rtype: str
|
484
|
+
"""
|
485
|
+
return self._access_control_expose_headers
|
486
|
+
|
487
|
+
@access_control_expose_headers.setter
|
488
|
+
def access_control_expose_headers(self, access_control_expose_headers):
|
489
|
+
r"""Sets the access_control_expose_headers of this GetObjectMetadataResponse.
|
490
|
+
|
491
|
+
:param access_control_expose_headers: The access_control_expose_headers of this GetObjectMetadataResponse.
|
492
|
+
:type access_control_expose_headers: str
|
493
|
+
"""
|
494
|
+
self._access_control_expose_headers = access_control_expose_headers
|
495
|
+
|
496
|
+
@property
|
497
|
+
def e_tag(self):
|
498
|
+
r"""Gets the e_tag of this GetObjectMetadataResponse.
|
499
|
+
|
500
|
+
:return: The e_tag of this GetObjectMetadataResponse.
|
501
|
+
:rtype: str
|
502
|
+
"""
|
503
|
+
return self._e_tag
|
504
|
+
|
505
|
+
@e_tag.setter
|
506
|
+
def e_tag(self, e_tag):
|
507
|
+
r"""Sets the e_tag of this GetObjectMetadataResponse.
|
508
|
+
|
509
|
+
:param e_tag: The e_tag of this GetObjectMetadataResponse.
|
510
|
+
:type e_tag: str
|
511
|
+
"""
|
512
|
+
self._e_tag = e_tag
|
513
|
+
|
514
|
+
@property
|
515
|
+
def x_obs_server_side_encryption_customer_algorithm(self):
|
516
|
+
r"""Gets the x_obs_server_side_encryption_customer_algorithm of this GetObjectMetadataResponse.
|
517
|
+
|
518
|
+
:return: The x_obs_server_side_encryption_customer_algorithm of this GetObjectMetadataResponse.
|
519
|
+
:rtype: str
|
520
|
+
"""
|
521
|
+
return self._x_obs_server_side_encryption_customer_algorithm
|
522
|
+
|
523
|
+
@x_obs_server_side_encryption_customer_algorithm.setter
|
524
|
+
def x_obs_server_side_encryption_customer_algorithm(self, x_obs_server_side_encryption_customer_algorithm):
|
525
|
+
r"""Sets the x_obs_server_side_encryption_customer_algorithm of this GetObjectMetadataResponse.
|
526
|
+
|
527
|
+
:param x_obs_server_side_encryption_customer_algorithm: The x_obs_server_side_encryption_customer_algorithm of this GetObjectMetadataResponse.
|
528
|
+
:type x_obs_server_side_encryption_customer_algorithm: str
|
529
|
+
"""
|
530
|
+
self._x_obs_server_side_encryption_customer_algorithm = x_obs_server_side_encryption_customer_algorithm
|
531
|
+
|
532
|
+
@property
|
533
|
+
def x_obs_storage_class(self):
|
534
|
+
r"""Gets the x_obs_storage_class of this GetObjectMetadataResponse.
|
535
|
+
|
536
|
+
:return: The x_obs_storage_class of this GetObjectMetadataResponse.
|
537
|
+
:rtype: str
|
538
|
+
"""
|
539
|
+
return self._x_obs_storage_class
|
540
|
+
|
541
|
+
@x_obs_storage_class.setter
|
542
|
+
def x_obs_storage_class(self, x_obs_storage_class):
|
543
|
+
r"""Sets the x_obs_storage_class of this GetObjectMetadataResponse.
|
544
|
+
|
545
|
+
:param x_obs_storage_class: The x_obs_storage_class of this GetObjectMetadataResponse.
|
546
|
+
:type x_obs_storage_class: str
|
547
|
+
"""
|
548
|
+
self._x_obs_storage_class = x_obs_storage_class
|
549
|
+
|
550
|
+
@property
|
551
|
+
def x_obs_server_side_encryption_kms_key_id(self):
|
552
|
+
r"""Gets the x_obs_server_side_encryption_kms_key_id of this GetObjectMetadataResponse.
|
553
|
+
|
554
|
+
:return: The x_obs_server_side_encryption_kms_key_id of this GetObjectMetadataResponse.
|
555
|
+
:rtype: str
|
556
|
+
"""
|
557
|
+
return self._x_obs_server_side_encryption_kms_key_id
|
558
|
+
|
559
|
+
@x_obs_server_side_encryption_kms_key_id.setter
|
560
|
+
def x_obs_server_side_encryption_kms_key_id(self, x_obs_server_side_encryption_kms_key_id):
|
561
|
+
r"""Sets the x_obs_server_side_encryption_kms_key_id of this GetObjectMetadataResponse.
|
562
|
+
|
563
|
+
:param x_obs_server_side_encryption_kms_key_id: The x_obs_server_side_encryption_kms_key_id of this GetObjectMetadataResponse.
|
564
|
+
:type x_obs_server_side_encryption_kms_key_id: str
|
565
|
+
"""
|
566
|
+
self._x_obs_server_side_encryption_kms_key_id = x_obs_server_side_encryption_kms_key_id
|
567
|
+
|
568
|
+
@property
|
569
|
+
def content_length(self):
|
570
|
+
r"""Gets the content_length of this GetObjectMetadataResponse.
|
571
|
+
|
572
|
+
:return: The content_length of this GetObjectMetadataResponse.
|
573
|
+
:rtype: str
|
574
|
+
"""
|
575
|
+
return self._content_length
|
576
|
+
|
577
|
+
@content_length.setter
|
578
|
+
def content_length(self, content_length):
|
579
|
+
r"""Sets the content_length of this GetObjectMetadataResponse.
|
580
|
+
|
581
|
+
:param content_length: The content_length of this GetObjectMetadataResponse.
|
582
|
+
:type content_length: str
|
583
|
+
"""
|
584
|
+
self._content_length = content_length
|
585
|
+
|
586
|
+
@property
|
587
|
+
def access_control_max_age(self):
|
588
|
+
r"""Gets the access_control_max_age of this GetObjectMetadataResponse.
|
589
|
+
|
590
|
+
:return: The access_control_max_age of this GetObjectMetadataResponse.
|
591
|
+
:rtype: int
|
592
|
+
"""
|
593
|
+
return self._access_control_max_age
|
594
|
+
|
595
|
+
@access_control_max_age.setter
|
596
|
+
def access_control_max_age(self, access_control_max_age):
|
597
|
+
r"""Sets the access_control_max_age of this GetObjectMetadataResponse.
|
598
|
+
|
599
|
+
:param access_control_max_age: The access_control_max_age of this GetObjectMetadataResponse.
|
600
|
+
:type access_control_max_age: int
|
601
|
+
"""
|
602
|
+
self._access_control_max_age = access_control_max_age
|
603
|
+
|
604
|
+
@property
|
605
|
+
def x_obs_website_redirect_location(self):
|
606
|
+
r"""Gets the x_obs_website_redirect_location of this GetObjectMetadataResponse.
|
607
|
+
|
608
|
+
:return: The x_obs_website_redirect_location of this GetObjectMetadataResponse.
|
609
|
+
:rtype: str
|
610
|
+
"""
|
611
|
+
return self._x_obs_website_redirect_location
|
612
|
+
|
613
|
+
@x_obs_website_redirect_location.setter
|
614
|
+
def x_obs_website_redirect_location(self, x_obs_website_redirect_location):
|
615
|
+
r"""Sets the x_obs_website_redirect_location of this GetObjectMetadataResponse.
|
616
|
+
|
617
|
+
:param x_obs_website_redirect_location: The x_obs_website_redirect_location of this GetObjectMetadataResponse.
|
618
|
+
:type x_obs_website_redirect_location: str
|
619
|
+
"""
|
620
|
+
self._x_obs_website_redirect_location = x_obs_website_redirect_location
|
621
|
+
|
622
|
+
@property
|
623
|
+
def x_obs_version_id(self):
|
624
|
+
r"""Gets the x_obs_version_id of this GetObjectMetadataResponse.
|
625
|
+
|
626
|
+
:return: The x_obs_version_id of this GetObjectMetadataResponse.
|
627
|
+
:rtype: str
|
628
|
+
"""
|
629
|
+
return self._x_obs_version_id
|
630
|
+
|
631
|
+
@x_obs_version_id.setter
|
632
|
+
def x_obs_version_id(self, x_obs_version_id):
|
633
|
+
r"""Sets the x_obs_version_id of this GetObjectMetadataResponse.
|
634
|
+
|
635
|
+
:param x_obs_version_id: The x_obs_version_id of this GetObjectMetadataResponse.
|
636
|
+
:type x_obs_version_id: str
|
637
|
+
"""
|
638
|
+
self._x_obs_version_id = x_obs_version_id
|
639
|
+
|
640
|
+
def to_dict(self):
|
641
|
+
"""Returns the model properties as a dict"""
|
642
|
+
result = {}
|
643
|
+
|
644
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
645
|
+
value = getattr(self, attr)
|
646
|
+
if isinstance(value, list):
|
647
|
+
result[attr] = list(map(
|
648
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
649
|
+
value
|
650
|
+
))
|
651
|
+
elif hasattr(value, "to_dict"):
|
652
|
+
result[attr] = value.to_dict()
|
653
|
+
elif isinstance(value, dict):
|
654
|
+
result[attr] = dict(map(
|
655
|
+
lambda item: (item[0], item[1].to_dict())
|
656
|
+
if hasattr(item[1], "to_dict") else item,
|
657
|
+
value.items()
|
658
|
+
))
|
659
|
+
else:
|
660
|
+
if attr in self.sensitive_list:
|
661
|
+
result[attr] = "****"
|
662
|
+
else:
|
663
|
+
result[attr] = value
|
664
|
+
|
665
|
+
return result
|
666
|
+
|
667
|
+
def to_str(self):
|
668
|
+
"""Returns the string representation of the model"""
|
669
|
+
import simplejson as json
|
670
|
+
if six.PY2:
|
671
|
+
import sys
|
672
|
+
reload(sys)
|
673
|
+
sys.setdefaultencoding("utf-8")
|
674
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
675
|
+
|
676
|
+
def __repr__(self):
|
677
|
+
"""For `print`"""
|
678
|
+
return self.to_str()
|
679
|
+
|
680
|
+
def __eq__(self, other):
|
681
|
+
"""Returns true if both objects are equal"""
|
682
|
+
if not isinstance(other, GetObjectMetadataResponse):
|
683
|
+
return False
|
684
|
+
|
685
|
+
return self.__dict__ == other.__dict__
|
686
|
+
|
687
|
+
def __ne__(self, other):
|
688
|
+
"""Returns true if both objects are not equal"""
|
689
|
+
return not self == other
|