DatalabScheduleExpressionInput

pydantic model openapi_client.models.datalab_schedule_expression_input.DatalabScheduleExpressionInput

DatalabScheduleExpressionInput

Fields:
field schedule_type: DatalabScheduleExpressionType [Required] (alias 'ScheduleType')
field schedule_time: StrictStr [Required] (alias 'ScheduleTime')

Time of day for the schedule expression in HH:MM:SS format (UTC). Used by all schedule types.

Constraints:
  • strict = True

field schedule_date: Optional[StrictStr] = None (alias 'ScheduleDate')

Date for one-time schedule expressions in YYYY-MM-DD format (UTC). Required when ScheduleType is one-time; must not be provided for recurring schedule types.

field schedule_recurrence_days: Optional[List[StrictInt]] = None (alias 'ScheduleRecurrenceDays')

Required for weekly-recurring and monthly-recurring schedule expressions. For weekly-recurring, use 1-7 for Monday through Sunday. For monthly-recurring, use day-of-month values (e.g. 11, 22, 30).

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 DatalabScheduleExpressionInput 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 DatalabScheduleExpressionInput from a dict

Return type:

Optional[Self]