Skip to content

Commit 385d55a

Browse files
author
Flexify
committed
v2.12.19-SNAPSHOT build 1326
1 parent 4cc0c43 commit 385d55a

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

docs/StorageProvider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**allow_overwrite_endpoint** | **bool** | If customEndpoint can be used to overwrite the default endpoint | [optional]
67
**bucket_dot_encode** | **bool** | Indicates that the provider does not support dots in bucket names and how dots should be encoded | [optional]
78
**can_create_buckets_with_uppercase** | **bool** | Indicates that this provider allow creating bucket with uppercase in names | [optional]
89
**code** | **str** | Code of this cloud provider | [optional]

flexify_api/models/storage_provider.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class StorageProvider(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'allow_overwrite_endpoint': 'bool',
3637
'bucket_dot_encode': 'bool',
3738
'can_create_buckets_with_uppercase': 'bool',
3839
'code': 'str',
@@ -59,6 +60,7 @@ class StorageProvider(object):
5960
}
6061

6162
attribute_map = {
63+
'allow_overwrite_endpoint': 'allowOverwriteEndpoint',
6264
'bucket_dot_encode': 'bucketDotEncode',
6365
'can_create_buckets_with_uppercase': 'canCreateBucketsWithUppercase',
6466
'code': 'code',
@@ -84,12 +86,13 @@ class StorageProvider(object):
8486
'supports_o_auth_name': 'supportsOAuthName'
8587
}
8688

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
8890
"""StorageProvider - a model defined in Swagger""" # noqa: E501
8991
if _configuration is None:
9092
_configuration = Configuration()
9193
self._configuration = _configuration
9294

95+
self._allow_overwrite_endpoint = None
9396
self._bucket_dot_encode = None
9497
self._can_create_buckets_with_uppercase = None
9598
self._code = None
@@ -115,6 +118,8 @@ def __init__(self, bucket_dot_encode=None, can_create_buckets_with_uppercase=Non
115118
self._supports_o_auth_name = None
116119
self.discriminator = None
117120

121+
if allow_overwrite_endpoint is not None:
122+
self.allow_overwrite_endpoint = allow_overwrite_endpoint
118123
if bucket_dot_encode is not None:
119124
self.bucket_dot_encode = bucket_dot_encode
120125
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
162167
if supports_o_auth_name is not None:
163168
self.supports_o_auth_name = supports_o_auth_name
164169

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+
165193
@property
166194
def bucket_dot_encode(self):
167195
"""Gets the bucket_dot_encode of this StorageProvider. # noqa: E501

0 commit comments

Comments
 (0)