-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
86 changed files
with
8,706 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
Run this to regenerate the client code. | ||
|
||
``` | ||
docker run --rm -v "${PWD}:/onelens-backend-python-client" openapitools/openapi-generator-cli:local-fix generate \ -i http://host.docker.internal:19000/openapi.json \ | ||
-g python \ | ||
-o /onelens-backend-python-client/ \ | ||
-t /onelens-backend-python-client/templates/ \ | ||
-c /onelens-backend-python-client/config.yaml \ | ||
-p packageName=onelens_backend_client \ | ||
-p projectName=onelens-backend-python-client \ | ||
--skip-validate-spec | ||
docker run --rm -v "${PWD}:/onelens-backend-python-client" openapitools/openapi-generator-cli:local-fix generate \ | ||
-i http://host.docker.internal:19000/openapi.json \ | ||
-g python \ | ||
-o /onelens-backend-python-client/ \ | ||
-t /onelens-backend-python-client/templates/ \ | ||
-c /onelens-backend-python-client/config.yaml \ | ||
-p packageName=onelens_backend_client \ | ||
-p projectName=onelens-backend-python-client \ | ||
--skip-validate-spec | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# DisableTenantPolicyRequest | ||
|
||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**tenant_id** | **str** | The id of the tenant. | | ||
**policy_id** | **str** | The id of the tenant policy. | | ||
|
||
## Example | ||
|
||
```python | ||
from onelens_backend_client.models.disable_tenant_policy_request import DisableTenantPolicyRequest | ||
|
||
# TODO update the JSON string below | ||
json = "{}" | ||
# create an instance of DisableTenantPolicyRequest from a JSON string | ||
disable_tenant_policy_request_instance = DisableTenantPolicyRequest.from_json(json) | ||
# print the JSON string representation of the object | ||
print(DisableTenantPolicyRequest.to_json()) | ||
|
||
# convert the object into a dict | ||
disable_tenant_policy_request_dict = disable_tenant_policy_request_instance.to_dict() | ||
# create an instance of DisableTenantPolicyRequest from a dict | ||
disable_tenant_policy_request_form_dict = disable_tenant_policy_request.from_dict(disable_tenant_policy_request_dict) | ||
``` | ||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# EnableAllPoliciesRequest | ||
|
||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**tenant_id** | **str** | The id of the tenant. | | ||
|
||
## Example | ||
|
||
```python | ||
from onelens_backend_client.models.enable_all_policies_request import EnableAllPoliciesRequest | ||
|
||
# TODO update the JSON string below | ||
json = "{}" | ||
# create an instance of EnableAllPoliciesRequest from a JSON string | ||
enable_all_policies_request_instance = EnableAllPoliciesRequest.from_json(json) | ||
# print the JSON string representation of the object | ||
print(EnableAllPoliciesRequest.to_json()) | ||
|
||
# convert the object into a dict | ||
enable_all_policies_request_dict = enable_all_policies_request_instance.to_dict() | ||
# create an instance of EnableAllPoliciesRequest from a dict | ||
enable_all_policies_request_form_dict = enable_all_policies_request.from_dict(enable_all_policies_request_dict) | ||
``` | ||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
Oops, something went wrong.