TeamDetails Class
Details related to a team.
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
TeamDetails(*, id: str, name: str | None = None, type: Literal['standard', 'sharedChannel', 'privateChannel'] | None = None, aadGroupId: str | None = None, channelCount: int | None = None, memberCount: int | None = None, tenantId: str | None = None, **extra_data: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
id
Required
|
|
|
name
|
Default value: None
|
|
type
|
Default value: None
|
|
aadGroupId
|
Default value: None
|
|
channelCount
|
Default value: None
|
|
memberCount
|
Default value: None
|
|
tenantId
|
Default value: None
|
Attributes
aad_group_id
Azure Active Directory (AAD) Group Id for the team.
aad_group_id: str | None
channel_count
Count of channels in the team.
channel_count: int | None
id
Unique identifier representing a team
id: str
member_count
Count of members in the team.
member_count: int | 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}
name
Name of team.
name: str | None
tenant_id
Azure Active Directory (AAD) tenant ID for the team.
tenant_id: str | None
type
The type of the team. Valid values are standard, sharedChannel and privateChannel.
type: Literal['standard', 'sharedChannel', 'privateChannel'] | None