sinch.domains.conversation.models.v1.event_destinations.shared package

class sinch.domains.conversation.models.v1.event_destinations.shared.ClientCredentials(
*,
client_id: Annotated[str, Strict(strict=True)],
client_secret: Annotated[str, Strict(strict=True)],
endpoint: Annotated[str, Strict(strict=True)],
scope: Annotated[str, Strict(strict=True)] | None = None,
response_type: Annotated[str, Strict(strict=True)] | None = None,
token_request_type: Literal['BASIC', 'FORM'] | Annotated[str, Strict(strict=True)] | None = None,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

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

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

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

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

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

  • token_request_type (Literal['BASIC', 'FORM'] | ~typing.Annotated[str, ~pydantic.types.Strict(strict=True)] | None)

  • extra_data (Any)

client_id: Annotated[str, Strict(strict=True)]
client_secret: Annotated[str, Strict(strict=True)]
endpoint: Annotated[str, Strict(strict=True)]
scope: Annotated[str, Strict(strict=True)] | None
response_type: Annotated[str, Strict(strict=True)] | None
token_request_type: Literal['BASIC', 'FORM'] | 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