Skip to content

Commit

Permalink
update to latest API spec (#126)
Browse files Browse the repository at this point in the history
Co-authored-by: p-fruck <p-fruck@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and p-fruck authored May 10, 2023
1 parent 808d31b commit db25bf5
Show file tree
Hide file tree
Showing 102 changed files with 2,795 additions and 267 deletions.
21 changes: 18 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ docs/FindTagResponse.md
docs/FindUserIsPasswordSetResponse.md
docs/FindUserIsPasswordSetResponseLinks.md
docs/FindUserResponse.md
docs/FindVncResponse.md
docs/FindVncResponseLinks.md
docs/FirewallingUpgradeRequest.md
docs/GenerateClientSecretResponse.md
docs/GenerateClientSecretResponseLinks.md
Expand Down Expand Up @@ -150,7 +152,6 @@ docs/ListInstancesAuditResponseLinks.md
docs/ListInstancesResponse.md
docs/ListInstancesResponseData.md
docs/ListInstancesResponseLinks.md
docs/ListInstancesResponsePagination.md
docs/ListObjectStorageAuditResponse.md
docs/ListObjectStorageAuditResponseLinks.md
docs/ListObjectStorageResponse.md
Expand Down Expand Up @@ -180,6 +181,7 @@ docs/ListUserAuditResponse.md
docs/ListUserAuditResponseLinks.md
docs/ListUserResponse.md
docs/ListUserResponseLinks.md
docs/ListUserResponsePagination.md
docs/ObjectStorageAuditResponse.md
docs/ObjectStorageResponse.md
docs/ObjectStorageResponseAutoScaling.md
Expand All @@ -196,6 +198,7 @@ docs/PatchInstanceResponseLinks.md
docs/PatchObjectStorageRequest.md
docs/PatchPrivateNetworkRequest.md
docs/PatchPrivateNetworkResponse.md
docs/PatchVncRequest.md
docs/PermissionRequest.md
docs/PermissionResponse.md
docs/PrivateIpConfig.md
Expand Down Expand Up @@ -261,6 +264,8 @@ docs/UserIsPasswordSetResponse.md
docs/UserResponse.md
docs/UsersApi.md
docs/UsersAuditsApi.md
docs/VNCApi.md
docs/VncResponse.md
pfruck_contabo/__init__.py
pfruck_contabo/api/__init__.py
pfruck_contabo/api/images_api.py
Expand All @@ -286,6 +291,7 @@ pfruck_contabo/api/tags_api.py
pfruck_contabo/api/tags_audits_api.py
pfruck_contabo/api/users_api.py
pfruck_contabo/api/users_audits_api.py
pfruck_contabo/api/vnc_api.py
pfruck_contabo/api_client.py
pfruck_contabo/apis/__init__.py
pfruck_contabo/configuration.py
Expand Down Expand Up @@ -375,6 +381,8 @@ pfruck_contabo/model/find_tag_response.py
pfruck_contabo/model/find_user_is_password_set_response.py
pfruck_contabo/model/find_user_is_password_set_response_links.py
pfruck_contabo/model/find_user_response.py
pfruck_contabo/model/find_vnc_response.py
pfruck_contabo/model/find_vnc_response_links.py
pfruck_contabo/model/firewalling_upgrade_request.py
pfruck_contabo/model/generate_client_secret_response.py
pfruck_contabo/model/generate_client_secret_response_links.py
Expand Down Expand Up @@ -432,7 +440,6 @@ pfruck_contabo/model/list_instances_audit_response_links.py
pfruck_contabo/model/list_instances_response.py
pfruck_contabo/model/list_instances_response_data.py
pfruck_contabo/model/list_instances_response_links.py
pfruck_contabo/model/list_instances_response_pagination.py
pfruck_contabo/model/list_object_storage_audit_response.py
pfruck_contabo/model/list_object_storage_audit_response_links.py
pfruck_contabo/model/list_object_storage_response.py
Expand Down Expand Up @@ -462,6 +469,7 @@ pfruck_contabo/model/list_user_audit_response.py
pfruck_contabo/model/list_user_audit_response_links.py
pfruck_contabo/model/list_user_response.py
pfruck_contabo/model/list_user_response_links.py
pfruck_contabo/model/list_user_response_pagination.py
pfruck_contabo/model/object_storage_audit_response.py
pfruck_contabo/model/object_storage_response.py
pfruck_contabo/model/object_storage_response_auto_scaling.py
Expand All @@ -476,6 +484,7 @@ pfruck_contabo/model/patch_instance_response_links.py
pfruck_contabo/model/patch_object_storage_request.py
pfruck_contabo/model/patch_private_network_request.py
pfruck_contabo/model/patch_private_network_response.py
pfruck_contabo/model/patch_vnc_request.py
pfruck_contabo/model/permission_request.py
pfruck_contabo/model/permission_response.py
pfruck_contabo/model/private_ip_config.py
Expand Down Expand Up @@ -527,6 +536,7 @@ pfruck_contabo/model/upgrade_object_storage_response_links.py
pfruck_contabo/model/user_audit_response.py
pfruck_contabo/model/user_is_password_set_response.py
pfruck_contabo/model/user_response.py
pfruck_contabo/model/vnc_response.py
pfruck_contabo/model_utils.py
pfruck_contabo/models/__init__.py
pfruck_contabo/rest.py
Expand Down Expand Up @@ -619,6 +629,8 @@ test/test_find_tag_response.py
test/test_find_user_is_password_set_response.py
test/test_find_user_is_password_set_response_links.py
test/test_find_user_response.py
test/test_find_vnc_response.py
test/test_find_vnc_response_links.py
test/test_firewalling_upgrade_request.py
test/test_generate_client_secret_response.py
test/test_generate_client_secret_response_links.py
Expand Down Expand Up @@ -683,7 +695,6 @@ test/test_list_instances_audit_response_links.py
test/test_list_instances_response.py
test/test_list_instances_response_data.py
test/test_list_instances_response_links.py
test/test_list_instances_response_pagination.py
test/test_list_object_storage_audit_response.py
test/test_list_object_storage_audit_response_links.py
test/test_list_object_storage_response.py
Expand Down Expand Up @@ -713,6 +724,7 @@ test/test_list_user_audit_response.py
test/test_list_user_audit_response_links.py
test/test_list_user_response.py
test/test_list_user_response_links.py
test/test_list_user_response_pagination.py
test/test_object_storage_audit_response.py
test/test_object_storage_response.py
test/test_object_storage_response_auto_scaling.py
Expand All @@ -729,6 +741,7 @@ test/test_patch_instance_response_links.py
test/test_patch_object_storage_request.py
test/test_patch_private_network_request.py
test/test_patch_private_network_response.py
test/test_patch_vnc_request.py
test/test_permission_request.py
test/test_permission_response.py
test/test_private_ip_config.py
Expand Down Expand Up @@ -794,4 +807,6 @@ test/test_user_is_password_set_response.py
test/test_user_response.py
test/test_users_api.py
test/test_users_audits_api.py
test/test_vnc_api.py
test/test_vnc_response.py
tox.ini
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ Class | Method | HTTP request | Description
*UsersApi* | [**retrieve_user_list**](docs/UsersApi.md#retrieve_user_list) | **GET** /v1/users | List users
*UsersApi* | [**update_user**](docs/UsersApi.md#update_user) | **PATCH** /v1/users/{userId} | Update specific user by id
*UsersAuditsApi* | [**retrieve_user_audits_list**](docs/UsersAuditsApi.md#retrieve_user_audits_list) | **GET** /v1/users/audits | List history about your users (audit)
*VNCApi* | [**disable_vnc_instance**](docs/VNCApi.md#disable_vnc_instance) | **DELETE** /v1/compute/instances/{instanceId}/vnc | Disable VNC for instance
*VNCApi* | [**enable_vnc_instance**](docs/VNCApi.md#enable_vnc_instance) | **POST** /v1/compute/instances/{instanceId}/vnc | Enable VNC for instance
*VNCApi* | [**reset_password_vnc**](docs/VNCApi.md#reset_password_vnc) | **PATCH** /v1/compute/instances/{instanceId}/vnc | Reset VNC password for instance
*VNCApi* | [**retrieve_vnc_instance**](docs/VNCApi.md#retrieve_vnc_instance) | **GET** /v1/compute/instances/{instanceId}/vnc | Retrieve VNC status for instance


## Documentation For Models
Expand Down Expand Up @@ -280,6 +284,8 @@ Class | Method | HTTP request | Description
- [FindUserIsPasswordSetResponse](docs/FindUserIsPasswordSetResponse.md)
- [FindUserIsPasswordSetResponseLinks](docs/FindUserIsPasswordSetResponseLinks.md)
- [FindUserResponse](docs/FindUserResponse.md)
- [FindVncResponse](docs/FindVncResponse.md)
- [FindVncResponseLinks](docs/FindVncResponseLinks.md)
- [FirewallingUpgradeRequest](docs/FirewallingUpgradeRequest.md)
- [GenerateClientSecretResponse](docs/GenerateClientSecretResponse.md)
- [GenerateClientSecretResponseLinks](docs/GenerateClientSecretResponseLinks.md)
Expand Down Expand Up @@ -337,7 +343,6 @@ Class | Method | HTTP request | Description
- [ListInstancesResponse](docs/ListInstancesResponse.md)
- [ListInstancesResponseData](docs/ListInstancesResponseData.md)
- [ListInstancesResponseLinks](docs/ListInstancesResponseLinks.md)
- [ListInstancesResponsePagination](docs/ListInstancesResponsePagination.md)
- [ListObjectStorageAuditResponse](docs/ListObjectStorageAuditResponse.md)
- [ListObjectStorageAuditResponseLinks](docs/ListObjectStorageAuditResponseLinks.md)
- [ListObjectStorageResponse](docs/ListObjectStorageResponse.md)
Expand Down Expand Up @@ -367,6 +372,7 @@ Class | Method | HTTP request | Description
- [ListUserAuditResponseLinks](docs/ListUserAuditResponseLinks.md)
- [ListUserResponse](docs/ListUserResponse.md)
- [ListUserResponseLinks](docs/ListUserResponseLinks.md)
- [ListUserResponsePagination](docs/ListUserResponsePagination.md)
- [ObjectStorageAuditResponse](docs/ObjectStorageAuditResponse.md)
- [ObjectStorageResponse](docs/ObjectStorageResponse.md)
- [ObjectStorageResponseAutoScaling](docs/ObjectStorageResponseAutoScaling.md)
Expand All @@ -381,6 +387,7 @@ Class | Method | HTTP request | Description
- [PatchObjectStorageRequest](docs/PatchObjectStorageRequest.md)
- [PatchPrivateNetworkRequest](docs/PatchPrivateNetworkRequest.md)
- [PatchPrivateNetworkResponse](docs/PatchPrivateNetworkResponse.md)
- [PatchVncRequest](docs/PatchVncRequest.md)
- [PermissionRequest](docs/PermissionRequest.md)
- [PermissionResponse](docs/PermissionResponse.md)
- [PrivateIpConfig](docs/PrivateIpConfig.md)
Expand Down Expand Up @@ -432,6 +439,7 @@ Class | Method | HTTP request | Description
- [UserAuditResponse](docs/UserAuditResponse.md)
- [UserIsPasswordSetResponse](docs/UserIsPasswordSetResponse.md)
- [UserResponse](docs/UserResponse.md)
- [VncResponse](docs/VncResponse.md)


## Documentation For Authorization
Expand Down
2 changes: 1 addition & 1 deletion docs/FindTagResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**[TagResponse1]**](TagResponse1.md) | |
**data** | [**[TagResponse]**](TagResponse.md) | |
**links** | [**CreateTagResponseLinks**](CreateTagResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
13 changes: 13 additions & 0 deletions docs/FindVncResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# FindVncResponse


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**[VncResponse]**](VncResponse.md) | |
**links** | [**FindVncResponseLinks**](FindVncResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[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 changes: 12 additions & 0 deletions docs/FindVncResponseLinks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# FindVncResponseLinks


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_self** | **str** | Link to current resource. |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

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


2 changes: 1 addition & 1 deletion docs/ImageAuditResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[ImageAuditResponseData]**](ImageAuditResponseData.md) | |
**links** | [**ImageAuditResponseLinks**](ImageAuditResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/InstancesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ with pfruck_contabo.ApiClient(configuration) as api_client:
instance_id = 12345 # int | The identifier of the instance
patch_instance_request = PatchInstanceRequest(
display_name="VPS",
vnc_enabled=True,
) # PatchInstanceRequest |
x_trace_id = "x-trace-id_example" # str | Identifier to trace group of requests. (optional)

Expand Down
2 changes: 1 addition & 1 deletion docs/ListAssignmentAuditsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[AssignmentAuditResponse]**](AssignmentAuditResponse.md) | |
**links** | [**ListAssignmentAuditsResponseLinks**](ListAssignmentAuditsResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListAssignmentResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[AssignmentResponse]**](AssignmentResponse.md) | |
**links** | [**ListAssignmentResponseLinks**](ListAssignmentResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListCredentialResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[CredentialData]**](CredentialData.md) | |
**links** | [**ListCredentialResponseLinks**](ListCredentialResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListDataCenterResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[DataCenterResponse]**](DataCenterResponse.md) | |
**links** | [**ListDataCenterResponseLinks**](ListDataCenterResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListImageResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[ListImageResponseData]**](ListImageResponseData.md) | |
**links** | [**ListImageResponseLinks**](ListImageResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListImageResponseData.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Name | Type | Description | Notes
**standard_image** | **bool** | Flag indicating that image is either a standard (true) or a custom image (false) |
**creation_date** | **datetime** | The creation date time for the image |
**last_modified_date** | **datetime** | The last modified date time for the image |
**tags** | [**[TagResponse]**](TagResponse.md) | The tags assigned to the image |
**tags** | [**[TagResponse1]**](TagResponse1.md) | The tags assigned to the image |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/ListInstancesActionsAuditResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[InstancesActionsAuditResponse]**](InstancesActionsAuditResponse.md) | |
**links** | [**ListInstancesActionsAuditResponseLinks**](ListInstancesActionsAuditResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListInstancesAuditResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[InstancesAuditResponse]**](InstancesAuditResponse.md) | |
**links** | [**ListInstancesAuditResponseLinks**](ListInstancesAuditResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListInstancesResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[ListInstancesResponseData]**](ListInstancesResponseData.md) | |
**links** | [**ListInstancesResponseLinks**](ListInstancesResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListObjectStorageAuditResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[ObjectStorageAuditResponse]**](ObjectStorageAuditResponse.md) | |
**links** | [**ListObjectStorageAuditResponseLinks**](ListObjectStorageAuditResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListObjectStorageResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[ObjectStorageResponse]**](ObjectStorageResponse.md) | |
**links** | [**ListObjectStorageResponseLinks**](ListObjectStorageResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/ListPrivateNetworkAuditResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListInstancesResponsePagination**](ListInstancesResponsePagination.md) | |
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**data** | [**[PrivateNetworkAuditResponse]**](PrivateNetworkAuditResponse.md) | |
**links** | [**ListPrivateNetworkAuditResponseLinks**](ListPrivateNetworkAuditResponseLinks.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
Loading

0 comments on commit db25bf5

Please sign in to comment.