stackit-cost 0.2.0__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/PKG-INFO +3 -4
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/pyproject.toml +7 -7
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/__init__.py +5 -6
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/api/default_api.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/api_client.py +5 -6
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/api_response.py +0 -1
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/configuration.py +5 -6
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/exceptions.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/__init__.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/auth_error_response.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/detailed_service_cost.py +12 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/error_response.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/project_cost.py +5 -6
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/project_cost_with_detailed_services.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/project_cost_with_reports.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/project_cost_with_summarized_services.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/report_data.py +12 -6
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/report_data_time_period.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/summarized_project_cost.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/summarized_service_cost.py +5 -5
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/rest.py +5 -6
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/.gitignore +0 -0
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/README.md +0 -0
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/api/__init__.py +0 -0
- {stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stackit-cost
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: STACKIT Cost API
|
|
5
5
|
Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
|
|
6
6
|
Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
|
|
@@ -8,16 +8,15 @@ Author-email: STACKIT Developer Tools <developer-tools@stackit.cloud>
|
|
|
8
8
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
-
Requires-Python: <4.0,>=3.
|
|
16
|
+
Requires-Python: <4.0,>=3.10
|
|
18
17
|
Requires-Dist: pydantic>=2.9.2
|
|
19
18
|
Requires-Dist: python-dateutil>=2.9.0.post0
|
|
20
|
-
Requires-Dist: requests>=2.
|
|
19
|
+
Requires-Dist: requests>=2.33.0
|
|
21
20
|
Requires-Dist: stackit-core>=0.0.1a
|
|
22
21
|
Description-Content-Type: text/markdown
|
|
23
22
|
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "stackit-cost"
|
|
3
|
-
version = "v0.
|
|
3
|
+
version = "v0.4.0"
|
|
4
4
|
description = "STACKIT Cost API"
|
|
5
5
|
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.10,<4.0"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
classifiers = [
|
|
9
9
|
"Programming Language :: Python :: 3",
|
|
10
10
|
"License :: OSI Approved :: Apache Software License",
|
|
11
11
|
"Operating System :: OS Independent",
|
|
12
|
-
"Programming Language :: Python :: 3.9",
|
|
13
12
|
"Programming Language :: Python :: 3.10",
|
|
14
13
|
"Programming Language :: Python :: 3.11",
|
|
15
14
|
"Programming Language :: Python :: 3.12",
|
|
@@ -18,7 +17,7 @@ classifiers = [
|
|
|
18
17
|
]
|
|
19
18
|
dependencies = [
|
|
20
19
|
"stackit-core>=0.0.1a",
|
|
21
|
-
"requests>=2.
|
|
20
|
+
"requests>=2.33.0",
|
|
22
21
|
"pydantic>=2.9.2",
|
|
23
22
|
"python-dateutil>=2.9.0.post0",
|
|
24
23
|
]
|
|
@@ -29,8 +28,8 @@ Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
|
|
|
29
28
|
|
|
30
29
|
[dependency-groups]
|
|
31
30
|
dev = [
|
|
32
|
-
"black>=
|
|
33
|
-
"pytest>=
|
|
31
|
+
"black>=26.3.1",
|
|
32
|
+
"pytest>=9.1.1",
|
|
34
33
|
"flake8>=5.0.3 ; python_full_version < '3.12'",
|
|
35
34
|
"flake8>=6.0.1 ; python_full_version >= '3.12'",
|
|
36
35
|
"flake8-black>=0.3.6",
|
|
@@ -102,7 +101,8 @@ show-source = false
|
|
|
102
101
|
max-line-length = 120
|
|
103
102
|
# E203,W503 and E704 are incompatible with the formatter black
|
|
104
103
|
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
|
|
105
|
-
|
|
104
|
+
# fixing B042 in upstream exceptions.mustache would be a breaking change
|
|
105
|
+
ignore = ["E203", "W503", "E704", "W291", "B042"]
|
|
106
106
|
inline-quotes = '"'
|
|
107
107
|
docstring-quotes = '"""'
|
|
108
108
|
multiline-quotes = '"""'
|
|
@@ -3,17 +3,16 @@
|
|
|
3
3
|
# flake8: noqa
|
|
4
4
|
|
|
5
5
|
"""
|
|
6
|
-
|
|
6
|
+
STACKIT Cost API
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
The version of the OpenAPI document: 3.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Do not edit the class manually.
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
__version__ = "1.0.0"
|
|
18
17
|
|
|
19
18
|
# Define package exports
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from datetime import date
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
import datetime
|
|
@@ -36,7 +36,6 @@ from stackit.cost.exceptions import (
|
|
|
36
36
|
ApiException,
|
|
37
37
|
)
|
|
38
38
|
|
|
39
|
-
|
|
40
39
|
RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
|
|
41
40
|
|
|
42
41
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
import sys
|
|
@@ -18,7 +18,6 @@ from typing_extensions import NotRequired
|
|
|
18
18
|
|
|
19
19
|
import os
|
|
20
20
|
|
|
21
|
-
|
|
22
21
|
ServerVariablesT = Dict[str, str]
|
|
23
22
|
|
|
24
23
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from typing import Any, Optional
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# flake8: noqa
|
|
4
4
|
"""
|
|
5
|
-
|
|
5
|
+
STACKIT Cost API
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
The version of the OpenAPI document: 3.0
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Do not edit the class manually.
|
|
13
13
|
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
# import models into model package
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -23,6 +23,7 @@ from pydantic import (
|
|
|
23
23
|
Field,
|
|
24
24
|
StrictFloat,
|
|
25
25
|
StrictInt,
|
|
26
|
+
StrictStr,
|
|
26
27
|
)
|
|
27
28
|
from pydantic_core import to_jsonable_python
|
|
28
29
|
from typing_extensions import Annotated, Self
|
|
@@ -56,6 +57,10 @@ class DetailedServiceCost(BaseModel):
|
|
|
56
57
|
alias="totalDiscount",
|
|
57
58
|
)
|
|
58
59
|
total_quantity: StrictInt = Field(description="Total quantity", alias="totalQuantity")
|
|
60
|
+
total_quantity_decimal: StrictStr = Field(
|
|
61
|
+
description="Total quantity in decimal format, returned as string to preserve precision. NOTE: This field will be removed in future versions and `totalQuantity` will become a decimal. ",
|
|
62
|
+
alias="totalQuantityDecimal",
|
|
63
|
+
)
|
|
59
64
|
unit_label: Annotated[str, Field(min_length=1, strict=True, max_length=64)] = Field(
|
|
60
65
|
description="Label for unit", alias="unitLabel"
|
|
61
66
|
)
|
|
@@ -67,6 +72,7 @@ class DetailedServiceCost(BaseModel):
|
|
|
67
72
|
"totalCharge",
|
|
68
73
|
"totalDiscount",
|
|
69
74
|
"totalQuantity",
|
|
75
|
+
"totalQuantityDecimal",
|
|
70
76
|
"unitLabel",
|
|
71
77
|
]
|
|
72
78
|
|
|
@@ -138,6 +144,7 @@ class DetailedServiceCost(BaseModel):
|
|
|
138
144
|
"totalCharge": obj.get("totalCharge"),
|
|
139
145
|
"totalDiscount": obj.get("totalDiscount"),
|
|
140
146
|
"totalQuantity": obj.get("totalQuantity"),
|
|
147
|
+
"totalQuantityDecimal": obj.get("totalQuantityDecimal"),
|
|
141
148
|
"unitLabel": obj.get("unitLabel"),
|
|
142
149
|
}
|
|
143
150
|
)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -33,7 +33,6 @@ from stackit.cost.models.project_cost_with_summarized_services import (
|
|
|
33
33
|
)
|
|
34
34
|
from stackit.cost.models.summarized_project_cost import SummarizedProjectCost
|
|
35
35
|
|
|
36
|
-
|
|
37
36
|
PROJECTCOST_ANY_OF_SCHEMAS = [
|
|
38
37
|
"ProjectCostWithDetailedServices",
|
|
39
38
|
"ProjectCostWithReports",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
{stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/project_cost_with_reports.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -23,6 +23,7 @@ from pydantic import (
|
|
|
23
23
|
Field,
|
|
24
24
|
StrictFloat,
|
|
25
25
|
StrictInt,
|
|
26
|
+
StrictStr,
|
|
26
27
|
)
|
|
27
28
|
from pydantic_core import to_jsonable_python
|
|
28
29
|
from typing_extensions import Self
|
|
@@ -38,8 +39,12 @@ class ReportData(BaseModel):
|
|
|
38
39
|
charge: Union[StrictFloat, StrictInt] = Field(description="Charge, value in cents")
|
|
39
40
|
discount: Union[StrictFloat, StrictInt] = Field(description="Discount, value in cents")
|
|
40
41
|
quantity: StrictInt = Field(description="Quantity")
|
|
42
|
+
quantity_decimal: StrictStr = Field(
|
|
43
|
+
description="Quantity in decimal format, returned as string to preserve precision. NOTE: This field will be removed in future versions and `totalQuantity` will become a decimal. ",
|
|
44
|
+
alias="quantityDecimal",
|
|
45
|
+
)
|
|
41
46
|
time_period: ReportDataTimePeriod = Field(alias="timePeriod")
|
|
42
|
-
__properties: ClassVar[List[str]] = ["charge", "discount", "quantity", "timePeriod"]
|
|
47
|
+
__properties: ClassVar[List[str]] = ["charge", "discount", "quantity", "quantityDecimal", "timePeriod"]
|
|
43
48
|
|
|
44
49
|
model_config = ConfigDict(
|
|
45
50
|
validate_by_name=True,
|
|
@@ -97,6 +102,7 @@ class ReportData(BaseModel):
|
|
|
97
102
|
"charge": obj.get("charge"),
|
|
98
103
|
"discount": obj.get("discount"),
|
|
99
104
|
"quantity": obj.get("quantity"),
|
|
105
|
+
"quantityDecimal": obj.get("quantityDecimal"),
|
|
100
106
|
"timePeriod": (
|
|
101
107
|
ReportDataTimePeriod.from_dict(obj["timePeriod"]) if obj.get("timePeriod") is not None else None
|
|
102
108
|
),
|
{stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/report_data_time_period.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
{stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/summarized_project_cost.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
{stackit_cost-0.2.0 → stackit_cost-0.4.0}/src/stackit/cost/models/summarized_service_cost.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Cost API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The cost API provides detailed reports on the costs for a customer or project over a certain amount of time
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 3.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
import io
|
|
@@ -21,7 +21,6 @@ from stackit.core.configuration import Configuration
|
|
|
21
21
|
|
|
22
22
|
from stackit.cost.exceptions import ApiException, ApiValueError
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
RESTResponseType = requests.Response
|
|
26
25
|
|
|
27
26
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|