sinch.domains.conversation.models.v1.sinch_events.inbound.comment_event module

class sinch.domains.conversation.models.v1.sinch_events.inbound.comment_event.CommentEvent(
*,
id: Annotated[str, Strict(strict=True)] | None = None,
text: Annotated[str, Strict(strict=True)],
comment_type: Literal['FEED', 'LIVE'] | Annotated[str, Strict(strict=True)] | None = None,
commented_on: Annotated[str, Strict(strict=True)] | None = None,
user: Annotated[str, Strict(strict=True)] | None = None,
**extra_data: Any,
)[source]

Bases: SinchEvent

Parameters:
  • id (Annotated[str, Strict(strict=True)] | None)

  • text (Annotated[str, Strict(strict=True)])

  • comment_type (Literal['FEED', 'LIVE'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

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

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

  • extra_data (Any)

id: Annotated[str, Strict(strict=True)] | None
text: Annotated[str, Strict(strict=True)]
comment_type: Literal['FEED', 'LIVE'] | Annotated[str, Strict(strict=True)] | None
commented_on: Annotated[str, Strict(strict=True)] | None
user: Annotated[str, Strict(strict=True)] | 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