Skip to content

Commit 53d9e7b

Browse files
committed
chore(api): Update API definition
1 parent 9a35f9a commit 53d9e7b

897 files changed

Lines changed: 32105 additions & 5952 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 622 additions & 91 deletions
Large diffs are not rendered by default.

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.3.0-SNAPSHOT
1+
7.4.0-SNAPSHOT

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: all generate clean
1+
.PHONY: all generate clean remove
22

33
UID := $(shell id -u)
44
API_URL := https://infrahub-api-doc.nexgencloud.com/api.json
@@ -27,3 +27,6 @@ openapi/api.patch: openapi/api.orig.json openapi/api.json
2727

2828
clean:
2929
rm -f openapi/api.orig.json openapi/api.json openapi/api.patch
30+
31+
remove:
32+
rm -rf hyperstack docs test .github .openapi-generator .openapi-generator-ignore .gitlab-ci.yml .travis.yml README.md git_push.sh pyproject.toml requirements.txt setup.py setup.cfg test-requirements.txt tox.ini

README.md

Lines changed: 217 additions & 107 deletions
Large diffs are not rendered by default.

docs/APIKeyFields.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# APIKeyFields
1+
# ApiKeyFields
22

33

44
## Properties
@@ -10,18 +10,18 @@ Name | Type | Description | Notes
1010
## Example
1111

1212
```python
13-
from hyperstack.models.api_key_fields import APIKeyFields
13+
from hyperstack.models.api_key_fields import ApiKeyFields
1414

1515
# TODO update the JSON string below
1616
json = "{}"
17-
# create an instance of APIKeyFields from a JSON string
18-
api_key_fields_instance = APIKeyFields.from_json(json)
17+
# create an instance of ApiKeyFields from a JSON string
18+
api_key_fields_instance = ApiKeyFields.from_json(json)
1919
# print the JSON string representation of the object
20-
print APIKeyFields.to_json()
20+
print(ApiKeyFields.to_json())
2121

2222
# convert the object into a dict
2323
api_key_fields_dict = api_key_fields_instance.to_dict()
24-
# create an instance of APIKeyFields from a dict
24+
# create an instance of ApiKeyFields from a dict
2525
api_key_fields_form_dict = api_key_fields.from_dict(api_key_fields_dict)
2626
```
2727
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/APIKeyPayload.md

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# AddUpdateFlavorOrganizationPayload
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | |
9+
**description** | **str** | | [optional]
10+
**openstack_id** | **str** | |
11+
**region_id** | **int** | |
12+
**cpu** | **int** | |
13+
**ram** | **float** | |
14+
**disk** | **int** | |
15+
**ephemeral** | **int** | | [optional]
16+
**gpu_id** | **int** | |
17+
**gpu_count** | **int** | |
18+
**is_public** | **bool** | |
19+
**organizations** | **List[int]** | |
20+
21+
## Example
22+
23+
```python
24+
from hyperstack.models.add_update_flavor_organization_payload import AddUpdateFlavorOrganizationPayload
25+
26+
# TODO update the JSON string below
27+
json = "{}"
28+
# create an instance of AddUpdateFlavorOrganizationPayload from a JSON string
29+
add_update_flavor_organization_payload_instance = AddUpdateFlavorOrganizationPayload.from_json(json)
30+
# print the JSON string representation of the object
31+
print(AddUpdateFlavorOrganizationPayload.to_json())
32+
33+
# convert the object into a dict
34+
add_update_flavor_organization_payload_dict = add_update_flavor_organization_payload_instance.to_dict()
35+
# create an instance of AddUpdateFlavorOrganizationPayload from a dict
36+
add_update_flavor_organization_payload_form_dict = add_update_flavor_organization_payload.from_dict(add_update_flavor_organization_payload_dict)
37+
```
38+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
39+
40+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# AddUserInfoSuccessResponseModel
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**status** | **bool** | | [optional]
9+
**message** | **str** | | [optional]
10+
**data** | [**UsersInfoFields**](UsersInfoFields.md) | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from hyperstack.models.add_user_info_success_response_model import AddUserInfoSuccessResponseModel
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of AddUserInfoSuccessResponseModel from a JSON string
20+
add_user_info_success_response_model_instance = AddUserInfoSuccessResponseModel.from_json(json)
21+
# print the JSON string representation of the object
22+
print(AddUserInfoSuccessResponseModel.to_json())
23+
24+
# convert the object into a dict
25+
add_user_info_success_response_model_dict = add_user_info_success_response_model_instance.to_dict()
26+
# create an instance of AddUserInfoSuccessResponseModel from a dict
27+
add_user_info_success_response_model_form_dict = add_user_info_success_response_model.from_dict(add_user_info_success_response_model_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# AdminAddUpdateImageOrganizationPayload
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | |
9+
**openstack_id** | **str** | |
10+
**region_id** | **int** | |
11+
**type** | **str** | |
12+
**version** | **str** | |
13+
**size** | **int** | |
14+
**is_public** | **bool** | |
15+
**description** | **str** | | [optional]
16+
**labels** | **List[str]** | | [optional]
17+
**organizations** | **List[int]** | |
18+
19+
## Example
20+
21+
```python
22+
from hyperstack.models.admin_add_update_image_organization_payload import AdminAddUpdateImageOrganizationPayload
23+
24+
# TODO update the JSON string below
25+
json = "{}"
26+
# create an instance of AdminAddUpdateImageOrganizationPayload from a JSON string
27+
admin_add_update_image_organization_payload_instance = AdminAddUpdateImageOrganizationPayload.from_json(json)
28+
# print the JSON string representation of the object
29+
print(AdminAddUpdateImageOrganizationPayload.to_json())
30+
31+
# convert the object into a dict
32+
admin_add_update_image_organization_payload_dict = admin_add_update_image_organization_payload_instance.to_dict()
33+
# create an instance of AdminAddUpdateImageOrganizationPayload from a dict
34+
admin_add_update_image_organization_payload_form_dict = admin_add_update_image_organization_payload.from_dict(admin_add_update_image_organization_payload_dict)
35+
```
36+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
37+
38+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# AdminBootstrapEnvironmentPayload
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**org_id** | **int** | |
9+
10+
## Example
11+
12+
```python
13+
from hyperstack.models.admin_bootstrap_environment_payload import AdminBootstrapEnvironmentPayload
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of AdminBootstrapEnvironmentPayload from a JSON string
18+
admin_bootstrap_environment_payload_instance = AdminBootstrapEnvironmentPayload.from_json(json)
19+
# print the JSON string representation of the object
20+
print(AdminBootstrapEnvironmentPayload.to_json())
21+
22+
# convert the object into a dict
23+
admin_bootstrap_environment_payload_dict = admin_bootstrap_environment_payload_instance.to_dict()
24+
# create an instance of AdminBootstrapEnvironmentPayload from a dict
25+
admin_bootstrap_environment_payload_form_dict = admin_bootstrap_environment_payload.from_dict(admin_bootstrap_environment_payload_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

0 commit comments

Comments
 (0)