diff --git a/sdk/python/sdk/zrok/.openapi-generator/FILES b/sdk/python/sdk/zrok/.openapi-generator/FILES index 1b02d80f..6d1e98d7 100644 --- a/sdk/python/sdk/zrok/.openapi-generator/FILES +++ b/sdk/python/sdk/zrok/.openapi-generator/FILES @@ -58,6 +58,62 @@ docs/VerifyRequest.md docs/VersionInventory200Response.md requirements.txt test/__init__.py +test/test_access201_response.py +test/test_access_request.py +test/test_account_api.py +test/test_add_organization_member_request.py +test/test_admin_api.py +test/test_auth_user.py +test/test_change_password_request.py +test/test_client_version_check_request.py +test/test_configuration.py +test/test_create_frontend201_response.py +test/test_create_frontend_request.py +test/test_create_identity201_response.py +test/test_create_identity_request.py +test/test_create_organization201_response.py +test/test_create_organization_request.py +test/test_disable_request.py +test/test_enable_request.py +test/test_environment.py +test/test_environment_and_resources.py +test/test_environment_api.py +test/test_frontend.py +test/test_get_sparklines200_response.py +test/test_get_sparklines_request.py +test/test_invite_request.py +test/test_invite_token_generate_request.py +test/test_list_frontends200_response_inner.py +test/test_list_memberships200_response.py +test/test_list_memberships200_response_memberships_inner.py +test/test_list_organization_members200_response.py +test/test_list_organization_members200_response_members_inner.py +test/test_list_organizations200_response.py +test/test_list_organizations200_response_organizations_inner.py +test/test_login_request.py +test/test_metadata_api.py +test/test_metrics.py +test/test_metrics_sample.py +test/test_overview.py +test/test_principal.py +test/test_regenerate_account_token200_response.py +test/test_regenerate_account_token_request.py +test/test_register_request.py +test/test_remove_organization_member_request.py +test/test_reset_password_request.py +test/test_share.py +test/test_share_api.py +test/test_share_request.py +test/test_share_response.py +test/test_spark_data_sample.py +test/test_unaccess_request.py +test/test_unshare_request.py +test/test_update_access_request.py +test/test_update_frontend_request.py +test/test_update_share_request.py +test/test_verify200_response.py +test/test_verify_request.py +test/test_version_inventory200_response.py zrok_api/__init__.py zrok_api/api/__init__.py zrok_api/api/account_api.py diff --git a/sdk/python/sdk/zrok/README.md b/sdk/python/sdk/zrok/README.md index b337c9e0..7aa7d41a 100644 --- a/sdk/python/sdk/zrok/README.md +++ b/sdk/python/sdk/zrok/README.md @@ -1,4 +1,4 @@ -# zrok_sdk +# zrok-api zrok client access This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: diff --git a/sdk/python/sdk/zrok/docs/AccessBody.md b/sdk/python/sdk/zrok/docs/AccessBody.md deleted file mode 100644 index 86e3636b..00000000 --- a/sdk/python/sdk/zrok/docs/AccessBody.md +++ /dev/null @@ -1,12 +0,0 @@ -# AccessBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**env_zid** | **str** | | [optional] -**share_token** | **str** | | [optional] -**bind_address** | **str** | | [optional] -**description** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/AccessBody1.md b/sdk/python/sdk/zrok/docs/AccessBody1.md deleted file mode 100644 index 68968950..00000000 --- a/sdk/python/sdk/zrok/docs/AccessBody1.md +++ /dev/null @@ -1,11 +0,0 @@ -# AccessBody1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**frontend_token** | **str** | | [optional] -**bind_address** | **str** | | [optional] -**description** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/AccountBody.md b/sdk/python/sdk/zrok/docs/AccountBody.md deleted file mode 100644 index 076efa50..00000000 --- a/sdk/python/sdk/zrok/docs/AccountBody.md +++ /dev/null @@ -1,10 +0,0 @@ -# AccountBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**password** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/ChangePasswordBody.md b/sdk/python/sdk/zrok/docs/ChangePasswordBody.md deleted file mode 100644 index 1137de72..00000000 --- a/sdk/python/sdk/zrok/docs/ChangePasswordBody.md +++ /dev/null @@ -1,11 +0,0 @@ -# ChangePasswordBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**old_password** | **str** | | [optional] -**new_password** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/ClientVersionCheckBody.md b/sdk/python/sdk/zrok/docs/ClientVersionCheckBody.md deleted file mode 100644 index 4a36f24e..00000000 --- a/sdk/python/sdk/zrok/docs/ClientVersionCheckBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# ClientVersionCheckBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_version** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/DisableBody.md b/sdk/python/sdk/zrok/docs/DisableBody.md deleted file mode 100644 index f6ee65f2..00000000 --- a/sdk/python/sdk/zrok/docs/DisableBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# DisableBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/EnableBody.md b/sdk/python/sdk/zrok/docs/EnableBody.md deleted file mode 100644 index 7ba7d7b3..00000000 --- a/sdk/python/sdk/zrok/docs/EnableBody.md +++ /dev/null @@ -1,10 +0,0 @@ -# EnableBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**description** | **str** | | [optional] -**host** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/Environments.md b/sdk/python/sdk/zrok/docs/Environments.md deleted file mode 100644 index 5cdc8b26..00000000 --- a/sdk/python/sdk/zrok/docs/Environments.md +++ /dev/null @@ -1,8 +0,0 @@ -# Environments - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/sdk/python/sdk/zrok/docs/ErrorMessage.md b/sdk/python/sdk/zrok/docs/ErrorMessage.md deleted file mode 100644 index 25d74334..00000000 --- a/sdk/python/sdk/zrok/docs/ErrorMessage.md +++ /dev/null @@ -1,8 +0,0 @@ -# ErrorMessage - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/sdk/python/sdk/zrok/docs/FrontendBody.md b/sdk/python/sdk/zrok/docs/FrontendBody.md deleted file mode 100644 index 5d0a3e37..00000000 --- a/sdk/python/sdk/zrok/docs/FrontendBody.md +++ /dev/null @@ -1,12 +0,0 @@ -# FrontendBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**z_id** | **str** | | [optional] -**url_template** | **str** | | [optional] -**public_name** | **str** | | [optional] -**permission_mode** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/FrontendBody1.md b/sdk/python/sdk/zrok/docs/FrontendBody1.md deleted file mode 100644 index 7bcd3be5..00000000 --- a/sdk/python/sdk/zrok/docs/FrontendBody1.md +++ /dev/null @@ -1,9 +0,0 @@ -# FrontendBody1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**frontend_token** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/FrontendBody2.md b/sdk/python/sdk/zrok/docs/FrontendBody2.md deleted file mode 100644 index e459d152..00000000 --- a/sdk/python/sdk/zrok/docs/FrontendBody2.md +++ /dev/null @@ -1,11 +0,0 @@ -# FrontendBody2 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**frontend_token** | **str** | | [optional] -**public_name** | **str** | | [optional] -**url_template** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/Frontends.md b/sdk/python/sdk/zrok/docs/Frontends.md deleted file mode 100644 index c308436b..00000000 --- a/sdk/python/sdk/zrok/docs/Frontends.md +++ /dev/null @@ -1,8 +0,0 @@ -# Frontends - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/sdk/python/sdk/zrok/docs/GrantsBody.md b/sdk/python/sdk/zrok/docs/GrantsBody.md deleted file mode 100644 index 1e744a53..00000000 --- a/sdk/python/sdk/zrok/docs/GrantsBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# GrantsBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/IdentityBody.md b/sdk/python/sdk/zrok/docs/IdentityBody.md deleted file mode 100644 index 39125ca5..00000000 --- a/sdk/python/sdk/zrok/docs/IdentityBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# IdentityBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse200.md b/sdk/python/sdk/zrok/docs/InlineResponse200.md deleted file mode 100644 index cc5f9b8b..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse200.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse200 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**account_token** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2001.md b/sdk/python/sdk/zrok/docs/InlineResponse2001.md deleted file mode 100644 index 820bf042..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2001.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse2001 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2002.md b/sdk/python/sdk/zrok/docs/InlineResponse2002.md deleted file mode 100644 index d50b57e3..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2002.md +++ /dev/null @@ -1,14 +0,0 @@ -# InlineResponse2002 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**frontend_token** | **str** | | [optional] -**z_id** | **str** | | [optional] -**url_template** | **str** | | [optional] -**public_name** | **str** | | [optional] -**created_at** | **int** | | [optional] -**updated_at** | **int** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2003.md b/sdk/python/sdk/zrok/docs/InlineResponse2003.md deleted file mode 100644 index 39488d9e..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2003.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse2003 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**members** | [**list[InlineResponse2003Members]**](InlineResponse2003Members.md) | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2003Members.md b/sdk/python/sdk/zrok/docs/InlineResponse2003Members.md deleted file mode 100644 index ddc3c4dd..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2003Members.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2003Members - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**admin** | **bool** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2004.md b/sdk/python/sdk/zrok/docs/InlineResponse2004.md deleted file mode 100644 index 8c11d95d..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2004.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse2004 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organizations** | [**list[InlineResponse2004Organizations]**](InlineResponse2004Organizations.md) | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2004Members.md b/sdk/python/sdk/zrok/docs/InlineResponse2004Members.md deleted file mode 100644 index 9a3ba443..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2004Members.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2004Members - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**admin** | **bool** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2004Organizations.md b/sdk/python/sdk/zrok/docs/InlineResponse2004Organizations.md deleted file mode 100644 index 053d9f98..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2004Organizations.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2004Organizations - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_token** | **str** | | [optional] -**description** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2005.md b/sdk/python/sdk/zrok/docs/InlineResponse2005.md deleted file mode 100644 index 8f539747..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2005.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse2005 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**memberships** | [**list[InlineResponse2005Memberships]**](InlineResponse2005Memberships.md) | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2005Memberships.md b/sdk/python/sdk/zrok/docs/InlineResponse2005Memberships.md deleted file mode 100644 index 147189c3..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2005Memberships.md +++ /dev/null @@ -1,11 +0,0 @@ -# InlineResponse2005Memberships - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_token** | **str** | | [optional] -**description** | **str** | | [optional] -**admin** | **bool** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2005Organizations.md b/sdk/python/sdk/zrok/docs/InlineResponse2005Organizations.md deleted file mode 100644 index 2f4ba151..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2005Organizations.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2005Organizations - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**token** | **str** | | [optional] -**description** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2006.md b/sdk/python/sdk/zrok/docs/InlineResponse2006.md deleted file mode 100644 index 7a03d61e..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2006.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse2006 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sparklines** | [**list[Metrics]**](Metrics.md) | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2006Memberships.md b/sdk/python/sdk/zrok/docs/InlineResponse2006Memberships.md deleted file mode 100644 index 3c6e1efe..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2006Memberships.md +++ /dev/null @@ -1,11 +0,0 @@ -# InlineResponse2006Memberships - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_token** | **str** | | [optional] -**description** | **str** | | [optional] -**admin** | **bool** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2007.md b/sdk/python/sdk/zrok/docs/InlineResponse2007.md deleted file mode 100644 index e0914fdd..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2007.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse2007 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**controller_version** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse201.md b/sdk/python/sdk/zrok/docs/InlineResponse201.md deleted file mode 100644 index bbe25b94..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse201.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse201 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**frontend_token** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2011.md b/sdk/python/sdk/zrok/docs/InlineResponse2011.md deleted file mode 100644 index 8fd74494..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2011.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2011 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity** | **str** | | [optional] -**cfg** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2012.md b/sdk/python/sdk/zrok/docs/InlineResponse2012.md deleted file mode 100644 index a72f2065..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2012.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse2012 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_token** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse2013.md b/sdk/python/sdk/zrok/docs/InlineResponse2013.md deleted file mode 100644 index 98930cb2..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse2013.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2013 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**frontend_token** | **str** | | [optional] -**backend_mode** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InlineResponse400.md b/sdk/python/sdk/zrok/docs/InlineResponse400.md deleted file mode 100644 index 29c731f6..00000000 --- a/sdk/python/sdk/zrok/docs/InlineResponse400.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse400 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/InviteBody.md b/sdk/python/sdk/zrok/docs/InviteBody.md deleted file mode 100644 index 0fb2fcb0..00000000 --- a/sdk/python/sdk/zrok/docs/InviteBody.md +++ /dev/null @@ -1,10 +0,0 @@ -# InviteBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**invite_token** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/LoginBody.md b/sdk/python/sdk/zrok/docs/LoginBody.md deleted file mode 100644 index b877ebb8..00000000 --- a/sdk/python/sdk/zrok/docs/LoginBody.md +++ /dev/null @@ -1,10 +0,0 @@ -# LoginBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | [optional] -**password** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/OrganizationAddBody.md b/sdk/python/sdk/zrok/docs/OrganizationAddBody.md deleted file mode 100644 index 485613d0..00000000 --- a/sdk/python/sdk/zrok/docs/OrganizationAddBody.md +++ /dev/null @@ -1,11 +0,0 @@ -# OrganizationAddBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_token** | **str** | | [optional] -**email** | **str** | | [optional] -**admin** | **bool** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/OrganizationBody.md b/sdk/python/sdk/zrok/docs/OrganizationBody.md deleted file mode 100644 index 014b7e7a..00000000 --- a/sdk/python/sdk/zrok/docs/OrganizationBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# OrganizationBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**description** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/OrganizationBody1.md b/sdk/python/sdk/zrok/docs/OrganizationBody1.md deleted file mode 100644 index 2fbaf697..00000000 --- a/sdk/python/sdk/zrok/docs/OrganizationBody1.md +++ /dev/null @@ -1,9 +0,0 @@ -# OrganizationBody1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_token** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/OrganizationListBody.md b/sdk/python/sdk/zrok/docs/OrganizationListBody.md deleted file mode 100644 index 2ceb8a7d..00000000 --- a/sdk/python/sdk/zrok/docs/OrganizationListBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# OrganizationListBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_token** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/OrganizationRemoveBody.md b/sdk/python/sdk/zrok/docs/OrganizationRemoveBody.md deleted file mode 100644 index f61c0b93..00000000 --- a/sdk/python/sdk/zrok/docs/OrganizationRemoveBody.md +++ /dev/null @@ -1,10 +0,0 @@ -# OrganizationRemoveBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**organization_token** | **str** | | [optional] -**email** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/RegenerateAccountTokenBody.md b/sdk/python/sdk/zrok/docs/RegenerateAccountTokenBody.md deleted file mode 100644 index 930d7945..00000000 --- a/sdk/python/sdk/zrok/docs/RegenerateAccountTokenBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# RegenerateAccountTokenBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email_address** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/RegenerateTokenBody.md b/sdk/python/sdk/zrok/docs/RegenerateTokenBody.md deleted file mode 100644 index 2c863aba..00000000 --- a/sdk/python/sdk/zrok/docs/RegenerateTokenBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# RegenerateTokenBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email_address** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/RegisterBody.md b/sdk/python/sdk/zrok/docs/RegisterBody.md deleted file mode 100644 index 0adc3fc8..00000000 --- a/sdk/python/sdk/zrok/docs/RegisterBody.md +++ /dev/null @@ -1,10 +0,0 @@ -# RegisterBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**register_token** | **str** | | [optional] -**password** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/ResetPasswordBody.md b/sdk/python/sdk/zrok/docs/ResetPasswordBody.md deleted file mode 100644 index 9f74c6d6..00000000 --- a/sdk/python/sdk/zrok/docs/ResetPasswordBody.md +++ /dev/null @@ -1,10 +0,0 @@ -# ResetPasswordBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**reset_token** | **str** | | [optional] -**password** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/ResetPasswordRequestBody.md b/sdk/python/sdk/zrok/docs/ResetPasswordRequestBody.md deleted file mode 100644 index a59834d9..00000000 --- a/sdk/python/sdk/zrok/docs/ResetPasswordRequestBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# ResetPasswordRequestBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email_address** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/ShareBody.md b/sdk/python/sdk/zrok/docs/ShareBody.md deleted file mode 100644 index 4c01d818..00000000 --- a/sdk/python/sdk/zrok/docs/ShareBody.md +++ /dev/null @@ -1,12 +0,0 @@ -# ShareBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**share_token** | **str** | | [optional] -**backend_proxy_endpoint** | **str** | | [optional] -**add_access_grants** | **list[str]** | | [optional] -**remove_access_grants** | **list[str]** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/Shares.md b/sdk/python/sdk/zrok/docs/Shares.md deleted file mode 100644 index 5e8cabd6..00000000 --- a/sdk/python/sdk/zrok/docs/Shares.md +++ /dev/null @@ -1,8 +0,0 @@ -# Shares - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/sdk/python/sdk/zrok/docs/SparkData.md b/sdk/python/sdk/zrok/docs/SparkData.md deleted file mode 100644 index a0065208..00000000 --- a/sdk/python/sdk/zrok/docs/SparkData.md +++ /dev/null @@ -1,8 +0,0 @@ -# SparkData - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/sdk/python/sdk/zrok/docs/SparklinesBody.md b/sdk/python/sdk/zrok/docs/SparklinesBody.md deleted file mode 100644 index 94437504..00000000 --- a/sdk/python/sdk/zrok/docs/SparklinesBody.md +++ /dev/null @@ -1,11 +0,0 @@ -# SparklinesBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**account** | **bool** | | [optional] -**environments** | **list[str]** | | [optional] -**shares** | **list[str]** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/TokenGenerateBody.md b/sdk/python/sdk/zrok/docs/TokenGenerateBody.md deleted file mode 100644 index 0622eb92..00000000 --- a/sdk/python/sdk/zrok/docs/TokenGenerateBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# TokenGenerateBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**invite_tokens** | **list[str]** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/UnaccessBody.md b/sdk/python/sdk/zrok/docs/UnaccessBody.md deleted file mode 100644 index d3bcdfbe..00000000 --- a/sdk/python/sdk/zrok/docs/UnaccessBody.md +++ /dev/null @@ -1,11 +0,0 @@ -# UnaccessBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**frontend_token** | **str** | | [optional] -**env_zid** | **str** | | [optional] -**share_token** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/UnshareBody.md b/sdk/python/sdk/zrok/docs/UnshareBody.md deleted file mode 100644 index ec7c4dd1..00000000 --- a/sdk/python/sdk/zrok/docs/UnshareBody.md +++ /dev/null @@ -1,11 +0,0 @@ -# UnshareBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**env_zid** | **str** | | [optional] -**share_token** | **str** | | [optional] -**reserved** | **bool** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/VerifyBody.md b/sdk/python/sdk/zrok/docs/VerifyBody.md deleted file mode 100644 index 993e6a34..00000000 --- a/sdk/python/sdk/zrok/docs/VerifyBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# VerifyBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**register_token** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/Version.md b/sdk/python/sdk/zrok/docs/Version.md deleted file mode 100644 index 203ff4a1..00000000 --- a/sdk/python/sdk/zrok/docs/Version.md +++ /dev/null @@ -1,8 +0,0 @@ -# Version - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/sdk/python/sdk/zrok/docs/VersionBody.md b/sdk/python/sdk/zrok/docs/VersionBody.md deleted file mode 100644 index 43f385ee..00000000 --- a/sdk/python/sdk/zrok/docs/VersionBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# VersionBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_version** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/docs/VersionCheckBody.md b/sdk/python/sdk/zrok/docs/VersionCheckBody.md deleted file mode 100644 index b00f7a3f..00000000 --- a/sdk/python/sdk/zrok/docs/VersionCheckBody.md +++ /dev/null @@ -1,9 +0,0 @@ -# VersionCheckBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_version** | **str** | | [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) - diff --git a/sdk/python/sdk/zrok/test/test_access_body.py b/sdk/python/sdk/zrok/test/test_access_body.py deleted file mode 100644 index 7e936247..00000000 --- a/sdk/python/sdk/zrok/test/test_access_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.access_body import AccessBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestAccessBody(unittest.TestCase): - """AccessBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAccessBody(self): - """Test AccessBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.access_body.AccessBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_access_body1.py b/sdk/python/sdk/zrok/test/test_access_body1.py deleted file mode 100644 index 53e78285..00000000 --- a/sdk/python/sdk/zrok/test/test_access_body1.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.access_body1 import AccessBody1 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestAccessBody1(unittest.TestCase): - """AccessBody1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAccessBody1(self): - """Test AccessBody1""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.access_body1.AccessBody1() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_account_api.py b/sdk/python/sdk/zrok/test/test_account_api.py index 2a02a258..419e1f1b 100644 --- a/sdk/python/sdk/zrok/test/test_account_api.py +++ b/sdk/python/sdk/zrok/test/test_account_api.py @@ -3,74 +3,72 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.api.account_api import AccountApi # noqa: E501 -from zrok_api.rest import ApiException +from zrok_api.api.account_api import AccountApi class TestAccountApi(unittest.TestCase): """AccountApi unit test stubs""" - def setUp(self): - self.api = AccountApi() # noqa: E501 + def setUp(self) -> None: + self.api = AccountApi() - def tearDown(self): + def tearDown(self) -> None: pass - def test_change_password(self): + def test_change_password(self) -> None: """Test case for change_password """ pass - def test_invite(self): + def test_invite(self) -> None: """Test case for invite """ pass - def test_login(self): + def test_login(self) -> None: """Test case for login """ pass - def test_regenerate_token(self): - """Test case for regenerate_token + def test_regenerate_account_token(self) -> None: + """Test case for regenerate_account_token """ pass - def test_register(self): + def test_register(self) -> None: """Test case for register """ pass - def test_reset_password(self): + def test_reset_password(self) -> None: """Test case for reset_password """ pass - def test_reset_password_request(self): + def test_reset_password_request(self) -> None: """Test case for reset_password_request """ pass - def test_verify(self): + def test_verify(self) -> None: """Test case for verify """ diff --git a/sdk/python/sdk/zrok/test/test_account_body.py b/sdk/python/sdk/zrok/test/test_account_body.py deleted file mode 100644 index 56a6837a..00000000 --- a/sdk/python/sdk/zrok/test/test_account_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.account_body import AccountBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestAccountBody(unittest.TestCase): - """AccountBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAccountBody(self): - """Test AccountBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.account_body.AccountBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_admin_api.py b/sdk/python/sdk/zrok/test/test_admin_api.py index 5b9a30b4..720e8832 100644 --- a/sdk/python/sdk/zrok/test/test_admin_api.py +++ b/sdk/python/sdk/zrok/test/test_admin_api.py @@ -3,110 +3,108 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.api.admin_api import AdminApi # noqa: E501 -from zrok_api.rest import ApiException +from zrok_api.api.admin_api import AdminApi class TestAdminApi(unittest.TestCase): """AdminApi unit test stubs""" - def setUp(self): - self.api = AdminApi() # noqa: E501 + def setUp(self) -> None: + self.api = AdminApi() - def tearDown(self): + def tearDown(self) -> None: pass - def test_add_organization_member(self): + def test_add_organization_member(self) -> None: """Test case for add_organization_member """ pass - def test_create_account(self): + def test_create_account(self) -> None: """Test case for create_account """ pass - def test_create_frontend(self): + def test_create_frontend(self) -> None: """Test case for create_frontend """ pass - def test_create_identity(self): + def test_create_identity(self) -> None: """Test case for create_identity """ pass - def test_create_organization(self): + def test_create_organization(self) -> None: """Test case for create_organization """ pass - def test_delete_frontend(self): + def test_delete_frontend(self) -> None: """Test case for delete_frontend """ pass - def test_delete_organization(self): + def test_delete_organization(self) -> None: """Test case for delete_organization """ pass - def test_grants(self): + def test_grants(self) -> None: """Test case for grants """ pass - def test_invite_token_generate(self): + def test_invite_token_generate(self) -> None: """Test case for invite_token_generate """ pass - def test_list_frontends(self): + def test_list_frontends(self) -> None: """Test case for list_frontends """ pass - def test_list_organization_members(self): + def test_list_organization_members(self) -> None: """Test case for list_organization_members """ pass - def test_list_organizations(self): + def test_list_organizations(self) -> None: """Test case for list_organizations """ pass - def test_remove_organization_member(self): + def test_remove_organization_member(self) -> None: """Test case for remove_organization_member """ pass - def test_update_frontend(self): + def test_update_frontend(self) -> None: """Test case for update_frontend """ diff --git a/sdk/python/sdk/zrok/test/test_auth_user.py b/sdk/python/sdk/zrok/test/test_auth_user.py index 3e362a20..e5d70b26 100644 --- a/sdk/python/sdk/zrok/test/test_auth_user.py +++ b/sdk/python/sdk/zrok/test/test_auth_user.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.auth_user import AuthUser # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.auth_user import AuthUser class TestAuthUser(unittest.TestCase): """AuthUser unit test stubs""" @@ -28,12 +25,28 @@ class TestAuthUser(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> AuthUser: + """Test AuthUser + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AuthUser` + """ + model = AuthUser() + if include_optional: + return AuthUser( + username = '', + password = '' + ) + else: + return AuthUser( + ) + """ + def testAuthUser(self): """Test AuthUser""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.auth_user.AuthUser() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_change_password_body.py b/sdk/python/sdk/zrok/test/test_change_password_body.py deleted file mode 100644 index d1ebf600..00000000 --- a/sdk/python/sdk/zrok/test/test_change_password_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.change_password_body import ChangePasswordBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestChangePasswordBody(unittest.TestCase): - """ChangePasswordBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChangePasswordBody(self): - """Test ChangePasswordBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.change_password_body.ChangePasswordBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_client_version_check_body.py b/sdk/python/sdk/zrok/test/test_client_version_check_body.py deleted file mode 100644 index 11fec3f4..00000000 --- a/sdk/python/sdk/zrok/test/test_client_version_check_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.client_version_check_body import ClientVersionCheckBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestClientVersionCheckBody(unittest.TestCase): - """ClientVersionCheckBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testClientVersionCheckBody(self): - """Test ClientVersionCheckBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.client_version_check_body.ClientVersionCheckBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_configuration.py b/sdk/python/sdk/zrok/test/test_configuration.py index 29ad044b..bf80210e 100644 --- a/sdk/python/sdk/zrok/test/test_configuration.py +++ b/sdk/python/sdk/zrok/test/test_configuration.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.configuration import Configuration # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.configuration import Configuration class TestConfiguration(unittest.TestCase): """Configuration unit test stubs""" @@ -28,12 +25,31 @@ class TestConfiguration(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> Configuration: + """Test Configuration + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `Configuration` + """ + model = Configuration() + if include_optional: + return Configuration( + version = '', + tou_link = '', + invites_open = True, + requires_invite_token = True, + invite_token_contact = '' + ) + else: + return Configuration( + ) + """ + def testConfiguration(self): """Test Configuration""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.configuration.Configuration() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_disable_body.py b/sdk/python/sdk/zrok/test/test_disable_body.py deleted file mode 100644 index ab342d59..00000000 --- a/sdk/python/sdk/zrok/test/test_disable_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.disable_body import DisableBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestDisableBody(unittest.TestCase): - """DisableBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDisableBody(self): - """Test DisableBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.disable_body.DisableBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_enable_body.py b/sdk/python/sdk/zrok/test/test_enable_body.py deleted file mode 100644 index d3eec4b3..00000000 --- a/sdk/python/sdk/zrok/test/test_enable_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.enable_body import EnableBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestEnableBody(unittest.TestCase): - """EnableBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEnableBody(self): - """Test EnableBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.enable_body.EnableBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_environment.py b/sdk/python/sdk/zrok/test/test_environment.py index 3a339b29..d2e28280 100644 --- a/sdk/python/sdk/zrok/test/test_environment.py +++ b/sdk/python/sdk/zrok/test/test_environment.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.environment import Environment # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.environment import Environment class TestEnvironment(unittest.TestCase): """Environment unit test stubs""" @@ -28,12 +25,38 @@ class TestEnvironment(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> Environment: + """Test Environment + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `Environment` + """ + model = Environment() + if include_optional: + return Environment( + description = '', + host = '', + address = '', + z_id = '', + activity = [ + zrok_api.models.spark_data_sample.sparkDataSample( + rx = 1.337, + tx = 1.337, ) + ], + limited = True, + created_at = 56, + updated_at = 56 + ) + else: + return Environment( + ) + """ + def testEnvironment(self): """Test Environment""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.environment.Environment() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_environment_and_resources.py b/sdk/python/sdk/zrok/test/test_environment_and_resources.py index ab4f4501..56cafdac 100644 --- a/sdk/python/sdk/zrok/test/test_environment_and_resources.py +++ b/sdk/python/sdk/zrok/test/test_environment_and_resources.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.environment_and_resources import EnvironmentAndResources # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.environment_and_resources import EnvironmentAndResources class TestEnvironmentAndResources(unittest.TestCase): """EnvironmentAndResources unit test stubs""" @@ -28,12 +25,70 @@ class TestEnvironmentAndResources(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> EnvironmentAndResources: + """Test EnvironmentAndResources + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `EnvironmentAndResources` + """ + model = EnvironmentAndResources() + if include_optional: + return EnvironmentAndResources( + environment = zrok_api.models.environment.environment( + description = '', + host = '', + address = '', + z_id = '', + activity = [ + zrok_api.models.spark_data_sample.sparkDataSample( + rx = 1.337, + tx = 1.337, ) + ], + limited = True, + created_at = 56, + updated_at = 56, ), + frontends = [ + zrok_api.models.frontend.frontend( + id = 56, + frontend_token = '', + share_token = '', + backend_mode = '', + bind_address = '', + description = '', + z_id = '', + created_at = 56, + updated_at = 56, ) + ], + shares = [ + zrok_api.models.share.share( + share_token = '', + z_id = '', + share_mode = '', + backend_mode = '', + frontend_selection = '', + frontend_endpoint = '', + backend_proxy_endpoint = '', + reserved = True, + activity = [ + zrok_api.models.spark_data_sample.sparkDataSample( + rx = 1.337, + tx = 1.337, ) + ], + limited = True, + created_at = 56, + updated_at = 56, ) + ] + ) + else: + return EnvironmentAndResources( + ) + """ + def testEnvironmentAndResources(self): """Test EnvironmentAndResources""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.environment_and_resources.EnvironmentAndResources() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_environment_api.py b/sdk/python/sdk/zrok/test/test_environment_api.py index c70480e6..83aeacd8 100644 --- a/sdk/python/sdk/zrok/test/test_environment_api.py +++ b/sdk/python/sdk/zrok/test/test_environment_api.py @@ -3,38 +3,36 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.api.environment_api import EnvironmentApi # noqa: E501 -from zrok_api.rest import ApiException +from zrok_api.api.environment_api import EnvironmentApi class TestEnvironmentApi(unittest.TestCase): """EnvironmentApi unit test stubs""" - def setUp(self): - self.api = EnvironmentApi() # noqa: E501 + def setUp(self) -> None: + self.api = EnvironmentApi() - def tearDown(self): + def tearDown(self) -> None: pass - def test_disable(self): + def test_disable(self) -> None: """Test case for disable """ pass - def test_enable(self): + def test_enable(self) -> None: """Test case for enable """ diff --git a/sdk/python/sdk/zrok/test/test_environments.py b/sdk/python/sdk/zrok/test/test_environments.py deleted file mode 100644 index 21972eca..00000000 --- a/sdk/python/sdk/zrok/test/test_environments.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.environments import Environments # noqa: E501 -from zrok_api.rest import ApiException - - -class TestEnvironments(unittest.TestCase): - """Environments unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEnvironments(self): - """Test Environments""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.environments.Environments() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_error_message.py b/sdk/python/sdk/zrok/test/test_error_message.py deleted file mode 100644 index db509710..00000000 --- a/sdk/python/sdk/zrok/test/test_error_message.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.error_message import ErrorMessage # noqa: E501 -from zrok_api.rest import ApiException - - -class TestErrorMessage(unittest.TestCase): - """ErrorMessage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorMessage(self): - """Test ErrorMessage""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.error_message.ErrorMessage() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_frontend.py b/sdk/python/sdk/zrok/test/test_frontend.py index 7b44e3ef..eba715d9 100644 --- a/sdk/python/sdk/zrok/test/test_frontend.py +++ b/sdk/python/sdk/zrok/test/test_frontend.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.frontend import Frontend # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.frontend import Frontend class TestFrontend(unittest.TestCase): """Frontend unit test stubs""" @@ -28,12 +25,35 @@ class TestFrontend(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> Frontend: + """Test Frontend + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `Frontend` + """ + model = Frontend() + if include_optional: + return Frontend( + id = 56, + frontend_token = '', + share_token = '', + backend_mode = '', + bind_address = '', + description = '', + z_id = '', + created_at = 56, + updated_at = 56 + ) + else: + return Frontend( + ) + """ + def testFrontend(self): """Test Frontend""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.frontend.Frontend() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_frontend_body.py b/sdk/python/sdk/zrok/test/test_frontend_body.py deleted file mode 100644 index 8519edbc..00000000 --- a/sdk/python/sdk/zrok/test/test_frontend_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.frontend_body import FrontendBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestFrontendBody(unittest.TestCase): - """FrontendBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFrontendBody(self): - """Test FrontendBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.frontend_body.FrontendBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_frontend_body1.py b/sdk/python/sdk/zrok/test/test_frontend_body1.py deleted file mode 100644 index 5a560aff..00000000 --- a/sdk/python/sdk/zrok/test/test_frontend_body1.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.frontend_body1 import FrontendBody1 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestFrontendBody1(unittest.TestCase): - """FrontendBody1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFrontendBody1(self): - """Test FrontendBody1""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.frontend_body1.FrontendBody1() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_frontend_body2.py b/sdk/python/sdk/zrok/test/test_frontend_body2.py deleted file mode 100644 index c8b2016c..00000000 --- a/sdk/python/sdk/zrok/test/test_frontend_body2.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.frontend_body2 import FrontendBody2 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestFrontendBody2(unittest.TestCase): - """FrontendBody2 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFrontendBody2(self): - """Test FrontendBody2""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.frontend_body2.FrontendBody2() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_frontends.py b/sdk/python/sdk/zrok/test/test_frontends.py deleted file mode 100644 index 0a7a8e45..00000000 --- a/sdk/python/sdk/zrok/test/test_frontends.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.list_frontends200_response_inner import ListFrontends200ResponseInner # noqa: E501 -from zrok_api.rest import ApiException - - -class TestFrontends(unittest.TestCase): - """Frontends unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFrontends(self): - """Test Frontends""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.frontends.Frontends() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_grants_body.py b/sdk/python/sdk/zrok/test/test_grants_body.py deleted file mode 100644 index 431fd27b..00000000 --- a/sdk/python/sdk/zrok/test/test_grants_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.grants_body import GrantsBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestGrantsBody(unittest.TestCase): - """GrantsBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGrantsBody(self): - """Test GrantsBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.grants_body.GrantsBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_identity_body.py b/sdk/python/sdk/zrok/test/test_identity_body.py deleted file mode 100644 index b3716d87..00000000 --- a/sdk/python/sdk/zrok/test/test_identity_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.identity_body import IdentityBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestIdentityBody(unittest.TestCase): - """IdentityBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIdentityBody(self): - """Test IdentityBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.identity_body.IdentityBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response200.py b/sdk/python/sdk/zrok/test/test_inline_response200.py deleted file mode 100644 index a447716d..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response200.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response200 import InlineResponse200 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse200(unittest.TestCase): - """InlineResponse200 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse200(self): - """Test InlineResponse200""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response200.InlineResponse200() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2001.py b/sdk/python/sdk/zrok/test/test_inline_response2001.py deleted file mode 100644 index 73fc1356..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2001.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2001 import InlineResponse2001 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2001(unittest.TestCase): - """InlineResponse2001 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2001(self): - """Test InlineResponse2001""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2001.InlineResponse2001() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2002.py b/sdk/python/sdk/zrok/test/test_inline_response2002.py deleted file mode 100644 index 0230ae38..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2002.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2002 import InlineResponse2002 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2002(unittest.TestCase): - """InlineResponse2002 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2002(self): - """Test InlineResponse2002""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2002.InlineResponse2002() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2003.py b/sdk/python/sdk/zrok/test/test_inline_response2003.py deleted file mode 100644 index dc30845e..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2003.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2003 import InlineResponse2003 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2003(unittest.TestCase): - """InlineResponse2003 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2003(self): - """Test InlineResponse2003""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2003.InlineResponse2003() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2003_members.py b/sdk/python/sdk/zrok/test/test_inline_response2003_members.py deleted file mode 100644 index 1fd04fa1..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2003_members.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2003_members import InlineResponse2003Members # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2003Members(unittest.TestCase): - """InlineResponse2003Members unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2003Members(self): - """Test InlineResponse2003Members""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2003_members.InlineResponse2003Members() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2004.py b/sdk/python/sdk/zrok/test/test_inline_response2004.py deleted file mode 100644 index 264bc094..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2004.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2004 import InlineResponse2004 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2004(unittest.TestCase): - """InlineResponse2004 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2004(self): - """Test InlineResponse2004""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2004.InlineResponse2004() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2004_members.py b/sdk/python/sdk/zrok/test/test_inline_response2004_members.py deleted file mode 100644 index 7376a0b9..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2004_members.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2004_members import InlineResponse2004Members # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2004Members(unittest.TestCase): - """InlineResponse2004Members unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2004Members(self): - """Test InlineResponse2004Members""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2004_members.InlineResponse2004Members() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2004_organizations.py b/sdk/python/sdk/zrok/test/test_inline_response2004_organizations.py deleted file mode 100644 index 598471e6..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2004_organizations.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2004_organizations import InlineResponse2004Organizations # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2004Organizations(unittest.TestCase): - """InlineResponse2004Organizations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2004Organizations(self): - """Test InlineResponse2004Organizations""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2004_organizations.InlineResponse2004Organizations() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2005.py b/sdk/python/sdk/zrok/test/test_inline_response2005.py deleted file mode 100644 index cf3b41ac..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2005.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2005 import InlineResponse2005 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2005(unittest.TestCase): - """InlineResponse2005 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2005(self): - """Test InlineResponse2005""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2005.InlineResponse2005() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2005_memberships.py b/sdk/python/sdk/zrok/test/test_inline_response2005_memberships.py deleted file mode 100644 index 230a6ac2..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2005_memberships.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2005_memberships import InlineResponse2005Memberships # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2005Memberships(unittest.TestCase): - """InlineResponse2005Memberships unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2005Memberships(self): - """Test InlineResponse2005Memberships""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2005_memberships.InlineResponse2005Memberships() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2005_organizations.py b/sdk/python/sdk/zrok/test/test_inline_response2005_organizations.py deleted file mode 100644 index 6c3e995e..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2005_organizations.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2005_organizations import InlineResponse2005Organizations # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2005Organizations(unittest.TestCase): - """InlineResponse2005Organizations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2005Organizations(self): - """Test InlineResponse2005Organizations""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2005_organizations.InlineResponse2005Organizations() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2006.py b/sdk/python/sdk/zrok/test/test_inline_response2006.py deleted file mode 100644 index fd19aa10..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2006.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2006 import InlineResponse2006 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2006(unittest.TestCase): - """InlineResponse2006 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2006(self): - """Test InlineResponse2006""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2006.InlineResponse2006() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2006_memberships.py b/sdk/python/sdk/zrok/test/test_inline_response2006_memberships.py deleted file mode 100644 index 1a779c3e..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2006_memberships.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2006_memberships import InlineResponse2006Memberships # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2006Memberships(unittest.TestCase): - """InlineResponse2006Memberships unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2006Memberships(self): - """Test InlineResponse2006Memberships""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2006_memberships.InlineResponse2006Memberships() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2007.py b/sdk/python/sdk/zrok/test/test_inline_response2007.py deleted file mode 100644 index 52ae67ba..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2007.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2007 import InlineResponse2007 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2007(unittest.TestCase): - """InlineResponse2007 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2007(self): - """Test InlineResponse2007""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2007.InlineResponse2007() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response201.py b/sdk/python/sdk/zrok/test/test_inline_response201.py deleted file mode 100644 index 3c719ebd..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response201.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response201 import InlineResponse201 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse201(unittest.TestCase): - """InlineResponse201 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse201(self): - """Test InlineResponse201""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response201.InlineResponse201() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2011.py b/sdk/python/sdk/zrok/test/test_inline_response2011.py deleted file mode 100644 index 3594d34c..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2011.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2011 import InlineResponse2011 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2011(unittest.TestCase): - """InlineResponse2011 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2011(self): - """Test InlineResponse2011""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2011.InlineResponse2011() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2012.py b/sdk/python/sdk/zrok/test/test_inline_response2012.py deleted file mode 100644 index cc69a570..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2012.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2012 import InlineResponse2012 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2012(unittest.TestCase): - """InlineResponse2012 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2012(self): - """Test InlineResponse2012""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2012.InlineResponse2012() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response2013.py b/sdk/python/sdk/zrok/test/test_inline_response2013.py deleted file mode 100644 index 3b028a6c..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response2013.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response2013 import InlineResponse2013 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse2013(unittest.TestCase): - """InlineResponse2013 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse2013(self): - """Test InlineResponse2013""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response2013.InlineResponse2013() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_inline_response400.py b/sdk/python/sdk/zrok/test/test_inline_response400.py deleted file mode 100644 index 13e6f8c6..00000000 --- a/sdk/python/sdk/zrok/test/test_inline_response400.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.inline_response400 import InlineResponse400 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInlineResponse400(unittest.TestCase): - """InlineResponse400 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineResponse400(self): - """Test InlineResponse400""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.inline_response400.InlineResponse400() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_invite_body.py b/sdk/python/sdk/zrok/test/test_invite_body.py deleted file mode 100644 index 8228bdc0..00000000 --- a/sdk/python/sdk/zrok/test/test_invite_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.invite_body import InviteBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestInviteBody(unittest.TestCase): - """InviteBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInviteBody(self): - """Test InviteBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.invite_body.InviteBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_login_body.py b/sdk/python/sdk/zrok/test/test_login_body.py deleted file mode 100644 index 3dd5df4d..00000000 --- a/sdk/python/sdk/zrok/test/test_login_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.login_body import LoginBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestLoginBody(unittest.TestCase): - """LoginBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLoginBody(self): - """Test LoginBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.login_body.LoginBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_metadata_api.py b/sdk/python/sdk/zrok/test/test_metadata_api.py index 4d75a9a4..2424ae4c 100644 --- a/sdk/python/sdk/zrok/test/test_metadata_api.py +++ b/sdk/python/sdk/zrok/test/test_metadata_api.py @@ -3,115 +3,125 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.api.metadata_api import MetadataApi # noqa: E501 -from zrok_api.rest import ApiException +from zrok_api.api.metadata_api import MetadataApi class TestMetadataApi(unittest.TestCase): """MetadataApi unit test stubs""" - def setUp(self): - self.api = MetadataApi() # noqa: E501 + def setUp(self) -> None: + self.api = MetadataApi() - def tearDown(self): + def tearDown(self) -> None: pass - def test_configuration(self): + def test_client_version_check(self) -> None: + """Test case for client_version_check + + """ + pass + + def test_configuration(self) -> None: """Test case for configuration """ pass - def test_get_account_detail(self): + def test_get_account_detail(self) -> None: """Test case for get_account_detail """ pass - def test_get_account_metrics(self): + def test_get_account_metrics(self) -> None: """Test case for get_account_metrics """ pass - def test_get_environment_detail(self): + def test_get_environment_detail(self) -> None: """Test case for get_environment_detail """ pass - def test_get_environment_metrics(self): + def test_get_environment_metrics(self) -> None: """Test case for get_environment_metrics """ pass - def test_get_frontend_detail(self): + def test_get_frontend_detail(self) -> None: """Test case for get_frontend_detail """ pass - def test_get_share_detail(self): + def test_get_share_detail(self) -> None: """Test case for get_share_detail """ pass - def test_get_share_metrics(self): + def test_get_share_metrics(self) -> None: """Test case for get_share_metrics """ pass - def test_get_sparklines(self): + def test_get_sparklines(self) -> None: """Test case for get_sparklines """ pass - def test_list_memberships(self): + def test_list_memberships(self) -> None: """Test case for list_memberships """ pass - def test_list_org_members(self): + def test_list_org_members(self) -> None: """Test case for list_org_members """ pass - def test_org_account_overview(self): + def test_org_account_overview(self) -> None: """Test case for org_account_overview """ pass - def test_overview(self): + def test_overview(self) -> None: """Test case for overview """ pass - def test_version(self): + def test_version(self) -> None: """Test case for version """ pass + def test_version_inventory(self) -> None: + """Test case for version_inventory + + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_metrics.py b/sdk/python/sdk/zrok/test/test_metrics.py index 71ae9c2a..04179009 100644 --- a/sdk/python/sdk/zrok/test/test_metrics.py +++ b/sdk/python/sdk/zrok/test/test_metrics.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.metrics import Metrics # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.metrics import Metrics class TestMetrics(unittest.TestCase): """Metrics unit test stubs""" @@ -28,12 +25,35 @@ class TestMetrics(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> Metrics: + """Test Metrics + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `Metrics` + """ + model = Metrics() + if include_optional: + return Metrics( + scope = '', + id = '', + period = 1.337, + samples = [ + zrok_api.models.metrics_sample.metricsSample( + rx = 1.337, + tx = 1.337, + timestamp = 1.337, ) + ] + ) + else: + return Metrics( + ) + """ + def testMetrics(self): """Test Metrics""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.metrics.Metrics() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_metrics_sample.py b/sdk/python/sdk/zrok/test/test_metrics_sample.py index 19e956f0..0b58e38d 100644 --- a/sdk/python/sdk/zrok/test/test_metrics_sample.py +++ b/sdk/python/sdk/zrok/test/test_metrics_sample.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.metrics_sample import MetricsSample # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.metrics_sample import MetricsSample class TestMetricsSample(unittest.TestCase): """MetricsSample unit test stubs""" @@ -28,12 +25,29 @@ class TestMetricsSample(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> MetricsSample: + """Test MetricsSample + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `MetricsSample` + """ + model = MetricsSample() + if include_optional: + return MetricsSample( + rx = 1.337, + tx = 1.337, + timestamp = 1.337 + ) + else: + return MetricsSample( + ) + """ + def testMetricsSample(self): """Test MetricsSample""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.metrics_sample.MetricsSample() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_organization_add_body.py b/sdk/python/sdk/zrok/test/test_organization_add_body.py deleted file mode 100644 index 13274497..00000000 --- a/sdk/python/sdk/zrok/test/test_organization_add_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.organization_add_body import OrganizationAddBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestOrganizationAddBody(unittest.TestCase): - """OrganizationAddBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOrganizationAddBody(self): - """Test OrganizationAddBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.organization_add_body.OrganizationAddBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_organization_body.py b/sdk/python/sdk/zrok/test/test_organization_body.py deleted file mode 100644 index 05e57436..00000000 --- a/sdk/python/sdk/zrok/test/test_organization_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.organization_body import OrganizationBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestOrganizationBody(unittest.TestCase): - """OrganizationBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOrganizationBody(self): - """Test OrganizationBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.organization_body.OrganizationBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_organization_body1.py b/sdk/python/sdk/zrok/test/test_organization_body1.py deleted file mode 100644 index 930378cb..00000000 --- a/sdk/python/sdk/zrok/test/test_organization_body1.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.organization_body1 import OrganizationBody1 # noqa: E501 -from zrok_api.rest import ApiException - - -class TestOrganizationBody1(unittest.TestCase): - """OrganizationBody1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOrganizationBody1(self): - """Test OrganizationBody1""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.organization_body1.OrganizationBody1() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_organization_list_body.py b/sdk/python/sdk/zrok/test/test_organization_list_body.py deleted file mode 100644 index b43c57e4..00000000 --- a/sdk/python/sdk/zrok/test/test_organization_list_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.organization_list_body import OrganizationListBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestOrganizationListBody(unittest.TestCase): - """OrganizationListBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOrganizationListBody(self): - """Test OrganizationListBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.organization_list_body.OrganizationListBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_organization_remove_body.py b/sdk/python/sdk/zrok/test/test_organization_remove_body.py deleted file mode 100644 index 07128ed8..00000000 --- a/sdk/python/sdk/zrok/test/test_organization_remove_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.organization_remove_body import OrganizationRemoveBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestOrganizationRemoveBody(unittest.TestCase): - """OrganizationRemoveBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOrganizationRemoveBody(self): - """Test OrganizationRemoveBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.organization_remove_body.OrganizationRemoveBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_overview.py b/sdk/python/sdk/zrok/test/test_overview.py index 8a92ad55..804007cd 100644 --- a/sdk/python/sdk/zrok/test/test_overview.py +++ b/sdk/python/sdk/zrok/test/test_overview.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.overview import Overview # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.overview import Overview class TestOverview(unittest.TestCase): """Overview unit test stubs""" @@ -28,12 +25,69 @@ class TestOverview(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> Overview: + """Test Overview + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `Overview` + """ + model = Overview() + if include_optional: + return Overview( + account_limited = True, + environments = [ + zrok_api.models.environment_and_resources.environmentAndResources( + environment = zrok_api.models.environment.environment( + description = '', + host = '', + address = '', + z_id = '', + activity = [ + zrok_api.models.spark_data_sample.sparkDataSample( + rx = 1.337, + tx = 1.337, ) + ], + limited = True, + created_at = 56, + updated_at = 56, ), + frontends = [ + zrok_api.models.frontend.frontend( + id = 56, + frontend_token = '', + share_token = '', + backend_mode = '', + bind_address = '', + description = '', + z_id = '', + created_at = 56, + updated_at = 56, ) + ], + shares = [ + zrok_api.models.share.share( + share_token = '', + z_id = '', + share_mode = '', + backend_mode = '', + frontend_selection = '', + frontend_endpoint = '', + backend_proxy_endpoint = '', + reserved = True, + limited = True, + created_at = 56, + updated_at = 56, ) + ], ) + ] + ) + else: + return Overview( + ) + """ + def testOverview(self): """Test Overview""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.overview.Overview() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_principal.py b/sdk/python/sdk/zrok/test/test_principal.py index f38cb221..f92c159c 100644 --- a/sdk/python/sdk/zrok/test/test_principal.py +++ b/sdk/python/sdk/zrok/test/test_principal.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.principal import Principal # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.principal import Principal class TestPrincipal(unittest.TestCase): """Principal unit test stubs""" @@ -28,12 +25,31 @@ class TestPrincipal(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> Principal: + """Test Principal + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `Principal` + """ + model = Principal() + if include_optional: + return Principal( + id = 56, + email = '', + token = '', + limitless = True, + admin = True + ) + else: + return Principal( + ) + """ + def testPrincipal(self): """Test Principal""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.principal.Principal() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_regenerate_account_token_body.py b/sdk/python/sdk/zrok/test/test_regenerate_account_token_body.py deleted file mode 100644 index 405b07c4..00000000 --- a/sdk/python/sdk/zrok/test/test_regenerate_account_token_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.regenerate_account_token_body import RegenerateAccountTokenBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestRegenerateAccountTokenBody(unittest.TestCase): - """RegenerateAccountTokenBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRegenerateAccountTokenBody(self): - """Test RegenerateAccountTokenBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.regenerate_account_token_body.RegenerateAccountTokenBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_regenerate_token_body.py b/sdk/python/sdk/zrok/test/test_regenerate_token_body.py deleted file mode 100644 index adfd771e..00000000 --- a/sdk/python/sdk/zrok/test/test_regenerate_token_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.regenerate_token_body import RegenerateTokenBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestRegenerateTokenBody(unittest.TestCase): - """RegenerateTokenBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRegenerateTokenBody(self): - """Test RegenerateTokenBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.regenerate_token_body.RegenerateTokenBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_register_body.py b/sdk/python/sdk/zrok/test/test_register_body.py deleted file mode 100644 index fe72be1e..00000000 --- a/sdk/python/sdk/zrok/test/test_register_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.register_body import RegisterBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestRegisterBody(unittest.TestCase): - """RegisterBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRegisterBody(self): - """Test RegisterBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.register_body.RegisterBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_reset_password_body.py b/sdk/python/sdk/zrok/test/test_reset_password_body.py deleted file mode 100644 index f4c4561d..00000000 --- a/sdk/python/sdk/zrok/test/test_reset_password_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.reset_password_body import ResetPasswordBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestResetPasswordBody(unittest.TestCase): - """ResetPasswordBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResetPasswordBody(self): - """Test ResetPasswordBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.reset_password_body.ResetPasswordBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_reset_password_request_body.py b/sdk/python/sdk/zrok/test/test_reset_password_request_body.py deleted file mode 100644 index d9a3360b..00000000 --- a/sdk/python/sdk/zrok/test/test_reset_password_request_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.reset_password_request_body import ResetPasswordRequestBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestResetPasswordRequestBody(unittest.TestCase): - """ResetPasswordRequestBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResetPasswordRequestBody(self): - """Test ResetPasswordRequestBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.reset_password_request_body.ResetPasswordRequestBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_share.py b/sdk/python/sdk/zrok/test/test_share.py index 80a16c16..ed498dc0 100644 --- a/sdk/python/sdk/zrok/test/test_share.py +++ b/sdk/python/sdk/zrok/test/test_share.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.share import Share # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.share import Share class TestShare(unittest.TestCase): """Share unit test stubs""" @@ -28,12 +25,42 @@ class TestShare(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> Share: + """Test Share + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `Share` + """ + model = Share() + if include_optional: + return Share( + share_token = '', + z_id = '', + share_mode = '', + backend_mode = '', + frontend_selection = '', + frontend_endpoint = '', + backend_proxy_endpoint = '', + reserved = True, + activity = [ + zrok_api.models.spark_data_sample.sparkDataSample( + rx = 1.337, + tx = 1.337, ) + ], + limited = True, + created_at = 56, + updated_at = 56 + ) + else: + return Share( + ) + """ + def testShare(self): """Test Share""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.share.Share() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_share_api.py b/sdk/python/sdk/zrok/test/test_share_api.py index e799f3c8..a22ef8bf 100644 --- a/sdk/python/sdk/zrok/test/test_share_api.py +++ b/sdk/python/sdk/zrok/test/test_share_api.py @@ -3,56 +3,60 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.api.share_api import ShareApi # noqa: E501 -from zrok_api.rest import ApiException +from zrok_api.api.share_api import ShareApi class TestShareApi(unittest.TestCase): """ShareApi unit test stubs""" - def setUp(self): - self.api = ShareApi() # noqa: E501 + def setUp(self) -> None: + self.api = ShareApi() - def tearDown(self): + def tearDown(self) -> None: pass - def test_access(self): + def test_access(self) -> None: """Test case for access """ pass - def test_share(self): + def test_share(self) -> None: """Test case for share """ pass - def test_unaccess(self): + def test_unaccess(self) -> None: """Test case for unaccess """ pass - def test_unshare(self): + def test_unshare(self) -> None: """Test case for unshare """ pass - def test_update_share(self): + def test_update_access(self) -> None: + """Test case for update_access + + """ + pass + + def test_update_share(self) -> None: """Test case for update_share """ diff --git a/sdk/python/sdk/zrok/test/test_share_body.py b/sdk/python/sdk/zrok/test/test_share_body.py deleted file mode 100644 index fcbdb3a2..00000000 --- a/sdk/python/sdk/zrok/test/test_share_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.share_body import ShareBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestShareBody(unittest.TestCase): - """ShareBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testShareBody(self): - """Test ShareBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.share_body.ShareBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_share_request.py b/sdk/python/sdk/zrok/test/test_share_request.py index 79abd431..c543ae26 100644 --- a/sdk/python/sdk/zrok/test/test_share_request.py +++ b/sdk/python/sdk/zrok/test/test_share_request.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.share_request import ShareRequest # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.share_request import ShareRequest class TestShareRequest(unittest.TestCase): """ShareRequest unit test stubs""" @@ -28,12 +25,50 @@ class TestShareRequest(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> ShareRequest: + """Test ShareRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ShareRequest` + """ + model = ShareRequest() + if include_optional: + return ShareRequest( + env_zid = '', + share_mode = 'public', + frontend_selection = [ + '' + ], + backend_mode = 'proxy', + backend_proxy_endpoint = '', + auth_scheme = '', + auth_users = [ + zrok_api.models.auth_user.authUser( + username = '', + password = '', ) + ], + oauth_provider = 'github', + oauth_email_domains = [ + '' + ], + oauth_authorization_check_interval = '', + reserved = True, + permission_mode = 'open', + access_grants = [ + '' + ], + unique_name = '' + ) + else: + return ShareRequest( + ) + """ + def testShareRequest(self): """Test ShareRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.share_request.ShareRequest() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_share_response.py b/sdk/python/sdk/zrok/test/test_share_response.py index e2ef3f94..46bb5af5 100644 --- a/sdk/python/sdk/zrok/test/test_share_response.py +++ b/sdk/python/sdk/zrok/test/test_share_response.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.share_response import ShareResponse # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.share_response import ShareResponse class TestShareResponse(unittest.TestCase): """ShareResponse unit test stubs""" @@ -28,12 +25,30 @@ class TestShareResponse(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> ShareResponse: + """Test ShareResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ShareResponse` + """ + model = ShareResponse() + if include_optional: + return ShareResponse( + frontend_proxy_endpoints = [ + '' + ], + share_token = '' + ) + else: + return ShareResponse( + ) + """ + def testShareResponse(self): """Test ShareResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.share_response.ShareResponse() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_shares.py b/sdk/python/sdk/zrok/test/test_shares.py deleted file mode 100644 index f225a196..00000000 --- a/sdk/python/sdk/zrok/test/test_shares.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.shares import Shares # noqa: E501 -from zrok_api.rest import ApiException - - -class TestShares(unittest.TestCase): - """Shares unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testShares(self): - """Test Shares""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.shares.Shares() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_spark_data.py b/sdk/python/sdk/zrok/test/test_spark_data.py deleted file mode 100644 index 0543758e..00000000 --- a/sdk/python/sdk/zrok/test/test_spark_data.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.spark_data import SparkData # noqa: E501 -from zrok_api.rest import ApiException - - -class TestSparkData(unittest.TestCase): - """SparkData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSparkData(self): - """Test SparkData""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.spark_data.SparkData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_spark_data_sample.py b/sdk/python/sdk/zrok/test/test_spark_data_sample.py index 993babe2..421d5dcd 100644 --- a/sdk/python/sdk/zrok/test/test_spark_data_sample.py +++ b/sdk/python/sdk/zrok/test/test_spark_data_sample.py @@ -3,21 +3,18 @@ """ zrok - zrok client access # noqa: E501 + zrok client access - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 -from __future__ import absolute_import import unittest -import zrok_api -from zrok_api.models.spark_data_sample import SparkDataSample # noqa: E501 -from zrok_api.rest import ApiException - +from zrok_api.models.spark_data_sample import SparkDataSample class TestSparkDataSample(unittest.TestCase): """SparkDataSample unit test stubs""" @@ -28,12 +25,28 @@ class TestSparkDataSample(unittest.TestCase): def tearDown(self): pass + def make_instance(self, include_optional) -> SparkDataSample: + """Test SparkDataSample + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SparkDataSample` + """ + model = SparkDataSample() + if include_optional: + return SparkDataSample( + rx = 1.337, + tx = 1.337 + ) + else: + return SparkDataSample( + ) + """ + def testSparkDataSample(self): """Test SparkDataSample""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.spark_data_sample.SparkDataSample() # noqa: E501 - pass - + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) if __name__ == '__main__': unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_sparklines_body.py b/sdk/python/sdk/zrok/test/test_sparklines_body.py deleted file mode 100644 index 00165b62..00000000 --- a/sdk/python/sdk/zrok/test/test_sparklines_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.sparklines_body import SparklinesBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestSparklinesBody(unittest.TestCase): - """SparklinesBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSparklinesBody(self): - """Test SparklinesBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.sparklines_body.SparklinesBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_token_generate_body.py b/sdk/python/sdk/zrok/test/test_token_generate_body.py deleted file mode 100644 index 990712d1..00000000 --- a/sdk/python/sdk/zrok/test/test_token_generate_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.token_generate_body import TokenGenerateBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestTokenGenerateBody(unittest.TestCase): - """TokenGenerateBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTokenGenerateBody(self): - """Test TokenGenerateBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.token_generate_body.TokenGenerateBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_unaccess_body.py b/sdk/python/sdk/zrok/test/test_unaccess_body.py deleted file mode 100644 index 23e63156..00000000 --- a/sdk/python/sdk/zrok/test/test_unaccess_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.unaccess_body import UnaccessBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestUnaccessBody(unittest.TestCase): - """UnaccessBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnaccessBody(self): - """Test UnaccessBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.unaccess_body.UnaccessBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_unshare_body.py b/sdk/python/sdk/zrok/test/test_unshare_body.py deleted file mode 100644 index 23236afe..00000000 --- a/sdk/python/sdk/zrok/test/test_unshare_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.unshare_body import UnshareBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestUnshareBody(unittest.TestCase): - """UnshareBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnshareBody(self): - """Test UnshareBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.unshare_body.UnshareBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_verify_body.py b/sdk/python/sdk/zrok/test/test_verify_body.py deleted file mode 100644 index 9148441b..00000000 --- a/sdk/python/sdk/zrok/test/test_verify_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.verify_body import VerifyBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestVerifyBody(unittest.TestCase): - """VerifyBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVerifyBody(self): - """Test VerifyBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.verify_body.VerifyBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_version.py b/sdk/python/sdk/zrok/test/test_version.py deleted file mode 100644 index cad9c632..00000000 --- a/sdk/python/sdk/zrok/test/test_version.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.version import Version # noqa: E501 -from zrok_api.rest import ApiException - - -class TestVersion(unittest.TestCase): - """Version unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVersion(self): - """Test Version""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.version.Version() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_version_body.py b/sdk/python/sdk/zrok/test/test_version_body.py deleted file mode 100644 index 1c0a1898..00000000 --- a/sdk/python/sdk/zrok/test/test_version_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.version_body import VersionBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestVersionBody(unittest.TestCase): - """VersionBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVersionBody(self): - """Test VersionBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.version_body.VersionBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/sdk/python/sdk/zrok/test/test_version_check_body.py b/sdk/python/sdk/zrok/test/test_version_check_body.py deleted file mode 100644 index 5ba46b33..00000000 --- a/sdk/python/sdk/zrok/test/test_version_check_body.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest - -import zrok_api -from zrok_api.models.version_check_body import VersionCheckBody # noqa: E501 -from zrok_api.rest import ApiException - - -class TestVersionCheckBody(unittest.TestCase): - """VersionCheckBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVersionCheckBody(self): - """Test VersionCheckBody""" - # FIXME: construct object with mandatory attributes with example values - # model = zrok_api.models.version_check_body.VersionCheckBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main()