Skip to content
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
4 changes: 2 additions & 2 deletions scaleway-async/scaleway_async/billing/v2/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async def create_budget(
) -> Budget:
"""
Create a new budget.
:param consumption_limit: Cost limit for the budget.
:param consumption_limit: Cost limit for the budget expressed in the invoiced currency (no cents allowed).
:param enabled: Whether the budget is enabled or not.
:param organization_id: The Organization ID of the budget.
:return: :class:`Budget <Budget>`
Expand Down Expand Up @@ -191,7 +191,7 @@ async def update_budget(
"""
Update a budget.
:param budget_id: The ID of the budget to update.
:param consumption_limit: Cost limit for the budget.
:param consumption_limit: Cost limit for the budget expressed in the invoiced currency (no cents allowed).
:param enabled: Whether the budget will be enabled or not.
:return: :class:`Budget <Budget>`

Expand Down
6 changes: 3 additions & 3 deletions scaleway-async/scaleway_async/billing/v2/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Budget:

consumption_limit: Optional[Money] = None
"""
Cost limit for this budget.
Cost limit for this budget expressed in the embedded currency code.
"""


Expand Down Expand Up @@ -196,7 +196,7 @@ class CreateBudgetAlertRequest:
class CreateBudgetRequest:
consumption_limit: int
"""
Cost limit for the budget.
Cost limit for the budget expressed in the invoiced currency (no cents allowed).
"""

enabled: bool
Expand Down Expand Up @@ -414,7 +414,7 @@ class UpdateBudgetRequest:

consumption_limit: Optional[int] = 0
"""
Cost limit for the budget.
Cost limit for the budget expressed in the invoiced currency (no cents allowed).
"""

enabled: Optional[bool] = False
Expand Down
4 changes: 2 additions & 2 deletions scaleway/scaleway/billing/v2/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def create_budget(
) -> Budget:
"""
Create a new budget.
:param consumption_limit: Cost limit for the budget.
:param consumption_limit: Cost limit for the budget expressed in the invoiced currency (no cents allowed).
:param enabled: Whether the budget is enabled or not.
:param organization_id: The Organization ID of the budget.
:return: :class:`Budget <Budget>`
Expand Down Expand Up @@ -191,7 +191,7 @@ def update_budget(
"""
Update a budget.
:param budget_id: The ID of the budget to update.
:param consumption_limit: Cost limit for the budget.
:param consumption_limit: Cost limit for the budget expressed in the invoiced currency (no cents allowed).
:param enabled: Whether the budget will be enabled or not.
:return: :class:`Budget <Budget>`

Expand Down
6 changes: 3 additions & 3 deletions scaleway/scaleway/billing/v2/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Budget:

consumption_limit: Optional[Money] = None
"""
Cost limit for this budget.
Cost limit for this budget expressed in the embedded currency code.
"""


Expand Down Expand Up @@ -196,7 +196,7 @@ class CreateBudgetAlertRequest:
class CreateBudgetRequest:
consumption_limit: int
"""
Cost limit for the budget.
Cost limit for the budget expressed in the invoiced currency (no cents allowed).
"""

enabled: bool
Expand Down Expand Up @@ -414,7 +414,7 @@ class UpdateBudgetRequest:

consumption_limit: Optional[int] = 0
"""
Cost limit for the budget.
Cost limit for the budget expressed in the invoiced currency (no cents allowed).
"""

enabled: Optional[bool] = False
Expand Down
Loading