sinch.domains.conversation.models.v1.event_destinations.request.update_event_destination_request module

class sinch.domains.conversation.models.v1.event_destinations.request.update_event_destination_request.UpdateEventDestinationRequest(
*,
event_destination_id: Annotated[str, Strict(strict=True)],
app_id: Annotated[str, Strict(strict=True)] | None = None,
client_credentials: ClientCredentials | None = None,
secret: Annotated[str, Strict(strict=True)] | None = None,
target: Annotated[str, Strict(strict=True)] | None = None,
target_type: Literal['DISMISS', 'HTTP'] | Annotated[str, Strict(strict=True)] | None = None,
triggers: Annotated[list[Literal['UNSPECIFIED_TRIGGER', 'MESSAGE_DELIVERY', 'EVENT_DELIVERY', 'MESSAGE_INBOUND', 'EVENT_INBOUND', 'CONVERSATION_START', 'CONVERSATION_STOP', 'CONTACT_CREATE', 'CONTACT_DELETE', 'CONTACT_MERGE', 'CONTACT_UPDATE', 'UNSUPPORTED', 'OPT_IN', 'OPT_OUT', 'CAPABILITY', 'CONVERSATION_DELETE', 'CONTACT_IDENTITIES_DUPLICATION', 'CHANNEL_EVENT', 'SMART_CONVERSATION', 'MESSAGE_INBOUND_SMART_CONVERSATION_REDACTION', 'RECORD_NOTIFICATION', 'MESSAGE_SUBMIT'] | Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None = None,
**extra_data: Any,
)[source]

Bases: EventDestinationIdRequest

Parameters:
  • event_destination_id (Annotated[str, Strict(strict=True)])

  • app_id (Annotated[str, Strict(strict=True)] | None)

  • client_credentials (ClientCredentials | None)

  • secret (Annotated[str, Strict(strict=True)] | None)

  • target (Annotated[str, Strict(strict=True)] | None)

  • target_type (Literal['DISMISS', 'HTTP'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • triggers (Annotated[list[Literal['UNSPECIFIED_TRIGGER', 'MESSAGE_DELIVERY', 'EVENT_DELIVERY', 'MESSAGE_INBOUND', 'EVENT_INBOUND', 'CONVERSATION_START', 'CONVERSATION_STOP', 'CONTACT_CREATE', 'CONTACT_DELETE', 'CONTACT_MERGE', 'CONTACT_UPDATE', 'UNSUPPORTED', 'OPT_IN', 'OPT_OUT', 'CAPABILITY', 'CONVERSATION_DELETE', 'CONTACT_IDENTITIES_DUPLICATION', 'CHANNEL_EVENT', 'SMART_CONVERSATION', 'MESSAGE_INBOUND_SMART_CONVERSATION_REDACTION', 'RECORD_NOTIFICATION', 'MESSAGE_SUBMIT'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)]], ~annotated_types.Len(min_length=0, max_length=None)] | None)

  • extra_data (Any)

app_id: Annotated[str, Strict(strict=True)] | None
client_credentials: ClientCredentials | None
secret: Annotated[str, Strict(strict=True)] | None
target: Annotated[str, Strict(strict=True)] | None
target_type: Literal['DISMISS', 'HTTP'] | Annotated[str, Strict(strict=True)] | None
triggers: Annotated[list[Literal['UNSPECIFIED_TRIGGER', 'MESSAGE_DELIVERY', 'EVENT_DELIVERY', 'MESSAGE_INBOUND', 'EVENT_INBOUND', 'CONVERSATION_START', 'CONVERSATION_STOP', 'CONTACT_CREATE', 'CONTACT_DELETE', 'CONTACT_MERGE', 'CONTACT_UPDATE', 'UNSUPPORTED', 'OPT_IN', 'OPT_OUT', 'CAPABILITY', 'CONVERSATION_DELETE', 'CONTACT_IDENTITIES_DUPLICATION', 'CHANNEL_EVENT', 'SMART_CONVERSATION', 'MESSAGE_INBOUND_SMART_CONVERSATION_REDACTION', 'RECORD_NOTIFICATION', 'MESSAGE_SUBMIT'] | Annotated[str, Strict(strict=True)]], Len(min_length=0, max_length=None)] | None
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(
_SnakifyExtrasOnInit__context: Any,
) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None