Skip to content

Commit 347c3e1

Browse files
author
Flexify
committed
v2.15.0-SNAPSHOT build 1417
1 parent ab1d58a commit 347c3e1

File tree

4 files changed

+60
-2
lines changed

4 files changed

+60
-2
lines changed

docs/AddMigrationRequestMapping.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+
**cdn_url** | **str** | CDN base URL for GET operations during migration | [optional]
67
**dest_bucket_name** | **str** | Name of source destination or container |
78
**dest_bucket_new_region** | **str** | Region where the destination bucket will be created if it does not exist. null to use cloud's default region | [optional]
89
**dest_storage_account_id** | **int** | ID of source destination account |

docs/Mapping.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+
**cdn_url** | **str** | CDN base URL for GET operations during migration | [optional]
67
**dest_bucket** | [**Bucket**](Bucket.md) | Destination bucket/container |
78
**dest_bucket_new_region** | **str** | Region where bucket should be created if missing | [optional]
89
**dest_storage_account** | [**StorageAccount**](StorageAccount.md) | Destination storage account |

flexify_api/models/add_migration_request_mapping.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class AddMigrationRequestMapping(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'cdn_url': 'str',
3637
'dest_bucket_name': 'str',
3738
'dest_bucket_new_region': 'str',
3839
'dest_storage_account_id': 'int',
@@ -44,6 +45,7 @@ class AddMigrationRequestMapping(object):
4445
}
4546

4647
attribute_map = {
48+
'cdn_url': 'cdnUrl',
4749
'dest_bucket_name': 'destBucketName',
4850
'dest_bucket_new_region': 'destBucketNewRegion',
4951
'dest_storage_account_id': 'destStorageAccountId',
@@ -54,12 +56,13 @@ class AddMigrationRequestMapping(object):
5456
'source_storage_account_id': 'sourceStorageAccountId'
5557
}
5658

57-
def __init__(self, dest_bucket_name=None, dest_bucket_new_region=None, dest_storage_account_id=None, key_add_prefix=None, key_remove_prefix=None, objects_list_uri=None, source_bucket_name=None, source_storage_account_id=None, _configuration=None): # noqa: E501
59+
def __init__(self, cdn_url=None, dest_bucket_name=None, dest_bucket_new_region=None, dest_storage_account_id=None, key_add_prefix=None, key_remove_prefix=None, objects_list_uri=None, source_bucket_name=None, source_storage_account_id=None, _configuration=None): # noqa: E501
5860
"""AddMigrationRequestMapping - a model defined in Swagger""" # noqa: E501
5961
if _configuration is None:
6062
_configuration = Configuration()
6163
self._configuration = _configuration
6264

