Skip to content

Commit aed5317

Browse files
committed
SDK Release v1.55.4-alpha
1 parent 67c41d1 commit aed5317

53 files changed

Lines changed: 695 additions & 1897 deletions

Some content is hidden

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

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To contribute, please raise an issue with a bug report, feature request, feedbac
88
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
99

1010
- API version: 1.0
11-
- Package version: v1.55.1-alpha
11+
- Package version: v1.55.4-alpha
1212
- Generator version: 7.10.0
1313
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1414

@@ -382,6 +382,7 @@ Class | Method | HTTP request | Description
382382
- [Colors](docs/Colors.md)
383383
- [CommonResponseModel](docs/CommonResponseModel.md)
384384
- [CompatibleFlavor](docs/CompatibleFlavor.md)
385+
- [CompatibleImage](docs/CompatibleImage.md)
385386
- [ComplianceFields](docs/ComplianceFields.md)
386387
- [ComplianceModelFields](docs/ComplianceModelFields.md)
387388
- [CompliancePayload](docs/CompliancePayload.md)
@@ -475,6 +476,7 @@ Class | Method | HTTP request | Description
475476
- [ImageFields](docs/ImageFields.md)
476477
- [ImageGenerationBillingHistoryDetailsResponseSchema](docs/ImageGenerationBillingHistoryDetailsResponseSchema.md)
477478
- [ImageGetResponse](docs/ImageGetResponse.md)
479+
- [ImageRestrictions](docs/ImageRestrictions.md)
478480
- [Images](docs/Images.md)
479481
- [ImportKeypairPayload](docs/ImportKeypairPayload.md)
480482
- [ImportKeypairResponse](docs/ImportKeypairResponse.md)

‎docs/CompatibleImage.md‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# CompatibleImage
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**constraints** | **object** | JSON constraints object | [optional]
9+
**image_id** | **int** | | [optional]
10+
**image_name** | **str** | | [optional]
11+
**link_type** | **str** | Either 'hard' or 'soft' | [optional]
12+
**reason** | **str** | | [optional]
13+
14+
## Example
15+
16+
```python
17+
from hyperstack.models.compatible_image import CompatibleImage
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of CompatibleImage from a JSON string
22+
compatible_image_instance = CompatibleImage.from_json(json)
23+
# print the JSON string representation of the object
24+
print(CompatibleImage.to_json())
25+
26+
# convert the object into a dict
27+
compatible_image_dict = compatible_image_instance.to_dict()
28+
# create an instance of CompatibleImage from a dict
29+
compatible_image_from_dict = CompatibleImage.from_dict(compatible_image_dict)
30+
```
31+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32+
33+

‎docs/FlavorFields.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
1414
**gpu** | **str** | | [optional]
1515
**gpu_count** | **int** | | [optional]
1616
**id** | **int** | | [optional]
17+
**image_restrictions** | [**ImageRestrictions**](ImageRestrictions.md) | Image compatibility restrictions for this flavor (flavor → image links) | [optional]
1718
**labels** | [**List[LableResonse]**](LableResonse.md) | | [optional]
1819
**name** | **str** | | [optional]
1920
**ram** | **float** | | [optional]

‎docs/ImageRestrictions.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# ImageRestrictions
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**compatible_images** | [**List[CompatibleImage]**](CompatibleImage.md) | List of images this flavor is allowed to launch, with link metadata | [optional]
9+
**has_image_restrictions** | **bool** | Whether the flavor is restricted to a set of images | [optional]
10+
**restriction_type** | **str** | Either 'hard', 'soft', or null if no restrictions | [optional]
11+
12+
## Example
13+
14+
```python
15+
from hyperstack.models.image_restrictions import ImageRestrictions
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of ImageRestrictions from a JSON string
20+
image_restrictions_instance = ImageRestrictions.from_json(json)
21+
# print the JSON string representation of the object
22+
print(ImageRestrictions.to_json())
23+
24+
# convert the object into a dict
25+
image_restrictions_dict = image_restrictions_instance.to_dict()
26+
# create an instance of ImageRestrictions from a dict
27+
image_restrictions_from_dict = ImageRestrictions.from_dict(image_restrictions_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+

‎hyperstack/__init__.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "v1.55.1-alpha"
17+
__version__ = "v1.55.4-alpha"
1818

1919
# import apis into sdk package
2020
from .api.access_keys_api import AccessKeysApi
@@ -140,6 +140,7 @@
140140
from .models.colors import Colors
141141
from .models.common_response_model import CommonResponseModel
142142
from .models.compatible_flavor import CompatibleFlavor
143+
from .models.compatible_image import CompatibleImage
143144
from .models.compliance_fields import ComplianceFields
144145
from .models.compliance_model_fields import ComplianceModelFields
145146
from .models.compliance_payload import CompliancePayload
@@ -233,6 +234,7 @@
233234
from .models.image_fields import ImageFields
234235
from .models.image_generation_billing_history_details_response_schema import ImageGenerationBillingHistoryDetailsResponseSchema
235236
from .models.image_get_response import ImageGetResponse
237+
from .models.image_restrictions import ImageRestrictions
236238
from .models.images import Images
237239
from .models.import_keypair_payload import ImportKeypairPayload
238240
from .models.import_keypair_response import ImportKeypairResponse

0 commit comments

Comments
 (0)