diff --git a/services/serverupdate/oas_commit b/services/serverupdate/oas_commit new file mode 100644 index 00000000..7773db96 --- /dev/null +++ b/services/serverupdate/oas_commit @@ -0,0 +1 @@ +334c4e5a85b53d0593ffdca11f450b6c14054f79 diff --git a/services/serverupdate/src/stackit/serverupdate/models/create_update_payload.py b/services/serverupdate/src/stackit/serverupdate/models/create_update_payload.py index 7a5ef8b2..011869f9 100644 --- a/services/serverupdate/src/stackit/serverupdate/models/create_update_payload.py +++ b/services/serverupdate/src/stackit/serverupdate/models/create_update_payload.py @@ -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( diff --git a/services/serverupdate/src/stackit/serverupdate/models/create_update_schedule_payload.py b/services/serverupdate/src/stackit/serverupdate/models/create_update_schedule_payload.py index d906342e..64f4651c 100644 --- a/services/serverupdate/src/stackit/serverupdate/models/create_update_schedule_payload.py +++ b/services/serverupdate/src/stackit/serverupdate/models/create_update_schedule_payload.py @@ -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( diff --git a/services/serverupdate/src/stackit/serverupdate/models/update_policy.py b/services/serverupdate/src/stackit/serverupdate/models/update_policy.py index d8ba3820..75d93d2a 100644 --- a/services/serverupdate/src/stackit/serverupdate/models/update_policy.py +++ b/services/serverupdate/src/stackit/serverupdate/models/update_policy.py @@ -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", diff --git a/services/serverupdate/src/stackit/serverupdate/models/update_schedule.py b/services/serverupdate/src/stackit/serverupdate/models/update_schedule.py index a70b6cb4..19632b3d 100644 --- a/services/serverupdate/src/stackit/serverupdate/models/update_schedule.py +++ b/services/serverupdate/src/stackit/serverupdate/models/update_schedule.py @@ -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"] diff --git a/services/serverupdate/src/stackit/serverupdate/models/update_schedule_create_request.py b/services/serverupdate/src/stackit/serverupdate/models/update_schedule_create_request.py index 5235af50..bafba111 100644 --- a/services/serverupdate/src/stackit/serverupdate/models/update_schedule_create_request.py +++ b/services/serverupdate/src/stackit/serverupdate/models/update_schedule_create_request.py @@ -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( diff --git a/services/serverupdate/src/stackit/serverupdate/models/update_update_schedule_payload.py b/services/serverupdate/src/stackit/serverupdate/models/update_update_schedule_payload.py index c05dedd3..1c6f00a7 100644 --- a/services/serverupdate/src/stackit/serverupdate/models/update_update_schedule_payload.py +++ b/services/serverupdate/src/stackit/serverupdate/models/update_update_schedule_payload.py @@ -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(