Skip to content
Closed
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
1 change: 1 addition & 0 deletions services/serverupdate/oas_commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e6bb30bbd7ecd1fbe3d0a3b4d4c6d6a6836b9654
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ class CreateUpdatePayload(BaseModel):
""" # noqa: E501

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

model_config = ConfigDict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ class CreateUpdateSchedulePayload(BaseModel):
""" # noqa: E501

enabled: StrictBool
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(alias="maintenanceWindow")
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(
description="Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.",
alias="maintenanceWindow",
)
name: StrictStr
rrule: StrictStr
rrule: StrictStr = Field(
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"
)
__properties: ClassVar[List[str]] = ["enabled", "maintenanceWindow", "name", "rrule"]

model_config = ConfigDict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,16 @@ class UpdatePolicy(BaseModel):
description: Optional[StrictStr] = None
enabled: Optional[StrictBool] = None
id: Optional[StrictStr] = None
maintenance_window: Optional[StrictInt] = Field(default=None, alias="maintenanceWindow")
maintenance_window: Optional[StrictInt] = Field(
default=None,
description="Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.",
alias="maintenanceWindow",
)
name: Optional[StrictStr] = None
rrule: Optional[StrictStr] = None
rrule: Optional[StrictStr] = Field(
default=None,
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",
)
__properties: ClassVar[List[str]] = [
"default",
"description",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ class UpdateSchedule(BaseModel):
""" # noqa: E501

enabled: StrictBool
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(alias="maintenanceWindow")
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(
description="Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.",
alias="maintenanceWindow",
)
name: StrictStr
rrule: StrictStr
rrule: StrictStr = Field(
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"
)
id: StrictInt
__properties: ClassVar[List[str]] = ["enabled", "maintenanceWindow", "name", "rrule", "id"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ class UpdateScheduleCreateRequest(BaseModel):
""" # noqa: E501

enabled: StrictBool
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(alias="maintenanceWindow")
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(
description="Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.",
alias="maintenanceWindow",
)
name: StrictStr
rrule: StrictStr
rrule: StrictStr = Field(
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"
)
__properties: ClassVar[List[str]] = ["enabled", "maintenanceWindow", "name", "rrule"]

model_config = ConfigDict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ class UpdateUpdateSchedulePayload(BaseModel):
""" # noqa: E501

enabled: StrictBool
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(alias="maintenanceWindow")
maintenance_window: Annotated[int, Field(le=24, strict=True, ge=1)] = Field(
description="Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.",
alias="maintenanceWindow",
)
name: StrictStr
rrule: StrictStr
rrule: StrictStr = Field(
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"
)
__properties: ClassVar[List[str]] = ["enabled", "maintenanceWindow", "name", "rrule"]

model_config = ConfigDict(
Expand Down
Loading