Skip to content

Commit

Permalink
updated swagger file - includes update metadata endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
JungleCatSW committed Dec 15, 2023
1 parent b2d4e5c commit 75c6980
Show file tree
Hide file tree
Showing 245 changed files with 19,780 additions and 1,974 deletions.
5 changes: 3 additions & 2 deletions codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ cd swagger-codegen
./run-in-docker.sh generate -i public.swagger.json \
-l python -o /gen/out -DpackageName=src.cudo_compute
cd ..
cp -r swagger-codegen/out/docs docs
cp swagger-codegen/out/README.md docs
cp -r swagger-codegen/out/docs/ docs
cp -r swagger-codegen/out/src/ docs
rm -rf swagger-codegen
#rm -rf swagger-codegen

cp helpers/* docs/src/cudo_compute
echo "import src.cudo_compute.auth_config as AuthConfig" >> src/cudo_compute/__init__.py
Expand Down
348 changes: 348 additions & 0 deletions docs/README.md

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions docs/Body8.md → docs/docs/AttachSecurityGroupResponse.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Body8
# AttachSecurityGroupResponse

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data_center_id** | **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)

Expand Down
File renamed without changes.
20 changes: 20 additions & 0 deletions docs/docs/BillingAccount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# BillingAccount

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**billing_threshold** | [**Decimal**](Decimal.md) | | [optional]
**create_by** | **str** | | [optional]
**create_time** | **datetime** | | [optional]
**demand_enabled** | **bool** | | [optional]
**display_name** | **str** | | [optional]
**id** | **str** | | [optional]
**invoice_time** | **datetime** | | [optional]
**monthly_spend** | **str** | | [optional]
**stripe_ref** | **str** | | [optional]
**supply_enabled** | **bool** | | [optional]
**tax_ids** | [**list[TaxId]**](TaxId.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)


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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**card** | [**PaymentMethodCard**](PaymentMethodCard.md) | | [optional]
**id** | **str** | | [optional]
**is_default** | **bool** | | [optional]
**paypal** | [**PaymentMethodPaypal**](PaymentMethodPaypal.md) | | [optional]
**type** | **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)


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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**payment_methods** | [**list[BillingAccountPaymentMethod]**](BillingAccountPaymentMethod.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)


6 changes: 3 additions & 3 deletions docs/Body5.md → docs/docs/BillingAccountSetupIntent.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Body5
# BillingAccountSetupIntent

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data_center_id** | **str** | | [optional]
**disk** | [**Disk**](Disk.md) | | [optional]
**client_secret** | **str** | |
**id** | **str** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | [**Decimal**](Decimal.md) | |
**description** | **str** | |
**project_id** | **str** | |
**quantity** | **float** | |
**unit** | [**Unit**](Unit.md) | |
**unit_amount** | [**Decimal**](Decimal.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading

0 comments on commit 75c6980

Please sign in to comment.