Skip to content

Commit

Permalink
nightly API update (#232)
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Fruck <[email protected]>
  • Loading branch information
github-actions[bot] and p-fruck authored Sep 15, 2024
1 parent 8431f01 commit 61696cb
Show file tree
Hide file tree
Showing 45 changed files with 4,509 additions and 14 deletions.
30 changes: 30 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ docs/ApplicationConfig.md
docs/ApplicationRequirements.md
docs/ApplicationResponse.md
docs/AssignInstancePrivateNetworkResponse.md
docs/AssignVipResponse.md
docs/AssignedTagResponse.md
docs/AssignmentAuditResponse.md
docs/AssignmentResponse.md
Expand Down Expand Up @@ -71,6 +72,7 @@ docs/FindSnapshotResponse.md
docs/FindTagResponse.md
docs/FindUserIsPasswordSetResponse.md
docs/FindUserResponse.md
docs/FindVipResponse.md
docs/FindVncResponse.md
docs/FirewallingUpgradeRequest.md
docs/GenerateClientSecretResponse.md
Expand Down Expand Up @@ -106,6 +108,7 @@ docs/InstancesResetPasswordActionsRequest.md
docs/InternalApi.md
docs/IpConfig.md
docs/IpV4.md
docs/IpV41.md
docs/IpV6.md
docs/Links.md
docs/ListApiPermissionResponse.md
Expand Down Expand Up @@ -135,6 +138,9 @@ docs/ListTagAuditsResponse.md
docs/ListTagResponse.md
docs/ListUserAuditResponse.md
docs/ListUserResponse.md
docs/ListVipAuditResponse.md
docs/ListVipResponse.md
docs/ListVipResponseData.md
docs/MinimumRequirements.md
docs/ObjectStorageAuditResponse.md
docs/ObjectStorageResponse.md
Expand Down Expand Up @@ -207,6 +213,10 @@ docs/UserIsPasswordSetResponse.md
docs/UserResponse.md
docs/UsersApi.md
docs/UsersAuditsApi.md
docs/VIPApi.md
docs/VipAuditResponse.md
docs/VipAuditsApi.md
docs/VipResponse.md
docs/VncResponse.md
pfruck_contabo/__init__.py
pfruck_contabo/api/__init__.py
Expand All @@ -233,6 +243,8 @@ 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/vip_api.py
pfruck_contabo/api/vip_audits_api.py
pfruck_contabo/api_client.py
pfruck_contabo/api_response.py
pfruck_contabo/configuration.py
Expand All @@ -247,6 +259,7 @@ pfruck_contabo/models/application_config.py
pfruck_contabo/models/application_requirements.py
pfruck_contabo/models/application_response.py
pfruck_contabo/models/assign_instance_private_network_response.py
pfruck_contabo/models/assign_vip_response.py
pfruck_contabo/models/assigned_tag_response.py
pfruck_contabo/models/assignment_audit_response.py
pfruck_contabo/models/assignment_response.py
Expand Down Expand Up @@ -306,6 +319,7 @@ pfruck_contabo/models/find_snapshot_response.py
pfruck_contabo/models/find_tag_response.py
pfruck_contabo/models/find_user_is_password_set_response.py
pfruck_contabo/models/find_user_response.py
pfruck_contabo/models/find_vip_response.py
pfruck_contabo/models/find_vnc_response.py
pfruck_contabo/models/firewalling_upgrade_request.py
pfruck_contabo/models/generate_client_secret_response.py
Expand Down Expand Up @@ -334,6 +348,7 @@ pfruck_contabo/models/instances_audit_response.py
pfruck_contabo/models/instances_reset_password_actions_request.py
pfruck_contabo/models/ip_config.py
pfruck_contabo/models/ip_v4.py
pfruck_contabo/models/ip_v41.py
pfruck_contabo/models/ip_v6.py
pfruck_contabo/models/links.py
pfruck_contabo/models/list_api_permission_response.py
Expand Down Expand Up @@ -363,6 +378,9 @@ pfruck_contabo/models/list_tag_audits_response.py
pfruck_contabo/models/list_tag_response.py
pfruck_contabo/models/list_user_audit_response.py
pfruck_contabo/models/list_user_response.py
pfruck_contabo/models/list_vip_audit_response.py
pfruck_contabo/models/list_vip_response.py
pfruck_contabo/models/list_vip_response_data.py
pfruck_contabo/models/minimum_requirements.py
pfruck_contabo/models/object_storage_audit_response.py
pfruck_contabo/models/object_storage_response.py
Expand Down Expand Up @@ -419,6 +437,8 @@ pfruck_contabo/models/upgrade_object_storage_response_data.py
pfruck_contabo/models/user_audit_response.py
pfruck_contabo/models/user_is_password_set_response.py
pfruck_contabo/models/user_response.py
pfruck_contabo/models/vip_audit_response.py
pfruck_contabo/models/vip_response.py
pfruck_contabo/models/vnc_response.py
pfruck_contabo/py.typed
pfruck_contabo/rest.py
Expand All @@ -437,6 +457,7 @@ test/test_application_config.py
test/test_application_requirements.py
test/test_application_response.py
test/test_assign_instance_private_network_response.py
test/test_assign_vip_response.py
test/test_assigned_tag_response.py
test/test_assignment_audit_response.py
test/test_assignment_response.py
Expand Down Expand Up @@ -496,6 +517,7 @@ test/test_find_snapshot_response.py
test/test_find_tag_response.py
test/test_find_user_is_password_set_response.py
test/test_find_user_response.py
test/test_find_vip_response.py
test/test_find_vnc_response.py
test/test_firewalling_upgrade_request.py
test/test_generate_client_secret_response.py
Expand Down Expand Up @@ -531,6 +553,7 @@ test/test_instances_reset_password_actions_request.py
test/test_internal_api.py
test/test_ip_config.py
test/test_ip_v4.py
test/test_ip_v41.py
test/test_ip_v6.py
test/test_links.py
test/test_list_api_permission_response.py
Expand Down Expand Up @@ -560,6 +583,9 @@ test/test_list_tag_audits_response.py
test/test_list_tag_response.py
test/test_list_user_audit_response.py
test/test_list_user_response.py
test/test_list_vip_audit_response.py
test/test_list_vip_response.py
test/test_list_vip_response_data.py
test/test_minimum_requirements.py
test/test_object_storage_audit_response.py
test/test_object_storage_response.py
Expand Down Expand Up @@ -632,5 +658,9 @@ 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_vip_api.py
test/test_vip_audit_response.py
test/test_vip_audits_api.py
test/test_vip_response.py
test/test_vnc_response.py
tox.ini
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ 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)
*VIPApi* | [**assign_ip**](docs/VIPApi.md#assign_ip) | **POST** /v1/vips/{ip}/{resourceType}/{resourceId} | Assign a VIP to an VPS/VDS/Bare Metal
*VIPApi* | [**retrieve_vip**](docs/VIPApi.md#retrieve_vip) | **GET** /v1/vips/{ip} | Get specific VIP by ip
*VIPApi* | [**retrieve_vip_list**](docs/VIPApi.md#retrieve_vip_list) | **GET** /v1/vips | List VIPs
*VIPApi* | [**unassign_ip**](docs/VIPApi.md#unassign_ip) | **DELETE** /v1/vips/{ip}/{resourceType}/{resourceId} | Unassign a VIP to a VPS/VDS/Bare Metal
*VipAuditsApi* | [**retrieve_vip_audits_list**](docs/VipAuditsApi.md#retrieve_vip_audits_list) | **GET** /v1/vips/audits | List history about your VIPs (audit)


## Documentation For Models
Expand All @@ -193,6 +198,7 @@ Class | Method | HTTP request | Description
- [ApplicationRequirements](docs/ApplicationRequirements.md)
- [ApplicationResponse](docs/ApplicationResponse.md)
- [AssignInstancePrivateNetworkResponse](docs/AssignInstancePrivateNetworkResponse.md)
- [AssignVipResponse](docs/AssignVipResponse.md)
- [AssignedTagResponse](docs/AssignedTagResponse.md)
- [AssignmentAuditResponse](docs/AssignmentAuditResponse.md)
- [AssignmentResponse](docs/AssignmentResponse.md)
Expand Down Expand Up @@ -252,6 +258,7 @@ Class | Method | HTTP request | Description
- [FindTagResponse](docs/FindTagResponse.md)
- [FindUserIsPasswordSetResponse](docs/FindUserIsPasswordSetResponse.md)
- [FindUserResponse](docs/FindUserResponse.md)
- [FindVipResponse](docs/FindVipResponse.md)
- [FindVncResponse](docs/FindVncResponse.md)
- [FirewallingUpgradeRequest](docs/FirewallingUpgradeRequest.md)
- [GenerateClientSecretResponse](docs/GenerateClientSecretResponse.md)
Expand Down Expand Up @@ -280,6 +287,7 @@ Class | Method | HTTP request | Description
- [InstancesResetPasswordActionsRequest](docs/InstancesResetPasswordActionsRequest.md)
- [IpConfig](docs/IpConfig.md)
- [IpV4](docs/IpV4.md)
- [IpV41](docs/IpV41.md)
- [IpV6](docs/IpV6.md)
- [Links](docs/Links.md)
- [ListApiPermissionResponse](docs/ListApiPermissionResponse.md)
Expand Down Expand Up @@ -309,6 +317,9 @@ Class | Method | HTTP request | Description
- [ListTagResponse](docs/ListTagResponse.md)
- [ListUserAuditResponse](docs/ListUserAuditResponse.md)
- [ListUserResponse](docs/ListUserResponse.md)
- [ListVipAuditResponse](docs/ListVipAuditResponse.md)
- [ListVipResponse](docs/ListVipResponse.md)
- [ListVipResponseData](docs/ListVipResponseData.md)
- [MinimumRequirements](docs/MinimumRequirements.md)
- [ObjectStorageAuditResponse](docs/ObjectStorageAuditResponse.md)
- [ObjectStorageResponse](docs/ObjectStorageResponse.md)
Expand Down Expand Up @@ -365,6 +376,8 @@ Class | Method | HTTP request | Description
- [UserAuditResponse](docs/UserAuditResponse.md)
- [UserIsPasswordSetResponse](docs/UserIsPasswordSetResponse.md)
- [UserResponse](docs/UserResponse.md)
- [VipAuditResponse](docs/VipAuditResponse.md)
- [VipResponse](docs/VipResponse.md)
- [VncResponse](docs/VncResponse.md)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[VipResponse]**](VipResponse.md) | |
**links** | [**SelfLinks**](SelfLinks.md) | |

## Example

```python
from pfruck_contabo.models.assign_vip_response import AssignVipResponse

# TODO update the JSON string below
json = "{}"
# create an instance of AssignVipResponse from a JSON string
assign_vip_response_instance = AssignVipResponse.from_json(json)
# print the JSON string representation of the object
print(AssignVipResponse.to_json())

# convert the object into a dict
assign_vip_response_dict = assign_vip_response_instance.to_dict()
# create an instance of AssignVipResponse from a dict
assign_vip_response_from_dict = AssignVipResponse.from_dict(assign_vip_response_dict)
```
[[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/CreateSnapshotRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The name of the snapshot. It may contain letters, numbers, colons, dashes, and underscores. There is a limit of 255 characters per snapshot. |
**name** | **str** | The name of the snapshot. It may contain letters, numbers, spaces, dashes. There is a limit of 30 characters per snapshot. |
**description** | **str** | The description of the snapshot. There is a limit of 255 characters per snapshot. | [optional]

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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**List[VipResponse]**](VipResponse.md) | |
**links** | [**SelfLinks**](SelfLinks.md) | |

## Example

```python
from pfruck_contabo.models.find_vip_response import FindVipResponse

# TODO update the JSON string below
json = "{}"
# create an instance of FindVipResponse from a JSON string
find_vip_response_instance = FindVipResponse.from_json(json)
# print the JSON string representation of the object
print(FindVipResponse.to_json())

# convert the object into a dict
find_vip_response_dict = find_vip_response_instance.to_dict()
# create an instance of FindVipResponse from a dict
find_vip_response_from_dict = FindVipResponse.from_dict(find_vip_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


8 changes: 5 additions & 3 deletions docs/InstancesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Method | HTTP request | Description


# **cancel_instance**
> CancelInstanceResponse cancel_instance(x_request_id, instance_id, x_trace_id=x_trace_id)
> CancelInstanceResponse cancel_instance(x_request_id, instance_id, body, x_trace_id=x_trace_id)
Cancel specific instance by id

Expand Down Expand Up @@ -52,11 +52,12 @@ with pfruck_contabo.ApiClient(configuration) as api_client:
api_instance = pfruck_contabo.InstancesApi(api_client)
x_request_id = '04e0f898-37b4-48bc-a794-1a57abe6aa31' # str | [Uuid4](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_(random)) to identify individual requests for support cases. You can use [uuidgenerator](https://www.uuidgenerator.net/version4) to generate them manually.
instance_id = 12345 # int | The identifier of the instance
body = None # object |
x_trace_id = 'x_trace_id_example' # str | Identifier to trace group of requests. (optional)

try:
# Cancel specific instance by id
api_response = api_instance.cancel_instance(x_request_id, instance_id, x_trace_id=x_trace_id)
api_response = api_instance.cancel_instance(x_request_id, instance_id, body, x_trace_id=x_trace_id)
print("The response of InstancesApi->cancel_instance:\n")
pprint(api_response)
except Exception as e:
Expand All @@ -72,6 +73,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**x_request_id** | **str**| [Uuid4](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_(random)) to identify individual requests for support cases. You can use [uuidgenerator](https://www.uuidgenerator.net/version4) to generate them manually. |
**instance_id** | **int**| The identifier of the instance |
**body** | **object**| |
**x_trace_id** | **str**| Identifier to trace group of requests. | [optional]

### Return type
Expand All @@ -84,7 +86,7 @@ Name | Type | Description | Notes

### HTTP request headers

- **Content-Type**: Not defined
- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details
Expand Down
33 changes: 33 additions & 0 deletions docs/IpV41.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# IpV41


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ip** | **str** | IP address |
**gateway** | **str** | Gateway |
**netmask_cidr** | **int** | Netmask CIDR |
**broadcast** | **str** | Broadcast address |
**net** | **str** | Net address |

## Example

```python
from pfruck_contabo.models.ip_v41 import IpV41

# TODO update the JSON string below
json = "{}"
# create an instance of IpV41 from a JSON string
ip_v41_instance = IpV41.from_json(json)
# print the JSON string representation of the object
print(IpV41.to_json())

# convert the object into a dict
ip_v41_dict = ip_v41_instance.to_dict()
# create an instance of IpV41 from a dict
ip_v41_from_dict = IpV41.from_dict(ip_v41_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


31 changes: 31 additions & 0 deletions docs/ListVipAuditResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# ListVipAuditResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**PaginationMeta**](PaginationMeta.md) | Data about pagination like how many results, pages, page size. |
**data** | [**List[VipAuditResponse]**](VipAuditResponse.md) | |
**links** | [**Links**](Links.md) | |

## Example

```python
from pfruck_contabo.models.list_vip_audit_response import ListVipAuditResponse

# TODO update the JSON string below
json = "{}"
# create an instance of ListVipAuditResponse from a JSON string
list_vip_audit_response_instance = ListVipAuditResponse.from_json(json)
# print the JSON string representation of the object
print(ListVipAuditResponse.to_json())

# convert the object into a dict
list_vip_audit_response_dict = list_vip_audit_response_instance.to_dict()
# create an instance of ListVipAuditResponse from a dict
list_vip_audit_response_from_dict = ListVipAuditResponse.from_dict(list_vip_audit_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading

0 comments on commit 61696cb

Please sign in to comment.