Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API-Update: Remove old Ip docs, add pagination to Audits #121

Merged
merged 1 commit into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 3 additions & 15 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,8 @@ docs/InternalApi.md
docs/InvoiceResponse.md
docs/InvoicesApi.md
docs/IpConfig.md
docs/IpConfig1.md
docs/IpConfig2.md
docs/IpV4.md
docs/IpV41.md
docs/IpV42.md
docs/IpV43.md
docs/IpV6.md
docs/LedgerApi.md
docs/LedgerEntryResponse.md
Expand Down Expand Up @@ -206,6 +202,7 @@ docs/ListImageResponseData.md
docs/ListImageResponseLinks.md
docs/ListInstancesActionsAuditResponse.md
docs/ListInstancesActionsAuditResponseLinks.md
docs/ListInstancesActionsAuditResponsePagination.md
docs/ListInstancesAuditResponse.md
docs/ListInstancesAuditResponseLinks.md
docs/ListInstancesResponse.md
Expand Down Expand Up @@ -252,7 +249,6 @@ docs/ListUserAuditResponse.md
docs/ListUserAuditResponseLinks.md
docs/ListUserResponse.md
docs/ListUserResponseLinks.md
docs/ListUserResponsePagination.md
docs/ListVipResponse.md
docs/ListVipResponseData.md
docs/ListVipResponseLinks.md
Expand Down Expand Up @@ -557,12 +553,8 @@ pfruck_contabo/model/instances_actions_audit_response.py
pfruck_contabo/model/instances_audit_response.py
pfruck_contabo/model/invoice_response.py
pfruck_contabo/model/ip_config.py
pfruck_contabo/model/ip_config1.py
pfruck_contabo/model/ip_config2.py
pfruck_contabo/model/ip_v4.py
pfruck_contabo/model/ip_v41.py
pfruck_contabo/model/ip_v42.py
pfruck_contabo/model/ip_v43.py
pfruck_contabo/model/ip_v6.py
pfruck_contabo/model/ledger_entry_response.py
pfruck_contabo/model/links.py
Expand Down Expand Up @@ -592,6 +584,7 @@ pfruck_contabo/model/list_image_response_data.py
pfruck_contabo/model/list_image_response_links.py
pfruck_contabo/model/list_instances_actions_audit_response.py
pfruck_contabo/model/list_instances_actions_audit_response_links.py
pfruck_contabo/model/list_instances_actions_audit_response_pagination.py
pfruck_contabo/model/list_instances_audit_response.py
pfruck_contabo/model/list_instances_audit_response_links.py
pfruck_contabo/model/list_instances_response.py
Expand Down Expand Up @@ -638,7 +631,6 @@ 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/list_vip_response.py
pfruck_contabo/model/list_vip_response_data.py
pfruck_contabo/model/list_vip_response_links.py
Expand Down Expand Up @@ -903,12 +895,8 @@ test/test_internal_api.py
test/test_invoice_response.py
test/test_invoices_api.py
test/test_ip_config.py
test/test_ip_config1.py
test/test_ip_config2.py
test/test_ip_v4.py
test/test_ip_v41.py
test/test_ip_v42.py
test/test_ip_v43.py
test/test_ip_v6.py
test/test_ledger_api.py
test/test_ledger_entry_response.py
Expand Down Expand Up @@ -939,6 +927,7 @@ test/test_list_image_response_data.py
test/test_list_image_response_links.py
test/test_list_instances_actions_audit_response.py
test/test_list_instances_actions_audit_response_links.py
test/test_list_instances_actions_audit_response_pagination.py
test/test_list_instances_audit_response.py
test/test_list_instances_audit_response_links.py
test/test_list_instances_response.py
Expand Down Expand Up @@ -985,7 +974,6 @@ 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_list_vip_response.py
test/test_list_vip_response_data.py
test/test_list_vip_response_links.py
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import pfruck_contabo
from pprint import pprint
from pfruck_contabo.api import customer_api
from pfruck_contabo.model.find_customer_response import FindCustomerResponse
from pfruck_contabo.model.list_payment_method_response import ListPaymentMethodResponse
from pfruck_contabo.model.list_payment_method_response1 import ListPaymentMethodResponse1
# Defining the host is optional and defaults to https://api.contabo.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pfruck_contabo.Configuration(
Expand Down Expand Up @@ -372,12 +372,8 @@ Class | Method | HTTP request | Description
- [InstancesAuditResponse](docs/InstancesAuditResponse.md)
- [InvoiceResponse](docs/InvoiceResponse.md)
- [IpConfig](docs/IpConfig.md)
- [IpConfig1](docs/IpConfig1.md)
- [IpConfig2](docs/IpConfig2.md)
- [IpV4](docs/IpV4.md)
- [IpV41](docs/IpV41.md)
- [IpV42](docs/IpV42.md)
- [IpV43](docs/IpV43.md)
- [IpV6](docs/IpV6.md)
- [LedgerEntryResponse](docs/LedgerEntryResponse.md)
- [Links](docs/Links.md)
Expand Down Expand Up @@ -407,6 +403,7 @@ Class | Method | HTTP request | Description
- [ListImageResponseLinks](docs/ListImageResponseLinks.md)
- [ListInstancesActionsAuditResponse](docs/ListInstancesActionsAuditResponse.md)
- [ListInstancesActionsAuditResponseLinks](docs/ListInstancesActionsAuditResponseLinks.md)
- [ListInstancesActionsAuditResponsePagination](docs/ListInstancesActionsAuditResponsePagination.md)
- [ListInstancesAuditResponse](docs/ListInstancesAuditResponse.md)
- [ListInstancesAuditResponseLinks](docs/ListInstancesAuditResponseLinks.md)
- [ListInstancesResponse](docs/ListInstancesResponse.md)
Expand Down Expand Up @@ -453,7 +450,6 @@ Class | Method | HTTP request | Description
- [ListUserAuditResponseLinks](docs/ListUserAuditResponseLinks.md)
- [ListUserResponse](docs/ListUserResponse.md)
- [ListUserResponseLinks](docs/ListUserResponseLinks.md)
- [ListUserResponsePagination](docs/ListUserResponsePagination.md)
- [ListVipResponse](docs/ListVipResponse.md)
- [ListVipResponseData](docs/ListVipResponseData.md)
- [ListVipResponseLinks](docs/ListVipResponseLinks.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/AdditionalIp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**v4** | [**IpV43**](IpV43.md) | |
**v4** | [**IpV4**](IpV4.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)
Expand Down
6 changes: 3 additions & 3 deletions docs/CustomerApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Name | Type | Description | Notes
[[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)

# **retrieve_payment_method**
> ListPaymentMethodResponse retrieve_payment_method(x_request_id)
> ListPaymentMethodResponse1 retrieve_payment_method(x_request_id)

List current payment method

Expand All @@ -111,7 +111,7 @@ List current payment method
import time
import pfruck_contabo
from pfruck_contabo.api import customer_api
from pfruck_contabo.model.list_payment_method_response import ListPaymentMethodResponse
from pfruck_contabo.model.list_payment_method_response1 import ListPaymentMethodResponse1
from pprint import pprint
# Defining the host is optional and defaults to https://api.contabo.com
# See configuration.py for a list of all supported configuration parameters.
Expand Down Expand Up @@ -172,7 +172,7 @@ Name | Type | Description | Notes

### Return type

[**ListPaymentMethodResponse**](ListPaymentMethodResponse.md)
[**ListPaymentMethodResponse1**](ListPaymentMethodResponse1.md)

### 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** | [**[TagResponse]**](TagResponse.md) | |
**data** | [**[TagResponse1]**](TagResponse1.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
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** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**pagination** | [**ListInstancesActionsAuditResponsePagination**](ListInstancesActionsAuditResponsePagination.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
2 changes: 1 addition & 1 deletion docs/InstanceAssignmentSelfLinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_self** | **str** | Link to current resource. |
**firewall** | **str** | Link to related firewall. |
**virtual_private_cloud** | **str** | Link to related Private Network. |
**instance** | **str** | Link to assigned instance. |
**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/InstanceAssignmentSelfLinks1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_self** | **str** | Link to current resource. |
**virtual_private_cloud** | **str** | Link to related Private Network. |
**firewall** | **str** | Link to related firewall. |
**instance** | **str** | Link to assigned instance. |
**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/InstanceResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Name | Type | Description | Notes
**add_ons** | [**[AddOnResponse]**](AddOnResponse.md) | |
**product_type** | **str** | Instance's category depending on Product Id |
**default_user** | **str** | Default user name created for login during (re-)installation with administrative privileges. Allowed values for Linux/BSD are `admin` (use sudo to apply administrative privileges like root) or `root`. Allowed values for Windows are `admin` (has administrative privileges like administrator) or `administrator`. |
**ip_config** | [**IpConfig2**](IpConfig2.md) | | [optional]
**ip_config** | [**IpConfig**](IpConfig.md) | | [optional]
**error_message** | **str** | Message in case of an error. | [optional]
**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/Instances.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**name** | **str** | Instance name |
**product_id** | **str** | Product id |
**private_ip_config** | [**PrivateIpConfig**](PrivateIpConfig.md) | |
**ip_config** | [**IpConfig1**](IpConfig1.md) | |
**ip_config** | [**IpConfig**](IpConfig.md) | |
**status** | **str** | State of the instance in the Private Network |
**error_message** | **str** | Message in case of an error. | [optional]
**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/IpConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**v4** | [**IpV41**](IpV41.md) | |
**v4** | [**IpV4**](IpV4.md) | |
**v6** | [**IpV6**](IpV6.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: 0 additions & 13 deletions docs/IpConfig1.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/IpConfig2.md

This file was deleted.

6 changes: 2 additions & 4 deletions docs/IpV4.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ip** | **str** | IP address |
**gateway** | **str** | Gateway |
**ip** | **str** | IP Address |
**netmask_cidr** | **int** | Netmask CIDR |
**broadcast** | **str** | Broadcast address |
**net** | **str** | Net address |
**gateway** | **str** | Gateway |
**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
6 changes: 4 additions & 2 deletions docs/IpV41.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ip** | **str** | IP Address |
**netmask_cidr** | **int** | Netmask CIDR |
**ip** | **str** | IP address |
**gateway** | **str** | Gateway |
**netmask_cidr** | **int** | Netmask CIDR |
**broadcast** | **str** | Broadcast address |
**net** | **str** | Net address |
**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
14 changes: 0 additions & 14 deletions docs/IpV42.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/IpV43.md

This file was deleted.

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** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**pagination** | [**ListInstancesActionsAuditResponsePagination**](ListInstancesActionsAuditResponsePagination.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** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**pagination** | [**ListInstancesActionsAuditResponsePagination**](ListInstancesActionsAuditResponsePagination.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** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**pagination** | [**ListInstancesActionsAuditResponsePagination**](ListInstancesActionsAuditResponsePagination.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** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**pagination** | [**ListInstancesActionsAuditResponsePagination**](ListInstancesActionsAuditResponsePagination.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/ListDpaAuditResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**pagination** | [**ListInstancesActionsAuditResponsePagination**](ListInstancesActionsAuditResponsePagination.md) | |
**data** | [**[DpaAuditResponse]**](DpaAuditResponse.md) | |
**links** | [**ListDpaAuditResponseLinks**](ListDpaAuditResponseLinks.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/ListDpaResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**pagination** | [**ListInstancesActionsAuditResponsePagination**](ListInstancesActionsAuditResponsePagination.md) | |
**data** | [**[DpaResponseData]**](DpaResponseData.md) | |
**links** | [**ListDpaResponseLinks**](ListDpaResponseLinks.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/ListDpaServicesResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**pagination** | [**ListInstancesActionsAuditResponsePagination**](ListInstancesActionsAuditResponsePagination.md) | |
**data** | [**[DpaServiceResponse]**](DpaServiceResponse.md) | |
**links** | [**ListDpaServicesResponseLinks**](ListDpaServicesResponseLinks.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/ListFirewallAuditResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**ListUserResponsePagination**](ListUserResponsePagination.md) | |
**pagination** | [**ListInstancesActionsAuditResponsePagination**](ListInstancesActionsAuditResponsePagination.md) | |
**data** | [**[FirewallAuditResponse]**](FirewallAuditResponse.md) | |
**links** | [**ListFirewallAuditResponseLinks**](ListFirewallAuditResponseLinks.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