1- using System . Collections . Generic ;
1+ using System ;
2+ using System . Collections . Generic ;
23using System . Text . Json . Serialization ;
34
45namespace Amino . Objects
@@ -7,29 +8,29 @@ public class AdvancedCommunityInfo
78 {
89 // Base JSON key: community
910
10- public bool IsCurrentUserJoined { get ; set ; } // MUST BE SET AFTER
11+ public bool ? IsCurrentUserJoined { get ; set ; } // MUST BE SET AFTER
1112 public string Json { get ; set ; } // MUST BE SET AFTER
12- [ JsonPropertyName ( "searchable" ) ] public bool Searchable { get ; set ; }
13- [ JsonPropertyName ( "isStandaloneAppDepricated" ) ] public bool IsStandaloneAppDeprecated { get ; set ; }
14- [ JsonPropertyName ( "listedStatus" ) ] public int ListedStatus { get ; set ; }
15- [ JsonPropertyName ( "probationStatus" ) ] public int ProbationStatus { get ; set ; }
13+ [ JsonPropertyName ( "searchable" ) ] public bool ? Searchable { get ; set ; }
14+ [ JsonPropertyName ( "isStandaloneAppDepricated" ) ] public bool ? IsStandaloneAppDeprecated { get ; set ; }
15+ [ JsonPropertyName ( "listedStatus" ) ] public int ? ListedStatus { get ; set ; }
16+ [ JsonPropertyName ( "probationStatus" ) ] public int ? ProbationStatus { get ; set ; }
1617 [ JsonPropertyName ( "keywords" ) ] public string Keywords { get ; set ; }
17- [ JsonPropertyName ( "membersCount" ) ] public int MemberCount { get ; set ; }
18+ [ JsonPropertyName ( "membersCount" ) ] public int ? MemberCount { get ; set ; }
1819 [ JsonPropertyName ( "primaryLanguage" ) ] public string PrimaryLanguage { get ; set ; }
19- [ JsonPropertyName ( "communityHeat" ) ] public float CommunityHeat { get ; set ; }
20+ [ JsonPropertyName ( "communityHeat" ) ] public float ? CommunityHeat { get ; set ; }
2021 [ JsonPropertyName ( "content" ) ] public string Content { get ; set ; }
21- [ JsonPropertyName ( "isStandaloneAppMonetizationEnabled" ) ] public bool IsStandaloneAppMonetizationEnabled { get ; set ; }
22+ [ JsonPropertyName ( "isStandaloneAppMonetizationEnabled" ) ] public bool ? IsStandaloneAppMonetizationEnabled { get ; set ; }
2223 [ JsonPropertyName ( "tagline" ) ] public string Tagline { get ; set ; }
23- [ JsonPropertyName ( "joinType" ) ] public int JoinType { get ; set ; }
24- [ JsonPropertyName ( "status" ) ] public int Status { get ; set ; }
24+ [ JsonPropertyName ( "joinType" ) ] public int ? JoinType { get ; set ; }
25+ [ JsonPropertyName ( "status" ) ] public int ? Status { get ; set ; }
2526 [ JsonPropertyName ( "modifiedTime" ) ] public string ModifiedTime { get ; set ; }
26- [ JsonPropertyName ( "ndcId" ) ] public int CommunityId { get ; set ; }
27+ [ JsonPropertyName ( "ndcId" ) ] public int ? CommunityId { get ; set ; }
2728 [ JsonPropertyName ( "link" ) ] public string Link { get ; set ; }
2829 [ JsonPropertyName ( "icon" ) ] public string IconUrl { get ; set ; }
2930 [ JsonPropertyName ( "updatedTime" ) ] public string UpdatedTime { get ; set ; }
3031 [ JsonPropertyName ( "endpoint" ) ] public string Endpoint { get ; set ; }
3132 [ JsonPropertyName ( "name" ) ] public string Name { get ; set ; }
32- [ JsonPropertyName ( "templateId" ) ] public int TemplateId { get ; set ; }
33+ [ JsonPropertyName ( "templateId" ) ] public int ? TemplateId { get ; set ; }
3334 [ JsonPropertyName ( "createdTime" ) ] public string CreatedTime { get ; set ; }
3435
3536 [ JsonPropertyName ( "communityHeadList" ) ] public List < GenericProfile > CommunityHeadList { get ; set ; }
0 commit comments