33# Copyright 2019-Present Datadog, Inc.
44from __future__ import annotations
55
6- from typing import Union
6+ from typing import List , Union
77
88from datadog_api_client .model_utils import (
99 ModelNormal ,
@@ -37,25 +37,33 @@ class TeamAttributes(ModelNormal):
3737 @cached_property
3838 def openapi_types (_ ):
3939 return {
40+ "avatar" : (str , none_type ),
41+ "banner" : (int , none_type ),
4042 "created_at" : (datetime ,),
4143 "description" : (str , none_type ),
4244 "handle" : (str ,),
45+ "hidden_modules" : ([str ],),
4346 "link_count" : (int ,),
4447 "modified_at" : (datetime ,),
4548 "name" : (str ,),
4649 "summary" : (str , none_type ),
4750 "user_count" : (int ,),
51+ "visible_modules" : ([str ],),
4852 }
4953
5054 attribute_map = {
55+ "avatar" : "avatar" ,
56+ "banner" : "banner" ,
5157 "created_at" : "created_at" ,
5258 "description" : "description" ,
5359 "handle" : "handle" ,
60+ "hidden_modules" : "hidden_modules" ,
5461 "link_count" : "link_count" ,
5562 "modified_at" : "modified_at" ,
5663 "name" : "name" ,
5764 "summary" : "summary" ,
5865 "user_count" : "user_count" ,
66+ "visible_modules" : "visible_modules" ,
5967 }
6068 read_only_vars = {
6169 "link_count" ,
@@ -66,17 +74,27 @@ def __init__(
6674 self_ ,
6775 handle : str ,
6876 name : str ,
77+ avatar : Union [str , none_type , UnsetType ] = unset ,
78+ banner : Union [int , none_type , UnsetType ] = unset ,
6979 created_at : Union [datetime , UnsetType ] = unset ,
7080 description : Union [str , none_type , UnsetType ] = unset ,
81+ hidden_modules : Union [List [str ], UnsetType ] = unset ,
7182 link_count : Union [int , UnsetType ] = unset ,
7283 modified_at : Union [datetime , UnsetType ] = unset ,
7384 summary : Union [str , none_type , UnsetType ] = unset ,
7485 user_count : Union [int , UnsetType ] = unset ,
86+ visible_modules : Union [List [str ], UnsetType ] = unset ,
7587 ** kwargs ,
7688 ):
7789 """
7890 Team attributes
7991
92+ :param avatar: Unicode representation of the avatar for the team, limited to a single grapheme
93+ :type avatar: str, none_type, optional
94+
95+ :param banner: Banner selection for the team
96+ :type banner: int, none_type, optional
97+
8098 :param created_at: Creation date of the team
8199 :type created_at: datetime, optional
82100
@@ -86,6 +104,9 @@ def __init__(
86104 :param handle: The team's identifier
87105 :type handle: str
88106
107+ :param hidden_modules: Collection of hidden modules for the team
108+ :type hidden_modules: [str], optional
109+
89110 :param link_count: The number of links belonging to the team
90111 :type link_count: int, optional
91112
@@ -100,11 +121,20 @@ def __init__(
100121
101122 :param user_count: The number of users belonging to the team
102123 :type user_count: int, optional
124+
125+ :param visible_modules: Collection of visible modules for the team
126+ :type visible_modules: [str], optional
103127 """
128+ if avatar is not unset :
129+ kwargs ["avatar" ] = avatar
130+ if banner is not unset :
131+ kwargs ["banner" ] = banner
104132 if created_at is not unset :
105133 kwargs ["created_at" ] = created_at
106134 if description is not unset :
107135 kwargs ["description" ] = description
136+ if hidden_modules is not unset :
137+ kwargs ["hidden_modules" ] = hidden_modules
108138 if link_count is not unset :
109139 kwargs ["link_count" ] = link_count
110140 if modified_at is not unset :
@@ -113,6 +143,8 @@ def __init__(
113143 kwargs ["summary" ] = summary
114144 if user_count is not unset :
115145 kwargs ["user_count" ] = user_count
146+ if visible_modules is not unset :
147+ kwargs ["visible_modules" ] = visible_modules
116148 super ().__init__ (kwargs )
117149
118150 self_ .handle = handle
0 commit comments