Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 2.46 KB

EventHandler.md

File metadata and controls

43 lines (37 loc) · 2.46 KB

EventHandler

Information about an Event Handler

Properties

Name Type Description Notes
id ResourceId
version VersionInfo [optional]
display_name str Human readable name
description str Human readable description [optional]
status str The current status of the event handler
event_matching_pattern EventMatchingPattern [optional]
schedule_matching_pattern ScheduleMatchingPattern [optional]
run_as_user_id EventHandlerMapping
task_definition_id ResourceId
task_definition_as_at datetime AsAt of the required task definition [optional]
task_activity TaskActivityResponse

Example

from lusid_workflow.models.event_handler import EventHandler
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
from typing_extensions import Annotated
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
from datetime import datetime

id: ResourceId
version: Optional[VersionInfo] = None
display_name: StrictStr = "example_display_name"
description: Optional[StrictStr] = "example_description"
status: StrictStr = "example_status"
event_matching_pattern: Optional[EventMatchingPattern] = # Replace with your value
schedule_matching_pattern: Optional[ScheduleMatchingPattern] = # Replace with your value
run_as_user_id: EventHandlerMapping = # Replace with your value
task_definition_id: ResourceId = # Replace with your value
task_definition_as_at: Optional[datetime] = # Replace with your value
task_activity: TaskActivityResponse = # Replace with your value
event_handler_instance = EventHandler(id=id, version=version, display_name=display_name, description=description, status=status, event_matching_pattern=event_matching_pattern, schedule_matching_pattern=schedule_matching_pattern, run_as_user_id=run_as_user_id, task_definition_id=task_definition_id, task_definition_as_at=task_definition_as_at, task_activity=task_activity)

Back to Model list • Back to API list • Back to README