Skip to content

Commit c96063a

Browse files
Merge branch 'main' into generator-bot-21990293986/authorization
2 parents ef4578b + 423e2da commit c96063a

File tree

12 files changed

+56
-15
lines changed

12 files changed

+56
-15
lines changed

services/serverbackup/oas_commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
63c68f45675657d8e16a43ac9fbc216ac3a899ee

services/serverbackup/src/stackit/serverbackup/models/backup_policy.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ class BackupPolicy(BaseModel):
4343
enabled: Optional[StrictBool] = None
4444
id: Optional[StrictStr] = None
4545
name: Optional[StrictStr] = None
46-
rrule: Optional[StrictStr] = None
46+
rrule: Optional[StrictStr] = Field(
47+
default=None,
48+
description="An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates",
49+
)
4750
__properties: ClassVar[List[str]] = ["backupProperties", "default", "description", "enabled", "id", "name", "rrule"]
4851

4952
model_config = ConfigDict(

services/serverbackup/src/stackit/serverbackup/models/backup_schedule.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ class BackupSchedule(BaseModel):
4040
enabled: StrictBool
4141
id: StrictInt
4242
name: StrictStr
43-
rrule: StrictStr
43+
rrule: StrictStr = Field(
44+
description="An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates"
45+
)
4446
__properties: ClassVar[List[str]] = ["backupProperties", "enabled", "id", "name", "rrule"]
4547

4648
model_config = ConfigDict(

services/serverbackup/src/stackit/serverbackup/models/create_backup_schedule_payload.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ class CreateBackupSchedulePayload(BaseModel):
3838
backup_properties: Optional[BackupProperties] = Field(default=None, alias="backupProperties")
3939
enabled: StrictBool
4040
name: StrictStr = Field(description="Max 255 characters")
41-
rrule: StrictStr
41+
rrule: StrictStr = Field(
42+
description="An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates"
43+
)
4244
__properties: ClassVar[List[str]] = ["backupProperties", "enabled", "name", "rrule"]
4345

4446
model_config = ConfigDict(

services/serverbackup/src/stackit/serverbackup/models/update_backup_schedule_payload.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ class UpdateBackupSchedulePayload(BaseModel):
3838
backup_properties: Optional[BackupProperties] = Field(default=None, alias="backupProperties")
3939
enabled: StrictBool
4040
name: StrictStr = Field(description="Max 255 characters")
41-
rrule: StrictStr
41+
rrule: StrictStr = Field(
42+
description="An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates"
43+
)
4244
__properties: ClassVar[List[str]] = ["backupProperties", "enabled", "name", "rrule"]
4345

4446
model_config = ConfigDict(

services/serverupdate/oas_commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
63c68f45675657d8e16a43ac9fbc216ac3a899ee

services/serverupdate/src/stackit/serverupdate/models/create_update_payload.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ class CreateUpdatePayload(BaseModel):
2828
""" # noqa: E501
2929

3030
backup_before_update: Optional[StrictBool] = Field(default=None, alias="backupBeforeUpdate")
31-
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(alias="maintenanceWindow")
31+
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(
32+
description="Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.",
33+
alias="maintenanceWindow",
34+
)
3235
__properties: ClassVar[List[str]] = ["backupBeforeUpdate", "maintenanceWindow"]
3336

3437
model_config = ConfigDict(

services/serverupdate/src/stackit/serverupdate/models/create_update_schedule_payload.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,14 @@ class CreateUpdateSchedulePayload(BaseModel):
3434
""" # noqa: E501
3535

3636
enabled: StrictBool
37-
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(alias="maintenanceWindow")
37+
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(
38+
description="Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.",
39+
alias="maintenanceWindow",
40+
)
3841
name: StrictStr
39-
rrule: StrictStr
42+
rrule: StrictStr = Field(
43+
description="An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates"
44+
)
4045
__properties: ClassVar[List[str]] = ["enabled", "maintenanceWindow", "name", "rrule"]
4146

4247
model_config = ConfigDict(

services/serverupdate/src/stackit/serverupdate/models/update_policy.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,16 @@ class UpdatePolicy(BaseModel):
3838
description: Optional[StrictStr] = None
3939
enabled: Optional[StrictBool] = None
4040
id: Optional[StrictStr] = None
41-
maintenance_window: Optional[StrictInt] = Field(default=None, alias="maintenanceWindow")
41+
maintenance_window: Optional[StrictInt] = Field(
42+
default=None,
43+
description="Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.",
44+
alias="maintenanceWindow",
45+
)
4246
name: Optional[StrictStr] = None
43-
rrule: Optional[StrictStr] = None
47+
rrule: Optional[StrictStr] = Field(
48+
default=None,
49+
description="An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates",
50+
)
4451
__properties: ClassVar[List[str]] = [
4552
"default",
4653
"description",

services/serverupdate/src/stackit/serverupdate/models/update_schedule.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,14 @@ class UpdateSchedule(BaseModel):
3535
""" # noqa: E501
3636

3737
enabled: StrictBool
38-
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(alias="maintenanceWindow")
38+
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(
39+
description="Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.",
40+
alias="maintenanceWindow",
41+
)
3942
name: StrictStr
40-
rrule: StrictStr
43+
rrule: StrictStr = Field(
44+
description="An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates"
45+
)
4146
id: StrictInt
4247
__properties: ClassVar[List[str]] = ["enabled", "maintenanceWindow", "name", "rrule", "id"]
4348

0 commit comments

Comments
 (0)