Skip to content

Commit e51b291

Browse files
authored
feat(billing): update ListDiscount order_by to accept start_date and expiration_date (#767)
1 parent 44aba47 commit e51b291

File tree

2 files changed

+8
-0
lines changed
  • scaleway/scaleway/billing/v2beta1
  • scaleway-async/scaleway_async/billing/v2beta1

2 files changed

+8
-0
lines changed

scaleway-async/scaleway_async/billing/v2beta1/types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ def __str__(self) -> str:
9494
class ListDiscountsRequestOrderBy(str, Enum, metaclass=StrEnumMeta):
9595
CREATION_DATE_DESC = "creation_date_desc"
9696
CREATION_DATE_ASC = "creation_date_asc"
97+
START_DATE_DESC = "start_date_desc"
98+
START_DATE_ASC = "start_date_asc"
99+
STOP_DATE_DESC = "stop_date_desc"
100+
STOP_DATE_ASC = "stop_date_asc"
97101

98102
def __str__(self) -> str:
99103
return str(self.value)

scaleway/scaleway/billing/v2beta1/types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ def __str__(self) -> str:
9494
class ListDiscountsRequestOrderBy(str, Enum, metaclass=StrEnumMeta):
9595
CREATION_DATE_DESC = "creation_date_desc"
9696
CREATION_DATE_ASC = "creation_date_asc"
97+
START_DATE_DESC = "start_date_desc"
98+
START_DATE_ASC = "start_date_asc"
99+
STOP_DATE_DESC = "stop_date_desc"
100+
STOP_DATE_ASC = "stop_date_asc"
97101

98102
def __str__(self) -> str:
99103
return str(self.value)

0 commit comments

Comments
 (0)