DatalabScheduleUpdateInput¶
- pydantic model openapi_client.models.datalab_schedule_update_input.DatalabScheduleUpdateInput¶
DatalabScheduleUpdateInput
- Fields:
- field schedule_name: Optional[Annotated[str, Field(min_length=3, strict=True, max_length=120)]] = None (alias 'ScheduleName')¶
Display name for the schedule. Must be 3-120 alphanumeric or underscore characters, starting with a letter. Must be unique within the datalab.
- field schedule_description: Optional[Annotated[str, Field(strict=True, max_length=500)]] = None (alias 'ScheduleDescription')¶
Description for the schedule. Must not contain angle brackets, braces, backslashes, or control characters.
- field start_schedule: Optional[DatalabScheduleExpressionInput] = None (alias 'StartSchedule')¶
- field stop_schedule: Optional[DatalabScheduleExpressionInput] = None (alias 'StopSchedule')¶
- field is_enabled: Optional[StrictBool] = None (alias 'IsEnabled')¶
- field priority: Optional[Annotated[int, Field(strict=True, ge=1)]] = None (alias 'Priority')¶
Natural number where lower values indicate higher priority. Valid range is 1 through the existing schedule count on the datalab. Only provided fields are updated. StartSchedule and StopSchedule cannot be added or removed.
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of DatalabScheduleUpdateInput from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of DatalabScheduleUpdateInput from a dict
- Return type:
Optional[Self]