65+
self._cdn_url = None
6366
self._dest_bucket_name = None
6467
self._dest_bucket_new_region = None
6568
self._dest_storage_account_id = None
@@ -70,6 +73,8 @@ def __init__(self, dest_bucket_name=None, dest_bucket_new_region=None, dest_stor
7073
self._source_storage_account_id = None
7174
self.discriminator = None
7275

76+
if cdn_url is not None:
77+
self.cdn_url = cdn_url
7378
self.dest_bucket_name = dest_bucket_name
7479
if dest_bucket_new_region is not None:
7580
self.dest_bucket_new_region = dest_bucket_new_region
@@ -83,6 +88,29 @@ def __init__(self, dest_bucket_name=None, dest_bucket_new_region=None, dest_stor
8388
self.source_bucket_name = source_bucket_name
8489
self.source_storage_account_id = source_storage_account_id
8590

91+
@property
92+
def cdn_url(self):
93+
"""Gets the cdn_url of this AddMigrationRequestMapping. # noqa: E501
94+
95+
CDN base URL for GET operations during migration # noqa: E501
96+
97+
:return: The cdn_url of this AddMigrationRequestMapping. # noqa: E501
98+
:rtype: str
99+
"""
100+
return self._cdn_url
101+
102+
@cdn_url.setter
103+
def cdn_url(self, cdn_url):
104+
"""Sets the cdn_url of this AddMigrationRequestMapping.
105+
106+
CDN base URL for GET operations during migration # noqa: E501
107+
108+
:param cdn_url: The cdn_url of this AddMigrationRequestMapping. # noqa: E501
109+
:type: str
110+
"""
111+
112+
self._cdn_url = cdn_url
113+
86114
@property
87115
def dest_bucket_name(self):
88116
"""Gets the dest_bucket_name of this AddMigrationRequestMapping. # noqa: E501

flexify_api/models/mapping.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class Mapping(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'cdn_url': 'str',
3637
'dest_bucket': 'Bucket',
3738
'dest_bucket_new_region': 'str',
3839
'dest_storage_account': 'StorageAccount',
@@ -48,6 +49,7 @@ class Mapping(object):
4849
}
4950

5051
attribute_map = {
52+
'cdn_url': 'cdnUrl',
5153
'dest_bucket': 'destBucket',
5254
'dest_bucket_new_region': 'destBucketNewRegion',
5355
'dest_storage_account': 'destStorageAccount',
@@ -62,12 +64,13 @@ class Mapping(object):
6264
'stat': 'stat'
6365
}
6466

65-
def __init__(self, dest_bucket=None, dest_bucket_new_region=None, dest_storage_account=None, id=None, key_add_prefix=None, key_remove_prefix=None, objects_list_uri=None, selected_comparison_method=None, slots=None, source_bucket=None, source_storage_account=None, stat=None, _configuration=None): # noqa: E501
67+
def __init__(self, cdn_url=None, dest_bucket=None, dest_bucket_new_region=None, dest_storage_account=None, id=None, key_add_prefix=None, key_remove_prefix=None, objects_list_uri=None, selected_comparison_method=None, slots=None, source_bucket=None, source_storage_account=None, stat=None, _configuration=None): # noqa: E501
6668
"""Mapping - a model defined in Swagger""" # noqa: E501
6769
if _configuration is None:
6870
_configuration = Configuration()
6971
self._configuration = _configuration
7072

73+
self._cdn_url = None
7174
self._dest_bucket = None
7275
self._dest_bucket_new_region = None
7376
self._dest_storage_account = None
@@ -82,6 +85,8 @@ def __init__(self, dest_bucket=None, dest_bucket_new_region=None, dest_storage_a
8285
self._stat = None
8386
self.discriminator = None
8487

88+
if cdn_url is not None:
89+
self.cdn_url = cdn_url
8590
self.dest_bucket = dest_bucket
8691
if dest_bucket_new_region is not None:
8792
self.dest_bucket_new_region = dest_bucket_new_region
@@ -100,6 +105,29 @@ def __init__(self, dest_bucket=None, dest_bucket_new_region=None, dest_storage_a
100105
self.source_storage_account = source_storage_account
101106
self.stat = stat
102107

108+
@property
109+
def cdn_url(self):
110+
"""Gets the cdn_url of this Mapping. # noqa: E501
111+
112+
CDN base URL for GET operations during migration # noqa: E501
113+
114+
:return: The cdn_url of this Mapping. # noqa: E501
115+
:rtype: str
116+
"""
117+
return self._cdn_url
118+
119+
@cdn_url.setter
120+
def cdn_url(self, cdn_url):
121+
"""Sets the cdn_url of this Mapping.
122+
123+
CDN base URL for GET operations during migration # noqa: E501
124+
125+
:param cdn_url: The cdn_url of this Mapping. # noqa: E501
126+
:type: str
127+
"""
128+
129+
self._cdn_url = cdn_url
130+
103131
@property
104132
def dest_bucket(self):
105133
"""Gets the dest_bucket of this Mapping. # noqa: E501

0 commit comments

Comments
 (0)