1212
1313
1414class OrganizationProfileSettingsTypedDict (TypedDict ):
15+ enabled : NotRequired [Nullable [bool ]]
16+ r"""If this organization has a profile enabled"""
1517 description : NotRequired [Nullable [str ]]
1618 r"""A description of the organization"""
1719 featured_projects : NotRequired [Nullable [List [str ]]]
@@ -22,9 +24,14 @@ class OrganizationProfileSettingsTypedDict(TypedDict):
2224 r"""A list of links associated with the organization"""
2325 subscribe : NotRequired [Nullable [OrganizationSubscribePromoteSettingsTypedDict ]]
2426 r"""Subscription promotion settings"""
27+ accent_color : NotRequired [Nullable [str ]]
28+ r"""Accent color for the organization"""
2529
2630
2731class OrganizationProfileSettings (BaseModel ):
32+ enabled : OptionalNullable [bool ] = UNSET
33+ r"""If this organization has a profile enabled"""
34+
2835 description : OptionalNullable [str ] = UNSET
2936 r"""A description of the organization"""
3037
@@ -40,21 +47,28 @@ class OrganizationProfileSettings(BaseModel):
4047 subscribe : OptionalNullable [OrganizationSubscribePromoteSettings ] = UNSET
4148 r"""Subscription promotion settings"""
4249
50+ accent_color : OptionalNullable [str ] = UNSET
51+ r"""Accent color for the organization"""
52+
4353 @model_serializer (mode = "wrap" )
4454 def serialize_model (self , handler ):
4555 optional_fields = [
56+ "enabled" ,
4657 "description" ,
4758 "featured_projects" ,
4859 "featured_organizations" ,
4960 "links" ,
5061 "subscribe" ,
62+ "accent_color" ,
5163 ]
5264 nullable_fields = [
65+ "enabled" ,
5366 "description" ,
5467 "featured_projects" ,
5568 "featured_organizations" ,
5669 "links" ,
5770 "subscribe" ,
71+ "accent_color" ,
5872 ]
5973 null_default_fields = []
6074
0 commit comments