Skip to content

Commit ede7ab9

Browse files
Generate scf
1 parent 3cab071 commit ede7ab9

Some content is hidden

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

45 files changed

+12812
-0
lines changed

services/scf/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# stackit.scf
2+
API endpoints for managing STACKIT Cloud Foundry
3+
4+
For more information, please visit [https://www.stackit.de/en/product/cloud-foundry/](https://www.stackit.de/en/product/cloud-foundry/)
5+
6+
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
7+
8+
9+
## Installation & Usage
10+
### pip install
11+
12+
```sh
13+
pip install stackit-scf
14+
```
15+
16+
Then import the package:
17+
```python
18+
import stackit.scf
19+
```
20+
21+
## Getting Started
22+
23+
[Examples](https://github.com/stackitcloud/stackit-sdk-python/tree/main/examples) for the usage of the package can be found in the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.

services/scf/poetry.lock

Lines changed: 1413 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/scf/pyproject.toml

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
[project]
2+
name = "stackit-scf"
3+
4+
[tool.poetry]
5+
name = "stackit-scf"
6+
version = "v0.0.1a"
7+
authors = [
8+
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
9+
]
10+
description = "STACKIT Cloud Foundry API"
11+
readme = "README.md"
12+
#license = "NoLicense"
13+
classifiers = [
14+
"Programming Language :: Python :: 3",
15+
"License :: OSI Approved :: Apache Software License",
16+
"Operating System :: OS Independent",
17+
]
18+
packages = [
19+
{ include = "stackit", from="src" }
20+
]
21+
22+
[tool.poetry.dependencies]
23+
python = "^3.9"
24+
stackit-core = ">=0.0.1a"
25+
requests = ">=2.32.3"
26+
pydantic = ">=2.9.2"
27+
python-dateutil = ">=2.9.0.post0"
28+
29+
[tool.poetry.group.dev.dependencies]
30+
black = ">=24.8.0"
31+
pytest = ">=8.3.3"
32+
flake8 = [
33+
{ version= ">=5.0.3", python="<3.12"},
34+
{ version= ">=6.0.1", python=">=3.12"}
35+
]
36+
flake8-black = ">=0.3.6"
37+
flake8-pyproject = ">=1.2.3"
38+
autoimport = ">=1.6.1"
39+
flake8-eol = ">=0.0.8"
40+
flake8-eradicate = ">=1.5.0"
41+
flake8-bandit = ">=4.1.1"
42+
flake8-bugbear = ">=23.1.14"
43+
flake8-quotes = ">=3.4.0"
44+
isort = ">=5.13.2"
45+
46+
[project.urls]
47+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
48+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
49+
50+
[build-system]
51+
requires = ["setuptools", "poetry-core"]
52+
build-backend = "poetry.core.masonry.api"
53+
54+
[tool.pytest.ini_options]
55+
pythonpath = [
56+
"src"
57+
]
58+
testpaths = [
59+
"tests"
60+
]
61+
62+
[tool.black]
63+
line-length = 120
64+
exclude = """
65+
/(
66+
.eggs
67+
| .git
68+
| .hg
69+
| .mypy_cache
70+
| .nox
71+
| .pants.d
72+
| .tox
73+
| .venv
74+
| _build
75+
| buck-out
76+
| build
77+
| dist
78+
| node_modules
79+
| venv
80+
)/
81+
"""
82+
83+
[tool.isort]
84+
profile = 'black'
85+
86+
[tool.flake8]
87+
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
88+
statistics = true
89+
show-source = false
90+
max-line-length = 120
91+
# E203,W503 and E704 are incompatible with the formatter black
92+
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
93+
ignore = ["E203", "W503", "E704", "W291"]
94+
inline-quotes = '"'
95+
docstring-quotes = '"""'
96+
multiline-quotes = '"""'
97+
ban-relative-imports = true
98+
# Exclude generated code
99+
extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
STACKIT Cloud Foundry API
7+
8+
API endpoints for managing STACKIT Cloud Foundry
9+
10+
The version of the OpenAPI document: 1.0.0
11+
Contact: support@stackit.cloud
12+
Generated by OpenAPI Generator (https://openapi-generator.tech)
13+
14+
Do not edit the class manually.
15+
""" # noqa: E501
16+
17+
18+
__version__ = "1.0.0"
19+
20+
# Define package exports
21+
__all__ = [
22+
"DefaultApi",
23+
"ApiResponse",
24+
"ApiClient",
25+
"HostConfiguration",
26+
"OpenApiException",
27+
"ApiTypeError",
28+
"ApiValueError",
29+
"ApiKeyError",
30+
"ApiAttributeError",
31+
"ApiException",
32+
"ApplyOrganizationQuotaPayload",
33+
"CreateOrgRolePayload",
34+
"CreateOrganizationPayload",
35+
"CreateSpacePayload",
36+
"CreateSpaceRolePayload",
37+
"ErrorResponse",
38+
"OrgManager",
39+
"OrgManagerCreateResponse",
40+
"OrgManagerDeleteResponse",
41+
"OrgRoleCreateResponse",
42+
"Organization",
43+
"OrganizationCreateResponse",
44+
"OrganizationDeleteResponse",
45+
"OrganizationQuota",
46+
"OrganizationUsageSummary",
47+
"OrganizationsList",
48+
"OrganizationsListItem",
49+
"Pagination",
50+
"PlatformList",
51+
"Platforms",
52+
"Quota",
53+
"QuotaApps",
54+
"QuotaDomains",
55+
"QuotaRoutes",
56+
"QuotaServices",
57+
"Space",
58+
"SpaceDeleteResponse",
59+
"SpaceRoleCreateResponse",
60+
"SpacesList",
61+
"UpdateOrganizationPayload",
62+
"UpdateSpacePayload",
63+
"UsageSummary",
64+
]
65+
66+
# import apis into sdk package
67+
from stackit.scf.api.default_api import DefaultApi as DefaultApi
68+
from stackit.scf.api_client import ApiClient as ApiClient
69+
70+
# import ApiClient
71+
from stackit.scf.api_response import ApiResponse as ApiResponse
72+
from stackit.scf.configuration import HostConfiguration as HostConfiguration
73+
from stackit.scf.exceptions import ApiAttributeError as ApiAttributeError
74+
from stackit.scf.exceptions import ApiException as ApiException
75+
from stackit.scf.exceptions import ApiKeyError as ApiKeyError
76+
from stackit.scf.exceptions import ApiTypeError as ApiTypeError
77+
from stackit.scf.exceptions import ApiValueError as ApiValueError
78+
from stackit.scf.exceptions import OpenApiException as OpenApiException
79+
80+
# import models into sdk package
81+
from stackit.scf.models.apply_organization_quota_payload import (
82+
ApplyOrganizationQuotaPayload as ApplyOrganizationQuotaPayload,
83+
)
84+
from stackit.scf.models.create_org_role_payload import (
85+
CreateOrgRolePayload as CreateOrgRolePayload,
86+
)
87+
from stackit.scf.models.create_organization_payload import (
88+
CreateOrganizationPayload as CreateOrganizationPayload,
89+
)
90+
from stackit.scf.models.create_space_payload import (
91+
CreateSpacePayload as CreateSpacePayload,
92+
)
93+
from stackit.scf.models.create_space_role_payload import (
94+
CreateSpaceRolePayload as CreateSpaceRolePayload,
95+
)
96+
from stackit.scf.models.error_response import ErrorResponse as ErrorResponse
97+
from stackit.scf.models.org_manager import OrgManager as OrgManager
98+
from stackit.scf.models.org_manager_create_response import (
99+
OrgManagerCreateResponse as OrgManagerCreateResponse,
100+
)
101+
from stackit.scf.models.org_manager_delete_response import (
102+
OrgManagerDeleteResponse as OrgManagerDeleteResponse,
103+
)
104+
from stackit.scf.models.org_role_create_response import (
105+
OrgRoleCreateResponse as OrgRoleCreateResponse,
106+
)
107+
from stackit.scf.models.organization import Organization as Organization
108+
from stackit.scf.models.organization_create_response import (
109+
OrganizationCreateResponse as OrganizationCreateResponse,
110+
)
111+
from stackit.scf.models.organization_delete_response import (
112+
OrganizationDeleteResponse as OrganizationDeleteResponse,
113+
)
114+
from stackit.scf.models.organization_quota import OrganizationQuota as OrganizationQuota
115+
from stackit.scf.models.organization_usage_summary import (
116+
OrganizationUsageSummary as OrganizationUsageSummary,
117+
)
118+
from stackit.scf.models.organizations_list import OrganizationsList as OrganizationsList
119+
from stackit.scf.models.organizations_list_item import (
120+
OrganizationsListItem as OrganizationsListItem,
121+
)
122+
from stackit.scf.models.pagination import Pagination as Pagination
123+
from stackit.scf.models.platform_list import PlatformList as PlatformList
124+
from stackit.scf.models.platforms import Platforms as Platforms
125+
from stackit.scf.models.quota import Quota as Quota
126+
from stackit.scf.models.quota_apps import QuotaApps as QuotaApps
127+
from stackit.scf.models.quota_domains import QuotaDomains as QuotaDomains
128+
from stackit.scf.models.quota_routes import QuotaRoutes as QuotaRoutes
129+
from stackit.scf.models.quota_services import QuotaServices as QuotaServices
130+
from stackit.scf.models.space import Space as Space
131+
from stackit.scf.models.space_delete_response import (
132+
SpaceDeleteResponse as SpaceDeleteResponse,
133+
)
134+
from stackit.scf.models.space_role_create_response import (
135+
SpaceRoleCreateResponse as SpaceRoleCreateResponse,
136+
)
137+
from stackit.scf.models.spaces_list import SpacesList as SpacesList
138+
from stackit.scf.models.update_organization_payload import (
139+
UpdateOrganizationPayload as UpdateOrganizationPayload,
140+
)
141+
from stackit.scf.models.update_space_payload import (
142+
UpdateSpacePayload as UpdateSpacePayload,
143+
)
144+
from stackit.scf.models.usage_summary import UsageSummary as UsageSummary
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# flake8: noqa
2+
3+
# import apis into api package
4+
from stackit.scf.api.default_api import DefaultApi

0 commit comments

Comments
 (0)