@@ -33,6 +33,7 @@ class StorageProvider(object):
33
33
and the value is json key in definition.
34
34
"""
35
35
swagger_types = {
36
+ 'allow_overwrite_endpoint' : 'bool' ,
36
37
'bucket_dot_encode' : 'bool' ,
37
38
'can_create_buckets_with_uppercase' : 'bool' ,
38
39
'code' : 'str' ,
@@ -59,6 +60,7 @@ class StorageProvider(object):
59
60
}
60
61
61
62
attribute_map = {
63
+ 'allow_overwrite_endpoint' : 'allowOverwriteEndpoint' ,
62
64
'bucket_dot_encode' : 'bucketDotEncode' ,
63
65
'can_create_buckets_with_uppercase' : 'canCreateBucketsWithUppercase' ,
64
66
'code' : 'code' ,
@@ -84,12 +86,13 @@ class StorageProvider(object):
84
86
'supports_o_auth_name' : 'supportsOAuthName'
85
87
}
86
88
87
- def __init__ (self , bucket_dot_encode = None , can_create_buckets_with_uppercase = None , code = None , default_region = None , disabled_as_destination = None , endpoint = None , endpoint_pattern = None , id = None , max_upload_size = None , multi_regional = None , name = None , port_http = None , port_https = None , private_endpoint = None , private_endpoint_pattern = None , product_name = None , protocol = None , supports_credential = None , supports_http = None , supports_https = None , supports_multipart_upload = None , supports_o_auth = None , supports_o_auth_name = None , _configuration = None ): # noqa: E501
89
+ def __init__ (self , allow_overwrite_endpoint = None , bucket_dot_encode = None , can_create_buckets_with_uppercase = None , code = None , default_region = None , disabled_as_destination = None , endpoint = None , endpoint_pattern = None , id = None , max_upload_size = None , multi_regional = None , name = None , port_http = None , port_https = None , private_endpoint = None , private_endpoint_pattern = None , product_name = None , protocol = None , supports_credential = None , supports_http = None , supports_https = None , supports_multipart_upload = None , supports_o_auth = None , supports_o_auth_name = None , _configuration = None ): # noqa: E501
88
90
"""StorageProvider - a model defined in Swagger""" # noqa: E501
89
91
if _configuration is None :
90
92
_configuration = Configuration ()
91
93
self ._configuration = _configuration
92
94
95
+ self ._allow_overwrite_endpoint = None
93
96
self ._bucket_dot_encode = None
94
97
self ._can_create_buckets_with_uppercase = None
95
98
self ._code = None
@@ -115,6 +118,8 @@ def __init__(self, bucket_dot_encode=None, can_create_buckets_with_uppercase=Non
115
118
self ._supports_o_auth_name = None
116
119
self .discriminator = None
117
120
121
+ if allow_overwrite_endpoint is not None :
122
+ self .allow_overwrite_endpoint = allow_overwrite_endpoint
118
123
if bucket_dot_encode is not None :
119
124
self .bucket_dot_encode = bucket_dot_encode
120
125
if can_create_buckets_with_uppercase is not None :
@@ -162,6 +167,29 @@ def __init__(self, bucket_dot_encode=None, can_create_buckets_with_uppercase=Non
162
167
if supports_o_auth_name is not None :
163
168
self .supports_o_auth_name = supports_o_auth_name
164
169
170
+ @property
171
+ def allow_overwrite_endpoint (self ):
172
+ """Gets the allow_overwrite_endpoint of this StorageProvider. # noqa: E501
173
+
174
+ If customEndpoint can be used to overwrite the default endpoint # noqa: E501
175
+
176
+ :return: The allow_overwrite_endpoint of this StorageProvider. # noqa: E501
177
+ :rtype: bool
178
+ """
179
+ return self ._allow_overwrite_endpoint
180
+
181
+ @allow_overwrite_endpoint .setter
182
+ def allow_overwrite_endpoint (self , allow_overwrite_endpoint ):
183
+ """Sets the allow_overwrite_endpoint of this StorageProvider.
184
+
185
+ If customEndpoint can be used to overwrite the default endpoint # noqa: E501
186
+
187
+ :param allow_overwrite_endpoint: The allow_overwrite_endpoint of this StorageProvider. # noqa: E501
188
+ :type: bool
189
+ """
190
+
191
+ self ._allow_overwrite_endpoint = allow_overwrite_endpoint
192
+
165
193
@property
166
194
def bucket_dot_encode (self ):
167
195
"""Gets the bucket_dot_encode of this StorageProvider. # noqa: E501
0 commit comments