Skip to content

[Client] Automatic update from platform release (4.0.15) #44

New issue

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

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

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.1.0
- Package version: 4.0.13
- Package version: 4.0.15
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

Expand Down Expand Up @@ -99,6 +99,7 @@ Class | Method | HTTP request | Description
*EXTERNALApi* | [**create_compute_deployment_deployments_compute_post**](docs/EXTERNALApi.md#create_compute_deployment_deployments_compute_post) | **POST** /deployments/compute | Create Compute Deployment
*EXTERNALApi* | [**create_cserve_v2_deployment_deployments_cserve_v2_post**](docs/EXTERNALApi.md#create_cserve_v2_deployment_deployments_cserve_v2_post) | **POST** /deployments/cserve_v2 | Create Cserve V2 Deployment
*EXTERNALApi* | [**create_inference_deployment_deployments_inference_post**](docs/EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
*EXTERNALApi* | [**create_new_organization_organizations_post**](docs/EXTERNALApi.md#create_new_organization_organizations_post) | **POST** /organizations | Create New Organization
*EXTERNALApi* | [**create_rag_deployment_deployments_rag_post**](docs/EXTERNALApi.md#create_rag_deployment_deployments_rag_post) | **POST** /deployments/rag | Create Rag Deployment
*EXTERNALApi* | [**create_setup_payments_setup_checkout_post**](docs/EXTERNALApi.md#create_setup_payments_setup_checkout_post) | **POST** /payments/setup_checkout | Create Setup
*EXTERNALApi* | [**create_support_ticket_support_post**](docs/EXTERNALApi.md#create_support_ticket_support_post) | **POST** /support | Create Support Ticket
Expand Down Expand Up @@ -152,6 +153,8 @@ Class | Method | HTTP request | Description
- [CreateComputeDeploymentResponse](docs/CreateComputeDeploymentResponse.md)
- [CreateInferenceDeploymentRequest](docs/CreateInferenceDeploymentRequest.md)
- [CreateInferenceDeploymentResponse](docs/CreateInferenceDeploymentResponse.md)
- [CreateOrganizationRequest](docs/CreateOrganizationRequest.md)
- [CreateOrganizationResponse](docs/CreateOrganizationResponse.md)
- [CreateRagDeploymentRequest](docs/CreateRagDeploymentRequest.md)
- [CreateRagDeploymentResponse](docs/CreateRagDeploymentResponse.md)
- [CreateSetupCheckoutRequest](docs/CreateSetupCheckoutRequest.md)
Expand Down Expand Up @@ -191,7 +194,6 @@ Class | Method | HTTP request | Description
- [PodStatus](docs/PodStatus.md)
- [PrebuiltImageResponse](docs/PrebuiltImageResponse.md)
- [ServiceStatus](docs/ServiceStatus.md)
- [SetupUserResponse](docs/SetupUserResponse.md)
- [TicketCategory](docs/TicketCategory.md)
- [TicketPriority](docs/TicketPriority.md)
- [UpdateAutochargePreferencesRequest](docs/UpdateAutochargePreferencesRequest.md)
Expand Down
29 changes: 29 additions & 0 deletions docs/CreateOrganizationRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# CreateOrganizationRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |

## Example

```python
from platform_api_python_client.models.create_organization_request import CreateOrganizationRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateOrganizationRequest from a JSON string
create_organization_request_instance = CreateOrganizationRequest.from_json(json)
# print the JSON string representation of the object
print(CreateOrganizationRequest.to_json())

# convert the object into a dict
create_organization_request_dict = create_organization_request_instance.to_dict()
# create an instance of CreateOrganizationRequest from a dict
create_organization_request_from_dict = CreateOrganizationRequest.from_dict(create_organization_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | |
**name** | **str** | |

## Example

```python
from platform_api_python_client.models.create_organization_response import CreateOrganizationResponse

# TODO update the JSON string below
json = "{}"
# create an instance of CreateOrganizationResponse from a JSON string
create_organization_response_instance = CreateOrganizationResponse.from_json(json)
# print the JSON string representation of the object
print(CreateOrganizationResponse.to_json())

# convert the object into a dict
create_organization_response_dict = create_organization_response_instance.to_dict()
# create an instance of CreateOrganizationResponse from a dict
create_organization_response_from_dict = CreateOrganizationResponse.from_dict(create_organization_response_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)


84 changes: 81 additions & 3 deletions docs/EXTERNALApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Method | HTTP request | Description
[**create_compute_deployment_deployments_compute_post**](EXTERNALApi.md#create_compute_deployment_deployments_compute_post) | **POST** /deployments/compute | Create Compute Deployment
[**create_cserve_v2_deployment_deployments_cserve_v2_post**](EXTERNALApi.md#create_cserve_v2_deployment_deployments_cserve_v2_post) | **POST** /deployments/cserve_v2 | Create Cserve V2 Deployment
[**create_inference_deployment_deployments_inference_post**](EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
[**create_new_organization_organizations_post**](EXTERNALApi.md#create_new_organization_organizations_post) | **POST** /organizations | Create New Organization
[**create_rag_deployment_deployments_rag_post**](EXTERNALApi.md#create_rag_deployment_deployments_rag_post) | **POST** /deployments/rag | Create Rag Deployment
[**create_setup_payments_setup_checkout_post**](EXTERNALApi.md#create_setup_payments_setup_checkout_post) | **POST** /payments/setup_checkout | Create Setup
[**create_support_ticket_support_post**](EXTERNALApi.md#create_support_ticket_support_post) | **POST** /support | Create Support Ticket
Expand Down Expand Up @@ -437,6 +438,84 @@ Name | Type | Description | Notes

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

# **create_new_organization_organizations_post**
> CreateOrganizationResponse create_new_organization_organizations_post(create_organization_request)

Create New Organization

### Example

* Bearer Authentication (HTTPBearer):

```python
import platform_api_python_client
from platform_api_python_client.models.create_organization_request import CreateOrganizationRequest
from platform_api_python_client.models.create_organization_response import CreateOrganizationResponse
from platform_api_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = platform_api_python_client.Configuration(
host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization: HTTPBearer
configuration = platform_api_python_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with platform_api_python_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = platform_api_python_client.EXTERNALApi(api_client)
create_organization_request = platform_api_python_client.CreateOrganizationRequest() # CreateOrganizationRequest |

try:
# Create New Organization
api_response = api_instance.create_new_organization_organizations_post(create_organization_request)
print("The response of EXTERNALApi->create_new_organization_organizations_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling EXTERNALApi->create_new_organization_organizations_post: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**create_organization_request** | [**CreateOrganizationRequest**](CreateOrganizationRequest.md)| |

### Return type

[**CreateOrganizationResponse**](CreateOrganizationResponse.md)

### Authorization

[HTTPBearer](../README.md#HTTPBearer)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response | - |
**422** | Validation Error | - |

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

# **create_rag_deployment_deployments_rag_post**
> CreateRagDeploymentResponse create_rag_deployment_deployments_rag_post(create_rag_deployment_request)

Expand Down Expand Up @@ -2522,7 +2601,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **setup_stripe_customer_payments_setup_post**
> SetupUserResponse setup_stripe_customer_payments_setup_post()
> object setup_stripe_customer_payments_setup_post()

Setup Stripe Customer

Expand All @@ -2532,7 +2611,6 @@ Setup Stripe Customer

```python
import platform_api_python_client
from platform_api_python_client.models.setup_user_response import SetupUserResponse
from platform_api_python_client.rest import ApiException
from pprint import pprint

Expand Down Expand Up @@ -2574,7 +2652,7 @@ This endpoint does not need any parameter.

### Return type

[**SetupUserResponse**](SetupUserResponse.md)
**object**

### Authorization

Expand Down
29 changes: 0 additions & 29 deletions docs/SetupUserResponse.md

This file was deleted.

5 changes: 3 additions & 2 deletions platform_api_python_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "4.0.13"
__version__ = "4.0.15"

# import apis into sdk package
from platform_api_python_client.api.external_api import EXTERNALApi
Expand Down Expand Up @@ -44,6 +44,8 @@
from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse
from platform_api_python_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest
from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse
from platform_api_python_client.models.create_organization_request import CreateOrganizationRequest
from platform_api_python_client.models.create_organization_response import CreateOrganizationResponse
from platform_api_python_client.models.create_rag_deployment_request import CreateRagDeploymentRequest
from platform_api_python_client.models.create_rag_deployment_response import CreateRagDeploymentResponse
from platform_api_python_client.models.create_setup_checkout_request import CreateSetupCheckoutRequest
Expand Down Expand Up @@ -83,7 +85,6 @@
from platform_api_python_client.models.pod_status import PodStatus
from platform_api_python_client.models.prebuilt_image_response import PrebuiltImageResponse
from platform_api_python_client.models.service_status import ServiceStatus
from platform_api_python_client.models.setup_user_response import SetupUserResponse
from platform_api_python_client.models.ticket_category import TicketCategory
from platform_api_python_client.models.ticket_priority import TicketPriority
from platform_api_python_client.models.update_autocharge_preferences_request import UpdateAutochargePreferencesRequest
Expand Down
Loading