ExternalTriggerMessageFormat

pydantic model openapi_client.models.external_trigger_message_format.ExternalTriggerMessageFormat

ExternalTriggerMessageFormat

Fields:
field event_type: Optional[StrictStr] = None (alias 'EventType')
field schedule_name: Optional[StrictStr] = None (alias 'ScheduleName')
field trigger_event: Optional[ExternalTriggerMessageFormatTriggerEvent] = None (alias 'TriggerEvent')
field user_id: Optional[StrictStr] = None (alias 'UserId')
field source_id: Optional[StrictStr] = None (alias 'SourceId')
field to: Optional[StrictStr] = None (alias 'To')
field arguments: Optional[List[ScheduledJobArgument]] = None (alias 'Arguments')
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 ExternalTriggerMessageFormat 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 ExternalTriggerMessageFormat from a dict

Return type:

Optional[Self]