From b8b8d814ffa95dae56771f01842306e5612b2a95 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 6 Mar 2020 12:04:16 -0800 Subject: [PATCH 1/5] add member_count and channel_count to TeamDetails --- .../botbuilder/schema/teams/_models_py3.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py index 529ab6851..96cc65c42 100644 --- a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py +++ b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py @@ -1736,21 +1736,29 @@ class TeamDetails(Model): :type name: str :param aad_group_id: Azure Active Directory (AAD) Group Id for the team. :type aad_group_id: str + :param channel_count: The count of channels in the team. + :type chanel_count: int + :param member_count: The count of members in the team. + :type member_count: int """ _attribute_map = { "id": {"key": "id", "type": "str"}, "name": {"key": "name", "type": "str"}, "aad_group_id": {"key": "aadGroupId", "type": "str"}, + "channel_count": {"key": "channelCount", "type": "int"}, + "member_count": {"key": "memberCount", "type": "int"}, } def __init__( - self, *, id: str = None, name: str = None, aad_group_id: str = None, **kwargs + self, *, id: str = None, name: str = None, aad_group_id: str = None, member_count: int = None, chanel_count: int = None, **kwargs ) -> None: super(TeamDetails, self).__init__(**kwargs) self.id = id self.name = name self.aad_group_id = aad_group_id + self.channel_count = chanel_count + self.member_count = member_count class TeamInfo(Model): From 455f79a99f2ffe6c9da5e50b49801bc731578a74 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 6 Mar 2020 12:37:40 -0800 Subject: [PATCH 2/5] update libraries --- .../botbuilder/schema/teams/_models_py3.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py index 96cc65c42..d2b3999dd 100644 --- a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py +++ b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py @@ -1751,7 +1751,14 @@ class TeamDetails(Model): } def __init__( - self, *, id: str = None, name: str = None, aad_group_id: str = None, member_count: int = None, chanel_count: int = None, **kwargs + self, + *, + id: str = None, + name: str = None, + aad_group_id: str = None, + member_count: int = None, + chanel_count: int = None, + **kwargs ) -> None: super(TeamDetails, self).__init__(**kwargs) self.id = id From b79fb6dc3a4c3710b9d36ff4e4c4d6605a1abf34 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 6 Mar 2020 13:02:45 -0800 Subject: [PATCH 3/5] add to ... other models file --- .../botbuilder-schema/botbuilder/schema/teams/_models.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/botbuilder-schema/botbuilder/schema/teams/_models.py b/libraries/botbuilder-schema/botbuilder/schema/teams/_models.py index 3cce195d6..953ce4ec2 100644 --- a/libraries/botbuilder-schema/botbuilder/schema/teams/_models.py +++ b/libraries/botbuilder-schema/botbuilder/schema/teams/_models.py @@ -1478,12 +1478,18 @@ class TeamDetails(Model): :type name: str :param aad_group_id: Azure Active Directory (AAD) Group Id for the team. :type aad_group_id: str + :param channel_count: The count of channels in the team. + :type chanel_count: int + :param member_count: The count of members in the team. + :type member_count: int """ _attribute_map = { "id": {"key": "id", "type": "str"}, "name": {"key": "name", "type": "str"}, "aad_group_id": {"key": "aadGroupId", "type": "str"}, + "channel_count": {"key": "channelCount", "type": "int"}, + "member_count": {"key": "memberCount", "type": "int"}, } def __init__(self, **kwargs): @@ -1491,6 +1497,8 @@ def __init__(self, **kwargs): self.id = kwargs.get("id", None) self.name = kwargs.get("name", None) self.aad_group_id = kwargs.get("aad_group_id", None) + self.channel_count = kwargs.get("channel_count", None) + self.member_count = kwargs.get("member_count", None) class TeamInfo(Model): From 11c8a15d063adad43bd33c3a97fd5c67e4877453 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 6 Mar 2020 13:13:05 -0800 Subject: [PATCH 4/5] fix typo --- .../botbuilder-schema/botbuilder/schema/teams/_models_py3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py index d2b3999dd..06ee45abe 100644 --- a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py +++ b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py @@ -1757,14 +1757,14 @@ def __init__( name: str = None, aad_group_id: str = None, member_count: int = None, - chanel_count: int = None, + channel_count: int = None, **kwargs ) -> None: super(TeamDetails, self).__init__(**kwargs) self.id = id self.name = name self.aad_group_id = aad_group_id - self.channel_count = chanel_count + self.channel_count = channel_count self.member_count = member_count From cdf2f58e54850488b9b49b6301a0881b27ff6089 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 6 Mar 2020 13:13:35 -0800 Subject: [PATCH 5/5] fix typo... all the way. --- .../botbuilder-schema/botbuilder/schema/teams/_models_py3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py index 06ee45abe..5f868f813 100644 --- a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py +++ b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py @@ -1737,7 +1737,7 @@ class TeamDetails(Model): :param aad_group_id: Azure Active Directory (AAD) Group Id for the team. :type aad_group_id: str :param channel_count: The count of channels in the team. - :type chanel_count: int + :type channel_count: int :param member_count: The count of members in the team. :type member_count: int """