Skip to content

Commit d441aa1

Browse files
authored
Merge pull request #3 from flexifyio/release/2.8.5
Version 2.8.5
2 parents 29fc775 + a13837d commit d441aa1

File tree

176 files changed

+1936
-357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+1936
-357
lines changed

.swagger-codegen/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.1
1+
2.4.7

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ And we took care about data migration too!
1111

1212
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
1313

14-
- API version: 2.7.0
14+
- API version: 2.8.5
1515
- Package version: 1.0.0
1616
- Build package: io.swagger.codegen.languages.PythonClientCodegen
1717
For more information, please visit [https://flexify.io/](https://flexify.io/)
@@ -131,6 +131,7 @@ Class | Method | HTTP request | Description
131131
*StoragesControllerApi* | [**refresh_bucket**](docs/StoragesControllerApi.md#refresh_bucket) | **POST** /rest/storage-accounts/{storage-account-id}/buckets/{bucket-id}/actions/refresh | Refresh statistics of a single bucket
132132
*StoragesControllerApi* | [**refresh_buckets**](docs/StoragesControllerApi.md#refresh_buckets) | **POST** /rest/storage-accounts/actions/refresh-buckets | Refresh statistics of multiple buckets
133133
*UsersControllerApi* | [**get_current_user**](docs/UsersControllerApi.md#get_current_user) | **GET** /rest/user/current | Get details of user correponsing to provided auth token
134+
*UsersControllerApi* | [**request_delete**](docs/UsersControllerApi.md#request_delete) | **POST** /rest/user/request-delete | requestDelete
134135
*UsersControllerApi* | [**request_reset_password**](docs/UsersControllerApi.md#request_reset_password) | **POST** /rest/user/request-reset-password | requestResetPassword
135136

136137

@@ -178,9 +179,11 @@ Class | Method | HTTP request | Description
178179
- [Payment](docs/Payment.md)
179180
- [PaymentAddRequest](docs/PaymentAddRequest.md)
180181
- [PaymentOptions](docs/PaymentOptions.md)
181-
- [PriceListEntry](docs/PriceListEntry.md)
182+
- [Price](docs/Price.md)
183+
- [PriceConstraints](docs/PriceConstraints.md)
184+
- [PriceList](docs/PriceList.md)
182185
- [PublicAuthenticationConfiguration](docs/PublicAuthenticationConfiguration.md)
183-
- [RequestResetPasswordReqeust](docs/RequestResetPasswordReqeust.md)
186+
- [RequestResetPasswordRequest](docs/RequestResetPasswordRequest.md)
184187
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
185188
- [SignUpRequest](docs/SignUpRequest.md)
186189
- [SignupResult](docs/SignupResult.md)
@@ -189,6 +192,7 @@ Class | Method | HTTP request | Description
189192
- [Sort](docs/Sort.md)
190193
- [StorageAccount](docs/StorageAccount.md)
191194
- [StorageAccountSettings](docs/StorageAccountSettings.md)
195+
- [StorageAccountStat](docs/StorageAccountStat.md)
192196
- [StorageProvider](docs/StorageProvider.md)
193197
- [User](docs/User.md)
194198
- [UserProfile](docs/UserProfile.md)

docs/BillingAccount.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
99
**created_date** | **datetime** | Created Timestamp | [optional]
1010
**distributor** | [**Distributor**](Distributor.md) | Distributor that manages this account | [optional]
1111
**id** | **int** | Account Id | [optional]
12-
**max_credit** | [**Money**](Money.md) | Account Maximum Credit | [optional]
1312
**name** | **str** | Account Name | [optional]
1413

1514
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/BillingAccountWithMoney.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
1313
**id** | **int** | Account Id | [optional]
1414
**max_credit** | [**Money**](Money.md) | Account Maximum Credit | [optional]
1515
**name** | **str** | Account Name | [optional]
16+
**price_list** | [**PriceList**](PriceList.md) | Price list (without prices) | [optional]
1617
**total_cost** | [**Money**](Money.md) | Account Total Cost | [optional]
1718
**total_paid** | [**Money**](Money.md) | Account Total Paid | [optional]
1819

docs/CostDetails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**cost** | [**Money**](Money.md) | Cost | [optional]
7-
**price_list_entry** | [**PriceListEntry**](PriceListEntry.md) | Price List Entry | [optional]
7+
**price** | [**Price**](Price.md) | Price list entry used to calculate this cost | [optional]
88
**usage** | **int** | Usage in bytes | [optional]
99
**username** | **str** | Username | [optional]
1010

docs/EndpointStorageAccountSettings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**create_new_buckets_in** | **str** | Region where new buckets will be created if not specified in reqeust. Set to null to create new buckets in a default region. | [optional]
6+
**create_new_buckets_in** | **str** | Region where new buckets will be created if not specified in request. Set to null to create new buckets in a default region. | [optional]
77
**put_objects** | **bool** | Save new data to this storage account | [optional]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/MappingStat.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**bytes_skipped** | **int** | | [optional]
1313
**bytes_uploaded** | **int** | | [optional]
1414
**cleanup** | [**CleanupStat**](CleanupStat.md) | Cleanup that may be performed before migration | [optional]
15+
**dst_region** | **str** | | [optional]
1516
**estimated** | **datetime** | Estimated finish time | [optional]
1617
**finished** | **datetime** | Finished time | [optional]
1718
**initial_bytes** | **int** | Initial size of all objects in source storage (if known) | [optional]
@@ -24,9 +25,11 @@ Name | Type | Description | Notes
2425
**processing_objects_per_second** | **float** | Objects/second processed | [optional]
2526
**progress** | **float** | Progress from 0.0 to 1.0 | [optional]
2627
**retried** | **int** | Number of retries | [optional]
28+
**src_region** | **str** | | [optional]
2729
**started** | **datetime** | Started time | [optional]
2830
**state** | **str** | State of migration on its part | [optional]
2931
**step** | **str** | Step that this mapping is currently doing | [optional]
32+
**total_upload** | **int** | | [optional]
3033
**uploading_bytes_per_second** | **float** | | [optional]
3134
**uploading_objects_per_second** | **float** | | [optional]
3235

docs/MarkerPageLogEntry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**content** | [**list[LogEntry]**](LogEntry.md) | Content of the page | [optional]
7-
**next_marker** | **int** | Marker that canbe used to reqeust next page | [optional]
7+
**next_marker** | **int** | Marker that canbe used to request next page | [optional]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

docs/MigrationSettings.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**conflict_resolution** | **str** | Conflict resolution |
6+
**conflict_resolution** | **str** | Conflict resolution | [optional]
77
**engines_location** | [**CloudLocation**](CloudLocation.md) | Location of the engines to migrate | [optional]
88
**existing_data_in_destination** | **str** | Keep or clean data in destination before migration (identical with source objects keep in any cases) | [optional]
9-
**max_active_slots** | **int** | Maximum number of slots that can be migrated simultaneously (experimental) | [optional]
10-
**max_streams_per_slot** | **int** | Maximum Connections per engine | [optional]
11-
**migration_mode** | **str** | Migration mode |
12-
**name** | **str** | Name of the migration |
9+
**max_engines** | **int** | Maximum number of engines this migration uses (experimental) | [optional]
10+
**max_retries** | **int** | Maximum number of retries | [optional]
11+
**max_retries_for_copy** | **int** | Maximum number of retries after copy started | [optional]
12+
**max_retry_timeout** | **int** | Maximum timeout between retries in seconds | [optional]
13+
**max_streams** | **int** | Maximum streams that migration will use across all aengines | [optional]
14+
**migration_mode** | **str** | Migration mode | [optional]
15+
**name** | **str** | Name of the migration | [optional]
1316
**object_key_filter** | **str** | Migrate objects matching pattern | [optional]
17+
**retry_timeout** | **int** | Initial timeout between retries in seconds | [optional]
1418
**skip_if_hash_matches** | **bool** | Skip migration if source and destination object hash match | [optional]
1519
**slots_per_mapping** | **int** | Number of slots of storage mapping (bucket) | [optional]
1620

docs/MigrationStat.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
1313
**bytes_uploaded** | **int** | | [optional]
1414
**cleanup** | [**CleanupStat**](CleanupStat.md) | Cleanup that may be performed before migration | [optional]
1515
**created** | **datetime** | Creation time | [optional]
16+
**dst_region** | **str** | | [optional]
1617
**estimated** | **datetime** | Estimated finish time | [optional]
1718
**finished** | **datetime** | Finished time | [optional]
1819
**initial_bytes** | **int** | Initial size of all objects in source storage (if known) | [optional]
@@ -25,9 +26,11 @@ Name | Type | Description | Notes
2526
**processing_objects_per_second** | **float** | Objects/second processed | [optional]
2627
**progress** | **float** | Progress from 0.0 to 1.0 | [optional]
2728
**retried** | **int** | Number of retries | [optional]
29+
**src_region** | **str** | | [optional]
2830
**started** | **datetime** | Started time | [optional]
2931
**state** | **str** | State of migration on its part | [optional]
3032
**step** | **str** | Step that this mapping is currently doing | [optional]
33+
**total_upload** | **int** | | [optional]
3134
**uploading_bytes_per_second** | **float** | | [optional]
3235
**uploading_objects_per_second** | **float** | | [optional]
3336

docs/PriceListEntry.md renamed to docs/Price.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
# PriceListEntry
1+
# Price
22

33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**constraints** | [**PriceConstraints**](PriceConstraints.md) | Constraints that this price works for | [optional]
67
**counter** | **str** | Billable counter (such as traffic or storage volume) | [optional]
8+
**id** | **int** | Unique ID of this price | [optional]
79
**price** | [**Money**](Money.md) | Price of one unit | [optional]
810
**service** | **str** | Service | [optional]
911
**unit_name** | **str** | Name of billable unit | [optional]

docs/PriceConstraints.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# PriceConstraints
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**dest_region** | **str** | Destination region string | [optional]
7+
**dest_storage_provider_id** | **int** | Destination storage provider | [optional]
8+
**engine_cloud_name** | **str** | Cloud where engines run | [optional]
9+
**engine_cloud_region** | **str** | Regions where engines run | [optional]
10+
**source_region** | **str** | Source region string | [optional]
11+
**source_storage_provider_id** | **int** | Source storage provider | [optional]
12+
**valid_from** | **datetime** | Price valid from date | [optional]
13+
**valid_to** | **datetime** | Price valid to date | [optional]
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16+
17+

docs/PriceList.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# PriceList
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**id** | **int** | Id of the priece list | [optional]
7+
**name** | **str** | Name of the price list | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

docs/RequestResetPasswordReqeust.md renamed to docs/RequestResetPasswordRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RequestResetPasswordReqeust
1+
# RequestResetPasswordRequest
22

33
## Properties
44
Name | Type | Description | Notes

docs/SlotStat.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**bytes_processed** | **int** | | [optional]
1111
**bytes_skipped** | **int** | | [optional]
1212
**bytes_uploaded** | **int** | | [optional]
13+
**dst_region** | **str** | | [optional]
1314
**finished** | **datetime** | Finished time | [optional]
1415
**objects_failed** | **int** | | [optional]
1516
**objects_not_matching_pattern** | **int** | | [optional]
@@ -18,8 +19,10 @@ Name | Type | Description | Notes
1819
**objects_uploaded** | **int** | | [optional]
1920
**processing_objects_per_second** | **float** | Objects/second processed | [optional]
2021
**retried** | **int** | Number of retries | [optional]
22+
**src_region** | **str** | | [optional]
2123
**started** | **datetime** | Started time | [optional]
2224
**state** | **str** | State of migration on its part | [optional]
25+
**total_upload** | **int** | | [optional]
2326
**uploading_bytes_per_second** | **float** | | [optional]
2427
**uploading_objects_per_second** | **float** | | [optional]
2528

docs/StorageAccount.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
**id** | **int** | Id of the storage account | [optional]
77
**provider** | [**StorageProvider**](StorageProvider.md) | Link to the storage provider (Amazon, Azure, etc) | [optional]
88
**settings** | [**StorageAccountSettings**](StorageAccountSettings.md) | Configuration of this storage account | [optional]
9+
**stat** | [**StorageAccountStat**](StorageAccountStat.md) | Storage account state and statistics | [optional]
910
**url** | **str** | URL to the cloud | [optional]
1011

1112
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/StorageAccountSettings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**anonymous** | **bool** | True for public account | [optional]
77
**credential** | **str** | Credential (such as Secret Key) of the cloud account | [optional]
8+
**custom_endpoint** | **str** | Custom endpoint to be used for requests | [optional]
89
**identity** | **str** | Identity (such as Key ID) of the cloud account | [optional]
910
**name** | **str** | User-defined storage account name | [optional]
1011
**refresh_interval_sec** | **int** | Automatic refresh interval in seconds or null to disable automatic refresh | [optional]

docs/StorageAccountStat.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# StorageAccountStat
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**azure_env** | **str** | Cloud environment (Gov, Germany, etc.) for Azure storage account | [optional]
7+
**azure_region** | **str** | Region for Azure storage account | [optional]
8+
**last_refreshed** | **datetime** | When buckets/containers were requested last time | [optional]
9+
**state** | **str** | State of this storage account | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/StorageProvider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**dot_encode** | **str** | Indicates that the privder does not support dots in bucket names and how dots should be encoded | [optional]
99
**endpoint** | **str** | Endpoint to access this provider or null for custom providers | [optional]
1010
**id** | **int** | Id of the provider in the system | [optional]
11+
**multi_regional** | **bool** | This cloud provider supports multiple regions | [optional]
1112
**name** | **str** | Name of the provider | [optional]
1213
**port_http** | **int** | Port for HTTP request (null for default 80) | [optional]
1314
**port_https** | **int** | Port for HTTPS request (null for default 443) | [optional]

docs/User.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**account** | [**BillingAccount**](BillingAccount.md) | Billing Account | [optional]
7+
**delete_requested** | **datetime** | Time when user resueted to delete account | [optional]
78
**id** | **int** | User ID in the system | [optional]
89
**org** | [**Organization**](Organization.md) | Owning Organization | [optional]
910
**profile** | [**UserProfile**](UserProfile.md) | User Profile | [optional]

docs/UserProfile.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
99
**display_name** | **str** | Display Name | [optional]
1010
**email** | **str** | Email | [optional]
1111
**phone** | **str** | Phone | [optional]
12+
**send_news** | **bool** | Agreed to receive news and updates | [optional]
13+
**send_notifications** | **bool** | If we should send system notifications | [optional]
1214
**street_first_line** | **str** | Street First Line | [optional]
1315
**street_second_line** | **str** | Street Second Line | [optional]
1416
**zip** | **str** | Zip Code | [optional]

docs/UsersControllerApi.md

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All URIs are relative to *https://localhost*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**get_current_user**](UsersControllerApi.md#get_current_user) | **GET** /rest/user/current | Get details of user correponsing to provided auth token
8+
[**request_delete**](UsersControllerApi.md#request_delete) | **POST** /rest/user/request-delete | requestDelete
89
[**request_reset_password**](UsersControllerApi.md#request_reset_password) | **POST** /rest/user/request-reset-password | requestResetPassword
910

1011

@@ -92,8 +93,55 @@ Name | Type | Description | Notes
9293

9394
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
9495

96+
# **request_delete**
97+
> request_delete()
98+
99+
requestDelete
100+
101+
### Example
102+
```python
103+
from __future__ import print_function
104+
import time
105+
import flexify_api
106+
from flexify_api.rest import ApiException
107+
from pprint import pprint
108+
109+
# Configure API key authorization: Bearer
110+
configuration = flexify_api.Configuration()
111+
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
112+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
113+
# configuration.api_key_prefix['Authorization'] = 'Bearer'
114+
115+
# create an instance of the API class
116+
api_instance = flexify_api.UsersControllerApi(flexify_api.ApiClient(configuration))
117+
118+
try:
119+
# requestDelete
120+
api_instance.request_delete()
121+
except ApiException as e:
122+
print("Exception when calling UsersControllerApi->request_delete: %s\n" % e)
123+
```
124+
125+
### Parameters
126+
This endpoint does not need any parameter.
127+
128+
### Return type
129+
130+
void (empty response body)
131+
132+
### Authorization
133+
134+
[Bearer](../README.md#Bearer)
135+
136+
### HTTP request headers
137+
138+
- **Content-Type**: application/json
139+
- **Accept**: application/json;charset=UTF-8
140+
141+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
142+
95143
# **request_reset_password**
96-
> request_reset_password(reqeust)
144+
> request_reset_password(request)
97145
98146
requestResetPassword
99147

@@ -113,11 +161,11 @@ configuration.api_key['Authorization'] = 'YOUR_API_KEY'
113161

114162
# create an instance of the API class
115163
api_instance = flexify_api.UsersControllerApi(flexify_api.ApiClient(configuration))
116-
reqeust = flexify_api.RequestResetPasswordReqeust() # RequestResetPasswordReqeust | reqeust
164+
request = flexify_api.RequestResetPasswordRequest() # RequestResetPasswordRequest | request
117165

118166
try:
119167
# requestResetPassword
120-
api_instance.request_reset_password(reqeust)
168+
api_instance.request_reset_password(request)
121169
except ApiException as e:
122170
print("Exception when calling UsersControllerApi->request_reset_password: %s\n" % e)
123171
```
@@ -126,7 +174,7 @@ except ApiException as e:
126174

127175
Name | Type | Description | Notes
128176
------------- | ------------- | ------------- | -------------
129-
**reqeust** | [**RequestResetPasswordReqeust**](RequestResetPasswordReqeust.md)| reqeust |
177+
**request** | [**RequestResetPasswordRequest**](RequestResetPasswordRequest.md)| request |
130178

131179
### Return type
132180

0 commit comments

Comments
 (0)