NotificationInfo Class

Specifies if a notification is to be sent for the mentions.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Constructor

NotificationInfo(*, alert: bool | None = None, alertInMeeting: bool | None = None, externalResourceUrl: str | None = None, **extra_data: Any)

Keyword-Only Parameters

Name Description
alert
Default value: None
alertInMeeting
Default value: None
externalResourceUrl
Default value: None

Attributes

alert

true if notification is to be sent to the user, false otherwise.

alert: bool | None

alert_in_meeting

true if a notification is to be shown to the user while in a meeting, false otherwise.

alert_in_meeting: bool | None

external_resource_url

the value of the notification's external resource url

external_resource_url: str | None

model_config

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

model_config: ClassVar[ConfigDict] = {'alias_generator': AliasGenerator(alias=None, validation_alias=<staticmethod(<function CustomBaseModel.validation_alias_generator>)>, serialization_alias=<staticmethod(<function CustomBaseModel.serialization_alias_generator>)>), 'arbitrary_types_allowed': True, 'extra': 'allow', 'populate_by_name': True, 'serialize_by_alias': True, 'validate_by_alias': True, 'validate_by_name': True}