Skip to content

Commit 30d52b5

Browse files
Generate serverbackup
1 parent fe1b6ed commit 30d52b5

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

services/serverbackup/oas_commit

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

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(

0 commit comments

Comments
 (0)